/* ==========================================================================
   TAM PHONG — MEP Contractor
   Stylesheet (rewritten)
   ========================================================================== */

:root {
  --orange: #F57C1F;
  --orange-light: #FF9A3C;
  --orange-dark: #D9651A;
  --charcoal: #1A1A1A;
  --dark-gray: #2D2D2D;
  --body: #333333;
  --muted: #6B6B6B;
  --bg-light: #F7F7F7;
  --border: #E5E5E5;
  --white: #FFFFFF;

  --grad-orange: linear-gradient(135deg, #FF9A3C 0%, #F57C1F 100%);
  --grad-orange-dark: linear-gradient(135deg, #F57C1F 0%, #D9651A 100%);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 20px 40px rgba(26, 26, 26, 0.12);

  --radius: 4px;
  --radius-lg: 6px;

  --container-max: 1200px;

  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --transition: 0.2s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }

a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--orange-dark); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  color: var(--charcoal);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.25rem; }
ul li, ol li { margin-bottom: 0.35em; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 60px 0; }
.section--gray { background: var(--bg-light); }
.section--dark { background: var(--charcoal); color: #DADADA; }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

@media (min-width: 900px) {
  .section { padding: 80px 0; }
}

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }

/* ---------- Section title pattern ---------- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--orange);
  margin-top: 1rem;
}

.section-title.text-center::after { margin-left: auto; margin-right: auto; }

.section-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.section-head { margin-bottom: 3rem; }
.section-head.text-center .section-title::after { margin-left: auto; margin-right: auto; }
.section-head.text-center .section-lead { margin-left: auto; margin-right: auto; }

@media (min-width: 900px) {
  .section-title { font-size: 2.25rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn--outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost-light:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.82rem;
  border-width: 1px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--charcoal);
}

.brand:hover { color: var(--charcoal); }

/* Logo image (replaces former inline SVG .brand-mark + .brand-text) */
.brand-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .brand-logo {
    height: 52px;
    max-width: 160px;
  }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 99;
}
.main-nav.is-open { transform: translateX(0); }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.main-nav li { margin: 0; }
.main-nav a {
  display: block;
  padding: 0.9rem 0;
  font-weight: 700;
  color: var(--charcoal);
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}
.main-nav a.active { color: var(--orange); }
.main-nav a:hover { color: var(--orange); }

.header-cta { display: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    inset: auto;
    transform: none;
    background: transparent;
  }
  .main-nav ul {
    flex-direction: row;
    padding: 0;
    gap: 32px;
    align-items: center;
  }
  .main-nav a {
    padding: 0;
    border-bottom: none;
    position: relative;
    font-size: 0.95rem;
  }
  .main-nav a.active::after,
  .main-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -28px;
    height: 3px;
    background: var(--orange);
  }
  .header-cta {
    display: inline-flex;
    margin-left: 8px;
    padding: 12px 22px;
    font-size: 0.9rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--charcoal);
  color: #DADADA;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 124, 31, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 124, 31, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(closest-side, rgba(245, 124, 31, 0.35), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  border-left: 3px solid var(--orange);
  padding-left: 12px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 1.25rem;
  letter-spacing: -0.015em;
}

