/* ==========================================================================
   Mobile Flow Ads: design system
   World: clean 2.5D system diagram. White tiles with soft thickness,
   brand blue icons and connectors, heavy all-caps display, light canvas.
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;

  /* Primitive palette */
  --blue-300: #8DA6FB;
  --blue-400: #4A6CF7;
  --blue-500: #2563EB;
  --blue-600: #1D4ED8;
  --blue-700: #1A3FB0;
  --blue-50: #EEF3FF;
  --blue-100: #E1E9FE;
  --ink-900: #0B1220;
  --ink-700: #2B3850;
  --ink-500: #56637C;
  --ink-300: #9AA6BC;
  --canvas: #F3F6FC;
  --canvas-deep: #E9EFFA;
  --white: #FFFFFF;
  --hairline: #DCE4F2;

  /* Semantic */
  --bg: var(--canvas);
  --bg-band: var(--canvas-deep);
  --surface: var(--white);
  --text: var(--ink-900);
  --text-body: var(--ink-700);
  --text-muted: var(--ink-500);
  --accent: var(--blue-500);
  --accent-strong: var(--blue-600);
  --accent-soft: var(--blue-50);
  --line: var(--hairline);
  --core-gradient: linear-gradient(155deg, #5B7CFA 0%, var(--blue-500) 48%, var(--blue-700) 100%);

  /* Depth: one light source from the top, shadows tinted blue-grey */
  --shadow-tile:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 0 rgba(214, 224, 242, 0.55),
    0 2px 0 #DCE4F2,
    0 4px 0 #E3EAF6,
    0 6px 0 #ECF1F9,
    0 26px 44px -18px rgba(30, 64, 160, 0.30),
    0 4px 10px rgba(30, 64, 160, 0.07);
  --shadow-tile-hover:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 0 rgba(214, 224, 242, 0.55),
    0 2px 0 #DCE4F2,
    0 5px 0 #E3EAF6,
    0 8px 0 #ECF1F9,
    0 34px 52px -20px rgba(30, 64, 160, 0.36),
    0 5px 12px rgba(30, 64, 160, 0.09);
  --shadow-panel: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 14px 34px -18px rgba(30, 64, 160, 0.25), 0 2px 6px rgba(30, 64, 160, 0.05);
  --shadow-btn: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 3px 0 var(--blue-700), 0 12px 24px -10px rgba(37, 99, 235, 0.55);

  /* Shape: tiles 22, panels 18, buttons 14, inputs and chips 10. Nested radii subtract padding. */
  --r-tile: 22px;
  --r-panel: 18px;
  --r-btn: 14px;
  --r-chip: 10px;

  /* Type */
  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Archivo", "Segoe UI", Arial, sans-serif;
  --text-hero: clamp(3rem, 2rem + 4.6vw, 6.25rem);
  --text-h2: clamp(2.35rem, 1.6rem + 3.2vw, 4.4rem);
  --text-h3: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  --text-lead: clamp(1.075rem, 1rem + 0.3vw, 1.25rem);
  --text-base: 1.0625rem;
  --text-small: 0.9375rem;
  --text-micro: 0.8125rem;

  /* Space */
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(84px, 6rem + 4vw, 152px);
  --container: 1240px;

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Layers */
  --z-header: 20;
  --z-menu: 30;
  --z-skip: 40;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-padding-top: 104px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background:
    radial-gradient(1200px 520px at 78% -8%, rgba(37, 99, 235, 0.07), transparent 70%),
    var(--bg);
  color: var(--text-body);
  font: 400 var(--text-base)/1.62 var(--font-body);
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; color: var(--text); text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-100); color: var(--ink-900); }

.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: var(--z-skip); background: var(--ink-900); color: var(--white); padding: 10px 16px; border-radius: var(--r-chip); text-decoration: none; font-weight: 600; transition: transform 200ms var(--ease-out); }
.skip-link:focus { transform: translateY(76px); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y) calc(var(--section-y) * 1.08); position: relative; }
.band { background: var(--bg-band); }

/* ---------- Type ---------- */
.display, .h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 64%;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 0.9;
  color: var(--text);
}
.display { font-size: var(--text-hero); }
.h2 { font-size: var(--text-h2); }
.display .line, .h2 .line { display: block; }
.hl { color: var(--accent); }
.h3 { font-family: var(--font-body); font-weight: 650; font-size: var(--text-h3); line-height: 1.25; letter-spacing: -0.01em; color: var(--text); }
.lead { font-size: var(--text-lead); line-height: 1.55; color: var(--text-body); max-width: 56ch; }
/* The keyword H1 sits under the decorative display headline and reads as the lead's opening line. */
.lead-h1 { font: 600 var(--text-lead)/1.45 var(--font-body); letter-spacing: -0.005em; color: var(--text); max-width: 44ch; margin-bottom: 10px; }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-stretch: 92%; letter-spacing: 0.01em; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 5vw, 72px); max-width: 860px; }
.section-head .lead { max-width: 60ch; }

/* ---------- Buttons and links ---------- */
.btn {
  --btn-bg: var(--accent);
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 28px; justify-content: center;
  border-radius: var(--r-btn);
  background: var(--btn-bg); color: var(--white);
  font: 600 1rem/1 var(--font-body); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  box-shadow: var(--shadow-btn);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.btn .btn-ic {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 220ms var(--ease-out);
}
.btn .btn-ic .ic { width: 18px; height: 18px; }
.btn:active { transform: translateY(2px) scale(0.98); box-shadow: 0 1px 0 var(--blue-700), 0 6px 14px -8px rgba(37, 99, 235, 0.5); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; box-shadow: 0 2px 0 var(--blue-700), 0 8px 18px -10px rgba(37, 99, 235, 0.55); }
.btn-light { --btn-bg: var(--white); color: var(--accent-strong); box-shadow: 0 3px 0 rgba(10, 30, 90, 0.25), 0 14px 26px -12px rgba(10, 30, 90, 0.45); }
.btn-light .btn-ic { background: var(--accent-soft); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-strong); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  padding-bottom: 3px;
  transition: background-size 240ms var(--ease-out), color 200ms ease;
}
.link-arrow .ic { width: 18px; height: 18px; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-strong); box-shadow: var(--shadow-btn), 0 16px 30px -12px rgba(37, 99, 235, 0.6); }
  .btn-light:hover { background: var(--accent-soft); }
  .btn:hover .btn-ic { transform: translateX(3px); }
  .link-arrow:hover .ic { transform: translateX(4px); }
  .link-arrow:hover { background-size: 40% 2px; }
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

