/* ========== CONTROL VET — base styles ========== */
:root {
  --bg: #F4EFE6;
  --bg-2: #ECE5D8;
  --paper: #FBF8F2;
  --ink: #0E1B22;
  --ink-2: #2A3640;
  --muted: #5C6770;
  --line: #D9D0BE;
  --line-2: #C3B8A3;
  --burgundy: #7A2A2F;
  --burgundy-deep: #4A1518;
  --petrol: #11364A;
  --petrol-2: #1F4F66;
  --sage: #C8D2C5;
  --sage-deep: #6E806B;
  --gold: #B68A4E;

  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 20px;

  --maxw: 1320px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
  overflow-x: hidden;
}

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

/* ========== Typography ========== */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--muted);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
.display-1 { font-size: clamp(54px, 8.4vw, 132px); line-height: 0.95; letter-spacing: -0.025em; }
.display-2 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.0; letter-spacing: -0.02em; }
.display-3 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; }
.italic { font-style: italic; }
em.brand { font-style: italic; color: var(--burgundy); }

.lede {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.005em;
  max-width: 64ch;
}

.body { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; max-width: 60ch; }

/* ========== Layout ========== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 120px 0; position: relative; }
@media (max-width: 720px) { section { padding: 80px 0; } .container { padding: 0 20px; } }

.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 56px; }
.section-head.center { align-items: center; text-align: center; }
.section-head .lede { margin-top: 6px; }

/* ========== Nav ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244, 239, 230, 0.85);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
  padding: 12px 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.01em;
}
.nav-logo .mark {
  width: 34px; height: 34px;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-logo .word { display: flex; flex-direction: column; line-height: 1; }
.nav-logo .word b { font-family: var(--sans); font-weight: 600; font-size: 16px; letter-spacing: 0.18em; }
.nav-logo .word span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-family: var(--sans);
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(14,27,34,0.06); color: var(--ink); }
.nav-cta {
  font-family: var(--sans);
  font-size: 13px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  border: 1px solid var(--ink);
  letter-spacing: 0.01em;
  transition: transform .2s, background .2s;
}
.nav-cta:hover { background: var(--burgundy); border-color: var(--burgundy); }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  background: var(--ink);
  border-radius: 50%;
  border: none;
  position: relative;
}
.nav-burger span {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 16px; height: 1.5px; background: var(--bg);
  transition: transform .25s ease, opacity .2s;
}
.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 19.5px; }
.nav-burger span:nth-child(3) { top: 24px; }
.nav-burger.open span:nth-child(1) { top: 19.5px; transform: translateX(-50%) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 19.5px; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
}

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 70;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 28px;
  padding: 100px 24px 40px;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.7,.1,.3,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif); font-size: 36px; color: var(--ink);
}

/* ========== Hero ========== */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: end;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-headline { display: flex; flex-direction: column; gap: 40px; }

.hero-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-logo-img {
  height: 120px;
  width: auto;
  align-self: flex-start;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05));
}
.hero-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 110px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--ink);
  margin: 0;
}
.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink-2);
  margin: 0;
}

@media (max-width: 720px) {
  .hero-logo-img { height: 80px; }
  .hero-headline { gap: 32px; }
}
.hero-headline .meta-row {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.hero-headline .meta-row > div { display: flex; flex-direction: column; gap: 4px; }
.hero-headline .meta-row .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero-headline .meta-row .v { font-family: var(--serif); font-size: 22px; color: var(--ink); }

.hero-media {
  position: relative;
  height: clamp(420px, 60vh, 620px);
}
.hero-media .ph {
  position: absolute; border-radius: var(--radius-m); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(14,27,34,0.35), 0 2px 6px rgba(14,27,34,0.06);
}
.hero-media .ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .ph-1 { top: 0; left: 0; width: 62%; aspect-ratio: 3/4; }
.hero-media .ph-2 { bottom: 0; right: 0; width: 52%; aspect-ratio: 4/3; }
.hero-media .ph-3 {
  position: absolute;
  top: 8%; right: 0;
  width: 38%; aspect-ratio: 1/1;
  background: var(--ink);
  color: var(--paper);
  display: flex; flex-direction: column;
  padding: 22px;
  justify-content: space-between;
  border-radius: var(--radius-m);
}
.hero-media .ph-3 .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; }
.hero-media .ph-3 .num { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.hero-media .ph-3 .desc { font-size: 12.5px; opacity: 0.85; line-height: 1.4; }

.hero-tag {
  position: absolute;
  bottom: 20px; left: 30%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.hero-tag .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--burgundy); display: grid; place-items: center; color: white; font-family: var(--serif); font-size: 14px; }