.hero p {
  font-size: 1.05rem;
  color: #C8C8C8;
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(245, 124, 31, 0.25);
  background:
    linear-gradient(135deg, rgba(245, 124, 31, 0.10) 0%, transparent 60%),
    var(--dark-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-visual svg { width: 100%; height: 100%; }

@media (min-width: 900px) {
  .hero { padding: 110px 0 130px; }
  .hero-inner { grid-template-columns: 1.15fr 1fr; gap: 64px; }
  .hero h1 { font-size: 3.25rem; }
}

@media (min-width: 1100px) {
  .hero h1 { font-size: 3.75rem; }
}

/* Hero — small variant for inner pages */
.hero--small { padding: 60px 0; }
.hero--small h1 { font-size: 2rem; }
.hero--small p { font-size: 1rem; }
.hero--small .hero-inner { display: block; }

@media (min-width: 900px) {
  .hero--small { padding: 90px 0; }
  .hero--small h1 { font-size: 2.75rem; }
}

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.stat {
  padding: 32px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-bar .stat:nth-child(2n) { border-right: none; }
.stats-bar .stat:nth-last-child(-n+2) { border-bottom: none; }

.stat-num {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 900px) {
  .stats-bar .container { grid-template-columns: repeat(4, 1fr); }
  .stat {
    padding: 48px 16px;
    border-bottom: none;
  }
  .stats-bar .stat:nth-child(2n) { border-right: 1px solid var(--border); }
  .stats-bar .stat:last-child { border-right: none; }
  .stat-num { font-size: 3.75rem; }
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 600px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #D8D8D8;
}

.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.95rem; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(245, 124, 31, 0.10);
  color: var(--orange);
  margin-bottom: 18px;
}
.card-icon svg { width: 28px; height: 28px; stroke: var(--orange); }

/* Service card variant (homepage) */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleY(1); }

/* Why-us card */
.why-card { padding: 28px; }
.why-card .why-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ---------- Two-column feature row ---------- */
.feature-row {
  display: grid;
  gap: 40px;
  align-items: center;
}
.feature-row .feature-visual {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.feature-row .feature-visual svg { width: 60%; height: auto; }
.feature-row .feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.feature-row.reverse .feature-visual { order: -1; }

@media (min-width: 900px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature-row.reverse .feature-visual { order: 0; }
  .feature-row.reverse > div:not(.feature-visual) { order: 1; }
}

.feature-row ul {
  list-style: none;
  padding: 0;
}
.feature-row ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 0.6rem;
  color: var(--body);
}
.feature-row ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 16px;
  height: 2px;
  background: var(--orange);
}

/* ---------- Process steps ---------- */
.process {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  position: relative;
}
.process-step {
  text-align: left;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}
.process-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.process-step p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }

@media (min-width: 900px) {
  .process {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .process-step::after {
    content: "";
    position: absolute;
    top: 48px;
    right: -16px;
    width: 16px;
    height: 2px;
    background: var(--border);
  }
  .process-step:last-child::after { display: none; }
}

/* ---------- Project cards ---------- */
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.project-thumb {
  aspect-ratio: 16 / 10;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.project-thumb svg { width: 100%; height: 100%; }
.project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.65) 100%);
}
.project-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
  z-index: 1;
}
.project-body { padding: 22px 24px 24px; }
.project-body h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.project-meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }
.project-value {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--charcoal);
  font-weight: 700;
}
.project-value span { color: var(--orange); }

/* ---------- Partners ---------- */
.partners {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  overflow: hidden;
}
.partners__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.partner-logo:hover { opacity: 1; }
.partner-logo img {
  max-height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Marquee mode — bật khi có nhiều logo (>=6): đổi class thành .partners--marquee
   và duplicate nội dung .partners__track 2 lần liên tiếp để loop seamless. */
@media (min-width: 600px) {
  .partners--marquee .partners__track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    animation: partners-scroll 30s linear infinite;
  }
  .partners--marquee:hover .partners__track { animation-play-state: paused; }
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partners--marquee .partners__track { animation: none; }
}
@media (min-width: 900px) {
  .partners { padding: 40px 32px; }
  .partners__track { gap: 64px; }
  .partner-logo { height: 56px; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--grad-orange);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white);
  font-size: 1.875rem;
  margin-bottom: 0.75rem;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}
@media (min-width: 900px) {
  .cta-banner { padding: 80px 0; }
  .cta-banner h2 { font-size: 2.25rem; }
}

/* ---------- Commitment + CTA ---------- */
.commitment-cta {
  background: var(--grad-orange);
  color: var(--white);
  padding: 64px 0;
}
.commitment-cta__inner { max-width: 760px; }
.commitment-cta__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
}
.commitment-cta h2 {
  color: var(--white);
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}
.commitment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}
.commitment-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  line-height: 1.55;
}
.commitment-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 16px;
  height: 2px;
  background: var(--white);
}
.commitment-cta__lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  margin: 0 0 2rem;
  line-height: 1.6;
}
.commitment-cta__lead strong { color: var(--white); font-weight: 700; }
.commitment-cta .btn--white { font-weight: 700; }
@media (min-width: 900px) {
  .commitment-cta { padding: 80px 0; }
  .commitment-cta h2 { font-size: 2.25rem; }
}