/* ---------- Tiles and panels ---------- */
.tile { background: var(--surface); border-radius: var(--r-tile); box-shadow: var(--shadow-tile); }
.tile-ic {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--surface); color: var(--accent);
  box-shadow: var(--shadow-tile);
}
.tile-ic .ic { width: 30px; height: 30px; }
.tile-ic.sm { width: 48px; height: 48px; border-radius: 14px; }
.tile-ic.sm .ic { width: 22px; height: 22px; }
.panel { background: rgba(255, 255, 255, 0.94); border: 1px solid rgba(220, 228, 242, 0.9); border-radius: var(--r-panel); box-shadow: var(--shadow-panel); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: var(--r-chip);
  font: 600 var(--text-micro)/1 var(--font-body);
  background: var(--accent-soft); color: var(--accent-strong);
  white-space: nowrap;
}
.chip .ic { width: 15px; height: 15px; }
.chip-wait { background: #EEF1F6; color: var(--text-muted); }
.chip-done { background: #E5F6EE; color: #0B7A46; }
.caption { font-size: var(--text-micro); color: var(--text-muted); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); padding-top: max(14px, env(safe-area-inset-top, 0px)); pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 20px;
  min-height: 70px; padding: 10px 10px 10px 22px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 10px 30px -18px rgba(30, 64, 160, 0.3), 0 1px 3px rgba(30, 64, 160, 0.06);
  transition: box-shadow 260ms ease, background-color 260ms ease;
}
.is-scrolled .nav { background: rgba(255, 255, 255, 0.95); box-shadow: 0 16px 40px -18px rgba(30, 64, 160, 0.38), 0 1px 3px rgba(30, 64, 160, 0.08); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 168px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 10px 14px; border-radius: 12px;
  font-weight: 550; font-size: 0.9688rem; color: var(--ink-700); text-decoration: none; white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
}
.nav-links a[aria-current="page"] { color: var(--accent-strong); background: var(--accent-soft); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--accent-strong); background: var(--accent-soft); } }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 12px; background: #EEF2F9; }
.lang a {
  display: inline-grid; place-items: center;
  min-width: 40px; min-height: 36px; padding: 0 8px; border-radius: 9px;
  font: 600 0.8125rem/1 var(--font-body); letter-spacing: 0.04em; color: var(--text-muted); text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.lang a[aria-current="true"] { background: var(--white); color: var(--accent-strong); box-shadow: 0 1px 2px rgba(30, 64, 160, 0.14); }
@media (hover: hover) and (pointer: fine) { .lang a:not([aria-current]):hover { color: var(--accent-strong); } }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; background: #EEF2F9; position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink-900); transition: transform 260ms var(--ease-out), opacity 200ms ease; }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 29px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: none; flex-direction: column; gap: 28px;
  padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  background: rgba(243, 246, 252, 0.97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  overflow-y: auto;
}
.menu-open .site-header { z-index: calc(var(--z-menu) + 1); }
.mobile-menu.is-open { display: flex; }
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  font: 900 clamp(1.9rem, 8vw, 2.6rem)/1 var(--font-display); font-stretch: 64%; text-transform: uppercase;
  color: var(--text); text-decoration: none;
}
.mobile-menu nav a .ic { width: 26px; height: 26px; color: var(--accent); }
.mobile-menu .menu-foot { display: grid; gap: 16px; margin-top: auto; }
.mobile-menu .btn { justify-content: space-between; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu.is-open nav a { animation: menuIn 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms + 60ms); }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-top: calc(150px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(56px, 6vw, 96px); }
.page-hero .display { font-size: clamp(2.8rem, 1.8rem + 4vw, 5.4rem); }
.page-hero-grid { display: grid; gap: 40px; align-items: end; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }

/* ---------- Dotted guides in section margins (the hub's connector grammar) ---------- */
.has-guides { overflow: hidden; }
.has-guides::before, .has-guides::after { content: ""; position: absolute; pointer-events: none; width: 320px; height: 220px; background-repeat: no-repeat; opacity: 0.9; }
.has-guides::before { top: 48px; right: 24px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='220'%3E%3Cpath d='M318 2 V60 Q318 76 302 76 H40' fill='none' stroke='%238DA6FB' stroke-width='2' stroke-dasharray='2 9' stroke-linecap='round'/%3E%3Ccircle cx='40' cy='76' r='5' fill='%238DA6FB'/%3E%3C/svg%3E"); }
.has-guides::after { bottom: 40px; left: 24px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='220'%3E%3Cpath d='M2 218 V150 Q2 134 18 134 H280' fill='none' stroke='%238DA6FB' stroke-width='2' stroke-dasharray='2 9' stroke-linecap='round'/%3E%3Ccircle cx='280' cy='134' r='5' fill='%238DA6FB'/%3E%3C/svg%3E"); }
.has-guides > .container { position: relative; z-index: 1; }
@media (max-width: 860px) { .has-guides::before, .has-guides::after { display: none; } }

/* ---------- Problem: scattered leads ---------- */
.problem-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pain-list { display: grid; gap: 22px; margin-top: 36px; }
.pain-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.pain-list strong { display: block; color: var(--text); font-weight: 650; margin-bottom: 2px; }
.pain-list p { color: var(--text-muted); font-size: var(--text-small); }
.inbox { position: relative; display: grid; gap: 14px; padding: clamp(10px, 2vw, 24px); }
.inbox-card {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 16px 14px 14px; border-radius: 18px;
  background: var(--surface); box-shadow: var(--shadow-tile);
  transform: translate(calc(var(--dx, 0px) * var(--k, 1)), var(--dy, 0px)) rotate(calc(var(--rot, 0deg) * var(--k, 1)));
  transition: transform 700ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.inbox-card .who { font-weight: 650; color: var(--text); font-size: 0.9375rem; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.inbox-card .who .mono { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.inbox-card .msg { font-size: 0.9375rem; color: var(--text-body); }
.inbox-card .chip-done { display: none; }
.is-sorted .inbox-card { --dx: 0px; --dy: 0px; --rot: 0deg; }
.is-sorted .inbox-card .chip-wait { display: none; }
.is-sorted .inbox-card .chip-done { display: inline-flex; animation: chipIn 360ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 520ms); }
@keyframes chipIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
.inbox .caption { margin-top: 6px; padding-left: 4px; }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: 22px; }
.bento-cell { padding: clamp(22px, 2.4vw, 34px); display: grid; gap: 18px; align-content: start; overflow: hidden; }
.bento-cell p { color: var(--text-muted); font-size: var(--text-small); max-width: 46ch; }
.bento-cell .h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.4rem); font-weight: 750; line-height: 1.08; letter-spacing: -0.02em; }
.brand-row .tile-ic { width: 72px; height: 72px; border-radius: 20px; }
.brand-row .tile-ic .ic { width: 34px; height: 34px; }
.channel .tile-ic.sm { width: 64px; height: 64px; border-radius: 18px; }
.channel .tile-ic.sm .ic { width: 30px; height: 30px; }
.cell-ads { align-content: start; }
.cell-ads .mini-chart { margin: 0; padding: 16px 16px 12px; display: grid; gap: 8px; }
.cell-ads .mini-chart svg { max-height: 150px; }
.check-list.compact { margin-top: 0; gap: 10px; }
.check-list.compact li { font-size: var(--text-small); }
.check-list.compact .ic { width: 20px; height: 20px; }
.cell-ads { grid-column: 1 / span 5; grid-row: span 2; }
.cell-replies { grid-column: 6 / span 7; }
.cell-booking { grid-column: 6 / span 4; }
.cell-routes { grid-column: 10 / span 3; }
.brand-row { display: flex; flex-wrap: wrap; gap: 14px; }
.channel-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; position: relative; }
.channel-row::before { content: ""; position: absolute; left: 8%; right: 8%; top: 32px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-300) 0 6px, transparent 6px 12px); }
.channel { display: grid; justify-items: center; gap: 8px; position: relative; font-size: 0.8125rem; color: var(--text-muted); text-align: center; }
.mini-chart { margin-top: auto; padding: 16px; }
.mini-chart svg { width: 100%; height: auto; }
.mini-cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 12px; }
.mini-cal .d { font: 600 0.6875rem/1 var(--font-body); color: var(--text-muted); text-align: center; padding-bottom: 4px; letter-spacing: 0.04em; text-transform: uppercase; }
.mini-cal .s { height: 30px; border-radius: 8px; background: #F1F4FA; }
.mini-cal .s.b { background: var(--accent); color: var(--white); font: 600 0.625rem/30px var(--font-body); text-align: center; overflow: hidden; white-space: nowrap; padding: 0 4px; }
.mini-map { padding: 10px; }
.mini-map svg { width: 100%; height: auto; border-radius: 12px; }
.bento-foot { margin-top: 36px; }

/* ---------- Team vs app ---------- */
.compare { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 22px; align-items: stretch; }
.compare-col { padding: clamp(24px, 3vw, 40px); display: grid; gap: 22px; align-content: start; }
.compare-col h3 { display: flex; align-items: center; gap: 12px; }
.compare-col ul { display: grid; gap: 14px; }
.compare-col li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.compare-col li .ic { width: 22px; height: 22px; margin-top: 2px; }
.compare-app { background: transparent; border: 1.5px dashed #C9D3E6; border-radius: var(--r-tile); color: var(--text-muted); }
.compare-app h3 { color: var(--ink-500); }
.compare-app li .ic { color: var(--ink-300); }
.compare-team li { color: var(--text-body); }
.compare-team li .ic { color: var(--accent); }

/* ---------- Promises: the one drenched surface ---------- */
.promises {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: clamp(32px, 5vw, 64px);
  background: var(--core-gradient); color: var(--white);
  box-shadow: 0 3px 0 var(--blue-700), 0 30px 60px -30px rgba(29, 78, 216, 0.7);
}
.promises::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
  pointer-events: none;
}
.promises { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.promises .h2 { color: var(--white); position: relative; }
.promise-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.promise { padding: 22px clamp(16px, 2.4vw, 32px); display: grid; gap: 10px; align-content: start; }
.promise:nth-child(odd) { padding-left: 0; }
.promise:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.24); }
.promise:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.24); }
.promise:nth-child(-n+2) { padding-top: 4px; }
.promise .big { font: 900 clamp(2.4rem, 1.6rem + 2.2vw, 3.6rem)/0.95 var(--font-display); font-stretch: 64%; text-transform: uppercase; letter-spacing: -0.01em; }
.promise p { color: rgba(255, 255, 255, 0.9); font-size: var(--text-small); max-width: 30ch; }

