/* Stream2 — shared design system. One font family (Inter) covers headings and body;
   see proposal Fase 6 for the fuller two-family recommendation — simplified here. */

/* Scroll reveal: class added by assets/js/scroll-reveal.js, one section at a time. */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

:root {
  --ink: #10151f;
  --ink-soft: #4b5567;
  --paper: #fbfaf6;        /* warm ivory, not clinical white */
  --paper-soft: #f4f0e8;
  --line: #e4e7ec;
  --rule: #ddd0b4;         /* warm sand hairline — used for the ledger/ticket motif */

  --brand: #0f5f8e;        /* petrol blue, a step brighter than the logo's original #0b3d5c */
  --brand-dark: #0c4a73;   /* second blue for gradients and accents */
  --deep: #0e4569;         /* the one dark surface: footer, testimonial, video heroes */
  --brand-tint: #e8f2f8;

  --accent-hotel: #b5652f;   /* warm terracotta — "For Hotels" path */
  --accent-hotel-tint: #fbeee4;
  --accent-travel: #0f5f8e;  /* brand blue reused — "For Travel Partners" path */
  --accent-travel-tint: #e8f2f8;

  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(16, 21, 31, 0.04), 0 8px 24px rgba(16, 21, 31, 0.06);
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-variant-ligatures: no-common-ligatures; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.01em; font-optical-sizing: auto; font-variation-settings: "SOFT" 40, "WONK" 0; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 16px; color: var(--ink-soft); }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 56ch; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.74rem; font-weight: 700; color: var(--brand); margin-bottom: 10px; display: block; }
.kicker-quote { font-size: 1.3rem; font-weight: 600; font-style: italic; color: var(--ink); border-left: 3px solid var(--brand); padding-left: 16px; margin: 24px 0; }
.intro-band { background: linear-gradient(135deg, var(--brand-tint) 0%, var(--accent-hotel-tint) 100%); border-radius: var(--radius-lg); padding: 44px 48px; }
.intro-band .lede { font-size: 1.2rem; font-weight: 500; color: var(--ink); max-width: none; margin: 0 auto; text-wrap: pretty; }

.teams-heading { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.teams-heading .eyebrow { letter-spacing: 0.22em; }
.teams-heading h2 { font-weight: 500; font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 0; opacity: 0; animation: teamsHeadingIn 0.9s ease-out 0.1s forwards; }
.teams-heading .heading-rule { display: block; height: 1px; width: 0; margin: 20px auto 0; background: linear-gradient(90deg, transparent, var(--accent-hotel), transparent); animation: teamsRuleIn 1s ease-out 0.5s forwards; }
@media (min-width: 901px) { .teams-heading h2 { white-space: nowrap; } }
@keyframes teamsHeadingIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes teamsRuleIn { from { width: 0; opacity: 0; } to { width: 120px; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .teams-heading h2, .teams-heading .heading-rule { animation: none; opacity: 1; width: 120px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15,95,142,0.03);
  transition: box-shadow 0.35s ease, background-color 0.35s ease;
}
.site-header.scrolled { background: rgba(255,255,255,0.96); box-shadow: 0 16px 32px -22px rgba(15,95,142,0.4); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--container); margin: 0 auto; gap: 20px; }

/* logo: continuous full 360deg spin that never goes blank -- a single flat
   face vanishes edge-on at 90/270deg, so this uses two faces (front, and a
   back pre-rotated 180deg so it reads un-mirrored) and backface-visibility
   hands off between them exactly at the edge-on point. Something is always
   facing the viewer. */
.brand-logo { height: 60px; width: 77px; display: inline-flex; perspective: 480px; }
.logo-spin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: logoSpin360 7s linear infinite; }
.brand-logo:hover .logo-spin { animation-duration: 2s; }
.logo-face { position: absolute; inset: 0; backface-visibility: hidden; }
.logo-face img { width: 100%; height: 100%; display: block; }
.logo-face.back { transform: rotateY(180deg); }
@keyframes logoSpin360 { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
.site-footer .brand-logo { height: 72px; width: auto; perspective: none; }
.site-footer .brand-logo img { height: 100%; width: auto; display: block; }

/* nav: text itself never rotates (a 3D-flipped glyph reads as blurry mid-turn) --
   the motion lives in a lift + a underline that sweeps in from the center. */
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  position: relative; display: inline-block; text-decoration: none;
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
  padding: 8px 8px; transition: color 0.2s ease;
}
.main-nav a .nav-label { display: block; transition: transform 0.25s cubic-bezier(0.2, 1, 0.3, 1); }
.main-nav a:hover { color: var(--brand); }
.main-nav a:hover .nav-label { transform: translateY(-2px); }
.main-nav a::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 2px;
  background: var(--accent-hotel); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch a { font-size: 0.85rem; font-weight: 700; text-decoration: none; color: var(--ink-soft); padding: 4px 6px; }
