/* FyD site v8 — ink / cream / bronze */
:root {
  --ink: #0B1F33;
  --ink-soft: #16324A;
  --cream: #F7F4EF;
  --cream-deep: #EDE7DC;
  --bronze: #B8956C;
  --bronze-dark: #8F7048;
  --gray: #8A9099;
  --gray-ui: #D8DCE2;
  --white: #FFFFFF;
  --rule: rgba(11, 31, 51, 0.12);
  --shadow: 0 18px 50px rgba(11, 31, 51, 0.08);
  --shadow-sm: 0 4px 18px rgba(11, 31, 51, 0.06);
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1120px;
  --serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 108px;
  --meta-h: 0px; /* top-meta removed in v5/v6 */
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--meta-h) + 12px);
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, var(--max)); }
}

/* Prototype badge (removed from HTML in v8; keep hidden) */
.proto-badge { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--bronze);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--bronze-dark);
  color: var(--cream);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(11, 31, 51, 0.22);
}
.btn-secondary:hover {
  border-color: var(--ink);
  background: rgba(11, 31, 51, 0.04);
}

.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 244, 239, 0.35);
}
.btn-ghost-light:hover {
  border-color: var(--cream);
  background: rgba(247, 244, 239, 0.08);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 244, 239, 0.35);
}
.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(247, 244, 239, 0.08);
}

.btn-on-dark {
  background: var(--bronze);
  color: var(--ink);
}
.btn-on-dark:hover {
  background: #c9a87d;
  color: var(--ink);
}

.btn-on-video {
  background: var(--bronze);
  color: var(--ink);
}
.btn-on-video:hover {
  background: #c9a87d;
}
.btn-ghost-video {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 244, 239, 0.4);
}
.btn-ghost-video:hover {
  border-color: var(--cream);
  background: rgba(247, 244, 239, 0.1);
}

.text-link {
  color: var(--bronze-dark);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease, gap 0.15s ease;
}
.text-link::after {
  content: "→";
  transition: transform 0.15s ease;
}
.text-link:hover {
  color: var(--ink);
  gap: 10px;
}
.text-link:hover::after { transform: translateX(2px); }
.text-link-light {
  color: var(--bronze);
}
.text-link-light:hover { color: var(--cream); }

/* Sections */
.section { padding: 88px 0; }
.section-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section-intro {
  color: var(--ink-soft);
  max-width: 52ch;
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .logo-card, .industry-card, .socio-card, .lift {
    transition: none !important;
  }
}

/* ========== TOP META BAR (unused in v6; HTML removed) ========== */
.top-meta {
  position: sticky;
  top: 0;
  z-index: 110;
  height: var(--meta-h);
  background: var(--ink);
  color: rgba(247, 244, 239, 0.72);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}
.top-meta .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: min(100% - 48px, var(--max));
}
.top-meta span { white-space: nowrap; }
.top-meta a {
  color: rgba(247, 244, 239, 0.72);
  transition: color 0.15s;
}
.top-meta a:hover { color: var(--cream); }
@media (max-width: 560px) {
  .top-meta .meta-hide-sm { display: none; }
}