/* ---------- Service detail (alternating rows) ---------- */
.service-block {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block:nth-child(even) { background: var(--bg-light); }

.service-block-inner {
  display: grid;
  gap: 40px;
  align-items: center;
}
.service-illustration {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.service-illustration svg { width: 100%; height: auto; max-height: 100%; }

.service-block .service-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.service-block h2 { font-size: 1.75rem; margin-bottom: 1rem; }

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.service-features li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--orange);
  border-radius: 2px;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .service-block { padding: 90px 0; }
  .service-block-inner { grid-template-columns: 1fr 1fr; gap: 72px; }
  .service-block:nth-child(even) .service-illustration { order: 2; }
  .service-block h2 { font-size: 2rem; }
}

/* ---------- Team ---------- */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
  aspect-ratio: 1 / 1;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.team-avatar svg { width: 50%; height: 50%; }
.team-body { padding: 20px 22px; }
.team-body h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.team-role {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.team-body p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Certifications ---------- */
.cert-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .cert-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 32px;
  }
}

.cert-pdf { display: flex; flex-direction: column; gap: 14px; }
.cert-pdf__frame {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  aspect-ratio: 1 / 1.32;
  min-height: 420px;
}
.cert-pdf__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.cert-pdf__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.cert-pdf__meta strong { display: block; font-size: 0.95rem; }
.cert-pdf__meta span   { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.cert-pdf__actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

.cert-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-content: start;
}
@media (min-width: 600px) and (max-width: 899.98px) {
  .cert-values { grid-template-columns: repeat(3, 1fr); }
}

.cert-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.cert-item:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(245, 124, 31, 0.15);
}
.cert-item h4 { font-size: 0.95rem; margin: 0.75rem 0 0.25rem; }
.cert-item p { color: var(--muted); font-size: 0.85rem; margin: 0; }
.cert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(245, 124, 31, 0.10);
  color: var(--orange);
  border-radius: var(--radius);
}
.cert-icon svg { width: 24px; height: 24px; }

/* ---------- Values cards (about) ---------- */
.value-card {
  position: relative;
  padding: 36px 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.value-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--orange);
}
.value-card h3 { font-size: 1.15rem; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 28px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--orange);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange);
  border-radius: 50%;
}
.timeline-year {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
}
.timeline-item h4 { font-size: 1.05rem; margin: 0.25rem 0 0.35rem; }
.timeline-item p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; gap: 64px; }
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-stack);
  font-size: 1rem;
  background: var(--white);
  color: var(--body);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 124, 31, 0.15);
}
.form-row textarea { min-height: 140px; resize: vertical; }

#contact-status {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--orange);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item .contact-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(245, 124, 31, 0.10);
  color: var(--orange);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-item h4 { margin: 0 0 0.15rem; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-item p { margin: 0; color: var(--charcoal); font-weight: 600; }

.map-placeholder {
  aspect-ratio: 21 / 9;
  background:
    linear-gradient(135deg, rgba(245, 124, 31, 0.08) 0%, transparent 60%),
    var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 24px;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  color: var(--charcoal);
  position: relative;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--orange);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { color: var(--orange); }
.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--muted);
}
.faq-item .faq-body p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: #B5B5B5;
  padding: 64px 0 0;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #B5B5B5; }
.site-footer a:hover { color: var(--orange); }
.site-footer p { margin: 0 0 0.5rem; font-size: 0.95rem; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

/* Footer logo image (replaces former inline SVG + .footer-brand-text) */
.footer-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
}
.footer-slogan {
  font-size: 0.95rem;
  color: #B5B5B5;
  margin-bottom: 1rem;
}

.footer-bottom {
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid #2D2D2D;
  font-size: 0.85rem;
  color: #8A8A8A;
  text-align: center;
}

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
}

/* ---------- Inline SVG icon defaults ---------- */
.icon {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Utility ---------- */
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .hero-cta, .nav-toggle, .cta-banner { display: none; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