.lang-switch a[aria-current="true"] { color: var(--brand); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* header CTA: tilts toward the cursor, magnet-style */
.header-actions .btn-primary {
  --rx: 0deg; --ry: 0deg;
  transform: perspective(400px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.header-actions .btn-primary:hover { box-shadow: 0 12px 22px -8px rgba(15,95,142,0.45); }

@media (prefers-reduced-motion: reduce) {
  .brand-logo .logo-spin { animation: none; }
  .main-nav a .nav-label, .main-nav a::after { transition: none; }
  .header-actions .btn-primary { transition: none; transform: none !important; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 6px; font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(15,95,142,0.28); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand-tint); }
.btn-on-dark { background: #fff; color: var(--brand); }
.btn-on-dark.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 70px; background: linear-gradient(180deg, var(--brand-tint) 0%, var(--paper) 100%); }
.hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-split-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.hero-split-photo img, .hero-split-photo video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-photo { order: -1; aspect-ratio: 16/9; }
}

/* Foundation blocks: a stack of real 3D cubes replacing a stock photo for
   "Groups build your foundation" -- each column drops in from bottom to top,
   left to right, once, when scrolled into view. */
.foundation-scene {
  --cs: 46px;
  aspect-ratio: 4/3; border-radius: var(--radius-lg); background: var(--brand-tint);
  display: flex; align-items: flex-end; justify-content: center; gap: 16px;
  padding: 34px 24px 46px;
}
.block-column { display: flex; flex-direction: column-reverse; gap: 5px; }
.block-cube {
  position: relative; width: var(--cs); height: var(--cs); perspective: 320px;
  opacity: 0; transform: translateY(-36px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--cd, 0s);
}
.foundation-scene.in-view .block-cube { opacity: 1; transform: translateY(0); }
.cube-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(-25deg) rotateY(-38deg); }
.cube-inner .bf { position: absolute; inset: 0; background: var(--c, var(--brand)); }
.cube-inner .bf-front { transform: translateZ(calc(var(--cs) / 2)); }
.cube-inner .bf-right { filter: brightness(0.7); transform: rotateY(90deg) translateZ(calc(var(--cs) / 2)); }
.cube-inner .bf-top { filter: brightness(1.3); transform: rotateX(90deg) translateZ(calc(var(--cs) / 2)); }
@media (max-width: 520px) {
  .foundation-scene { --cs: 34px; gap: 10px; padding: 26px 16px 36px; }
}
.foundation-caption { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); opacity: 0; transition: opacity 0.6s ease 1.1s; }
.foundation-scene.in-view .foundation-caption { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .block-cube { opacity: 1; transform: translateY(0); transition: none; }
  .foundation-caption { opacity: 1; transition: none; }
}
.hero.hero-dark { background: radial-gradient(120% 140% at 10% 0%, var(--brand) 0%, var(--deep) 75%); color: #fff; }
.hero.hero-dark p, .hero.hero-dark .lede { color: rgba(255,255,255,0.78); }
.hero.hero-dark .eyebrow, .hero.hero-video-wrap .eyebrow { color: #a9d3ec; }

/* ---------- Hero: ledger (Home) — reuses the "ticket" motif implied by --rule ---------- */
.hero-network { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-ledger-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-tickets { position: relative; height: 340px; }

/* outer: position on the fan + the continuous idle float/rotate loop */
.hero-ticket {
  position: absolute; width: 230px; max-width: 78vw; opacity: 0;
  animation: ticketIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards, ticketFloat 6s ease-in-out infinite;
  animation-delay: var(--in-delay, 0s), var(--float-delay, 0s);
}
@keyframes ticketIn { from { opacity: 0; transform: translateY(20px) rotate(var(--tilt, 0deg)) scale(0.97); } to { opacity: 1; transform: translateY(0) rotate(var(--tilt, 0deg)) scale(1); } }
@keyframes ticketFloat {
  0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); }
  50% { transform: translateY(-9px) rotate(calc(var(--tilt, 0deg) + 1deg)); }
}
.hero-ticket.t1 { --tilt: -7deg; --in-delay: 0.05s; --float-delay: 0.1s; left: 0%;  top: 34px; z-index: 1; }
.hero-ticket.t2 { --tilt: 4deg;  --in-delay: 0.18s; --float-delay: 0.9s; left: 17%; top: 118px; z-index: 2; }
.hero-ticket.t3 { --tilt: -3deg; --in-delay: 0.31s; --float-delay: 1.7s; left: 34%; top: 4px;  z-index: 3; }
.hero-ticket.t4 { --tilt: 6deg;  --in-delay: 0.44s; --float-delay: 0.5s; left: 51%; top: 92px; z-index: 4; }
.hero-ticket.t5 { --tilt: -5deg; --in-delay: 0.57s; --float-delay: 1.3s; left: 68%; top: 22px; z-index: 5; }
.hero-ticket:hover { z-index: 20 !important; }

/* inner: the card itself + the "holographic" hover interaction, kept on a
   separate element so it never fights the outer's own transform animation */
.ticket-inner {
  position: relative; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px;
  padding: 15px 17px; font-family: var(--font-mono); overflow: hidden;
  box-shadow: 0 18px 34px -16px rgba(15,95,142,0.32);
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.35s ease, filter 0.35s ease;
}
.ticket-inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 20%), rgba(255,255,255,0.75), transparent 55%);
}
.ticket-inner::after {
  content: ""; position: absolute; left: 17px; right: 17px; bottom: 36px;
  border-top: 2px dashed var(--rule);
}
.hero-ticket:hover .ticket-inner {
  transform: translateY(-16px) scale(1.08) rotateX(var(--hover-rx, 0deg)) rotateY(var(--hover-ry, 0deg));
  box-shadow: 0 34px 54px -18px rgba(15,95,142,0.48);
}
.hero-ticket:hover .ticket-inner::before { opacity: 1; }
.hero-tickets:has(.hero-ticket:hover) .hero-ticket:not(:hover) .ticket-inner {
  filter: brightness(0.93) saturate(0.85); transform: scale(0.96);
}

.ticket-route { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-hotel); }
.ticket-city { font-family: "Fraunces", Georgia, serif; font-size: 1.18rem; color: var(--brand); margin: 4px 0 10px; }
.ticket-code { font-size: 0.68rem; color: var(--ink-soft); padding-top: 12px; display: flex; justify-content: space-between; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  .hero-ticket { animation: ticketIn 0.4s ease forwards; }
  .ticket-inner { transition: none; }
}
@media (max-width: 900px) {
  .hero-ledger-grid { grid-template-columns: 1fr; }
  .hero-tickets { height: 240px; margin-top: 10px; }
}
@media (hover: none) {
  .hero-ticket:hover .ticket-inner { transform: none; box-shadow: 0 18px 34px -16px rgba(15,95,142,0.32); }
  .hero-tickets:has(.hero-ticket:hover) .hero-ticket:not(:hover) .ticket-inner { filter: none; transform: none; }
}
.hero .stat-strip { margin-top: 44px; }

/* ---------- Hero background video ---------- */
.hero.hero-video-wrap { position: relative; overflow: hidden; background: var(--deep); }
.hero-video-bg, .hero-image-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-video-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(8,15,23,0.90) 0%, rgba(8,15,23,0.80) 45%, rgba(8,15,23,0.55) 100%); }
.hero.hero-video-wrap > .container { position: relative; z-index: 2; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-soft { background: var(--paper-soft); }
.section-tight { padding: 44px 0; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.heading-nowrap { max-width: none; }
.section-head:has(.heading-nowrap) { max-width: none; }
@media (min-width: 641px) { .heading-nowrap { white-space: nowrap; } }

/* Brand motif: reuses the logo's dot-crescent as a quiet recurring texture,
   never louder than opacity 8%, always behind and clipped from the content. */
.section-soft, .cta-band { position: relative; overflow: hidden; }
.section-soft::before, .cta-band::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: -1;
}
.section-soft::before {
  top: -140px;
  right: -120px;
  background-image: url("/assets/img/motif-crescent.svg");
  opacity: 0.07;
}
.cta-band::before {
  bottom: -160px;
  left: -140px;
  background-image: url("/assets/img/motif-crescent-white.svg");
  opacity: 0.10;
}
@media (max-width: 720px) {
  .section-soft::before, .cta-band::before { width: 300px; height: 300px; }
}

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; padding: 26px; background: var(--brand); border-radius: var(--radius-lg); color: #fff; }
.stat-strip div { text-align: center; }
.stat-strip strong { display: block; font-size: 1.6rem; font-weight: 800; }
.stat-strip span { font-size: 0.82rem; opacity: 0.82; }

/* ---------- Path cards (Home: two ways) ---------- */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.path-card { border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; display: block; transition: transform .15s ease; }
.path-card:hover { transform: translateY(-3px); }
.path-card.for-hotel { background: var(--accent-hotel-tint); }
.path-card.for-travel { background: var(--accent-travel-tint); }
.path-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.path-card .btn { margin-top: 18px; }
.path-card.for-hotel .btn-primary { background: var(--accent-hotel); }
.path-card.for-travel .btn-primary { background: var(--accent-travel); }

/* ---------- Generic cards / grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.process-cards { max-width: 1320px; }
.card.process-card h3 { font-size: 1.02rem; white-space: nowrap; }
@media (max-width: 1100px) {
  .card.process-card h3 { white-space: normal; }
}
.card.has-photo { padding: 0 0 26px; overflow: hidden; border-top: 4px solid var(--accent-card, var(--brand)); transition: transform 0.22s ease, box-shadow 0.22s ease; }
.card.has-photo:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(15,95,142,0.16); }
.card-photo { width: 100%; aspect-ratio: 6/5; object-fit: cover; object-position: center top; display: block; margin-bottom: 18px; }
.card.has-photo .card-body { padding: 0 26px; }
.card.has-photo .card-body h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.2rem; }
.card-nickname { color: var(--accent-card, var(--brand)); font-style: italic; font-weight: 500; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { padding-left: 28px; position: relative; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }

/* ---------- Steps ---------- */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { border-top: 3px solid var(--brand); padding-top: 14px; }
.step .step-no { font-size: 0.78rem; font-weight: 700; color: var(--brand); letter-spacing: 0.04em; }

/* ---------- Team / testimonial ---------- */
.testimonial { background: var(--deep); color: #fff; border-radius: var(--radius-lg); padding: 40px; }
.testimonial p { color: rgba(255,255,255,0.92); font-size: 1.15rem; }
.testimonial cite { font-style: normal; font-size: 0.85rem; opacity: 0.7; display: block; margin-top: 14px; }
.team-dept { margin-bottom: 40px; }
.team-dept:last-child { margin-bottom: 0; }
.team-dept-heading { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dept-color, var(--brand)); margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; }
.team-grid--compact { grid-template-columns: repeat(3, minmax(130px, 1fr)); }
.team-card { text-align: center; }
.team-linkedin { display: inline-flex; align-items: center; justify-content: center; margin-top: 6px; color: var(--ink-soft); }
.team-linkedin:hover { color: var(--brand); }
.team-linkedin svg { width: 14px; height: 14px; }
.team-card strong { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.team-card span { font-size: 0.8rem; color: var(--ink-soft); }

/* Desktop: circular photo, contact info on hover overlay */
.team-avatar { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; margin-bottom: 14px; border: 1.5px solid var(--rule); transition: border-color 0.2s ease; cursor: default; }
.team-avatar:hover, .team-avatar:focus-within { border-color: var(--brand); }
.team-avatar-inner { position: relative; width: 100%; height: 100%; }
.team-avatar-face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.team-avatar-front img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-avatar-back { inset: 5px; background: rgba(15,95,142,0.88); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px; opacity: 0; transition: opacity 0.2s ease; }
.team-avatar:hover .team-avatar-back, .team-avatar:focus-within .team-avatar-back { opacity: 1; }
.team-avatar-back a { color: #fff; font-size: 0.68rem; font-weight: 600; line-height: 1.3; text-align: center; word-break: break-word; text-decoration: none; }
.team-avatar-back a:hover { text-decoration: underline; }

/* Mobile: full uncropped photo, tap to flip and reveal contact info */
@media (max-width: 720px) {
  .team-avatar { aspect-ratio: 2 / 3; border-radius: 12px; perspective: 900px; cursor: pointer; }
  .team-avatar-inner { transition: transform 0.5s ease; transform-style: preserve-3d; }
  .team-avatar.is-flipped .team-avatar-inner { transform: rotateY(180deg); }
  .team-avatar-face { border-radius: 12px; backface-visibility: hidden; }
  .team-avatar-front img { object-fit: contain; background: var(--paper-soft); }
  .team-avatar-back { position: absolute; inset: 0; opacity: 1; transform: rotateY(180deg); background: var(--brand); }
  .team-avatar-back a { font-size: 0.78rem; }
}

/* ---------- Map ---------- */
#coverage-map { height: 460px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map-note { background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-size: 0.92rem; color: var(--ink-soft); margin-top: 16px; }
.city-tooltip { font-family: "Fraunces", Georgia, serif; font-size: 0.85rem; font-style: italic; letter-spacing: 0.02em; padding: 5px 11px; border: none; box-shadow: 0 2px 10px rgba(15,95,142,0.18); }
.city-tooltip::before { display: none; }

/* ---------- Check list (dark background variant) ---------- */
.check-list-on-dark li { color: rgba(255,255,255,0.82); }
.check-list-on-dark li::before { color: #fff; }

/* ---------- Forms ---------- */
.form-tabs { display: flex; gap: 10px; margin-bottom: 26px; }
.form-tab { flex: 1; text-align: center; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; }
.form-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
form.contact-form { display: none; }
form.contact-form.active { display: grid; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 0.85rem; font-weight: 600; }
input, select, textarea { font: inherit; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--ink-soft); }
.consent input { width: auto; margin-top: 3px; }
.consent-info { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.6; border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 4px; }
.consent-info a { color: var(--brand); }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 14px; }
.form-success { display: none; background: var(--brand-tint); border: 1px solid var(--brand); border-radius: var(--radius); padding: 20px; font-weight: 600; }

/* ---------- Proof: key figures + partner logos (Home) ---------- */
.proof .logo-row { margin-top: 40px; text-align: center; }
.logo-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 48px; }
.logo-list img { width: auto; max-width: 170px; filter: grayscale(1); opacity: 0.82; transition: filter 0.3s ease, opacity 0.3s ease; }
.logo-list li:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- Newsletter sign-up ---------- */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.newsletter p { max-width: 46ch; }
.newsletter-form { display: grid; gap: 14px; }
.newsletter-form .btn { justify-self: start; }
.newsletter .form-success { margin-bottom: 14px; }
@media (max-width: 720px) { .newsletter { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Contact: quick channels ---------- */
.contact-quick { margin-top: 14px; }
.contact-quick .btn svg { flex: none; }
.btn-whatsapp svg { color: #25d366; }
.form-note a { color: var(--brand); font-weight: 600; }

/* ---------- Office cards ---------- */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ---------- Events ---------- */
.event-row { display: flex; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.event-date { flex: none; width: 190px; display: flex; align-items: baseline; gap: 10px; padding-right: 24px; border-right: 1px solid var(--line); }
.event-day { display: block; font-family: "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 40, "WONK" 0; font-size: 1.4rem; font-weight: 600; color: var(--brand); line-height: 1; white-space: nowrap; }
.event-month { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.event-logo-box { width: 88px; height: 52px; flex: none; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 8px; }
.event-logo-box.dark { background: var(--ink); border-color: var(--ink); }
.event-logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s ease, opacity 0.3s ease; }
.event-row:hover .event-logo-box img { filter: grayscale(0); opacity: 1; }
.event-logo-box.text-fallback { font-weight: 800; font-size: 0.72rem; letter-spacing: 0.02em; color: var(--ink-soft); text-align: center; line-height: 1.1; }
.event-info { flex: 0 0 auto; width: 180px; min-width: 0; }
.event-info strong { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-info span { color: var(--ink-soft); font-size: 0.82rem; }
.event-attendees { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 6px 4px; }
.event-attendee { position: relative; flex: none; }
.event-attendee-photo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: block; border: 1.5px solid var(--rule); }
.event-attendee-email { position: absolute; right: -2px; bottom: -2px; display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: #fff; border: 2px solid #fff; transition: transform 0.15s ease, background 0.15s ease; }
.event-attendee-email:hover { transform: scale(1.12); background: var(--accent-hotel); }
.event-attendee-email svg { width: 10px; height: 10px; }
@media (max-width: 900px) {
  .event-info { width: 130px; }
  .event-attendee-photo { width: 38px; height: 38px; }
}
@media (max-width: 720px) {
  .event-date { width: auto; padding-right: 0; border-right: none; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: #fff; border-radius: var(--radius-lg); padding: 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.8); }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: rgba(255,255,255,0.72); padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.site-footer a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-office strong { color: #fff; display: block; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tag { background: var(--brand-tint); color: var(--brand); font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav, .header-actions .lang-switch { display: none; }
  .menu-toggle { display: block; }
  .site-header.nav-open .main-nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 16px; }
  .site-header.nav-open .header-actions .lang-switch { display: flex; }
  .path-grid, .grid-2, .grid-3, .grid-4, .office-grid, .form-grid { grid-template-columns: 1fr; }
  .step-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 20px; }
}

/* ---------- Preview gate (temporary, pre-launch only) ---------- */
#preview-gate { position: fixed; inset: 0; z-index: 9999; background: var(--ink); display: flex; align-items: center; justify-content: center; padding: 20px; }
.preview-gate-box { background: #fff; border-radius: var(--radius-lg); padding: 40px 36px; max-width: 360px; width: 100%; text-align: center; box-shadow: var(--shadow); }
.preview-gate-logo { height: 32px; width: auto; margin-bottom: 20px; }
.preview-gate-box p { font-size: 0.9rem; margin-bottom: 20px; }
.preview-gate-box input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 1rem; margin-bottom: 12px; box-sizing: border-box; }
.preview-gate-box button { width: 100%; padding: 12px; border: none; border-radius: var(--radius); background: var(--brand); color: #fff; font-weight: 600; font-size: 1rem; cursor: pointer; }
#preview-gate-error { display: none; color: #c1121f; font-size: 0.82rem; margin: 12px 0 0; }

/* ---------- Cookie consent ---------- */
#cookie-consent { position: fixed; inset: 0; z-index: 300; }
.cookie-consent-scrim { position: absolute; inset: 0; background: rgba(16, 21, 31, 0.35); }
.cookie-consent-bar { position: absolute; left: 0; right: 0; bottom: 0; background: var(--paper); border-top: 1px solid var(--line); padding: 24px 20px; box-shadow: 0 -8px 30px rgba(16, 21, 31, 0.14); max-height: 82vh; overflow-y: auto; }
.cookie-consent-text { max-width: 900px; margin: 0 auto 16px; font-size: 0.88rem; color: var(--ink-soft); text-align: center; }
.cookie-consent-text a { color: var(--brand); text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cookie-consent-settings { max-width: 560px; margin: 20px auto 0; display: flex; flex-direction: column; gap: 14px; }
.cookie-toggle-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--ink); }
.cookie-toggle-row small { display: block; color: var(--ink-soft); font-size: 0.78rem; margin-top: 2px; }
.cookie-toggle-row input { margin-top: 3px; accent-color: var(--brand); flex: none; }
.cookie-consent-settings .btn { align-self: center; }
@media (max-width: 640px) {
  .cookie-consent-bar { padding: 20px 16px; }
}