/* ========== NAV ========== */
.site-header {
  position: sticky;
  top: var(--meta-h);
  z-index: 100;
  height: var(--nav-h);
  background: rgba(247, 244, 239, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.04);
}
.site-header.is-over-hero {
  background: rgba(11, 31, 51, 0.35);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
}
.site-header.is-over-hero .logo,
.site-header.is-over-hero .nav-links a,
.site-header.is-over-hero .nav-toggle {
  color: var(--cream);
}
.site-header.is-over-hero .nav-links a {
  color: rgba(247, 244, 239, 0.85);
}
.site-header.is-over-hero .nav-links a:hover {
  color: var(--cream);
  background: rgba(247, 244, 239, 0.1);
}
.site-header.is-over-hero.is-scrolled,
.site-header.is-over-hero:not(.is-at-top) {
  background: rgba(247, 244, 239, 0.92);
}
.site-header.is-over-hero.is-scrolled .logo,
.site-header.is-over-hero.is-scrolled .nav-toggle,
.site-header.is-over-hero:not(.is-at-top) .logo,
.site-header.is-over-hero:not(.is-at-top) .nav-toggle {
  color: var(--ink);
}
.site-header.is-over-hero.is-scrolled .nav-links a,
.site-header.is-over-hero:not(.is-at-top) .nav-links a {
  color: var(--ink-soft);
}
.site-header.is-over-hero.is-scrolled .nav-links a:hover,
.site-header.is-over-hero:not(.is-at-top) .nav-links a:hover {
  color: var(--ink);
  background: rgba(11, 31, 51, 0.04);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 56px;
  line-height: 0;
}
.logo-img {
  display: block;
  object-fit: contain;
  width: auto;
}
/* Default (cream pages): full official lockup (mark + wordmark + tagline) */
.logo-img--ink {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(320px, 62vw);
}
/* Mark alone stays hidden — full lockup already includes the FD mark */
.logo-img--mark {
  display: none;
  height: 32px;
  width: 32px;
}
.logo-img--white {
  display: none;
  height: 50px;
  width: auto;
  max-width: min(340px, 68vw);
}
/* Hero at top: white full lockup only */
.site-header.is-over-hero.is-at-top .logo-img--ink { display: none; }
.site-header.is-over-hero.is-at-top .logo-img--mark { display: none; }
.site-header.is-over-hero.is-at-top .logo-img--white { display: block; }
/* Hero scrolled / light: ink lockup (hide white) */
.site-header.is-over-hero:not(.is-at-top) .logo-img--white { display: none; }
.site-header.is-over-hero:not(.is-at-top) .logo-img--ink { display: block; }
@media (max-width: 480px) {
  .logo-img--ink { height: 36px; max-width: min(240px, 68vw); }
  .logo-img--mark { height: 28px; width: 28px; }
  .logo-img--white { height: 38px; max-width: min(260px, 72vw); }
  .logo { height: 48px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(11, 31, 51, 0.04);
}
.nav-links a[aria-current="page"] {
  font-weight: 600;
}

.nav-cta {
  flex-shrink: 0;
  padding: 10px 18px;
  background: var(--bronze);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover {
  background: var(--bronze-dark);
  color: var(--cream);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--ink);
}
.nav-toggle:hover { background: rgba(11, 31, 51, 0.05); }
.nav-toggle-bars {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 1px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0; transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0; transform: rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta-desktop { display: none; }
  .nav-links {
    position: fixed;
    inset: calc(var(--nav-h) + var(--meta-h)) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: rgba(247, 244, 239, 0.98);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav-links a {
    padding: 14px 12px;
    font-size: 1.05rem;
    border-radius: 10px;
    color: var(--ink-soft) !important;
  }
  .nav-cta-mobile {
    display: block;
    margin-top: 8px;
    text-align: center;
    padding: 14px 18px;
    background: var(--bronze);
    color: var(--ink) !important;
    font-weight: 600;
    border-radius: 999px;
  }
}
@media (min-width: 961px) {
  .nav-cta-mobile { display: none; }
}

/* ========== VIDEO HERO ========== */
.hero-video {
  position: relative;
  min-height: calc(100vh - var(--meta-h));
  min-height: calc(100dvh - var(--meta-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  margin-top: calc(-1 * var(--nav-h));
  padding-top: var(--nav-h);
}

.hero-video__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11,31,51,0.78) 0%, rgba(11,31,51,0.55) 48%, rgba(11,31,51,0.42) 100%),
    linear-gradient(180deg, rgba(11,31,51,0.35) 0%, rgba(11,31,51,0.15) 40%, rgba(11,31,51,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-video__poster {
  display: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(184,149,108,0.28), transparent 55%),
    linear-gradient(155deg, #0B1F33 0%, #16324A 48%, #1A3D58 100%);
  z-index: 0;
}
.hero-video.is-reduced-motion .hero-video__media { display: none; }
.hero-video.is-reduced-motion .hero-video__poster { display: block; }

/* Geometric translucent band (LL-inspired layering, FyD palette) */
.hero-video__band {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  right: 0;
  top: 12%;
  bottom: 18%;
  width: min(42vw, 520px);
  background:
    linear-gradient(160deg, rgba(247,244,239,0.12) 0%, rgba(184,149,108,0.14) 45%, rgba(11,31,51,0.08) 100%);
  border-left: 1px solid rgba(247, 244, 239, 0.18);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-video__band::before {
  content: "";
  position: absolute;
  inset: 24px 24px 24px 48px;
  border: 1px solid rgba(184, 149, 108, 0.35);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-video__band::after {
  content: "";
  position: absolute;
  width: 1px;
  top: 10%;
  bottom: 10%;
  left: 28%;
  background: linear-gradient(180deg, transparent, rgba(184,149,108,0.5), transparent);
}
@media (max-width: 800px) {
  .hero-video__band {
    width: 55vw;
    opacity: 0.7;
    clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  }
}

.hero-video__content {
  position: relative;
  z-index: 3;
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
  padding: 72px 0 96px;
  max-width: 720px;
}
.hero-video__kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-video__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  max-width: 14ch;
  color: var(--cream);
  text-shadow: 0 2px 40px rgba(0,0,0,0.25);
}
.hero-video__sub {
  font-size: 1.12rem;
  color: rgba(247, 244, 239, 0.82);
  max-width: 44ch;
  margin-bottom: 12px;
  line-height: 1.55;
}
.hero-video__tagline {
  font-size: 0.9rem;
  color: rgba(247, 244, 239, 0.5);
  font-style: italic;
  margin-bottom: 36px;
}
.hero-video__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-video__mute {
  position: absolute;
  bottom: 28px;
  right: 28px;
  z-index: 4;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(11, 31, 51, 0.55);
  border: 1px solid rgba(247, 244, 239, 0.2);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease;
}
.hero-video__mute:hover {
  background: rgba(11, 31, 51, 0.75);
}
.hero-video.is-reduced-motion .hero-video__mute { display: none; }

@media (max-width: 640px) {
  .hero-video__content { padding: 48px 0 80px; width: min(100% - 32px, var(--max)); }
  .hero-video__mute { bottom: 16px; right: 16px; }
}

/* Trust */
.trust {
  background: var(--ink);
  color: var(--cream);
  padding: 48px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item {
  padding: 8px 16px;
  position: relative;
}
.trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 20%;
  height: 60%; width: 1px;
  background: rgba(247, 244, 239, 0.12);
}
.trust-value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  margin-bottom: 6px;
  color: var(--cream);
}
.trust-label {
  font-size: 0.88rem;
  color: rgba(247, 244, 239, 0.55);
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .trust-grid { grid-template-columns: 1fr; gap: 28px; }
  .trust-item:not(:last-child)::after {
    right: auto; left: 20%;
    top: auto; bottom: -14px;
    width: 60%; height: 1px;
  }
}

/* Photo band */
.photo-band {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.photo-band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.9);
}
.photo-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,31,51,0.15) 0%, rgba(11,31,51,0.75) 100%);
  pointer-events: none;
}
.photo-band__content {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  color: var(--cream);
  max-width: 48ch;
}
.photo-band__content .section-label { color: var(--bronze); }
.photo-band__content h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  margin-bottom: 10px;
}
.photo-band__content p {
  color: rgba(247, 244, 239, 0.75);
  font-size: 1rem;
}

