:root {
  --texas-blue: #002868;
  --texas-red: #b22234;
  --aquora-cream: #f5f0e8;
  --aquora-sand: #e8ddcb;
  --aquora-gold: #c99a4a;
  --aquora-ink: #172231;
  --aquora-muted: #66645f;
  --white: #fff;
  --success: #1b7a4a;
  --error: #a21d2c;
  --shadow: 0 24px 70px rgba(0, 40, 104, 0.13);
  --font-display: "Bitter", Georgia, serif;
  --font-ui: "Assistant", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--aquora-cream);
  color: var(--aquora-ink);
  font-family: var(--font-ui);
  font-size: 1.6rem;
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--texas-blue);
}

.preview-notice {
  position: relative;
  z-index: 20;
  padding: 0.8rem 2rem;
  background: var(--texas-red);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.funnel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 8rem;
  padding: 1rem clamp(2rem, 5vw, 7rem);
  background: var(--white);
  border-bottom: 1px solid rgba(0, 40, 104, 0.1);
}

.funnel-brand {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--texas-blue);
  text-decoration: none;
}

.funnel-brand img {
  width: 4.8rem;
  height: 4.8rem;
  object-fit: contain;
}

.funnel-brand span {
  display: grid;
  line-height: 1.15;
}

.funnel-brand strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.funnel-brand small {
  margin-top: 0.4rem;
  color: var(--aquora-muted);
  font-size: 1.2rem;
}

.header-trust {
  color: var(--texas-blue);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--texas-red);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--aquora-gold);
}

.optin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(36rem, 0.95fr);
  min-height: 70rem;
  background:
    radial-gradient(circle at 82% 36%, rgba(201, 154, 74, 0.2), transparent 24rem),
    linear-gradient(112deg, var(--white) 0%, var(--white) 55%, #ede5d9 100%);
}

.optin-hero__content {
  align-self: center;
  width: min(72rem, 100%);
  padding: clamp(5rem, 8vw, 10rem) clamp(2rem, 7vw, 10rem);
}