@media (max-width: 720px) {
  .hero-media { height: 400px; }
  .hero-media .ph-1 { width: 70%; }
  .hero-media .ph-2 { width: 60%; }
  .hero-media .ph-3 { width: 44%; }
}

/* ========== Marquee strip ========== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex; gap: 60px;
  animation: marquee 36s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 60px;
}
.marquee-track span::after {
  content: "✦";
  font-size: 14px;
  color: var(--burgundy);
  font-style: normal;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ========== Filosofía pillars ========== */
.pillars-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pillar {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  background: var(--paper);
  position: relative;
  transition: background .3s;
}
.pillar:hover { background: var(--bg-2); }
.pillar .num { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }
.pillar h3 { font-size: 28px; line-height: 1.1; }
.pillar p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pillars { grid-template-columns: 1fr; } }

/* ========== Nosotros ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-figure {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-2);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about-figure .caption {
  position: absolute;
  bottom: 14px; left: 14px;
  background: var(--paper);
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.director-card {
  margin-top: 40px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 22px;
  align-items: start;
}
.director-card .avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--petrol), var(--burgundy));
  display: grid; place-items: center;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 32px;
  font-style: italic;
}
.director-card h4 { font-size: 24px; }
.director-card .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy); margin-top: 4px; }
.director-card p { font-size: 14.5px; color: var(--ink-2); margin: 12px 0 0; line-height: 1.55; }

/* ========== Servicios ========== */
.services-section { background: var(--ink); color: var(--paper); }
.services-section .section-head h2 { color: var(--paper); }
.services-section .lede { color: rgba(251, 248, 242, 0.78); }
.services-section .eyebrow { color: rgba(251, 248, 242, 0.6); }
.services-section .eyebrow::before { background: rgba(251, 248, 242, 0.5); }

.services-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .services-layout { grid-template-columns: 1fr; gap: 32px; } }

.service-tabs { display: flex; flex-direction: column; }
.service-tab {
  display: flex; align-items: baseline; gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(251, 248, 242, 0.12);
  cursor: pointer;
  background: transparent;
  border-left: none; border-right: none; border-bottom: none;
  color: rgba(251, 248, 242, 0.7);
  text-align: left;
  transition: color .25s, padding-left .25s;
  width: 100%;
}
.service-tab:last-child { border-bottom: 1px solid rgba(251, 248, 242, 0.12); }
.service-tab .ix { font-family: var(--mono); font-size: 11px; color: rgba(251, 248, 242, 0.45); }
.service-tab .name { font-family: var(--serif); font-size: 24px; line-height: 1.05; flex: 1; }
.service-tab .arrow {
  width: 24px; height: 24px;
  opacity: 0;
  transition: opacity .25s, transform .25s;
}
.service-tab.active { color: var(--paper); padding-left: 14px; }
.service-tab.active .arrow { opacity: 1; transform: translateX(4px); }
.service-tab:hover { color: var(--paper); }

@media (max-width: 900px) {
  .service-tab .name { font-size: 20px; }
}