/* Services teaser */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.service-card:hover {
  border-color: rgba(184, 149, 108, 0.45);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.service-num {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: 14px;
}
.service-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 18px;
}
@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* Process */
.process { background: var(--cream-deep); }
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,149,108,0.45), transparent);
  pointer-events: none;
}
.process-step { position: relative; z-index: 1; padding-top: 4px; }
.process-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--bronze);
  color: var(--bronze-dark);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.process-step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-track::before { display: none; }
}
@media (max-width: 520px) {
  .process-track { grid-template-columns: 1fr; }
}

/* Logos strip / grid */
.clients-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .clients-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .clients-logos { grid-template-columns: repeat(2, 1fr); }
}

.logo-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.logo-card:hover {
  border-color: rgba(184, 149, 108, 0.45);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.logo-card img {
  max-height: 78px;
  min-height: 64px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.92;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
@media (min-width: 901px) {
  .logo-card { min-height: 128px; }
  .logo-card img { max-height: 92px; min-height: 72px; }
}
@media (max-width: 520px) {
  .logo-card img { max-height: 64px; min-height: 52px; }
}
.logo-card:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.clients-grid-full {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .clients-grid-full { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .clients-grid-full { grid-template-columns: repeat(2, 1fr); }
}
.clients-note {
  margin-top: 36px;
  padding: 18px 20px;
  background: var(--cream-deep);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Industries grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .industries-grid { grid-template-columns: 1fr; }
}
.industry-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  background: var(--ink);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.78) saturate(0.85);
}
.industry-card:hover img {
  transform: scale(1.06);
}
.industry-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,31,51,0.1) 20%, rgba(11,31,51,0.82) 100%);
  pointer-events: none;
}
.industry-card__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 22px;
  z-index: 1;
  color: var(--cream);
}
.industry-card__body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: 4px;
}
.industry-card__body p {
  font-size: 0.82rem;
  color: rgba(247, 244, 239, 0.7);
  line-height: 1.4;
}

/* Page hero with photo */
.page-hero--photo {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: 0;
}
.page-hero--photo .page-hero__media {
  position: absolute;
  inset: 0;
}
.page-hero--photo .page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.85);
}
.page-hero--photo .page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11,31,51,0.85) 0%, rgba(11,31,51,0.45) 100%);
}
.page-hero--photo .wrap {
  position: relative;
  z-index: 1;
  padding: 72px 0 56px;
}

/* Nosotros teaser */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.partners-list {
  margin: 28px 0 20px;
  display: grid;
  gap: 10px;
}
.partner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.partner-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
}
.partner-role {
  font-size: 0.85rem;
  color: var(--gray);
}
.sedes-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.partners-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  justify-items: center;
  max-width: 340px;
  margin-left: auto;
}
.partner-tile {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--ink) 0%, var(--ink-soft) 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: rgba(247, 244, 239, 0.55);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  position: relative;
  overflow: hidden;
}
.partner-tile > span:not(.initials) {
  max-width: 100%;
  display: block;
}
.partner-tile .initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 2rem;
  color: rgba(184, 149, 108, 0.55);
  font-weight: 500;
}

.partner-tile--photo {
  aspect-ratio: auto;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 4px 0;
  overflow: visible;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.3;
}
.partner-tile--photo img {
  --pt: clamp(112px, 38vw, 148px);
  width: var(--pt);
  height: var(--pt);
  flex-shrink: 0;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 50%;
  display: block;
  background: var(--cream-deep);
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.12);
}
.partner-tile--photo > span {
  margin-top: 10px;
  text-align: center;
  max-width: 11em;
  display: block;
  color: var(--ink-soft);
}
.photo-side {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.photo-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 800px) {
  .nosotros-grid { grid-template-columns: 1fr; gap: 32px; }
  .partners-visual { max-width: 360px; }
  .photo-side { max-width: 420px; aspect-ratio: 16 / 10; }
}

/* CTA */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  padding: 88px 0;
}
.cta-band .section-label { color: var(--bronze); }
.cta-band .section-title { color: var(--cream); }
.cta-band .section-intro {
  color: rgba(247, 244, 239, 0.65);
  margin-bottom: 0;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band .btn {
  width: auto;
  display: inline-flex;
  max-width: max-content;
}
.page-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.page-cta .btn {
  width: auto;
  display: inline-flex;
}
.logo-card--on-dark {
  background: #0B1F33;
  border-color: rgba(247, 244, 239, 0.12);
}
.logo-card--on-dark img {
  filter: none;
  opacity: 0.95;
}
.cta-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cta-contact-line {
  font-size: 0.88rem;
  color: rgba(247, 244, 239, 0.5);
  margin-top: 4px;
}
.cta-contact-line a {
  color: rgba(247, 244, 239, 0.7);
  transition: color 0.15s;
}
.cta-contact-line a:hover { color: var(--cream); }

/* Footer */
.site-footer {
  background: #071526;
  color: rgba(247, 244, 239, 0.7);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 14px;
  line-height: 0;
}
.footer-logo img {
  height: 44px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}
.footer-brand-sub {
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 32ch;
  color: rgba(247, 244, 239, 0.55);
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col address {
  font-size: 0.92rem;
  line-height: 1.65;
}
.footer-col a {
  display: block;
  font-size: 0.92rem;
  padding: 3px 0;
  color: rgba(247, 244, 239, 0.7);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 244, 239, 0.1);
  font-size: 0.82rem;
  color: rgba(247, 244, 239, 0.4);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 244, 239, 0.55);
  transition: color 0.2s ease, opacity 0.2s ease;
}
.footer-social__link:hover,
.footer-social__link:focus-visible {
  color: var(--cream);
  opacity: 1;
}
.footer-social__link svg {
  display: block;
  width: 18px;
  height: 18px;
}
.footer-credit {
  font-size: 0.75rem;
  color: rgba(247, 244, 239, 0.28);
  margin-top: 8px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 64px 0; }
}

/* ========== PAGE HERO (inner) ========== */
.page-hero {
  padding: 64px 0 48px;
  background: var(--ink);
  color: var(--cream);
}
.page-hero .section-label { color: var(--bronze); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 18ch;
}
.page-hero p {
  color: rgba(247, 244, 239, 0.7);
  max-width: 52ch;
  font-size: 1.08rem;
}
.draft-banner {
  background: rgba(184, 149, 108, 0.12);
  border: 1px solid rgba(184, 149, 108, 0.35);
  color: var(--bronze-dark);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 32px;
}