.optin-hero h1,
.section-heading h2,
.comparison-copy h2,
.final-cta h2,
.survey-card h1,
.thank-card h1 {
  margin: 0;
  color: var(--texas-blue);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.optin-hero h1 {
  max-width: 12ch;
  font-size: clamp(4.2rem, 6vw, 7rem);
}

.hero-lead {
  max-width: 55rem;
  margin: 2.2rem 0 3.2rem;
  color: #424d5b;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
}

.hero-product-inline {
  display: none;
}

.choice-panel {
  max-width: 65rem;
  padding: 2.4rem;
  background: var(--white);
  border: 1px solid rgba(0, 40, 104, 0.12);
  border-radius: 1.8rem;
  box-shadow: 0 18px 60px rgba(0, 40, 104, 0.1);
}

.choice-panel h2 {
  margin: 0 0 1.8rem;
  color: var(--aquora-ink);
  font-size: clamp(2rem, 2.4vw, 2.6rem);
  text-align: center;
}

.size-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.size-choices--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-button {
  display: grid;
  place-items: center;
  min-height: 8.2rem;
  padding: 1.4rem;
  background: var(--white);
  color: var(--texas-blue);
  border: 2px solid rgba(0, 40, 104, 0.22);
  border-radius: 1rem;
  cursor: pointer;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.choice-button:hover,
.choice-button.is-selected {
  background: var(--texas-blue);
  color: var(--white);
  border-color: var(--texas-blue);
  transform: translateY(-2px);
}

.choice-button strong {
  font-size: 1.8rem;
}

.choice-button span {
  margin-top: 0.4rem;
  font-size: 1.25rem;
  opacity: 0.78;
}

.choice-helper {
  margin: 1.3rem 0 0;
  color: var(--aquora-muted);
  font-size: 1.25rem;
  text-align: center;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 0;
  margin: 2.6rem 0 0;
  color: var(--aquora-muted);
  font-size: 1.35rem;
  list-style: none;
}

.hero-trust-list li::before {
  content: "✓";
  margin-right: 0.6rem;
  color: var(--success);
  font-weight: 700;
}

.optin-hero__visual {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 8rem clamp(2rem, 6vw, 8rem);
  overflow: hidden;
}

.optin-hero__visual::after {
  content: "";
  position: absolute;
  right: -12rem;
  bottom: -14rem;
  width: 50rem;
  height: 50rem;
  border: 1px solid rgba(0, 40, 104, 0.12);
  border-radius: 50%;
}

.optin-hero__visual > img {
  position: relative;
  z-index: 2;
  width: min(72rem, 100%);
  margin: 2rem auto;
  filter: drop-shadow(0 34px 32px rgba(0, 24, 61, 0.24));
}

.texas-badge {
  position: relative;
  z-index: 3;
  justify-self: start;
  padding: 0.9rem 1.3rem;
  background: var(--texas-red);
  color: var(--white);
  border-radius: 0.4rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.texas-badge span {
  color: var(--aquora-gold);
}

.product-caption {
  position: relative;
  z-index: 3;
  display: grid;
  justify-self: end;
  padding: 1.4rem 1.8rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 40, 104, 0.1);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.product-caption strong {
  color: var(--texas-blue);
  font-family: var(--font-display);
}

.product-caption span {
  margin-top: 0.3rem;
  color: var(--aquora-muted);
  font-size: 1.3rem;
}

.how-it-works,
.comparison-section,
.final-cta {
  padding: clamp(6rem, 9vw, 11rem) clamp(2rem, 7vw, 10rem);
}

.how-it-works {
  background: var(--aquora-cream);
}

.section-heading {
  max-width: 70rem;
  margin: 0 auto 4.5rem;
  text-align: center;
}

.section-heading h2,
.comparison-copy h2,
.final-cta h2 {
  font-size: clamp(3.2rem, 4.5vw, 5rem);
}

.section-heading > p:last-child,
.comparison-copy > p:last-child,
.final-cta > div > p:last-child {
  color: var(--aquora-muted);
  font-size: 1.8rem;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 120rem;
  margin: 0 auto;
}

.step-card {
  position: relative;
  padding: 3.2rem;
  background: var(--white);
  border: 1px solid var(--aquora-sand);
  border-radius: 1.6rem;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 4.6rem;
  height: 4.6rem;
  background: var(--texas-blue);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
}

.step-card h3 {
  margin: 2rem 0 1rem;
  color: var(--texas-blue);
  font-family: var(--font-display);
  font-size: 2.2rem;
}

.step-card p {
  margin: 0;
  color: var(--aquora-muted);
}

.comparison-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(4rem, 7vw, 9rem);
  background: var(--white);
}

.comparison-copy {
  max-width: 54rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.comparison-card {
  padding: 3rem;
  border-radius: 1.6rem;
}

.comparison-card h3 {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: 2.2rem;
}

.comparison-card ul {
  display: grid;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.comparison-card li::before {
  margin-right: 0.8rem;
  font-weight: 700;
}

.comparison-card--muted {
  background: #f0ede8;
  color: #555;
}

.comparison-card--muted li::before {
  content: "–";
}

.comparison-card--brand {
  background: var(--texas-blue);
  color: var(--white);
  box-shadow: var(--shadow);
}

.comparison-card--brand li::before {
  content: "✓";
  color: var(--aquora-gold);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(38rem, 0.85fr);
  align-items: center;
  gap: 4rem;
  background:
    linear-gradient(120deg, rgba(0, 40, 104, 0.97), rgba(0, 40, 104, 0.9)),
    url("../../../assets/images/hero/aquora-pool-alternative-hero-desktop.png") center/cover;
  color: var(--white);
}

.final-cta h2,
.final-cta .eyebrow {
  color: var(--white);
}

.final-cta > div > p:last-child {
  color: rgba(255, 255, 255, 0.8);
}

.size-choices--compact .choice-button {
  min-height: 6.4rem;
  border-color: rgba(255, 255, 255, 0.5);
}

.funnel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem clamp(2rem, 7vw, 10rem);
  background: #111d2a;
  color: rgba(255, 255, 255, 0.76);
}

.funnel-footer > div {
  display: grid;
}

.funnel-footer strong {
  color: var(--white);
  font-family: var(--font-display);
}

.funnel-footer span {
  margin-top: 0.4rem;
  font-size: 1.3rem;
}

.funnel-footer a {
  color: var(--aquora-gold);
  font-weight: 700;
}

/* Survey and thank-you shared shell */
.survey-body,
.thank-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0, rgba(201, 154, 74, 0.14), transparent 30rem),
    #14202c;
  color: var(--white);
}

.survey-body .funnel-header,
.thank-body .funnel-header {
  background: #111b25;
  border-color: rgba(255, 255, 255, 0.08);
}

.survey-body .funnel-brand,
.thank-body .funnel-brand,
.survey-body .header-trust,
.thank-body .header-trust {
  color: var(--white);
}

.survey-body .funnel-brand small,
.thank-body .funnel-brand small {
  color: rgba(255, 255, 255, 0.65);
}

.survey-main,
.thank-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 12rem);
  padding: 2rem 2rem 6rem;
}