.service-detail {
  position: relative;
  min-height: 480px;
}
.service-panel {
  display: none;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  animation: fadeUp .5s ease;
}
.service-panel.active { display: grid; }
@media (max-width: 720px) { .service-panel { grid-template-columns: 1fr; } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.service-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  position: relative;
}
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-image .badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(14, 27, 34, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-body h3 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  color: var(--paper);
  margin-bottom: 14px;
}
.service-body .sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: rgba(251, 248, 242, 0.65);
  margin-bottom: 22px;
}
.service-body > p { color: rgba(251, 248, 242, 0.78); font-size: 15.5px; line-height: 1.6; }
.service-body h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.55);
  margin: 28px 0 14px;
  font-weight: 500;
}
.test-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.test-list li {
  font-size: 14px;
  color: rgba(251, 248, 242, 0.85);
  padding-left: 18px;
  position: relative;
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom: 1px dotted rgba(251, 248, 242, 0.15);
}
.test-list li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 6px; height: 6px;
  background: var(--burgundy);
  transform: rotate(45deg);
}

/* ========== Equipment gallery ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 14px;
}
.gallery .g {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
  cursor: pointer;
  transition: transform .4s ease;
}
.gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery .g:hover img { transform: scale(1.04); }
.gallery .g .cap {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(14, 27, 34, 0.78);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}
.gallery .g1 { grid-column: span 5; grid-row: span 3; }
.gallery .g2 { grid-column: span 4; grid-row: span 2; }
.gallery .g3 { grid-column: span 3; grid-row: span 2; }
.gallery .g4 { grid-column: span 3; grid-row: span 2; }
.gallery .g5 { grid-column: span 4; grid-row: span 3; }
.gallery .g6 { grid-column: span 5; grid-row: span 2; }
@media (max-width: 900px) {
  .gallery { grid-auto-rows: 100px; }
  .gallery .g1 { grid-column: span 12; grid-row: span 3; }
  .gallery .g2 { grid-column: span 6; grid-row: span 2; }
  .gallery .g3 { grid-column: span 6; grid-row: span 2; }
  .gallery .g4 { grid-column: span 6; grid-row: span 2; }
  .gallery .g5 { grid-column: span 6; grid-row: span 2; }
  .gallery .g6 { grid-column: span 12; grid-row: span 2; }
}

/* ========== Calidad ========== */
.calidad-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calidad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .calidad-grid { grid-template-columns: 1fr; gap: 48px; } }
.iso-seal {
  position: relative;
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.iso-seal svg { width: 100%; height: auto; }

.quality-list { list-style: none; padding: 0; margin: 28px 0 0; }
.quality-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.quality-list li:first-child { border-top: 1px solid var(--line); }
.quality-list li .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--burgundy); }
.quality-list li .lbl { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.quality-list li .desc { grid-column: 2 / -1; font-size: 13.5px; color: var(--muted); margin-top: 4px; max-width: 50ch; }

/* ========== Sectores ========== */
.sectores {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}
.sectores .chip {
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.sectores .chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }

/* ========== Sedes ========== */
.sedes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) { .sedes-grid { grid-template-columns: 1fr; } }
.sede-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.sede-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(14,27,34,0.25); }
.sede-map {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(122, 42, 47, 0.06), rgba(17, 54, 74, 0.08)),
    repeating-linear-gradient(45deg, transparent 0 24px, rgba(14, 27, 34, 0.04) 24px 25px),
    repeating-linear-gradient(-45deg, transparent 0 36px, rgba(14, 27, 34, 0.04) 36px 37px),
    var(--bg-2);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.sede-map .pin {
  position: absolute;
  top: 45%; left: 50%;
  transform: translate(-50%, -100%);
  width: 28px; height: 28px;
  background: var(--burgundy);
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 6px 14px rgba(122, 42, 47, 0.4);
}
.sede-map .pin::after {
  content: ""; position: absolute;
  width: 10px; height: 10px;
  background: var(--paper);
  border-radius: 50%;
  top: 9px; left: 9px;
}
.sede-map .pin-shadow {
  position: absolute;
  width: 30px; height: 8px;
  background: rgba(14,27,34, 0.18);
  border-radius: 50%;
  top: calc(45% + 6px); left: 50%;
  transform: translate(-50%, 0);
  filter: blur(3px);
}
.sede-map .label {
  position: absolute;
  bottom: 14px; left: 14px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--ink);
  border: 1px solid var(--line);
}
.sede-body { padding: 28px 32px; }
.sede-body .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--burgundy); }
.sede-body h3 { font-size: 38px; margin-top: 8px; margin-bottom: 12px; }
.sede-body .addr { color: var(--ink-2); font-size: 15.5px; }
.sede-body .meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.sede-body .meta a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s;
}
.sede-body .meta a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sede-body .meta a svg { width: 14px; height: 14px; }

