/* ===================================================
   CESAR BAZ — PORTAFOLIO PROFESIONAL
   Shared Styles
=================================================== */

/* Google Fonts imported in HTML */

:root {
  --bg:       #070710;
  --surf:     #0E0E1C;
  --surf2:    #141428;
  --surf3:    #1A1A30;
  --gold:     #D4A853;
  --gold-lt:  #ECC96A;
  --blue:     #4F8EF7;
  --teal:     #22D3EE;
  --white:    #F0F2F8;
  --gray:     #6B7794;
  --gray2:    #9AA3B8;
  --green:    #22C55E;
  --red:      #EF4444;
  --border:   rgba(255,255,255,0.07);
  --radius:   12px;
  --radius-lg:20px;
  --shadow:   0 4px 24px rgba(0,0,0,0.4);
  --transition: 0.3s ease;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior:smooth; font-size:16px; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; }

a { color: inherit; text-decoration: none; }
img { max-width:100%; display:block; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Typography ── */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; font-family: 'Inter', sans-serif;
  margin-bottom: 14px;
}
.eyebrow-gold { color: var(--gold); }
.eyebrow-teal { color: var(--teal); }
.eyebrow-blue { color: var(--blue); }

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800; margin-bottom: 16px;
}
.section-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--gray2); max-width: 600px;
}

.grad-gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-lt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-blue {
  background: linear-gradient(120deg, var(--blue), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 100px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
  cursor: pointer; border: none; transition: var(--transition);
  font-family: 'Space Grotesk', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #B8903C);
  color: #07070E;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,168,83,0.35); }

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-wa {
  background: #25D366;
  color: #fff;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }

.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ── Badges / Pills ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; font-family: 'Inter', sans-serif;
}
.badge-gold { background: rgba(212,168,83,0.12); border: 1px solid rgba(212,168,83,0.3); color: var(--gold); }
.badge-blue { background: rgba(79,142,247,0.12); border: 1px solid rgba(79,142,247,0.3); color: var(--blue); }
.badge-teal { background: rgba(34,211,238,0.12); border: 1px solid rgba(34,211,238,0.3); color: var(--teal); }
.badge-green { background: rgba(34,197,94,0.12);  border: 1px solid rgba(34,197,94,0.3);  color: var(--green); }

/* ── Cards ── */
.card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card-body { padding: 28px; }
.card-hover { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }

/* ── Stats ── */
.stat-block { text-align: center; }
.stat-num {
  font-size: clamp(36px, 5vw, 60px); font-weight: 800;
  font-family: 'Space Grotesk', sans-serif; line-height: 1;
}
.stat-lbl {
  font-size: 11px; color: var(--gray); text-transform: uppercase;
  letter-spacing: 2px; margin-top: 6px; font-family: 'Inter', sans-serif;
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 64px 0;
}

/* ── Grid helpers ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* =============================
   NAVIGATION
============================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0;
  background: rgba(7,7,16,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(7,7,16,0.95);
}
.nav-inner {
  display: flex; align-items: center;
  height: 68px; gap: 32px;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  flex-shrink: 0;
}
.nav-logo .nl-bar { color: var(--gold); }
.nav-logo .nl-rest { color: var(--white); }

.nav-menu {
  display: flex; list-style: none; gap: 4px; flex: 1;
}
.nav-link {
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--gray2);
  cursor: pointer; transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--gold); }

.nav-actions {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center; gap: 0;
  background: var(--surf2); border: 1px solid var(--border);
  border-radius: 100px; overflow: hidden; flex-shrink: 0;
}
.lang-btn {
  padding: 6px 14px; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; cursor: pointer; border: none;
  background: transparent; color: var(--gray2);
  transition: all 0.2s; font-family: 'Space Grotesk', sans-serif;
}
.lang-btn.active { background: var(--gold); color: #07070E; border-radius: 100px; }

/* Mobile toggle button */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px; transition: 0.3s;
}

/* Mobile menu */
.nav-mobile {
  display: none; position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(7,7,16,0.98); z-index: 99;
  padding: 24px; overflow-y: auto;
  flex-direction: column; gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  padding: 14px 16px; font-size: 16px; font-weight: 600;
  color: var(--gray2); border-radius: var(--radius);
  transition: all 0.2s;
}
.nav-mobile-link:hover { color: var(--white); background: var(--surf2); }
.nav-mobile-divider { height: 1px; background: var(--border); margin: 8px 0; }

/* =============================
   HERO
============================= */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 40%, rgba(212,168,83,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 30% 70%, rgba(79,142,247,0.06) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
}
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero-title {
  font-size: clamp(36px, 5vw, 58px); font-weight: 800;
  line-height: 1.1; margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px); color: var(--gray2);
  line-height: 1.7; margin-bottom: 32px; max-width: 500px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.hero-stat .stat-num { font-size: 32px; }
.hero-stat .stat-lbl { font-size: 11px; }

/* Photo card */
.hero-photo-wrap {
  display: flex; justify-content: center; align-items: center;
}
.hero-photo-card {
  position: relative; width: 100%; max-width: 420px;
}
.hero-photo-bg {
  position: absolute; inset: -2px;
  background: linear-gradient(135deg, rgba(212,168,83,0.4), rgba(79,142,247,0.2), transparent);
  border-radius: 28px; z-index: 0;
}
.hero-photo-inner {
  position: relative; z-index: 1;
  background: var(--surf); border-radius: 26px; overflow: hidden;
  padding: 4px;
}
.hero-photo {
  width: 100%; border-radius: 22px;
  aspect-ratio: 4/5; object-fit: cover; object-position: top;
}
.hero-photo-badge {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(14,14,28,0.9); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 100px;
  padding: 8px 18px; display: flex; align-items: center; gap: 8px;
  white-space: nowrap; font-size: 13px; font-weight: 600; z-index: 2;
}

/* =============================
   FLOATING VALUE CARDS (hero)
============================= */
.float-card {
  position: absolute;
  background: rgba(14,14,28,0.92); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 12px 16px; z-index: 3;
}
.float-card-val { font-size: 20px; font-weight: 800; font-family: 'Space Grotesk', sans-serif; }
.float-card-lbl { font-size: 10px; color: var(--gray2); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px; }
.fc-1 { top: 5%; right: -8%; }
.fc-2 { bottom: 12%; right: -6%; }

/* =============================
   SECTION: CASOS DE ÉXITO
============================= */
.case-card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.5); }