.survey-shell,
.thank-card {
  width: min(68rem, 100%);
}

.product-summary {
  display: grid;
  grid-template-columns: 11rem 1fr auto;
  align-items: center;
  gap: 1.8rem;
  padding: 1.4rem 1.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.2rem 1.2rem 0 0;
}

.product-summary img {
  width: 11rem;
  height: 6.5rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.28));
}

.product-summary__copy {
  display: grid;
}

.product-summary__copy strong {
  font-family: var(--font-display);
}

.product-summary__copy span,
.product-summary__edit {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.3rem;
}

.product-summary__edit {
  border: 0;
  background: transparent;
  color: #75c6ff;
  cursor: pointer;
  text-decoration: underline;
}

.funnel-progress {
  width: 100%;
  height: 0.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.funnel-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--aquora-gold), #e4b457);
  transition: width 220ms ease;
}

.progress-label {
  margin: 1rem 0 2.4rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.3rem;
  text-align: center;
}

.survey-card,
.thank-card {
  padding: clamp(2.4rem, 5vw, 4.5rem);
  background: #18242e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.2rem;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.25);
}

.survey-card h1,
.thank-card h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  text-align: center;
}

.survey-intro,
.thank-intro {
  max-width: 52rem;
  margin: 1rem auto 2rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.thank-intro {
  font-size: 1.4rem;
}

.answer-grid {
  display: grid;
  gap: 1.2rem;
}

.answer-input-wrap {
  display: grid;
  gap: 0.8rem;
  max-width: 34rem;
  margin: 2rem auto 0;
}

.answer-input {
  width: 100%;
  min-height: 5.4rem;
  padding: 1rem 1.4rem;
  background: #101a23;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0.5rem;
  font-size: 2rem;
  letter-spacing: 0.3em;
  text-align: center;
}

.answer-input::placeholder {
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.3);
}

.answer-input:focus {
  border-color: var(--aquora-gold);
}

.answer-input[aria-invalid="true"] {
  border-color: #ff8090;
}

.answer-input-error {
  min-height: 1.8rem;
  color: #ff9ba8;
  font-size: 1.25rem;
  text-align: center;
}

.survey-actions--input {
  margin-top: 2rem;
  justify-content: center;
}

.survey-actions--input .funnel-button--primary {
  flex: 0 0 auto;
  min-width: 22rem;
}

.answer-button {
  display: flex;
  align-items: center;
  min-height: 6.2rem;
  padding: 1.4rem 1.8rem;
  background: rgba(255, 255, 255, 0.025);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.4rem;
  cursor: pointer;
  text-align: left;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.answer-button::before {
  content: "";
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  margin-right: 1.4rem;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.answer-button:hover,
.answer-button.is-selected {
  background: rgba(201, 154, 74, 0.12);
  color: #f5c76f;
  border-color: var(--aquora-gold);
}

.answer-button.is-selected::before {
  border: 5px solid var(--aquora-gold);
}

.survey-actions {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.4rem;
}

.funnel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.4rem;
  padding: 1.2rem 2rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}

.funnel-button--primary {
  flex: 1;
  background: var(--texas-red);
  color: var(--white);
}

.funnel-button--primary:hover {
  background: #941c2b;
}

.funnel-button--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.question-note,
.contact-disclosure {
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 1.25rem;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.field {
  display: grid;
  gap: 0.6rem;
}

.field label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.3rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 5.4rem;
  padding: 1rem 1.3rem;
  background: #101a23;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0.5rem;
}

.field input[aria-invalid="true"] {
  border-color: #ff8090;
}

.field-error {
  min-height: 1.8rem;
  color: #ff9ba8;
  font-size: 1.2rem;
}

.form-status {
  min-height: 2.2rem;
  margin: 1.4rem 0 0;
  color: #ffb4bd;
  font-size: 1.35rem;
  text-align: center;
}

.thank-card {
  text-align: center;
}

.thank-mark {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.6rem;
  background: var(--aquora-gold);
  color: var(--texas-blue);
  border-radius: 50%;
  font-size: 2.6rem;
  font-weight: 700;
}

.specialist-photo {
  width: 11rem;
  height: 11rem;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--aquora-gold);
  box-shadow: 0 10px 30px rgba(0, 40, 104, 0.18);
  background: var(--aquora-cream, #f5f0e8);
}
.specialist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.summary-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
  text-align: left;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-list strong {
  color: rgba(255, 255, 255, 0.68);
}

.summary-list span {
  color: var(--white);
  text-align: right;
}

.thank-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

/* Booking calendar */
.booking {
  margin: 2rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.summary-details {
  margin-top: 2.4rem;
}

.summary-details > summary {
  padding: 1.2rem 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-details > summary::-webkit-details-marker {
  display: none;
}

.summary-details > summary::after {
  content: " ▾";
  color: var(--aquora-gold);
}

.summary-details[open] > summary::after {
  content: " ▴";
}

.summary-list {
  margin-top: 0;
}

.booking-head {
  text-align: center;
}

.booking-title {
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
}

.booking-lead {
  max-width: 48rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.4rem;
  margin-top: 2.8rem;
}

.booking-calendar {
  padding: 1.8rem;
  background: #101a23;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.cal-nav-btn {
  width: 3.6rem;
  height: 3.6rem;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.cal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cal-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cal-month-label {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
}

.cal-cell {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-height: 3.6rem;
  border-radius: 0.5rem;
  font-size: 1.4rem;
  cursor: pointer;
}

.cal-cell--empty {
  cursor: default;
}

.cal-cell--disabled {
  color: rgba(255, 255, 255, 0.25);
  cursor: not-allowed;
}

.cal-cell--available {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cal-cell--available:hover {
  background: rgba(201, 154, 74, 0.18);
  border-color: var(--aquora-gold);
}

.cal-cell--selected {
  background: var(--aquora-gold);
  color: var(--texas-blue);
  border-color: var(--aquora-gold);
  font-weight: 700;
}

.booking-times {
  display: grid;
  align-content: start;
  padding: 1.8rem;
  background: #101a23;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.times-label {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
  font-weight: 700;
}

.time-grid {
  display: grid;
  gap: 0.8rem;
}

.time-slot {
  width: 100%;
  padding: 1.1rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.5rem;
  text-align: left;
  cursor: pointer;
}

.time-slot:hover {
  background: rgba(201, 154, 74, 0.14);
  border-color: var(--aquora-gold);
}

.time-slot.is-selected {
  background: var(--aquora-gold);
  color: var(--texas-blue);
  border-color: var(--aquora-gold);
  font-weight: 700;
}

.booking-confirm {
  margin-top: 2.4rem;
  text-align: center;
}

.confirm-summary {
  margin: 0 0 1.6rem;
  color: var(--white);
  font-size: 1.6rem;
}

.booking-status {
  margin: 1.2rem 0 0;
  color: #8fe6b5;
  font-size: 1.4rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .thank-mark {
    width: 3.6rem;
    height: 3.6rem;
    margin: 0 auto 1rem;
    font-size: 2rem;
  }

  .specialist-photo {
    width: 8rem;
    height: 8rem;
    border-width: 3px;
    margin-bottom: 1.2rem;
  }

  .thank-card h1 {
    font-size: 2.2rem;
  }

  .thank-intro {
    display: none;
  }

  .booking {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
  }

  .booking-head {
    text-align: center;
  }

  .booking-head .eyebrow,
  .booking-lead {
    display: none;
  }

  .booking-title {
    font-size: 2rem;
    margin-bottom: 0.6rem;
  }

  .booking-calendar {
    padding: 1.2rem;
  }

  .cal-cell {
    min-height: 3rem;
    font-size: 1.3rem;
  }
}

/* Booked (post-booking) page */
.booked-main {
  display: block;
  max-width: 86rem;
  margin: 0 auto;
  padding: 3rem 2rem 8rem;
}

.booked-hero {
  text-align: center;
  margin-bottom: 4rem;
}

.booked-mark {
  display: grid;
  place-items: center;
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1.6rem;
  background: var(--aquora-gold);
  color: var(--texas-blue);
  border-radius: 50%;
  font-size: 3rem;
  font-weight: 700;
}

.booked-hero h1 {
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
}

.booked-lead {
  max-width: 54rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.6rem;
}

.booked-block {
  margin-bottom: 5rem;
  scroll-margin-top: 8rem;
}

.block-head {
  max-width: 64rem;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.block-head h2 {
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
}

.block-lead {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.5rem;
}

/* Video card */
.video-card {
  max-width: 72rem;
  margin: 0 auto;
  background: #101a23;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.2rem;
  overflow: hidden;
}

.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  background: #000;
  border: 0;
  cursor: pointer;
}

.thumb-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.92;
}

.video-thumb:hover .thumb-img {
  opacity: 1;
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 7.2rem;
  height: 7.2rem;
  background: rgba(201, 154, 74, 0.92);
  color: var(--texas-blue);
  border-radius: 50%;
  font-size: 2.6rem;
  transition: transform 160ms ease;
}

.video-thumb:hover .play-badge {
  transform: translate(-50%, -50%) scale(1.06);
}

.thumb-runtime {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 0.3rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.video-meta {
  display: grid;
  padding: 1.6rem 1.8rem;
  text-align: left;
}

.video-meta strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.video-meta span {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.35rem;
}

/* Demo tiles */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.demo-tile {
  position: relative;
  display: block;
  padding: 0;
  background: #101a23;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease;
}

.demo-tile:hover {
  transform: translateY(-3px);
  border-color: var(--aquora-gold);
}

.demo-tile .thumb-img {
  aspect-ratio: 4 / 3;
}

.tile-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.9rem;
  background: var(--texas-red);
  color: #fff;
  border-radius: 0.3rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.tile-label {
  display: grid;
  padding: 1.2rem 1.4rem 1.4rem;
}

.tile-label strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.tile-label > span {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
}

/* FAQ */
.faq-grid {
  display: grid;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

.faq-item {
  background: #101a23;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.4rem 1.6rem;
  cursor: pointer;
  list-style: none;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-thumb {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 0.6rem;
  object-fit: cover;
  flex: 0 0 auto;
}

.faq-item summary > span:nth-of-type(1) {
  flex: 1;
}

.faq-chev {
  color: var(--aquora-gold);
  font-size: 1.4rem;
  transition: transform 200ms ease;
}

.faq-item[open] .faq-chev {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.6rem 1.6rem 7.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.4rem;
}

.faq-body p {
  margin: 0;
}

/* Booked CTA */
.booked-cta {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.booked-cta h2 {
  margin: 0 0 2rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
}

@media (max-width: 760px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .faq-body {
    padding-left: 1.6rem;
  }

  .faq-item summary {
    gap: 1rem;
  }

  .faq-thumb {
    width: 3.6rem;
    height: 3.6rem;
  }
}

@media (max-width: 900px) {
  .optin-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .optin-hero__visual {
    display: none;
  }

  .hero-product-inline {
    display: block;
    width: min(26rem, 70%);
    margin: 0 auto 1.6rem;
    filter: drop-shadow(0 18px 18px rgba(0, 24, 61, 0.22));
  }

  .optin-hero__content {
    width: 100%;
    padding: 1rem 1.8rem 3rem;
    text-align: center;
  }

  .optin-hero h1 {
    max-width: none;
    font-size: clamp(2.8rem, 7vw, 3.6rem);
  }

  .hero-lead {
    margin: 1.2rem auto 1.4rem;
    font-size: 1.6rem;
  }

  .choice-panel {
    max-width: 100%;
    padding: 1.6rem;
  }

  .step-grid,
  .comparison-section {
    grid-template-columns: 1fr;
  }

  .comparison-copy {
    max-width: none;
    text-align: center;
  }

  .final-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .funnel-header {
    min-height: 6.6rem;
    padding: 0.8rem 1.6rem;
  }

  .funnel-brand img {
    width: 4rem;
    height: 4rem;
  }

  .funnel-brand small,
  .header-trust {
    display: none;
  }

  .optin-hero__content {
    padding: 5rem 1.8rem 2rem;
    text-align: center;
  }

  .optin-hero h1 {
    max-width: none;
    font-size: 4rem;
  }

  .hero-lead {
    font-size: 1.75rem;
  }

  .choice-panel {
    padding: 1.6rem;
  }

  .size-choices {
    grid-template-columns: 1fr;
  }

  .size-choices--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice-button {
    min-height: 6.6rem;
  }

  .hero-trust-list {
    justify-content: center;
  }

  .optin-hero__visual {
    min-height: 35rem;
    padding: 2rem 1.8rem 5rem;
  }

  .product-caption {
    justify-self: center;
  }

  .how-it-works,
  .comparison-section,
  .final-cta {
    padding: 6rem 1.8rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .funnel-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 3rem 1.8rem;
  }

  .survey-main,
  .thank-main {
    display: block;
    min-height: auto;
    padding: 2rem 1.2rem 5rem;
  }

  .product-summary {
    grid-template-columns: 8rem 1fr auto;
    gap: 1rem;
    padding: 1rem;
  }

  .product-summary img {
    width: 8rem;
    height: 5rem;
  }

  .survey-card,
  .thank-card {
    padding: 2.4rem 1.6rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .survey-actions,
  .thank-actions {
    flex-direction: column-reverse;
  }

  .funnel-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Light theme: thank-you page ===== */
.thank-body {
  background:
    radial-gradient(circle at 50% 0, rgba(201, 154, 74, 0.16), transparent 32rem),
    var(--aquora-cream);
  color: var(--aquora-ink);
}
.thank-body .funnel-header {
  background: #ffffff;
  border-color: var(--aquora-sand);
}
.thank-body .funnel-brand,
.thank-body .header-trust {
  color: var(--texas-blue);
}
.thank-body .funnel-brand small {
  color: var(--aquora-muted);
}
.thank-body .thank-card {
  background: #ffffff;
  border: 1px solid var(--aquora-sand);
  box-shadow: 0 24px 70px rgba(0, 40, 104, 0.1);
}
.thank-body .thank-card h1 {
  color: var(--texas-blue);
}
.thank-body .thank-intro {
  color: var(--aquora-muted);
}
.thank-body .summary-list {
  border-top-color: var(--aquora-sand);
}
.thank-body .summary-list li {
  border-bottom-color: var(--aquora-sand);
}
.thank-body .summary-list strong {
  color: var(--aquora-muted);
}
.thank-body .summary-list span {
  color: var(--aquora-ink);
}
.thank-body .booking {
  border-top-color: var(--aquora-sand);
}
.thank-body .summary-details > summary {
  color: var(--texas-blue);
  border-top-color: var(--aquora-sand);
}
.thank-body .booking-title {
  color: var(--texas-blue);
}
.thank-body .booking-lead {
  color: var(--aquora-muted);
}
.thank-body .booking-calendar,
.thank-body .booking-times {
  background: var(--aquora-cream);
  border: 1px solid var(--aquora-sand);
}
.thank-body .cal-nav-btn {
  color: var(--texas-blue);
  border-color: var(--aquora-sand);
}
.thank-body .cal-nav-btn:hover {
  background: var(--aquora-sand);
}
.thank-body .cal-month-label {
  color: var(--texas-blue);
}
.thank-body .calendar-weekdays {
  color: var(--aquora-muted);
}
.thank-body .cal-cell--disabled {
  color: rgba(0, 0, 0, 0.22);
}
.thank-body .cal-cell--available {
  color: var(--aquora-ink);
  background: #ffffff;
  border: 1px solid var(--aquora-sand);
}
.thank-body .cal-cell--available:hover {
  background: rgba(201, 154, 74, 0.16);
  border-color: var(--aquora-gold);
}
.thank-body .times-label {
  color: var(--aquora-muted);
}
.thank-body .time-slot {
  background: #ffffff;
  color: var(--aquora-ink);
  border: 1px solid var(--aquora-sand);
}
.thank-body .time-slot:hover {
  background: rgba(201, 154, 74, 0.14);
  border-color: var(--aquora-gold);
}
.thank-body .confirm-summary {
  color: var(--aquora-ink);
}
.thank-body .booking-status {
  color: var(--success);
}
.thank-body .funnel-button--secondary {
  color: var(--texas-blue);
  border-color: var(--texas-blue);
}
.thank-body .question-note {
  color: var(--aquora-muted);
}

/* ===== Light theme: booked (pre-call) page ===== */
.thank-body .booked-hero h1 {
  color: var(--texas-blue);
}
.thank-body .booked-lead {
  color: #4a4843;
}
.thank-body .block-head h2 {
  color: var(--texas-blue);
}
.thank-body .block-lead {
  color: #4a4843;
}
.thank-body .video-card,
.thank-body .demo-tile,
.thank-body .faq-item {
  background: #ffffff;
  border: 1px solid var(--aquora-sand);
}
.thank-body .video-meta strong,
.thank-body .tile-label strong {
  color: var(--texas-blue);
}
.thank-body .video-meta span,
.thank-body .tile-label > span {
  color: #4a4843;
}
.thank-body .faq-item summary {
  color: var(--aquora-ink);
}
.thank-body .faq-body {
  color: #4a4843;
}
.thank-body .booked-cta {
  border-top-color: var(--aquora-sand);
}
.thank-body .booked-cta h2 {
  color: var(--texas-blue);
}
.thank-body .eyebrow {
  color: var(--texas-red);
}

/* Google Calendar button */
.gcal-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.8rem auto 0;
  padding: 1.1rem 2rem;
  background: var(--texas-blue);
  color: #fff;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 40, 104, 0.18);
}
.gcal-button:hover {
  background: #001f50;
}

/* Pre-call warning */
.precall-warning {
  max-width: 72rem;
  margin: 0 auto 1.8rem;
  padding: 1.2rem 1.6rem;
  background: #fff4e0;
  border: 1px solid var(--aquora-gold);
  border-left: 5px solid var(--aquora-gold);
  border-radius: 0.6rem;
  color: #6a4a10;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
}
.precall-warning strong {
  color: #8a5a12;
}