/* ========== SERVICIOS accordion ========== */
.svc-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.svc-toc a {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.svc-toc a:hover {
  border-color: var(--bronze);
  color: var(--ink);
  background: var(--cream);
}

.svc-accordion {
  display: grid;
  gap: 12px;
}
.acc-item {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  scroll-margin-top: calc(var(--nav-h) + var(--meta-h) + 16px);
}
.acc-item.is-open {
  border-color: rgba(184, 149, 108, 0.5);
  box-shadow: var(--shadow-sm);
}
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  text-align: left;
  color: var(--ink);
  transition: background 0.2s ease;
}
.acc-trigger:hover {
  background: rgba(247, 244, 239, 0.6);
}
.acc-num {
  font-family: var(--serif);
  color: var(--bronze);
  font-size: 1.2rem;
  font-weight: 500;
  flex-shrink: 0;
  width: 2ch;
}
.acc-trigger__text {
  flex: 1;
  min-width: 0;
}
.acc-trigger__text h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.25;
  margin-bottom: 4px;
}
.acc-trigger__text p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.acc-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(184, 149, 108, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--bronze-dark);
  transition: transform 0.3s ease, background 0.2s ease, border-color 0.2s;
  position: relative;
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.acc-icon::before {
  width: 12px; height: 2px;
}
.acc-icon::after {
  width: 2px; height: 12px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.acc-item.is-open .acc-icon {
  background: rgba(184, 149, 108, 0.15);
  border-color: var(--bronze);
}
.acc-item.is-open .acc-icon::after {
  opacity: 0;
  transform: rotate(90deg);
}

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.acc-panel__inner {
  padding: 0 28px 28px;
  border-top: 1px solid var(--rule);
  margin-top: 0;
  padding-top: 8px;
}
.acc-sub {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.acc-sub:last-child { border-bottom: none; padding-bottom: 8px; }
.acc-sub h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.acc-sub p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 68ch;
  margin-bottom: 12px;
}
.acc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.acc-tags span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--ink-soft);
  border: 1px solid var(--rule);
}
@media (max-width: 640px) {
  .acc-trigger { padding: 20px 18px; gap: 12px; }
  .acc-panel__inner { padding: 0 18px 22px; }
  .acc-trigger__text p { display: none; }
}

/* Legacy svc-detail kept for compatibility */
.pillar-block { margin-bottom: 64px; }
.svc-detail {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  margin-bottom: 20px;
}
.svc-detail h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  margin-bottom: 16px;
}
.svc-detail .prose p {
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.6;
}
.svc-meta {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.svc-meta h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  font-weight: 600;
  margin-bottom: 10px;
}
.svc-meta p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; }
.svc-meta ul { display: grid; gap: 8px; }
.svc-meta li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.svc-meta li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bronze);
  opacity: 0.7;
}
@media (max-width: 720px) {
  .svc-detail { padding: 28px 22px; }
  .svc-meta { grid-template-columns: 1fr; gap: 20px; }
}

/* ========== EQUIPO ========== */
.team-section { margin-bottom: 56px; }
.team-section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.team-section .area-intro {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 55ch;
}
.socios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .socios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .socios-grid { grid-template-columns: 1fr; }
}
.socio-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.socio-card:hover {
  border-color: rgba(184, 149, 108, 0.45);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--bronze);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  letter-spacing: 0.02em;
}
.socio-card .avatar {
  width: 88px; height: 88px;
  font-size: 1.6rem;
}
.socio-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.socio-card .role {
  font-size: 0.85rem;
  color: var(--gray);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 800px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}
.person-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.person-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.person-card .avatar {
  width: 48px; height: 48px;
  font-size: 0.95rem;
  margin: 0;
  flex-shrink: 0;
}
.person-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 2px;
}
.person-card .role {
  font-size: 0.8rem;
  color: var(--gray);
}
.person-card.is-placeholder {
  background: var(--cream-deep);
  border-style: dashed;
}
.person-card.is-placeholder h3 { color: var(--ink-soft); font-style: italic; }

.team-photo-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.team-photo-strip--single {
  grid-template-columns: 1fr;
}
.team-photo-strip figure {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin: 0;
}
.team-photo-strip--single figure {
  aspect-ratio: 21 / 9;
  max-height: 420px;
}
.team-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 640px) {
  .team-photo-strip { grid-template-columns: 1fr; }
  .team-photo-strip--single figure { aspect-ratio: 16 / 9; max-height: none; }
}