.case-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.case-company { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.case-sector { font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: 2px; }

.case-metrics {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; border-bottom: 1px solid var(--border);
}
.case-metric {
  padding: 20px 24px; border-right: 1px solid var(--border);
  text-align: center;
}
.case-metric:last-child { border-right: none; }
.cm-num { font-size: 28px; font-weight: 800; font-family: 'Space Grotesk', sans-serif; line-height: 1; }
.cm-lbl { font-size: 10px; color: var(--gray); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 5px; }

.case-body { padding: 24px 28px; }
.case-desc { font-size: 14px; color: var(--gray2); line-height: 1.7; margin-bottom: 16px; }

.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Full case page */
.case-full-header {
  padding: 120px 0 64px;
  background: linear-gradient(180deg, var(--surf) 0%, transparent 100%);
}
.metrics-table {
  width: 100%; border-collapse: collapse; margin-top: 24px;
}
.metrics-table th {
  padding: 12px 16px; background: var(--surf2);
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gray); text-align: left; font-family: 'Inter', sans-serif;
}
.metrics-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.metrics-table tr:last-child td { border-bottom: none; }
.metrics-table .highlight { color: var(--gold); font-weight: 700; }

/* =============================
   SECTION: SERVICIOS
============================= */
.service-card {
  background: var(--surf); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
}
.sc-gold::before { background: linear-gradient(90deg, var(--gold), transparent); }
.sc-blue::before { background: linear-gradient(90deg, var(--blue), transparent); }
.sc-teal::before { background: linear-gradient(90deg, var(--teal), transparent); }
.sc-green::before { background: linear-gradient(90deg, var(--green), transparent); }

.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }

.svc-num {
  font-size: 48px; font-weight: 800; line-height: 1;
  opacity: 0.08; position: absolute; top: 20px; right: 24px;
  font-family: 'Space Grotesk', sans-serif;
}
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
}
.si-gold { background: rgba(212,168,83,0.12); }
.si-blue { background: rgba(79,142,247,0.12); }
.si-teal { background: rgba(34,211,238,0.12); }
.si-green { background: rgba(34,197,94,0.12); }

.svc-name { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.svc-desc { font-size: 14px; color: var(--gray2); line-height: 1.7; margin-bottom: 20px; }
.svc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.svc-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--gray2);
}
.svc-list li::before {
  content: '→'; color: var(--gold); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}
.svc-result {
  margin-top: 20px; padding: 14px 16px;
  background: var(--surf2); border-radius: var(--radius);
  font-size: 13px; color: var(--gray2); border-left: 2px solid var(--gold);
  line-height: 1.6;
}

