/* DeferTax booking pages. Brand pulled from defertax.com (Webflow). */
:root {
  --navy: #002A7F;
  --blue: #003399;
  --ink: #0B1B3F;
  --gold: #FFCE75;
  --gold-deep: #F2B544;
  --muted: #5E6487;
  --line: #E3E7F2;
  --paper: #F6F8FC;
  --white: #FFFFFF;
  --ok: #1F8A5B;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(0, 42, 127, .35);
  --serif: "Frank Ruhl Libre", Georgia, serif;
  --sans: "Cabin", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.topbar img { height: 40px; width: auto; }
.topbar .phone { font-weight: 700; color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.topbar .phone span { color: var(--muted); font-weight: 400; }

/* Hero */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 85% -10%, rgba(255,206,117,.18), transparent 60%),
  radial-gradient(700px 600px at -10% 110%, rgba(0,102,255,.35), transparent 60%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .07; background-image:
  linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000 20%, transparent 90%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; padding: 72px 0 120px; align-items: start; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { font-size: 19px; color: rgba(255,255,255,.82); max-width: 520px; }

.host { display: flex; gap: 18px; align-items: center; margin-top: 36px; padding: 16px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); max-width: 520px; }
.host img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; flex: none; }
.host strong { font-family: var(--serif); font-size: 21px; display: block; }
.host p { font-size: 14.5px; color: rgba(255,255,255,.75); line-height: 1.5; margin-top: 2px; }

.covers { margin-top: 34px; display: grid; gap: 14px; max-width: 520px; }
.covers li { list-style: none; display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: rgba(255,255,255,.9); }
.covers li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002A7F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }

/* Booking card */
.book { background: var(--white); color: var(--ink); border-radius: 24px; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.3); padding: 28px; position: relative; }
.book-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.book-head h2 { font-size: 24px; color: var(--navy); }
.book-head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.pill { flex: none; font-size: 12.5px; font-weight: 700; color: var(--navy); background: #EEF2FC; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); padding: 14px 0 6px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 16px; height: 16px; stroke: var(--blue); }

/* Calendar mock (replace with GHL embed) */
.cal { margin-top: 12px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.cal-month { font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 15px; }
.cal-month i { font-style: normal; color: var(--muted); letter-spacing: 6px; }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 13.5px; }
.grid b { font-size: 11px; color: var(--muted); font-weight: 700; padding-bottom: 4px; }
.grid span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; color: #B3B8CC; }
.grid span.a { color: var(--navy); font-weight: 700; background: #EEF2FC; cursor: pointer; }
.grid span.on { background: var(--blue); color: var(--white); }
.times { display: grid; gap: 8px; align-content: start; }
.times p { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.times button { font: inherit; font-size: 14.5px; font-weight: 700; color: var(--blue); background: var(--white); border: 1.5px solid #C9D3EE; border-radius: 12px; padding: 10px; cursor: pointer; transition: .15s; }
.times button:hover, .times button.on { border-color: var(--blue); background: var(--blue); color: var(--white); }
.embed-note { margin-top: 18px; font-size: 12px; color: var(--muted); text-align: center; border-top: 1px dashed var(--line); padding-top: 12px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border-radius: 999px; padding: 15px 26px; transition: transform .15s, box-shadow .15s; border: 0; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(242,181,68,.9); }
.btn-gold:hover { transform: translateY(-2px); background: var(--gold-deep); }
.btn-line { border: 1.5px solid currentColor; color: var(--navy); }

/* Trust band */
.trust { margin-top: -64px; position: relative; z-index: 2; }
.trust .wrap { background: var(--white); border-radius: 22px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { font-family: var(--serif); font-size: 40px; color: var(--blue); line-height: 1; display: block; }
.stat span { font-size: 14.5px; color: var(--muted); display: block; margin-top: 8px; line-height: 1.45; }

/* Sections */
section.block { padding: 96px 0; }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head .eyebrow { color: var(--blue); }
.sec-head .eyebrow::before { background: var(--blue); }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); color: var(--navy); margin-top: 14px; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who div { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); transition: .2s; }
.who div:hover { border-color: #BFCBEB; transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(0,42,127,.45); }
.who h3 { font-size: 21px; color: var(--navy); margin: 14px 0 6px; }
.who p { font-size: 15px; color: var(--muted); }
.ico { width: 46px; height: 46px; border-radius: 12px; background: #EEF2FC; display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; stroke: var(--blue); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.photo { position: relative; }
.photo img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: 24px; }
.photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 24px; background: var(--gold); z-index: -1; }
.photo { isolation: isolate; }
.split blockquote { font-family: var(--serif); font-size: 26px; line-height: 1.35; color: var(--navy); margin: 22px 0; padding-left: 22px; border-left: 3px solid var(--gold); }
.split p { color: var(--muted); margin-bottom: 14px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.creds span { font-size: 13.5px; font-weight: 700; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }

.cta-band { background: var(--paper); border-top: 1px solid var(--line); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 64px 0; }
.cta-band h2 { font-size: clamp(28px, 3vw, 38px); color: var(--navy); max-width: 620px; }

/* Thank you page */
.ty-hero .wrap { grid-template-columns: 1.05fr .95fr; align-items: center; padding: 72px 0 96px; }
.ty-hero h1 { margin-top: 18px; }
.ty-hero .check { width: 64px; height: 64px; margin-bottom: 30px; }
.ty-hero .check svg { width: 30px; height: 30px; }
.ty-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.ticket { background: var(--white); color: var(--ink); border-radius: 24px; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.3); padding: 26px 28px; position: relative; animation: rise .7s .1s cubic-bezier(.2,.9,.3,1) both; }
@keyframes rise { from { transform: translateY(24px) rotate(1.5deg); opacity: 0; } to { transform: none; opacity: 1; } }
.ticket-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stamp { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ok); background: #E6F5EE; padding: 6px 12px 6px 9px; border-radius: 999px; }
.stamp svg { width: 14px; height: 14px; stroke: var(--ok); }
.ticket-id { font-size: 12.5px; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ticket-host { display: flex; align-items: center; gap: 16px; padding: 22px 0 18px; border-bottom: 1px solid var(--line); }
.ticket-ico { width: 56px; height: 56px; flex: none; border-radius: 16px; background: #EEF2FC; display: grid; place-items: center; }
.ticket-ico svg { width: 28px; height: 28px; stroke: var(--blue); }
.ticket-host .avs img { border-color: var(--white); }
.ticket-host strong { font-family: var(--serif); font-size: 24px; color: var(--navy); display: block; line-height: 1.15; }
.ticket-host p { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.ticket-rows { display: grid; gap: 0; padding: 8px 0; }
.ticket-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.ticket-rows div:last-child { border-bottom: 0; }
.ticket-rows dt { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; flex: none; }
.ticket-rows dt svg { width: 16px; height: 16px; stroke: var(--blue); }
.ticket-rows dd { font-weight: 700; color: var(--navy); text-align: right; }
.ticket-cut { position: relative; height: 0; border-top: 2px dashed #D5DCEE; margin: 10px -28px 20px; }
.ticket-cut::before, .ticket-cut::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); }
.ticket-cut::before { left: -12px; } .ticket-cut::after { right: -12px; }
.track { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.track::before { content: ""; position: absolute; top: 15px; left: 16.6%; right: 16.6%; height: 2px; background: linear-gradient(90deg, var(--blue) 50%, var(--line) 50%); }
.track li { display: grid; justify-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted); position: relative; }
.track i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: var(--white); border: 2px solid var(--line); color: var(--muted); }
.track li.done i { background: var(--blue); border-color: var(--blue); }
.track li.done i svg { width: 16px; height: 16px; stroke: var(--white); }
.track li.done, .track li.now { color: var(--navy); }
.track li.now i { border-color: var(--gold-deep); background: #FFF6E3; color: var(--navy); box-shadow: 0 0 0 5px rgba(255,206,117,.3); }
.track a { color: inherit; text-decoration-color: var(--gold-deep); text-underline-offset: 3px; }
.check { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(255,206,117,.16), 0 0 0 26px rgba(255,206,117,.07); animation: pop .6s cubic-bezier(.2,1.4,.4,1) both; }
.check svg { width: 40px; height: 40px; stroke: var(--navy); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.ty-actions .btn-line { color: var(--white); border-color: rgba(255,255,255,.4); }


.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps div { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.steps div::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--gold-deep); line-height: 1; }
.steps h3 { font-size: 22px; color: var(--navy); margin: 14px 0 8px; }
.steps p { color: var(--muted); font-size: 15.5px; }

.bring { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.bring aside { position: sticky; top: 104px; }
.bring aside p { color: var(--muted); margin-top: 14px; }
.tip { margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: #FFF6E3; border: 1px solid #F8DFA6; font-size: 15px; color: #6B4E12; }
.list { display: grid; gap: 12px; }
.list label { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: .15s; background: var(--white); }
.list label:hover { border-color: #BFCBEB; }
.list input { appearance: none; width: 24px; height: 24px; border: 2px solid #BFCBEB; border-radius: 7px; margin-top: 1px; cursor: pointer; transition: .15s; }
.list input:checked { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--blue); }
.list strong { color: var(--navy); display: block; }
.list small { color: var(--muted); font-size: 14.5px; line-height: 1.5; display: block; margin-top: 2px; }
.list label:has(input:checked) strong { text-decoration: line-through; text-decoration-color: rgba(0,42,127,.35); }
.optional { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--paper); border-radius: 6px; padding: 2px 6px; margin-left: 6px; vertical-align: 2px; }

.avs { display: flex; flex: none; }
.avs img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--navy); }
.avs img + img { margin-left: -18px; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.member { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.member > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.member-body { padding: 28px; }
.member h3 { font-size: 30px; color: var(--navy); }
.member blockquote { font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--navy); margin: 16px 0 18px; padding-left: 18px; border-left: 3px solid var(--gold); }
.member p { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }

/* Footer */
footer { background: var(--ink); color: rgba(255,255,255,.7); font-size: 14px; }
footer .wrap { padding: 44px 0; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
footer img { height: 52px; width: auto; background: var(--white); padding: 8px 12px; border-radius: 12px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--white); }
footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.5); }

/* Reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .check, .ticket { animation: none; } }

/* Responsive */
@media (max-width: 960px) {
  .ty-hero .wrap { grid-template-columns: 1fr; padding: 48px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 104px; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .who, .steps { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; }
  .split, .bring { grid-template-columns: 1fr; gap: 48px; }
  .bring aside { position: static; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .ticket { padding: 22px 20px; }
  .ticket-cut { margin: 10px -20px 20px; }
  .ticket-id { display: none; }
  .ticket-rows div { font-size: 14px; }
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .topbar .phone span { display: none; }
  .topbar img { height: 34px; }
  .book { padding: 20px; }
  .cal { grid-template-columns: 1fr; }
  .times { grid-template-columns: repeat(3, 1fr); }
  .times p { grid-column: 1 / -1; }
  .who, .steps { grid-template-columns: 1fr; }
  .stat { padding: 22px 18px; }
  .stat strong { font-size: 32px; }
  section.block { padding: 72px 0; }
  .photo::before { inset: 14px -10px -14px 14px; }
  footer .wrap { grid-template-columns: 1fr; }
}