/* ========== NOSOTROS ========== */
.timeline {
  position: relative;
  margin: 48px 0;
  padding-left: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--bronze), rgba(184,149,108,0.2));
}
.timeline-item {
  position: relative;
  padding-bottom: 32px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -25px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--bronze);
}
.timeline-year {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--bronze-dark);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.timeline-item p {
  color: var(--ink-soft);
  max-width: 55ch;
  font-size: 0.98rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 720px) {
  .values-grid { grid-template-columns: 1fr; }
}
.value-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.value-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.value-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.prose-block p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 68ch;
  font-size: 1.05rem;
  line-height: 1.65;
}
.nosotros-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 40px 0;
  aspect-ratio: 21 / 9;
  box-shadow: var(--shadow-sm);
}
.nosotros-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 640px) {
  .nosotros-photo { aspect-ratio: 16 / 10; }
}


/* ========== V4: socio photos ========== */
.avatar--photo {
  padding: 0;
  overflow: hidden;
  background: var(--cream-deep);
}
.avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.socio-card .avatar--photo {
  width: 96px;
  height: 96px;
}
.socio-card--photo .role {
  margin-top: 2px;
}


/* ========== V4: servicios denser ========== */
.svc-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
@media (max-width: 960px) {
  .svc-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .svc-pillars { grid-template-columns: 1fr; }
}
.svc-pillar {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 26px 22px 22px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184, 149, 108, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
  text-decoration: none;
}
.svc-pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(184, 149, 108, 0.55);
}
.svc-pillar__num {
  font-family: var(--serif);
  color: var(--bronze);
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.svc-pillar h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--cream);
}
.svc-pillar p {
  font-size: 0.9rem;
  color: rgba(247, 244, 239, 0.65);
  flex: 1;
  line-height: 1.5;
}
.svc-pillar__more {
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bronze);
}

.acc-bullets {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  max-width: 68ch;
}
.acc-bullets li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.acc-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bronze);
  opacity: 0.75;
}
.acc-aside {
  margin-top: 8px;
  padding: 20px 22px;
  background: var(--cream-deep);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}
.acc-aside h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  font-weight: 600;
  margin-bottom: 8px;
}
.acc-aside h4 + p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 14px;
  max-width: 68ch;
}
.acc-aside h4:last-of-type + p { margin-bottom: 0; }


/* ========== V5: Colegios y certificaciones (compact) ========== */
.colegios-section {
  background: var(--white);
  padding: 72px 0;
  border-top: 1px solid var(--rule);
}
.colegios-head .section-intro { margin-bottom: 28px; }
.colegios-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
}
@media (max-width: 1100px) {
  .colegios-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 720px) {
  .colegios-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 420px) {
  .colegios-grid { grid-template-columns: repeat(2, 1fr); }
}
.colegio-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 10px;
  aspect-ratio: auto;
  min-height: 72px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.colegio-card:hover {
  border-color: rgba(184, 149, 108, 0.45);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.colegio-card img {
  max-width: 90%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ========== V4: RSE dark strip ========== */
.rse-section {
  background: var(--ink);
  color: var(--cream);
  padding: 96px 0 88px;
  text-align: center;
}
.rse-inner { max-width: 920px; margin-inline: auto; }
.rse-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C4A574;
  font-weight: 600;
  margin-bottom: 20px;
}
.rse-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 48px;
}
.rse-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 18px 22px;
}
.rse-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  max-width: 130px;
  flex: 1 1 0;
  min-width: 0;
}
.rse-logo img {
  max-height: 42px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.95;
}
@media (max-width: 800px) {
  .rse-logos {
    flex-wrap: wrap;
    gap: 18px 20px;
  }
  .rse-logo {
    flex: 0 1 calc(33.333% - 14px);
    max-width: 140px;
    height: 48px;
  }
  .rse-logo img { max-height: 40px; }
}
@media (max-width: 480px) {
  .rse-section { padding: 72px 0 64px; }
  .rse-logos { gap: 16px 18px; }
  .rse-logo {
    flex: 0 1 calc(50% - 12px);
    height: 44px;
    max-width: 150px;
  }
  .rse-logo img { max-height: 38px; }
}

.team-grid--flat {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 800px) {
  .team-grid--flat { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-grid--flat { grid-template-columns: 1fr; }
}

/* ========== Equipo: optional staff photos ========== */
.person-card .avatar--photo {
  background: var(--cream-deep);
}
.person-card .avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