.svc-inner {
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.svc-mini-stats {
  background: var(--surf2);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: center;
}

/* ── Sobre mí hero grid ── */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-name  { grid-column: 1; grid-row: 1; }
.about-photo { grid-column: 2; grid-row: 1 / span 2; display:flex; justify-content:center; }
.about-desc  { grid-column: 1; grid-row: 2; }

/* =============================
   TIMELINE (Experiencia)
============================= */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: var(--border);
}
.tl-item { position: relative; margin-bottom: 40px; }
.tl-item::before {
  content: ''; position: absolute; left: -37px; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--bg);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.2);
}
.tl-item.current::before { background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,0.2); }
.tl-period {
  font-size: 11px; color: var(--gray); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 6px; font-family: 'Inter', sans-serif;
}
.tl-title { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.tl-company { font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.tl-desc { font-size: 14px; color: var(--gray2); line-height: 1.7; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* =============================
   CERTIFICATIONS
============================= */
.cert-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.cert-card {
  background: var(--surf); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cert-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.cert-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cert-name {
  padding: 10px 12px; font-size: 12px; font-weight: 600;
  color: var(--gray2); line-height: 1.4;
}

/* =============================
   RECOMMENDATIONS
============================= */
.rec-card {
  background: var(--surf); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
}
.rec-quote {
  font-size: 15px; color: var(--gray2); line-height: 1.8;
  margin-bottom: 24px; font-style: italic;
  position: relative; padding-left: 20px;
}
.rec-quote::before {
  content: '"'; position: absolute; left: 0; top: -4px;
  font-size: 40px; color: var(--gold); font-style: normal;
  line-height: 1; font-family: 'Space Grotesk', sans-serif;
}
.rec-author { display: flex; align-items: center; gap: 12px; }
.rec-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--bg); flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
}
.rec-name { font-size: 15px; font-weight: 700; }
.rec-role { font-size: 12px; color: var(--gray); margin-top: 2px; }

/* =============================
   CONTACT
============================= */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; background: var(--surf);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.2s;
}
.contact-item:hover { border-color: var(--gold); }
.contact-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(212,168,83,0.1); display: flex;
  align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-lbl { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 3px; }
.contact-val { font-size: 15px; font-weight: 600; }

/* =============================
   FOOTER
============================= */
.footer {
  background: var(--surf);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 800; }
.footer-copy { font-size: 13px; color: var(--gray); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--gray2); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* =============================
   SECTION BACKGROUNDS
============================= */
.bg-surf { background: var(--surf); }
.bg-gradient {
  background: linear-gradient(180deg, transparent, var(--surf) 30%, var(--surf) 70%, transparent);
}

/* CTA Strip */
.cta-strip {
  background: linear-gradient(135deg, rgba(212,168,83,0.08), rgba(79,142,247,0.05));
  border: 1px solid rgba(212,168,83,0.15);
  border-radius: var(--radius-lg); padding: 48px;
  text-align: center;
}
.cta-strip h2 { font-size: clamp(24px,3.5vw,38px); font-weight: 800; margin-bottom: 12px; }
.cta-strip p { color: var(--gray2); font-size: 16px; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =============================
   SCROLL REVEAL ANIMATIONS
============================= */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .fc-1, .fc-2 { display: none; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-inner { justify-content: space-between; gap: 8px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-wa { font-size: 0 !important; padding: 9px 12px !important; line-height: 1; }
  .nav-actions .btn-wa i { font-size: 18px; margin: 0; }
  .nav-toggle {
    display: flex;
    position: static;
    background: var(--surf2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: none;
  }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo-wrap { order: -1; }
  .hero-photo-card { max-width: 280px; margin: 0 auto; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .case-metrics { grid-template-columns: 1fr 1fr; }
  .case-metrics .case-metric:last-child { grid-column: 1/-1; border-right: none; border-top: 1px solid var(--border); }
  .svc-inner { grid-template-columns: 1fr; gap: 28px; padding: 24px 20px; }
  .about-hero-grid { display: flex; flex-direction: column; gap: 32px; }
  .about-name  { order: 1; }
  .about-photo { order: 2; }
  .about-desc  { order: 3; }
}

@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
  .hero-stat .stat-num { font-size: 22px; }
  .hero-stat .stat-lbl { font-size: 9px; letter-spacing: 1px; }
  .cta-strip { padding: 32px 20px; }
  .hero { padding: 100px 0 60px; }
  .section { padding: 56px 0; }
}

@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .case-metrics { grid-template-columns: 1fr; }
  .case-metric { border-right: none; border-bottom: 1px solid var(--border); }
}