/* ---------- Built for the van ---------- */
.van-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.van-art img { width: 100%; filter: drop-shadow(0 30px 34px rgba(30, 64, 160, 0.16)); }
.check-list { display: grid; gap: 14px; margin-top: 30px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: var(--text-body); }
.check-list .ic { width: 24px; height: 24px; color: var(--accent); margin-top: 1px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; align-items: start; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 32px; gap: 16px; align-items: center;
  padding: 22px 0; font-weight: 650; font-size: 1.0625rem; color: var(--text); line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .pm { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-tile); transition: transform 240ms var(--ease-out); }
.faq-item .pm .ic { width: 16px; height: 16px; }
.faq-item[open] .pm { transform: rotate(45deg); }
.faq-item p { padding: 0 48px 24px 0; color: var(--text-muted); }
@media (prefers-reduced-motion: no-preference) { .faq-item[open] p { animation: fadeUp 280ms var(--ease-out) both; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Booking ---------- */
.book { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.book-info { display: grid; gap: 26px; position: sticky; top: 120px; }
.book-steps { display: grid; gap: 16px; }
.book-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.contact-lines { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-lines a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; color: var(--text); width: fit-content; min-height: 32px; }
.contact-lines a .ic { width: 20px; height: 20px; color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .contact-lines a:hover { color: var(--accent-strong); } }
.booking-frame { padding: 10px; }
.booking-clip { overflow: hidden; border-radius: 14px; background: var(--white); }
.booking-clip iframe { display: block; width: 100%; border: 0; margin-top: -290px; min-height: 990px; }
.booking-note { padding: 14px 14px 6px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { padding: clamp(24px, 2.6vw, 36px); display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px; border-radius: var(--r-tile); }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.plan-head .h3 { font-size: 1.5rem; }
.chip-rec { background: var(--white); color: var(--accent-strong); }
.plan .price { font: 900 2.4rem/1 var(--font-display); font-stretch: 64%; text-transform: uppercase; color: var(--text); }
.plan .price small { display: block; margin-top: 8px; font: 500 var(--text-small)/1.4 var(--font-body); text-transform: none; color: var(--text-muted); }
.plan ul { display: grid; gap: 12px; align-content: start; }
.plan li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: var(--text-small); color: var(--text-body); }
.plan li .ic { width: 20px; height: 20px; color: var(--accent); margin-top: 1px; }
.plan .btn { justify-content: space-between; }
.plan p { color: var(--text-muted); font-size: var(--text-small); }
.plan-featured { background: var(--core-gradient); color: var(--white); box-shadow: 0 3px 0 var(--blue-700), 0 30px 60px -30px rgba(29, 78, 216, 0.75); }
.plan-featured .price, .plan-featured h3, .plan-featured li, .plan-featured li .ic { color: var(--white); }
.plan-featured .price small, .plan-featured p { color: rgba(255, 255, 255, 0.88); }

/* ---------- Two-column feature rows (services, about) ---------- */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(72px, 9vw, 128px); }
.feature-row.flip > :first-child { order: 2; }
.feature-copy { display: grid; gap: 20px; }
.feature-copy .h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
.feature-visual { padding: clamp(18px, 2.4vw, 32px); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.value { padding: 30px; display: grid; gap: 14px; align-content: start; }
.value p { color: var(--text-muted); font-size: var(--text-small); }
.value:nth-child(2) { transform: translateY(28px); }

/* ---------- Legal ---------- */
.legal { max-width: 760px; }
.legal h2 { font: 700 1.375rem/1.3 var(--font-body); margin: 44px 0 12px; letter-spacing: -0.01em; }
.legal h3 { font: 650 1.0625rem/1.35 var(--font-body); margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-body); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.legal a { color: var(--accent-strong); }
html[lang="es"] [data-lang-block="en"], html:not([lang="es"]) [data-lang-block="es"] { display: none; }

/* ---------- Thank you / 404 ---------- */
.center-hero { min-height: 100dvh; display: grid; align-content: center; padding-block: 140px 80px; }
.center-hero .inner { display: grid; gap: 26px; max-width: 820px; }
.next-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.next-steps li { padding: 20px; display: grid; gap: 10px; align-content: start; }
.next-steps p { font-size: var(--text-small); color: var(--text-muted); }

/* ---------- Final CTA strip ---------- */
.cta-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; padding: clamp(28px, 4vw, 56px); }
.cta-strip .h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.8rem); }

/* ---------- Blog cards (home teaser and blog pages) ---------- */
.post-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: clamp(22px, 2.2vw, 30px); text-decoration: none; color: inherit; }
.post-card-cat { display: inline-flex; align-items: center; gap: 8px; font: 600 var(--text-micro)/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-strong); }
.post-card-cat .ic { width: 18px; height: 18px; }
.post-card-title { font: 750 clamp(1.2rem, 1.05rem + 0.45vw, 1.45rem)/1.22 var(--font-body); letter-spacing: -0.015em; color: var(--text); transition: color 200ms ease; }
.post-card p { color: var(--text-muted); font-size: var(--text-small); }
.post-card-meta { display: inline-flex; align-items: center; gap: 8px; font: 600 var(--text-small)/1 var(--font-body); color: var(--accent-strong); }
.post-card-meta .ic { width: 18px; height: 18px; transition: transform 220ms var(--ease-out); }
.post-card:focus-visible { outline-offset: 4px; border-radius: var(--r-tile); }
@media (hover: hover) and (pointer: fine) {
  .post-card:hover .post-card-title { color: var(--accent-strong); }
  .post-card:hover .post-card-meta .ic { transform: translateX(4px); }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 72px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr)); gap: 36px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand img { width: 190px; }
.footer-brand p { color: var(--text-muted); font-size: var(--text-small); max-width: 36ch; }
.footer-col h4 { font: 600 var(--text-micro)/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--text-body); font-size: var(--text-small); overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: var(--accent-strong); } }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--canvas); color: var(--accent); }
.socials .ic { width: 22px; height: 22px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--text-micro); color: var(--text-muted); }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js .reveal { transform: translateY(22px); transition: transform 800ms var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.is-in { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .tile-hover { transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out); }
  .tile-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-tile-hover); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav { gap: 14px; }
  .nav-links { gap: 0; }
  .nav-links a { padding-inline: 10px; }
}
@media (max-width: 1080px) {
  .nav-links, .nav-tools .btn-nav { display: none; }
  .menu-btn { display: block; }
  .nav { padding-left: 18px; justify-content: space-between; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell-ads, .cell-replies, .cell-booking, .cell-routes { grid-column: auto; grid-row: auto; }
  .cell-ads, .cell-replies { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .post-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .post-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .problem-grid, .van-grid, .compare, .book, .feature-row, .page-hero-grid, .cta-strip { grid-template-columns: minmax(0, 1fr); }
  .feature-row.flip > :first-child { order: 0; }
  .book-info { position: static; }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .faq-grid, .plans, .values, .next-steps { grid-template-columns: minmax(0, 1fr); }
  .value:nth-child(2) { transform: none; }
  .booking-clip iframe { margin-top: -290px; min-height: 1080px; }
}
@media (max-width: 560px) {
  .brand img { width: 146px; }
  .lang a { min-width: 36px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .channel-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .channel-row::before { display: none; }
  .inbox-card { grid-template-columns: 40px 1fr; --k: 0.35; }
  .inbox-card .tile-ic.sm { width: 40px; height: 40px; }
  .inbox-card .chip { grid-column: 2; justify-self: start; }
  .promise-grid { grid-template-columns: minmax(0, 1fr); }
  .promise, .promise:nth-child(even) { border-left: 0; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.24); }
  .promise:first-child { border-top: 0; padding-top: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col:nth-child(3) { grid-column: 1 / -1; order: 3; }
  .footer-col:nth-child(4) { order: 2; }
  .footer-col a { overflow-wrap: normal; }
  .faq-item p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .js .reveal { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .mobile-menu { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
