/* ============================================================
   CST Academy — Homepage (Figma "HOMEPAGE - Version B"), home2 variant
   Scoped to .cst-home-page so it never touches the theme header/footer.
   Reuses the ABA design system (navy/blue palette, Poppins, cards).
   ============================================================ */

.cst-home-page {
  --navy: #163A4C;
  --navy-deep: #112337;
  --blue: #3B7EAB;
  --blue-age: #6DAADD;
  --powder: #9EC7E4;
  --pale: #F2F8FD;
  --pale-deep: #DEEFF9;
  --purple: #49264F;
  --gold: #FFC233;
  --white: #FFFFFF;
  --body: #1C1C20;
  --muted: rgba(28, 28, 32, 0.8);
  --card-border: #C9C9C9;
  --card-shadow: 0 6px 14.5px rgba(0,0,0,0.09);
  --maxw: 1200px;
  --radius-card: 20px;
  --radius-btn: 20px;

  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;

  & *, & *::before, & *::after { box-sizing: border-box; }
  & img { max-width: 100%; display: block; }
  & a { color: var(--blue); text-decoration: none; }
  & a:hover { color: var(--navy); }

  & .wrap { width: 88%; max-width: var(--maxw); margin: 0 auto; }
  & section { padding: 40px 0; }
  & section[id] { scroll-margin-top: 110px; }
  & .bg-white { background: var(--white); }
  & .bg-paledeep { background: var(--pale-deep); }
  & .bg-soft { background: var(--pale); }
  & .bg-navy { background: var(--navy); color: var(--white); }

  & h1, & h2, & h3 { color: var(--navy); margin: 0; font-weight: 700; text-wrap: balance; }
  & h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.2; }
  & .bg-navy h1, & .bg-navy h2 { color: var(--white); }
  & .lede { font-size: 20px; line-height: 1.55; color: var(--body); }
  & .bg-navy .lede { color: rgba(255,255,255,0.9); }

  & .section-head { text-align: center; margin: 0 auto 44px; }
  & .section-head .lede { margin: 14px auto 0; }
  & .section-head.purple h2 { color: var(--purple); }

  /* Buttons */
  & .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 17px; border-radius: var(--radius-btn); padding: 13px 24px; min-height: 46px; text-decoration: none; transition: background .15s, color .15s, transform .12s; white-space: nowrap; }
  & .btn:hover { transform: translateY(-1px); }
  & .btn-primary { background: var(--navy); color: #fff; }
  & .btn-primary:hover { background: var(--navy-deep); color: #fff; }
  & .btn-secondary { background: var(--white); color: var(--navy); border: 1px solid var(--navy); }
  & .btn-secondary:hover { background: var(--navy); color: #fff; }
  & .btn-white-on-dark { background: #fff; color: var(--navy); }
  & .btn-white-on-dark:hover { background: var(--gold); color: var(--navy); }
  & .btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.55); }
  & .btn-outline-white:hover { background: #fff; color: var(--navy); border-color: #fff; }
  & .btn .btn-ico { display: inline-flex; width: 18px; height: 18px; }
  & .btn .btn-ico svg { width: 100%; height: 100%; }
  & .btn .arrow { width: 17px; height: 17px; display: inline-flex; }
  & .btn .arrow svg { width: 100%; height: 100%; }
  & .center-cta { text-align: center; margin-top: 40px; }

  /* 1 · Hero */
  & .home-hero { background: var(--navy); color: #fff; text-align: center; }
  & .home-hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.2; margin: 0 auto; }
  & .home-hero-sub { color: rgba(255,255,255,0.9); font-size: 16px; max-width: 88ch; margin: 18px auto 0; }
  & .pathfinder { background: #fff; color: var(--body); border: 1px solid var(--powder); border-radius: var(--radius-card); box-shadow: var(--card-shadow); max-width: 657px; margin: 36px auto 0; padding: 28px; text-align: left; }
  & .pathfinder-head h2 { font-size: 20px; color: var(--navy); }
  & .pathfinder-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
  & .pathfinder-q { font-weight: 700; color: var(--navy); margin: 20px 0 14px; }
  & .pathfinder-options { display: grid; gap: 12px; }
  & .pf-option { display: block; border: 1px solid var(--navy); border-radius: 10px; padding: 13px 16px; color: var(--navy); font-size: 16px; font-weight: 500; transition: background .15s, color .15s; }
  & .pf-option:hover { background: var(--navy); color: #fff; }
  & .home-hero-foot { color: rgba(255,255,255,0.9); font-size: 16px; margin: 28px 0 0; }
  & .home-hero-foot a { color: #fff; text-decoration: underline; font-weight: 600; }

  /* 1b · Interactive quiz widget */
  & .quiz-mount { max-width: 657px; margin: 36px auto 0; text-align: left; }
  & .q-card { background: #fff; color: var(--body); border: 1px solid var(--powder); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 28px; }
  & .q-progress { display: flex; gap: 8px; margin-bottom: 18px; }
  & .q-progress .q-seg { flex: 1; height: 6px; border-radius: 999px; background: var(--pale-deep); transition: background .3s ease; }
  & .q-progress .q-seg.is-done { background: var(--blue); }
  & .q-head { text-align: center; margin-bottom: 18px; }
  & .q-head-title { font-size: 20px; line-height: 1.2; color: var(--navy); margin: 0; }
  & .q-head-sub { margin: 6px 0 0; color: var(--navy); font-size: 16px; line-height: 1.4; }
  & .q-top { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 20px; margin-bottom: 8px; }
  & .q-back { background: none; border: none; color: var(--blue); font-weight: 600; font-size: 14px; cursor: pointer; padding: 0; }
  & .q-back:hover { color: var(--navy); }
  & .q-back-placeholder { display: inline-block; min-height: 1px; }
  & .q-q { font-size: 20px; line-height: 1.3; color: var(--navy); margin: 0 0 16px; text-align: center; }
  & .q-hint { margin: -8px 0 14px; color: var(--muted); font-size: 14px; }
  & .q-options { display: grid; gap: 10px; }
  & .q-option { text-align: left; width: 100%; border: 1px solid var(--navy); border-radius: 10px; padding: 13px 16px; color: var(--navy); background: #fff; font-size: 16px; font-weight: 500; font-family: inherit; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
  & .q-option:hover { background: var(--navy); color: #fff; }
  & .q-toggle { display: flex; align-items: center; gap: 12px; }
  & .q-toggle .q-check { width: 20px; height: 20px; border: 2px solid var(--powder); border-radius: 6px; flex-shrink: 0; position: relative; transition: background .15s, border-color .15s; }
  & .q-toggle.is-on { background: var(--pale-deep); border-color: var(--blue); color: var(--navy); }
  & .q-toggle.is-on:hover { background: var(--pale-deep); color: var(--navy); }
  & .q-toggle.is-on .q-check { background: var(--blue); border-color: var(--blue); }
  & .q-toggle.is-on .q-check::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
  & .q-continue-wrap { margin-top: 16px; }
  & .q-continue { width: 100%; background: var(--navy); color: #fff; border: none; border-radius: var(--radius-btn); padding: 13px 20px; font-weight: 700; font-size: 16px; font-family: inherit; cursor: pointer; }
  & .q-continue:disabled { opacity: 0.4; cursor: not-allowed; }
  & .q-continue:not(:disabled):hover { background: var(--navy-deep); }

  & .q-result { background: var(--pale-deep); border-radius: 14px; padding: 22px; margin-bottom: 20px; }
  & .q-result-kicker { font-family: 'Quicksand','Poppins',sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; color: var(--blue); margin: 0 0 6px; }
  & .q-result-h { font-size: 22px; line-height: 1.25; color: var(--navy); margin: 0 0 10px; }
  & .q-result-p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--body); }
  & .q-form { display: grid; gap: 12px; }
  & .q-field { display: flex; flex-direction: column; gap: 5px; }
  & .q-field label { font-size: 13px; font-weight: 700; color: var(--navy); }
  & .q-field input { background: var(--pale); border: 1px solid var(--powder); border-radius: 10px; padding: 12px 14px; font-size: 16px; color: var(--body); font-family: inherit; }
  & .q-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,126,171,0.15); }
  & .q-submit { margin-top: 4px; background: var(--navy); color: #fff; border: none; border-radius: var(--radius-btn); padding: 14px 20px; font-weight: 700; font-size: 16px; font-family: inherit; cursor: pointer; }
  & .q-submit:hover { background: var(--navy-deep); }
  & .q-submit:disabled { opacity: 0.6; cursor: default; }
  & .q-trust { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
  & .q-callfallback { margin: 4px 0 0; font-size: 14px; color: var(--navy); }
  & .q-callfallback a { font-weight: 700; }
  & .q-error { margin: 4px 0 0; font-size: 14px; color: #b3261e; font-weight: 600; }

  & .q-thanks { text-align: center; }
  & .q-thanks-ico { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; }
  & .q-thanks h3 { font-size: 24px; color: var(--navy); margin: 0 0 10px; }
  & .q-thanks p { margin: 0 auto 8px; color: var(--body); max-width: 46ch; }

  /* 2 · Stats */
  & .stats { padding: 20px 0; }
  & .stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
  & .stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  & .stat-ico { width: 30px; height: 30px; color: var(--blue); margin-bottom: 4px; }
  & .stat-ico svg { width: 100%; height: 100%; }
  & .stat-num { font-weight: 800; font-size: 28px; color: var(--navy); line-height: 1.1; }
  & .stat-label { font-size: 16px; color: rgba(22,58,76,0.7); }

  /* 3 · Services */
  & .svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
  & .svc-grid > .svc-card { grid-column: span 3; }            /* top row: 4 cards */
  & .svc-grid > .svc-card:nth-child(n+5) { grid-column: span 4; } /* bottom row: 3 cards, full width */
  & .svc-card { background: #fff; color: var(--body); border: 1px solid var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; transition: transform .15s, box-shadow .15s; text-decoration: none; }
  & a.svc-card:hover { color: var(--body); }
  & .svc-card:hover { border-color: #5c9cc1; box-shadow: 0 3px 10px 1px #5c9cc1; background-color: #f6fcff; }
  & .svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  & .svc-icon { width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; padding: 0; }
  & .svc-icon img { width: 70px; height: 70px; object-fit: contain; }
  & .age-pill { background: var(--blue-age); color: #fff; font-weight: 700; font-size: 12px; line-height: 1.1; border-radius: 10px; padding: 5px 10px; text-align: center; }
  & .svc-card h3 { font-size: 22px; line-height: 1.25; }
  & .svc-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); opacity: 0.8; }

  /* 4 · How it works (card: vertical timeline + photo) */
  & .hiw-section { background: #F4F8FC; }
  & .hiw-card { background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: stretch; }
  & .hiw-steps { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
  & .hiw-step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
  & .hiw-step:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 20px; height: calc(100% + 6px); width: 2px; transform: translateX(-50%); background: var(--powder); z-index: 0; }
  & .hiw-num { position: relative; z-index: 1; width: 62px; height: 40px; border-radius: 999px; background: linear-gradient(114.24deg, rgb(59,126,171) 16.25%, rgb(103,166,200) 147.27%); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; }
  & .hiw-text h3 { font-size: 19px; color: var(--navy); margin: 0 0 4px; }
  & .hiw-text p { margin: 0; color: var(--body); opacity: 0.8; font-size: 16px; line-height: 1.55; }
  & .hiw-photo { border-radius: 14px; overflow: hidden; box-shadow: var(--card-shadow); min-height: 360px; }
  & .hiw-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

  /* 5 · Video tour */
  & .tour-video { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--card-shadow); aspect-ratio: 16/9; background: var(--navy-deep); max-width: 980px; margin: 0 auto; }
  & .tour-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
  & .room-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
  & .room { margin: 0; background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 12px 12px 18px; display: flex; flex-direction: column; }
  & .room img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 12px; }
  & .room figcaption { margin-top: 14px; padding: 0 6px; }
  & .room figcaption strong { display: block; color: var(--navy); font-size: 18px; }
  & .room figcaption span { color: var(--muted); font-size: 16px; }
  #gform_submit_button_20 {    margin-top: 15px;}

  /* 6 · Why families choose CST (comparison table + photo) */
  & .why-section { background: #F4F8FC; }
  & .why-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: stretch; }
  & .why-photo { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--card-shadow); min-height: 360px; max-height: 440px; }
  & .why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  & .compare { background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 12px; }
  & .compare table { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 0; }
  & .compare table, & .compare thead, & .compare tbody, & .compare tr, & .compare th, & .compare td { border: 0 !important; }
  & .compare th, & .compare td { padding: 14px 18px; text-align: left; font-size: 16px; }
  & .compare thead th { background: rgba(59,126,171,0.08); color: var(--navy); font-weight: 700; border-bottom: none; }
  & .compare thead th:first-child { border-radius: 30px 0 0 30px; }
  & .compare thead th:last-child { border-radius: 0 30px 30px 0; }
  & .compare th:nth-child(2), & .compare td:nth-child(2),
  & .compare th:nth-child(3), & .compare td:nth-child(3) { text-align: center; white-space: nowrap; padding-left: 12px; padding-right: 12px; }
  & .compare thead th { white-space: nowrap; }
  & .compare td.yes .yes-pill { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 30px; border-radius: 999px; background: #E8F6EE; }
  & .compare td.yes .yes-pill svg { width: 20px; height: 20px; color: #4E9E6B; stroke-width: 1.7; }
  & .compare td.no { color: var(--muted); font-weight: 700; }

  /* 7 · Consultation */
  & .consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: stretch; }
  & .consult-visual { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--card-shadow); min-height: 320px; }
  & .consult-visual img { width: 100%; height: 100%; object-fit: cover; }
  & .consult-card { background: var(--blue); color: #fff; border: none; border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 32px; }
  & .consult-card h3 { color: #fff; font-size: 24px; margin-bottom: 16px; }
  & .consult-note { margin: 14px 0 0; color: rgba(255,255,255,0.85); font-size: 14px; }
  & .gf-home-wrap .gfield_label, & .gf-home-wrap legend, & .gf-home-wrap label,
  & .gf-home-wrap .gform-field-label, & .gf-home-wrap .gfield_required,
  & .gf-home-wrap .gfield_required_asterisk, & .gf-home-wrap .gfield_description { color: #fff !important; }
  /* Tighter spacing between fields */
  & .gf-home-wrap .gform_fields { gap: 14px !important; row-gap: 14px !important; }
  & .gf-home-wrap .gfield { margin-bottom: 0 !important; }
  & .gf-home-wrap .gfield_label, & .gf-home-wrap legend { margin-bottom: 4px !important; }
  & .gf-home-wrap input[type=text], & .gf-home-wrap input[type=email], & .gf-home-wrap input[type=tel],
  & .gf-home-wrap input[type=number], & .gf-home-wrap select, & .gf-home-wrap textarea {
    background: #fff !important; border: 1px solid transparent !important; border-radius: 10px !important; padding: 11px 14px !important; font-size: 16px; color: var(--body); font-family: inherit;
  }
  /* Match home1: give <select> auto height so the option text isn't clipped.
     GF Orbital otherwise forces a fixed 38px control height that, with the
     11px+11px border-box padding, leaves too little room and cuts off the text. */
  & .gf-home-wrap select {
    height: auto !important;
    min-height: 46px !important;
    line-height: 1.4 !important;
  }
  & .gf-home-wrap input:focus, & .gf-home-wrap select:focus, & .gf-home-wrap textarea:focus { outline: none; border-color: var(--navy) !important; box-shadow: 0 0 0 3px rgba(255,255,255,0.25) !important; }
  & .gf-home-wrap .gform_footer { margin-top: 6px; padding: 0; }
  & .gf-home-wrap input[type=submit], & .gf-home-wrap .gform_button {
    background: var(--navy) !important; color: #fff !important; border: none !important; border-radius: var(--radius-btn) !important;
    padding: 14px 24px !important; font-weight: 700 !important; font-size: 16px !important; font-family: inherit; cursor: pointer; width: 100% !important;
  }
  & .gf-home-wrap input[type=submit]:hover, & .gf-home-wrap .gform_button:hover { background: var(--navy-deep) !important; }

  /* 8 · Testimonials */
  & .t-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
  & .t-card { background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
  & .t-rating { display: flex; align-items: center; gap: 10px; }
  & .t-glogo { display: inline-flex; flex-shrink: 0; }
  & .t-glogo .g-logo-svg { width: 24px; height: 24px; display: block; }
  & .t-google-img { height: 28px; width: auto; display: block; max-width: fit-content;}
  & .t-stars { display: inline-flex; gap: 3px; color: var(--gold); }
  & .t-star svg { width: 18px; height: 18px; }
  & .t-quote { margin: 0; font-size: 16px; line-height: 1.7; color: var(--body); }
  & .t-attr { font-weight: 700; color: var(--navy); margin-top: auto; }
  & .t-attr span { display: inline; font-weight: 400; color: var(--muted); }

  /* Reviews summary block (4th cell) */
  & .t-summary { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 24px; background: url('https://cstacademy.com/wp-content/uploads/2025/09/3.svg') center center / contain no-repeat; }
  & .t-summary-stars { width: 150px; height: auto; margin-bottom: 6px; }
  & .t-summary-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 64px; line-height: 1; color: var(--navy); }
  & .t-summary-label { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 28px; line-height: 1.2; color: var(--navy); position: relative; padding-bottom: 20px; }
  & .t-summary-btn { margin-top: 20px; }

  /* 9 · Insurance */
  & .ins-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
  & .ins-card { background: var(--purple); color: #fff; border: none; border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 28px 32px; text-align: left; }
  & .ins-card h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
  & .ins-card p { margin: 0; color: rgba(255,255,255,0.82); font-size: 16px; line-height: 1.55; }
  & .ins-note { max-width: 760px; margin: 24px auto 0; text-align: center; color: var(--muted); font-size: 16px; line-height: 1.55; }

  /* Disclaimer band */
  & .home-disclaimer { background: var(--pale); padding: 28px 0; }
  & .home-disclaimer p { margin: 0; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 820px; margin-left: auto; margin-right: auto; }

  /* 10 · Locations */
  & .loc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
  & .loc-grid > .loc-card { grid-column: span 2; }            /* 3 per row */
  & .loc-grid > .loc-card:nth-child(n+7) { grid-column: span 3; } /* last 2 fill the row */
  & .loc-card { position: relative; background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 22px; display: flex; gap: 14px; transition: border-color .15s, box-shadow .15s; }
  & .loc-card:hover { border-color: #5c9cc1; box-shadow: 0 3px 10px 1px #5c9cc1; background-color: #f6fcff; }
  & .loc-stretch { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
  & .loc-pin { width: 39px; height: 50px; color: var(--purple); flex-shrink: 0; }
  & .loc-pin svg { width: 100%; height: 100%; }
  & .loc-body { display: flex; flex-direction: column; gap: 4px; }
  & .loc-body strong { color: var(--purple); font-size: 20px; }
  & .loc-addr { color: var(--body); opacity: 0.8; font-size: 16px; line-height: 1.4; }
  & .loc-phone { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 16px; margin-top: 2px; align-self: flex-start; }
  & .loc-phone svg { width: 14px; height: 14px; }
  & .loc-eval { font-style: italic; font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
  & .loc-foot { text-align: center; font-style: italic; color: var(--muted); font-size: 14px; margin: 28px 0 0; }

  /* 11 · Final CTA */
  & .final-cta { text-align: center; }
  & .final-cta-btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
  & .final-cta h2 { color: #fff; }
  & .final-cta .lede { color: rgba(255,255,255,0.9); margin: 14px auto 26px; }
  & .final-cta .hours { color: rgba(255,255,255,0.85); font-size: 16px; margin: 24px 0 0; }
  & .final-cta .hours strong { color: #fff; }

  /* 12 · FAQ */
  & .faq { max-width: 1000px; margin: 0 auto; }
  & .faq details { border: 1px solid rgba(73,38,79,0.18); border-radius: 8px; padding: 18px 22px; background: #fff; margin-bottom: 12px; }
  & .faq summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--navy); font-size: 18px; line-height: 1.4; display: flex; align-items: center; gap: 12px; }
  & .faq summary::-webkit-details-marker { display: none; }
  & .faq summary::before { content: ""; width: 12px; height: 12px; background: var(--navy); clip-path: polygon(0 0, 0 100%, 100% 50%); transition: transform .2s, background .2s; flex-shrink: 0; }
  & .faq details[open] summary { color: var(--purple); }
  & .faq details[open] summary::before { background: var(--purple); transform: rotate(90deg); }
  & .faq .answer { margin: 12px 0 0 24px; color: var(--body); opacity: 0.85; font-size: 16px; line-height: 1.6; }

  /* Reveal */
  & .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
  & .reveal.is-visible { opacity: 1; transform: none; }
  & .svc-grid > *, & .room-grid > *, & .t-grid > *, & .loc-grid > *, & .ins-grid > *, & .steps-row > * { min-width: 0; }

  /* Responsive */
  @media (max-width: 1000px) {
    & .svc-grid { grid-template-columns: repeat(2, 1fr); }
    & .svc-grid > .svc-card, & .svc-grid > .svc-card:nth-child(n+5) { grid-column: auto; }
    & .room-grid { grid-template-columns: repeat(2, 1fr); }
    & .loc-grid { grid-template-columns: repeat(2, 1fr); }
    & .loc-grid > .loc-card, & .loc-grid > .loc-card:nth-child(n+7) { grid-column: auto; }
    & .t-grid { grid-template-columns: 1fr; }
    & .hiw-card { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
    & .why-grid { grid-template-columns: 1fr; }
    & .consult-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    & section { padding: 56px 0; }
    & .stats-row { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
    & .svc-grid { grid-template-columns: 1fr; }
    & .svc-grid > .svc-card, & .svc-grid > .svc-card:nth-child(n+5) { grid-column: auto; }
    & .room-grid { grid-template-columns: 1fr; }
    & .loc-grid { grid-template-columns: 1fr; }
    & .loc-grid > .loc-card, & .loc-grid > .loc-card:nth-child(n+7) { grid-column: auto; }
    & .ins-grid { grid-template-columns: 1fr; }
    & .pathfinder { padding: 22px; }
    & .compare th, & .compare td { padding: 12px 14px; font-size: 16px; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .cst-home-page .reveal { opacity: 1; transform: none; transition: none; }
}