/* ========== Contact ========== */
.contact-section { background: var(--ink); color: var(--paper); }
.contact-section h2 { color: var(--paper); }
.contact-section .lede { color: rgba(251, 248, 242, 0.78); }
.contact-section .eyebrow { color: rgba(251, 248, 242, 0.6); }
.contact-section .eyebrow::before { background: rgba(251, 248, 242, 0.5); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-block { display: flex; flex-direction: column; gap: 6px; }
.contact-block .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(251, 248, 242, 0.55); }
.contact-block .v { font-family: var(--serif); font-size: 26px; color: var(--paper); }
.contact-block .v a { border-bottom: 1px solid rgba(251, 248, 242, 0.25); transition: border-color .2s; }
.contact-block .v a:hover { border-color: var(--paper); }

.form {
  background: rgba(251, 248, 242, 0.04);
  border: 1px solid rgba(251, 248, 242, 0.12);
  border-radius: var(--radius-m);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(251, 248, 242, 0.55); }
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(251, 248, 242, 0.25);
  padding: 8px 0;
  font: inherit;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--paper);
  outline: none;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--paper); }
.field textarea { resize: vertical; min-height: 60px; }
.field select option { background: var(--ink); color: var(--paper); }

.btn-submit {
  margin-top: 8px;
  align-self: flex-start;
  background: var(--paper);
  color: var(--ink);
  border: none;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .2s, color .2s, transform .2s;
}
.btn-submit:hover:not(:disabled) { background: var(--burgundy); color: var(--paper); transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-submit svg { width: 14px; height: 14px; }

.form-success {
  background: rgba(200, 210, 197, 0.12);
  border: 1px solid var(--sage-deep);
  padding: 14px 18px;
  border-radius: var(--radius-m);
  font-size: 14px;
  color: var(--sage);
  display: none;
}
.form-success.show { display: block; }

.form-cta {
  background: rgba(251, 248, 242, 0.04);
  border: 1px solid rgba(251, 248, 242, 0.12);
  border-radius: var(--radius-m);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.form-cta h3 { font-size: 38px; color: var(--paper); }
.form-cta p { font-size: 17px; color: rgba(251, 248, 242, 0.7); line-height: 1.6; max-width: 44ch; margin: 0; }
.form-cta .btn-submit { margin-top: 12px; }
@media (max-width: 600px) {
  .form-cta { padding: 32px 24px; }
  .form-cta h3 { font-size: 32px; }
}

/* ========== Buttons ========== */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn-primary:hover { background: var(--burgundy); border-color: var(--burgundy); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn svg { width: 14px; height: 14px; }

/* ========== Footer ========== */
.footer {
  background: var(--bg);
  padding: 80px 0 36px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.footer h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14.5px; color: var(--ink-2); }
.footer ul a:hover { color: var(--burgundy); }
.footer-brand .tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 16px;
  max-width: 28ch;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ========== Lightbox ========== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(14, 27, 34, 0.92);
  z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 90%; border-radius: var(--radius-m); box-shadow: 0 40px 80px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(251, 248, 242, 0.1);
  border: 1px solid rgba(251, 248, 242, 0.25);
  color: var(--paper);
  display: grid; place-items: center;
}

/* ========== Reveal ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 60;
  background: #25D366;
  color: white;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: transform .25s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }
