/* styles.css part 2 (split for reviewable diffs; load after styles.css) */
.tag-blue { background: #EEF3FF; color: #2F54C8; } .tag-green { background: var(--green-soft); color: var(--green-deep); }
.tag-amber { background: #FFF4DB; color: #8A5A00; } .tag-red { background: var(--coral-soft); color: #A93520; }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 12px; overflow-x: auto; }
.lane { background: #FFF8F4; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.lane-won { background: var(--green-soft); }
.lane-h { font-weight: 700; font-size: 13px; display: flex; justify-content: space-between; }
.lane-h i { font-style: normal; color: var(--faint); }
.kcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; font-size: 13px; }
.kcard span { color: var(--faint); font-size: 12px; }
.itin-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.itin-form label { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.fake-input { border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 12px; font-weight: 400; color: var(--muted); }
.itin-days { display: flex; flex-direction: column; gap: 8px; counter-reset: d; }
.itin-days li { border-left: 3px solid var(--coral); background: #FFF8F4; border-radius: 0 10px 10px 0; padding: 10px 14px; font-size: 14px; }
.webed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.webed img { border-radius: 12px; border: 1px solid var(--line); }
.report { display: flex; flex-direction: column; gap: 10px; }
.report-h { display: flex; justify-content: space-between; align-items: baseline; }
.bars { display: flex; align-items: flex-end; gap: 14px; height: 220px; border-bottom: 1px solid var(--line); padding-inline: 8px; }
.bars span { flex: 1; height: var(--h); background: var(--coral); border-radius: 8px 8px 0 0; transform-origin: bottom; }
.bars span:last-child { background: var(--cta); }
.bar-x { display: flex; gap: 14px; padding-inline: 8px; font-size: 12px; color: var(--faint); }
.bar-x span { flex: 1; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .itin-days li { animation: rise .5s calc(var(--n, 0) * 90ms) var(--ease-out) both; }
  .itin-days li:nth-child(2) { --n: 1; } .itin-days li:nth-child(3) { --n: 2; } .itin-days li:nth-child(4) { --n: 3; } .itin-days li:nth-child(5) { --n: 4; }
  [role="tabpanel"]:not([hidden]) .bars span { animation: bar-grow .8s var(--ease-out) both; }
  .bars span:nth-child(2) { animation-delay: 60ms !important; } .bars span:nth-child(3) { animation-delay: 120ms !important; } .bars span:nth-child(4) { animation-delay: 180ms !important; } .bars span:nth-child(5) { animation-delay: 240ms !important; } .bars span:nth-child(6) { animation-delay: 300ms !important; }
  [role="tabpanel"]:not([hidden]) .kcard { animation: rise .45s var(--ease-out) both; }
  ::view-transition-old(tour-panel) { animation: vt-out .18s ease-in both; }
  ::view-transition-new(tour-panel) { animation: vt-in .32s var(--ease-out) both; }
}
@keyframes bar-grow { from { scale: 1 0; } }
@keyframes vt-out { to { opacity: 0; translate: 0 -8px; } }
@keyframes vt-in { from { opacity: 0; translate: 0 12px; } }

/* ---------- journey (how leads reach you) ---------- */
.journey { padding: 28px 24px 24px; position: relative; view-timeline: --journey block; }
.journey-line { position: absolute; left: 7%; right: 7%; top: 83px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, #F1D5CA 0 8px, transparent 8px 14px); }
.journey-fill { position: absolute; inset: 0; border-radius: 4px; background: var(--coral); transform-origin: left; scale: 1 1; }
.packet { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--cta); box-shadow: 0 0 0 6px rgb(255 107 87 / .2); opacity: 0; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step p { font-weight: 700; font-size: 14px; line-height: 1.35; }
.step-art { position: relative; height: 110px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px; }
.step-n { position: absolute; top: -10px; left: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #fff; }
.art-google { background: #EEF3FF; }
.google-word { font-weight: 800; font-size: 20px; color: #4285F4; }
.search-bar { width: 80%; height: 16px; border-radius: 999px; background: #fff; border: 1px solid #D6DEF5; display: flex; align-items: center; padding-left: 8px; }
.caret { width: 2px; height: 9px; background: #4285F4; }
.art-pkg { background: var(--peach); }
.pkg-name { font-size: 12px; font-weight: 700; }
.pkg-btn { font-size: 10px; background: var(--cta); color: #fff; padding: 4px 8px; border-radius: 5px; }
.art-form { background: #F6F7FB; align-items: stretch; }
.art-form .ln { height: 10px; border-radius: 3px; background: #E2E5EC; }
.art-form .ln.short { width: 60%; }
.art-otp { background: var(--green-soft); }
.otp { background: #fff; border: 1.5px solid var(--green); color: var(--green-deep); font-weight: 700; font-size: 11px; padding: 6px 9px; border-radius: 7px; text-align: center; }
.art-crm { background: var(--navy); align-items: flex-start; }
.crm-t { font-size: 10px; color: #fff; font-weight: 700; }
.nl { font-size: 9px; color: #fff; background: var(--green); border-radius: 4px; padding: 3px 6px; }

@media (prefers-reduced-motion: no-preference) {
  .caret { animation: blink 1s steps(1) infinite; }
  .pkg-btn { animation: press 3s ease-in-out infinite; }
  .art-form .ln { transform-origin: left; animation: fill-ln 3.6s ease-in-out infinite; }
  .art-form .ln:nth-child(3) { animation-delay: .3s; } .art-form .ln:nth-child(4) { animation-delay: .6s; }
  .otp { animation: stamp 3.6s var(--ease-spring) infinite; }
  .nl { animation: drop 3.6s var(--ease-out) infinite; }
  .nl:last-child { animation-delay: .5s; }
  .packet { opacity: 1; animation: travel 5s var(--ease-out) infinite; }
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .journey-fill { animation: grow-x linear both; animation-timeline: --journey; animation-range: entry 60% cover 55%; }
    .step { animation: step-in linear both; animation-timeline: --journey; animation-range: entry calc(55% + var(--i) * 8%) entry calc(80% + var(--i) * 8%); }
  }
}
@keyframes fill-ln { 0%, 10% { scale: 0 1; } 40%, 90% { scale: 1 1; } 100% { scale: 0 1; } }
@keyframes stamp { 0%, 15% { scale: .6; opacity: 0; } 30%, 85% { scale: 1; opacity: 1; } 100% { scale: 1; opacity: 0; } }
@keyframes drop { 0%, 10% { opacity: 0; translate: 0 -10px; } 25%, 85% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes travel { 0% { left: 0%; opacity: 0; } 8% { opacity: 1; } 90% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes step-in { from { opacity: 0; translate: 0 26px; } }

/* ---------- routes ---------- */
.routes { padding: 24px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: center; }
.routes-title { display: flex; gap: 12px; align-items: center; }
.routes-title h3 { font-size: 24px; font-weight: 800; line-height: 1.1; }
.mix { display: flex; height: 12px; border-radius: 999px; overflow: hidden; }
.mix-a { width: 50%; background: #FFB4A6; } .mix-b { width: 50%; background: var(--coral-ic); }
.mix-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mix-legend > div { display: flex; flex-direction: column; }
.mix-legend b { font-size: 22px; font-weight: 800; color: var(--coral-deep); }
.mix-legend span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.mix-legend strong { color: var(--text); }
.route-map { width: 100%; height: auto; }
.jet { opacity: 0; }
.j1 { offset-path: path("M170 120 Q110 40 50 40"); }
.j2 { offset-path: path("M170 120 Q260 40 335 58"); }
.j3 { offset-path: path("M170 120 Q300 160 382 178"); }
.jet { offset-rotate: auto; }
.dom-ring { transform-box: fill-box; transform-origin: center; }
.route-map .nodes circle { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .jet { animation: jet 4.5s ease-in-out infinite; }
  .j2 { animation-delay: 1.5s; } .j3 { animation-delay: 3s; }
  .dom-ring { animation: spin 40s linear infinite; }
  .route-map .nodes circle { animation: pin-pulse 3s ease-out infinite; }
  .route-map .nodes circle:nth-child(2n) { animation-delay: 1s; } .route-map .nodes circle:nth-child(3n) { animation-delay: 2s; }
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .mix-a, .mix-b { transform-origin: left; animation: grow-x linear both; animation-timeline: view(); animation-range: entry 50% cover 40%; }
  }
}
@keyframes jet { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes spin { to { rotate: 360deg; } }

.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 300px; height: 300px; right: -60px; top: -150px; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 107 87 / .35), transparent); pointer-events: none; }
.cta-band-t { font-size: 24px; font-weight: 800; }
.cta-band-s { font-size: 15px; color: #C8CCD6; }

/* ---------- recent leads ---------- */
.leads-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.live-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--green-soft); color: var(--green-deep); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.updated { display: inline-flex; align-items: center; gap: 8px; }
.leads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.lead-card { overflow: hidden; display: flex; flex-direction: column; }
.lead-top { position: relative; height: 92px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; background: var(--tint, #2F8F83); overflow: hidden; }
.lead-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .18) 50%, transparent 70%); translate: -100% 0; pointer-events: none; }
.lead-tags { display: flex; justify-content: space-between; align-items: center; position: relative; }
.kind { background: rgb(255 255 255 / .92); color: var(--text); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.verified { background: var(--green-deep); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.lead-to { color: #fff; font-size: 22px; font-weight: 800; text-shadow: 0 1px 6px rgb(0 0 0 / .25); position: relative; }
.lead-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.lead-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; }
.lead-facts div { background: #FFF8F4; border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; }
.lead-facts span { color: var(--faint); font-size: 11px; }
.lead-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--faint); }
.locked { display: inline-flex; align-items: center; gap: 5px; }
.lead-body .btn { margin-top: auto; }
.leads-foot { display: flex; justify-content: center; }
@media (prefers-reduced-motion: no-preference) {
  .lead-card { transition: translate .35s var(--ease-out), box-shadow .3s; }
  .lead-card:hover { translate: 0 -5px; box-shadow: 0 22px 50px rgb(120 60 30 / .14); }
  .lead-card:hover .lead-top::after { translate: 100% 0; transition: translate .8s var(--ease-out); }
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .lead-card { animation: reveal-up linear both; animation-timeline: view(); animation-range: entry calc(var(--k, 0) * 6%) entry calc(60% + var(--k, 0) * 6%); }
  }
  .lead-card.is-new { animation: new-lead .7s var(--ease-spring) both; }
}
@keyframes new-lead { from { opacity: 0; scale: .85; translate: 0 -16px; } }

/* ---------- video stories ---------- */
.stories { background: linear-gradient(var(--bg), var(--peach)); }
.carousel { position: relative; display: flex; flex-direction: column; gap: 18px; }
.carousel-controls { position: absolute; inset: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; pointer-events: none; margin-inline: -22px; padding-bottom: 50px; }
.c-btn { pointer-events: auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 24px rgb(31 36 48 / .14); touch-action: manipulation; transition: background-color .2s, opacity .2s; }
.c-btn:hover { background: var(--peach); }
.c-btn:disabled { opacity: .35; cursor: default; }
.carousel-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding: 12px 4px 20px; margin: -12px -4px -20px; scroll-padding-inline: 4px; touch-action: manipulation; }
.carousel-track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) { .carousel-track { scroll-behavior: smooth; } }
.reel { flex: 0 0 clamp(220px, 23%, 280px); scroll-snap-align: start; }
.reel-btn { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #2A2F3B; cursor: pointer; box-shadow: 0 18px 40px rgb(31 36 48 / .2); }
.reel-btn img { width: 100%; height: 100%; object-fit: cover; }
.reel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .05) 40%, rgb(15 18 26 / .82)); }
.reel-play { position: absolute; left: 50%; top: 46%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgb(255 255 255 / .92); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgb(0 0 0 / .3); }
.reel-play svg { width: 26px; height: 26px; fill: var(--cta); margin-left: 3px; }
.reel-play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .7); opacity: 0; }
.reel-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; color: #fff; text-align: left; display: flex; flex-direction: column; font-size: 13px; }
.reel-cap b { font-family: var(--font-hd); font-size: 18px; letter-spacing: -0.01em; }
.reel-cap span { opacity: .85; }
.reel-btn:focus-visible { outline-offset: 4px; border-radius: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .reel-btn { transition: translate .4s var(--ease-out), box-shadow .4s; }
  .reel-btn img { transition: scale .8s var(--ease-out); }
  .reel-btn:hover { translate: 0 -6px; box-shadow: 0 28px 56px rgb(31 36 48 / .28); }
  .reel-btn:hover img { scale: 1.06; }
  .reel-play { transition: scale .35s var(--ease-spring); }
  .reel-btn:hover .reel-play { scale: 1.12; }
  .reel-play::before { animation: ping-ring 2.2s ease-out infinite; }
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reel { animation: reel-depth linear both; animation-timeline: view(inline); }
  }
}
@keyframes ping-ring { 0% { opacity: .8; scale: .9; } 100% { opacity: 0; scale: 1.5; } }
@keyframes reel-depth { 0% { opacity: .55; scale: .9; rotate: -2deg; } 18%, 82% { opacity: 1; scale: 1; rotate: 0deg; } 100% { opacity: .55; scale: .9; rotate: 2deg; } }
.carousel-markers { display: flex; justify-content: center; gap: 4px; }
.carousel-markers button { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; touch-action: manipulation; }
.carousel-markers button::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: #D9C5B9; transition: width .3s var(--ease-out), background-color .3s; }
.carousel-markers button[aria-current="true"]::before { width: 26px; background: var(--cta); }

.rating { display: flex; justify-content: center; align-items: center; gap: 32px; padding: 18px 24px; flex-wrap: wrap; border-radius: 16px; }
.g-word { font-size: 26px; font-weight: 800; display: inline-flex; }
.g-word span:nth-child(1), .g-word span:nth-child(4) { color: #4285F4; } .g-word span:nth-child(2), .g-word span:nth-child(6) { color: #EA4335; } .g-word span:nth-child(3) { color: #B98900; } .g-word span:nth-child(5) { color: #34A853; }
.rule { width: 1px; height: 30px; background: var(--line); }
.rating-t { font-size: 22px; font-weight: 800; }
.stars { color: #F2A516; letter-spacing: 2px; }

/* video dialog */
.video-dialog { width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 16px; border: 0; border-radius: 24px; background: var(--ink); color: #fff; box-shadow: 0 40px 100px rgb(0 0 0 / .5); }
.video-dialog:modal { overscroll-behavior: contain; }
.video-dialog::backdrop { background: rgb(15 18 26 / .72); backdrop-filter: blur(6px); overflow: hidden; overscroll-behavior: contain; }
.video-dialog[open] { display: flex; flex-direction: column; gap: 12px; }
.vd-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.vd-head h2 { font-size: 18px; font-weight: 800; }
.vd-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #2A2F3B; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.vd-close:hover { background: #3A4150; }
.vd-frame { aspect-ratio: 9 / 16; max-height: calc(100dvh - 190px); border-radius: 16px; overflow: hidden; background: #000; align-self: center; width: 100%; }
.vd-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vd-foot { display: flex; justify-content: space-between; gap: 10px; }
.vd-foot .btn-outline { background: transparent; color: #fff; border-color: #4A5163; }
.vd-foot .btn-outline:hover { border-color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .video-dialog, .video-dialog::backdrop { transition: opacity .3s, scale .35s var(--ease-out), display .35s allow-discrete, overlay .35s allow-discrete; opacity: 0; }
  .video-dialog { scale: .92; }
  .video-dialog[open], .video-dialog[open]::backdrop { opacity: 1; }
  .video-dialog[open] { scale: 1; }
  @starting-style {
    .video-dialog[open], .video-dialog[open]::backdrop { opacity: 0; }
    .video-dialog[open] { scale: .92; }
  }
}

/* ---------- website templates ---------- */
.templates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.05fr); gap: 16px; align-items: start; }
.tpl { display: flex; flex-direction: column; gap: 10px; }
.tpl-shot { display: block; overflow: hidden; border-radius: 14px; }
.tpl figcaption { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.pill { background: var(--coral-ic); color: #fff; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pill-dark { background: var(--navy); }
@media (prefers-reduced-motion: no-preference) {
  .tpl-shot { transition: translate .4s var(--ease-out), box-shadow .4s, rotate .4s var(--ease-out); }
  .tpl-shot img { transition: scale .8s var(--ease-out); }
  a.tpl-shot:hover { translate: 0 -8px; rotate: -1deg; box-shadow: 0 30px 60px rgb(120 60 30 / .2); }
  a.tpl-shot:hover img { scale: 1.05; }
}
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); padding: 20px 8px; border-radius: 16px; }
.features > div { padding: 6px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.features > div:last-child { border-right: 0; }
.features b { font-size: 15px; }
.features span { font-size: 13px; color: var(--muted); }

/* ---------- trust ---------- */
.trust-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 20px; }
.rm { padding: 24px; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; align-items: center; }
/* RM carousel: one person at a time, native scroll-snap underneath */
.rm-carousel { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rm-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 16px; touch-action: manipulation; }
.rm-track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) { .rm-track { scroll-behavior: smooth; } }
.rm-person { flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; }
.rm-person img { width: 100%; aspect-ratio: 3 / 4; height: auto; border-radius: 16px; object-fit: cover; object-position: center top; background: #F2F2F2; }
.rm-name { display: flex; flex-direction: column; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.rm-name b { color: var(--text); font-size: 16px; }
.rm-controls { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.rm-dots { display: flex; gap: 2px; margin-left: -8px; }
.rm-dots button { width: 26px; height: 26px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rm-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #D9C5B9; transition: width .3s var(--ease-out), background-color .3s; }
.rm-dots button[aria-current="true"]::before { width: 22px; background: var(--cta); }
.rm-toggle { min-height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--muted); font-size: 12px; font-weight: 600; cursor: pointer; }
.rm-toggle:hover { color: var(--text); border-color: var(--cta); }
/* progress line under the photo while auto-rotating */
.rm-carousel { position: relative; }
.rm-carousel::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .85); transform-origin: left; scale: 0 1; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .rm-carousel.is-playing::after { opacity: 1; animation: grow-x var(--rm-interval, 4s) linear infinite; }
  .rm-carousel.is-held::after { animation-play-state: paused; }
}
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-deep); }
.rm-t { font-size: 24px; font-weight: 800; line-height: 1.2; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.badge { padding: 18px; display: flex; flex-direction: column; gap: 6px; border-radius: 16px; }
.badge-logo { align-self: flex-start; height: 34px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; margin: 7px 0 13px; }
.badge-logo.sq { height: 48px; margin: 0 0 6px; }
.badge > picture { display: block; align-self: flex-start; }
.badge-link { color: inherit; text-decoration: none; }
.badge-cta { display: block; margin-top: 2px; font-weight: 700; color: var(--coral-deep); }
.badge-link:hover .badge-cta { text-decoration: underline; }
.badge-link:focus-visible { outline: 2px solid var(--coral-deep); outline-offset: 3px; }
.badge b { font-size: 17px; font-weight: 800; }
.badge span { font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .badge { transition: translate .3s var(--ease-out), border-color .3s; }
  .badge:hover { translate: 0 -4px; border-color: #F0B9AC; }
}
.press { display: flex; flex-direction: column; gap: 14px; }
.press-k { text-align: center; }
.press-logos { --cols: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.press-logos > li { flex: 0 0 calc((100% - (var(--cols) - 1) * 14px) / var(--cols)); }
.press-logo { display: flex; align-items: center; justify-content: center; height: 96px; padding: 8px 12px; border-radius: 16px; background: #fff; overflow: hidden; }
.press-logo img { width: 100%; max-width: 180px; height: auto; object-fit: contain; }
.press-logo:focus-visible { outline: 2px solid var(--coral-deep); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .press-logo { transition: translate .3s var(--ease-out), border-color .3s; }
  .press-logo:hover { translate: 0 -4px; border-color: #F0B9AC; }
}
@media (max-width: 960px) { .press-logos { --cols: 3; } }
@media (max-width: 640px) { .press-logos { --cols: 2; } .press-logo { height: 80px; } }
.week { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.week-t { font-size: 24px; font-weight: 800; }
.week-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.week-steps li { display: flex; gap: 12px; }
.week-steps div { display: flex; flex-direction: column; gap: 2px; }
.wn { width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wn-dark { background: var(--navy); }
.wd { font-size: 12px; font-weight: 700; color: var(--coral-deep); }

/* ---------- FAQ (details accordion) ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.contact { padding: 18px; display: flex; flex-direction: column; gap: 10px; border-radius: 16px; }
.contact a { display: flex; gap: 10px; align-items: center; font-weight: 700; min-height: 44px; }
.contact a:hover { color: var(--coral-deep); }
.c-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--coral-soft); display: flex; align-items: center; justify-content: center; }
.c-ic svg { width: 18px; height: 18px; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); transition: border-color .25s; }
.accordion details[open] { border-color: #F0C9BC; }
.accordion summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 20px 22px; min-height: 44px; font-weight: 700; font-size: 17px; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before { content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--coral-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2412D' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / 16px; rotate: -90deg; }
.accordion details[open] > summary::before { rotate: 0deg; }
.accordion summary:hover { color: var(--coral-deep); }
.accordion details p { padding: 0 22px 20px 66px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.accordion details::details-content { interpolate-size: allow-keywords; overflow: clip; contain: layout; }
.accordion details:not([open])::details-content { block-size: 0; }
@media (prefers-reduced-motion: no-preference) {
  .accordion summary::before { transition: rotate .25s var(--ease-out); }
  .accordion details::details-content { transition: block-size .3s ease-in-out, content-visibility .3s allow-discrete, display .3s allow-discrete; }
}

/* ---------- final CTA ---------- */
.final { background: var(--peach-2); border-radius: 32px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; overflow: hidden; }
.skyline { position: absolute; left: 0; bottom: 0; width: 55%; height: 140px; opacity: .5; }
.signup { position: relative; padding: 28px; border-radius: 22px; display: flex; flex-direction: column; gap: 14px; }
.signup-t { font-size: 22px; font-weight: 800; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.signup label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.signup input[type="text"], .signup input[type="tel"], .signup input[type="email"] { min-height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; font: 15px var(--font); color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s; }
.signup input:focus-visible { outline: none; border-color: var(--cta); box-shadow: 0 0 0 4px rgb(204 63 41 / .15); }
.biz { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.biz legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.biz label { flex-direction: row; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 13px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.biz input { position: absolute; opacity: 0; pointer-events: none; }
.biz label:has(input:checked) { background: var(--coral-ic); border-color: var(--coral-ic); color: #fff; font-weight: 700; }
.biz label:has(input:focus-visible) { outline: 3px solid #2F54C8; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .skyline { animation: drift 12s ease-in-out infinite alternate; }
}

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 14px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.6fr; gap: 28px; }
.dest-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.foot-dest .dest-sub { margin-top: 6px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 380px; }
.foot-brand .hd { font-size: 22px; font-weight: 800; color: var(--text); }
.accent-sm { color: var(--coral-deep); font-size: 15px; }
.foot-brand p { line-height: 1.6; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col b { color: var(--text); }
.foot-col a:hover { color: var(--coral-deep); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.legal { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.legal a { display: inline-flex; align-items: center; min-height: 32px; }
.legal a:hover { color: var(--coral-deep); text-decoration: underline; }
.consent { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.consent a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--coral-deep); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .templates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .journey-line { display: none; }
}
@media (max-width: 960px) {
  .wrap { padding-inline: 20px; }
  .nav-desktop, .hide-sm, .hero-flight { display: none !important; }
  .menu-btn { display: inline-flex; }
  .sec { padding-block: 72px; }
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .story-copy { order: -1; }
  .hero-grid, .split-head, .routes, .trust-split, .faq-grid, .final, .webed { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-block: 40px; gap: 28px; }
  .hero-visual { min-height: 0; display: flex; flex-direction: column; gap: 16px; }
  .hero-photo { position: relative; inset: auto; aspect-ratio: 4 / 3.4; }
  .chips { position: static; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
  .trust-item, .stat, .features > div { border-right: 0; }
  .faq-grid { gap: 32px; }
  .final { padding: 32px 24px; gap: 32px; }
  .carousel-controls { margin-inline: -8px; }
  .reel { flex-basis: clamp(200px, 42%, 260px); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .header-row { min-height: 64px; gap: 12px; }
  #mobile-nav { inset-block-start: 64px; }
  .brand { gap: 7px; }
  .brand-logo { width: 114px; height: 30px; }
  .agents-badge { height: 21px; padding: 0 7px; font-size: 10.5px; margin-top: 4px; }
  .header-cta { gap: 8px; }
  .header-cta .btn { white-space: nowrap; padding: 0 14px; font-size: 14px; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .beats { grid-template-columns: minmax(0, 1fr); }
  .beat-arrow { rotate: 90deg; justify-self: center; }
  .story-sticker { left: -8px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .templates, .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm { grid-template-columns: 130px minmax(0, 1fr); padding: 18px; gap: 16px; }
  .tour { padding: 14px; }
  .panel-in { padding: 14px; }
  .reel { flex-basis: 72%; scroll-snap-align: center; }
  .carousel-controls { display: none; }
  .accordion details p { padding-left: 22px; }
  .cta-band { padding: 22px; }
  .rating { gap: 12px; }
  .ticker-track { font-size: 13px; gap: 32px; }
}

/* --- SEO pass additions --- */
/* <picture> wrappers must not change layout: the <img> stays the layout child */
picture { display: contents; }
/* keyword line inside the H1 (visually a small kicker above the headline) */
.h1 > .h1-kicker { display: block; margin-bottom: 10px; font-family: var(--font); font-size: clamp(14px, 1.4vw, 17px); font-weight: 600; line-height: 1.4; letter-spacing: 0; color: var(--coral-deep, #C2412D); }
/* "Agent Login" stays visible on phones: the top search for this page is "tripclap agent login".
   Desktop shows it as a header button; phones get a slim strip above the header. */
.m-login { display: none; }
@media (max-width: 960px) {
  .m-login { display: block; padding: 7px 16px; background: var(--ink); color: #fff; font-size: 13px; text-align: center; text-decoration: none; }
  .m-login b { color: #FFB4A6; font-weight: 700; }
}
@media (max-width: 900px) {
  .foot-dest { grid-column: 1 / -1; }
}
