/*==============================================================
  Smilewise Network — smilewisen.com
  The Structo construction template (structo-two.vercel.app), taken 1:1
  from its stylesheet and rendered pages, recoloured for dentistry.

  01. Tokens            09. Featured card       17. Accordion
  02. Base              10. Bands               18. CTA banners
  03. Type scale        11. About split         19. Forms
  04. Layout + rhythm   12. Values + mosaic     20. Inner page head
  05. Buttons + links   13. Photo strip         21. Detail + sidebar
  06. Header            14. Icon cards          22. Steps, pay cards
  07. Footer            15. Photo cards         23. About page parts
  08. Hero              16. Slider + posts      24. Contact, sign-up,
                                                    legal, motion, misc
================================================================*/

/*==============================================================
  01. Tokens
  Structo's yellow became a rinse aqua that still carries dark text;
  its #222 ink a deep enamel navy; its greys cool. --accent-deep is
  for lines and icons on white, where the pale aqua would vanish.
================================================================*/
:root {
  --white: #FFFFFF;
  --ink: #13293F;
  --body: #44566B;
  --accent: #8ED5E8;
  --accent-soft: #D4F0F7;
  --accent-deep: #1B7894;
  --muted: #56677B;
  --navy: #0D2742;
  --line: #E1E8EE;
  --wash: #F1F6F9;
  --line2: #C7D2DC;
  --foot-text: #B9C6D3;
  --head: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --stack: 28px;
  --block: 56px;
  --sec: 120px;
  --header: 86px;
}
@media (max-width: 991px) {
  :root { --stack: 22px; --block: 40px; --sec: 80px; --header: 72px; }
}
@media (max-width: 575px) {
  :root { --sec: 64px; }
}

/*==============================================================
  02. Base
================================================================*/
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-top: var(--header);
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .3s ease, background-color .3s ease, border-color .3s ease; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
p { margin: 0; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; line-height: 1.28; color: var(--ink); }
blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10000; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.center { text-align: center; }
.fine { font-size: 14px; color: var(--muted); margin-top: var(--stack); }
.fine.center { margin-left: auto; margin-right: auto; max-width: 720px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/*==============================================================
  03. Type scale (the template's cs_fs_* steps)
================================================================*/
.sec-head h2, .page-title, .about-copy h2, .values-copy h2, .cta-banner h2, .signup-copy h2, .why-copy h2 {
  font-size: 56px; line-height: 1.07; letter-spacing: -1.12px;
}
.lede { font-size: 20px; line-height: 1.4; color: var(--body); }
@media (max-width: 1199px) {
  .sec-head h2, .page-title, .about-copy h2, .values-copy h2, .cta-banner h2, .signup-copy h2, .why-copy h2 { font-size: 48px; }
}
@media (max-width: 575px) {
  .sec-head h2, .page-title, .about-copy h2, .values-copy h2, .cta-banner h2, .signup-copy h2, .why-copy h2 { font-size: 38px; letter-spacing: -.8px; }
  .lede { font-size: 18px; }
}
@media (max-width: 420px) {
  .sec-head h2, .page-title, .about-copy h2, .values-copy h2, .cta-banner h2, .signup-copy h2, .why-copy h2 { font-size: 34px; }
}

/*==============================================================
  04. Layout + rhythm
  One gap (--stack) between heading, text and buttons in every stack,
  one bigger gap (--block) above a grid. Sections never touch.
================================================================*/
.container { width: 100%; max-width: 1344px; margin: 0 auto; padding: 0 12px; }
@media (max-width: 1399px) { .container { padding: 0 24px; } }
@media (max-width: 575px) { .container { padding: 0 16px; } }
.section { padding: var(--sec) 0; }
.section-flush-top { padding-top: 0; }
.sec-head { margin-bottom: var(--block); }
.sec-head > * + * { margin-top: var(--stack); }
.sec-head-center { text-align: center; }
.sec-head-center p { max-width: 760px; margin-left: auto; margin-right: auto; font-size: 20px; line-height: 1.4; }
.sec-head-split { display: flex; justify-content: space-between; align-items: center; gap: 24px 30px; }
.sec-head-split > * + * { margin-top: 0; }
@media (max-width: 991px) { .sec-head-split { flex-direction: column; align-items: flex-start; } }
.center-btn { text-align: center; margin-top: var(--block); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.narrow { max-width: 900px; }

/*==============================================================
  05. Buttons + links
  cs_btn_style_1: the fill whose corners round to 15px 0 15px 0 on
  hover as it turns navy. cs_btn_style_2: the outline that fills.
================================================================*/
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 13px 30px; font-family: var(--head); font-weight: 600; font-size: 16px; line-height: 1.5;
  text-align: center; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: all .4s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-fill { background: var(--accent); color: var(--ink); }
.btn-fill:hover { background: var(--ink); color: var(--white); border-radius: 15px 0 15px 0; }
.btn-line { border-color: var(--ink); color: var(--ink); padding: 12px 30px; }
.btn-line:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--white); color: var(--ink); border-radius: 15px 0 15px 0; }
.btn-head { border-color: var(--navy); color: var(--ink); padding: 9px 20px; font-size: 15px; white-space: nowrap; }
.btn-head:hover, .btn-head[aria-current] { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; }
@media (max-width: 575px) { .btn { padding: 10px 24px; } .btn-line { padding: 9px 24px; } }
.more-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; color: var(--ink); }
.more-link svg { width: 20px; height: 20px; transition: transform .3s ease; }
.more-link:hover { color: var(--accent-deep); }
.more-link:hover svg { transform: translateX(4px); }

/* The underline that draws across a card title (the template's link wipe). */
.iconbox h3 a, .post h3 a, .photo-card h3 {
  background-repeat: no-repeat;
  background-image: linear-gradient(90deg, currentColor 0, currentColor 100%);
  background-position: 100% 100%; background-size: 0 1px;
  transition: background-size .4s cubic-bezier(.49, .49, .08, 1), color .3s ease;
}
.iconbox h3 a:hover, .post h3 a:hover { background-size: 100% 1px; background-position: 0 100%; }

/*==============================================================
  06. Header
================================================================*/
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
  background: var(--white); color: var(--muted);
  transition: box-shadow .4s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 10px -10px rgba(19, 41, 63, .12); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--header); transition: height .4s ease; }
.site-header.is-stuck .header-in { height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; position: relative; z-index: 1002; }
.brand .mark { width: 30px; height: 30px; }
.mk-acc { fill: var(--accent-deep); }
.brand-light .mk-acc { fill: var(--accent); }
.brand-word { font-family: var(--head); font-weight: 500; font-size: 24px; letter-spacing: -.4px; white-space: nowrap; }
.brand-light { color: var(--white); }
.nav-list a, .nav-list .drop a { color: inherit; }

@media (min-width: 1200px) {
  .main-nav { position: absolute; left: 50%; top: 0; transform: translateX(-50%); height: 100%; }
  .nav-panel, .nav-list { height: 100%; display: flex; align-items: center; }
  .nav-list { gap: 8px; line-height: 1.6; }
  .nav-list > li { height: 100%; position: relative; display: flex; align-items: center; }
  .nav-list > li > a { display: inline-flex; align-items: center; height: 100%; padding: 10px 15px; position: relative; }
  .nav-list > li > a::before {
    content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--navy);
    transform: scale(0); transition: transform .4s cubic-bezier(.68, -.55, .265, 1.55);
  }
  .nav-list > li > a:hover, .nav-list > li > a[aria-current], .nav-list > li.is-on > a { color: var(--ink); }
  .nav-list > li > a:hover::before, .nav-list > li > a[aria-current]::before { transform: scale(1); }
  .has-drop > a { padding-right: 32px !important; }
  .has-drop > a::before { display: none; }
  .drop-toggle { position: absolute; right: 10px; top: 50%; width: 16px; height: 16px; margin-top: -8px; pointer-events: none; }
  .drop-toggle span { display: block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translate(4px, 1px) rotate(45deg); }
  .drop {
    position: absolute; top: calc(100% + 20px); left: 0; width: 240px; padding: 15px 0; background: var(--white);
    box-shadow: 0 1px 10px rgba(0, 0, 0, .1); border-radius: 0 0 5px 5px;
    visibility: hidden; opacity: 0; pointer-events: none; transition: all .4s ease;
  }
  .drop a { display: block; padding: 6px 20px; }
  .drop a:hover, .drop a[aria-current] { color: var(--ink); }
  .has-drop:hover > .drop, .has-drop:focus-within > .drop { visibility: visible; opacity: 1; pointer-events: auto; top: 100%; }
  .has-drop:hover > a, .has-drop:focus-within > a { color: var(--ink); }
  .menu-toggle, .nav-cta { display: none; }
}
@media (max-width: 1199px) {
  .header-right { display: none; }
  .menu-toggle { width: 30px; height: 27px; position: relative; z-index: 1002; color: var(--ink); }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 100%; height: 2px; background: currentColor; }
  .menu-toggle span { position: relative; transition: background .2s .2s; }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; transition: margin .2s .2s, transform .2s 0s; }
  .menu-toggle span::before { margin-top: -9px; }
  .menu-toggle span::after { margin-top: 9px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; transition-delay: .2s; }
  .menu-toggle[aria-expanded="true"] span::before { margin-top: 0; transform: rotate(45deg); transition: margin .2s 0s, transform .2s .2s; }
  .menu-toggle[aria-expanded="true"] span::after { margin-top: 0; transform: rotate(-45deg); transition: margin .2s 0s, transform .2s .2s; }
  .nav-panel {
    position: fixed; top: 0; left: -100vw; width: 100vw; height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
    background: var(--white); color: var(--ink); padding: calc(var(--header) + 8px) 24px 40px; transition: left .4s ease; z-index: 1001;
  }
  .nav-panel.is-open { left: 0; }
  .nav-list > li { position: relative; border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; font-size: 17px; padding: 12px 48px 12px 0; line-height: 1.4; }
  .nav-list a[aria-current] { color: var(--accent-deep); }
  .drop { display: none; padding: 0 0 10px 15px; }
  .drop a { font-size: 16px; padding: 8px 0; color: var(--body); }
  .has-drop.is-open > .drop { display: block; }
  .drop-toggle { position: absolute; right: 0; top: 4px; width: 44px; height: 40px; display: flex; align-items: center; justify-content: center; }
  .drop-toggle span { position: relative; width: 12px; height: 12px; }
  .drop-toggle span::before, .drop-toggle span::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; background: currentColor; transition: transform .3s ease; }
  .drop-toggle span::before { transform: rotate(90deg); }
  .drop-toggle[aria-expanded="true"] span::before { transform: rotate(0); }
  .nav-cta { padding-top: 24px; }
}

/*==============================================================
  07. Footer
================================================================*/
.site-footer { background: var(--ink); color: var(--foot-text); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-top: 100px; padding-bottom: 50px; }
.footer-about > * + * { margin-top: var(--stack); }
.footer-about .brand { color: var(--white); }
.footer-about p { max-width: 512px; font-size: 16px; }
.footer-signup {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 512px;
  border: 1px solid rgba(160, 175, 192, .4); padding: 7px 7px 7px 14px; color: var(--foot-text);
}
.footer-signup .btn { padding: 9px 22px; }
.footer-signup .btn:hover { background: var(--white); color: var(--ink); }
.footer-h { font-size: 20px; letter-spacing: -.24px; color: var(--white); font-weight: 600; margin-bottom: 24px; }
.footer-col ul { display: flex; flex-direction: column; gap: 16px; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li span { color: var(--white); margin-right: 6px; }
.footer-note { padding-bottom: 32px; }
.footer-note p { font-size: 13px; line-height: 1.6; max-width: 980px; color: var(--foot-text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap-reverse; gap: 16px 30px; padding-top: 24px; padding-bottom: 24px; position: relative; font-size: 15px; }
.footer-bottom::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 1px; background: rgba(160, 175, 192, .4); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-right: 64px; }
@media (max-width: 575px) { .footer-legal { margin-right: 0; padding-bottom: 56px; } }
.footer-legal a:hover { color: var(--accent); }
@media (max-width: 1199px) { .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 991px) { .footer-main { padding-top: 56px; padding-bottom: 40px; } }
@media (max-width: 575px) {
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-signup { flex-direction: column; align-items: stretch; padding: 14px; }
  .footer-bottom::before { left: 16px; right: 16px; }
}
.scroll-up {
  position: fixed; right: 15px; bottom: 20px; z-index: 990; width: 50px; height: 50px; border-radius: 50%;
  background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center;
  transform: translateY(200px) scale(0); transition: transform .6s cubic-bezier(.88, .55, .265, .55);
}
.scroll-up::before { content: ""; position: absolute; width: 46px; height: 46px; border-radius: 50%; background: var(--white); transform: scale(0); transition: transform .4s cubic-bezier(.68, .55, .265, .55); }
.scroll-up:hover::before { transform: scale(1); }
.scroll-up svg { width: 22px; height: 22px; position: relative; }
.scroll-up.is-on { transform: translateY(0) scale(1); }
@media (max-width: 575px) { .scroll-up { width: 40px; height: 40px; } .scroll-up::before { width: 36px; height: 36px; } }

/*==============================================================
  08. Hero (cs_hero): copy left, the four-photo mosaic right
================================================================*/
.hero { padding-top: 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 536px); gap: 40px 100px; align-items: stretch; }
.hero-copy { max-width: 695px; }
.hero-copy > * + * { margin-top: var(--stack); }
.hero h1 { font-size: 72px; line-height: 1.11; letter-spacing: -1.44px; }
.hero-sub { font-size: 20px; line-height: 1.4; }
.hero-btns { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding-top: 4px; }
.hero-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 16px; height: 100%; min-height: 424px; }
.hm { position: relative; overflow: hidden; }
.hm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm1 { grid-column: 1; grid-row: 1 / span 2; }
.hm2 { grid-column: 2 / span 2; grid-row: 1 / span 3; }
.hm3 { grid-column: 1; grid-row: 3 / span 2; }
.hm4 { grid-column: 2 / span 2; grid-row: 4; }
@media (max-width: 1199px) { .hero h1 { font-size: 65px; } .hero-grid { gap: 40px 48px; } }
@media (max-width: 991px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 54px; }
  .hero-mosaic { gap: 10px; min-height: 0; height: 420px; }
}
@media (max-width: 575px) {
  .hero h1 { font-size: 46px; }
  .hero-sub { font-size: 18px; }
  .hero-mosaic { height: 266px; }
  .hero-btns { gap: 16px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 38px; letter-spacing: -1px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
}

/*==============================================================
  09. Featured card (cs_cta_style_1): one wide photograph, the
  meta and tag along the top, the title and button along the foot.
================================================================*/
.feature-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 50px; min-height: 510px; overflow: hidden; color: var(--white); }
.feature-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.38, .55, .265, .55); }
.feature-card:hover > img { transform: scale(1.03); }
.feature-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 33, .25) 0%, rgba(8, 20, 33, .62) 70%, rgba(8, 20, 33, .7) 100%); }
.feature-top, .feature-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 24px 30px; }
.feature-top { padding: 32px 32px 0; }
.feature-bottom { padding: 0 32px 32px; align-items: flex-end; }
.feature-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; }
.feature-meta svg { width: 24px; height: 24px; }
.tag { background: var(--ink); color: var(--white); padding: 6px 12px; font-size: 18px; }
.feature-bottom h3 { color: var(--white); font-size: 24px; font-weight: 500; letter-spacing: -.24px; margin-bottom: var(--stack); }
.feature-bottom > div { max-width: 740px; }
.feature-bottom p { color: #EEF4F8; }
.feature-card:hover .btn-ghost { background: var(--white); color: var(--ink); }
@media (max-width: 991px) {
  .feature-card { min-height: 460px; }
  .feature-top { padding: 30px 15px 0; flex-wrap: wrap; }
  .feature-bottom { padding: 0 15px 30px; flex-direction: column; align-items: flex-start; }
}

/*==============================================================
  10. Bands: the grey strip where the template had partner logos
================================================================*/
.band-gray { background: var(--wash); padding: 80px 0; }
.band-title { text-align: center; font-size: 40px; line-height: 1.2; letter-spacing: -.8px; margin-bottom: var(--block); }
.nots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.nots li { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-family: var(--head); font-weight: 600; font-size: 22px; letter-spacing: -.3px; }
.nots svg { width: 40px; height: 40px; flex: none; stroke-width: 1.4; }
@media (max-width: 1199px) { .nots { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nots li { justify-content: flex-start; } }
@media (max-width: 575px) { .band-gray { padding: 56px 0; } .band-title { font-size: 32px; } .nots { grid-template-columns: minmax(0, 1fr); gap: 16px; } .nots li { font-size: 19px; } }

/*==============================================================
  11. About split (cs_about_style_1): two photographs with a panel
  laid across their foot, the copy beside them
================================================================*/
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.about-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-right: 24px; }
.about-pics img { width: 100%; height: 470px; object-fit: cover; }
.about-panel { position: relative; z-index: 1; display: flex; justify-content: center; gap: 32px; width: min(100%, 564px); min-height: 108px; margin: -108px 48px 0 auto; padding: 20px; background: var(--wash); text-align: center; }
.about-panel li { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; }
.about-panel svg { width: 30px; height: 30px; color: var(--accent-deep); }
.about-copy > * + * { margin-top: var(--stack); }
@media (max-width: 1399px) { .about-pics { padding-right: 0; } .about-panel { margin: 0; width: 100%; } }
@media (max-width: 991px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .about-pics img { height: 360px; } }
@media (max-width: 575px) { .about-pics { gap: 12px; } .about-pics img { height: 240px; } .about-panel { gap: 12px; padding: 18px 10px; } .about-panel li { font-size: 13px; } }

/*==============================================================
  12. Values beside the four-photo mosaic (cs_card_style_1 with
  cs_iconbox_style_1)
================================================================*/
.values-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.values-copy h2 { margin-bottom: var(--block); }
.value-list { display: flex; flex-direction: column; gap: 48px; }
.value { display: flex; gap: 24px; }
.value-icon { width: 56px; height: 56px; flex: none; margin-top: 6px; color: var(--accent-deep); }
.value-icon svg { width: 100%; height: 100%; stroke-width: 1.2; }
.value h3 { font-size: 24px; font-weight: 500; letter-spacing: -.24px; margin-bottom: 12px; }
.values-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 20px; min-height: 640px; }
.vp { position: relative; overflow: hidden; }
.vp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vp1 { grid-column: 1; grid-row: 1 / span 2; }
.vp2 { grid-column: 2; grid-row: 1 / span 3; }
.vp3 { grid-column: 1; grid-row: 3 / span 2; }
.vp4 { grid-column: 2; grid-row: 4; }
@media (max-width: 991px) {
  .values-grid { grid-template-columns: minmax(0, 1fr); }
  .value-list { gap: 24px; }
  .value { gap: 15px; }
  .value-icon { width: 50px; height: 50px; margin-top: 0; }
  .values-pics { gap: 12px; min-height: 0; height: 520px; }
}
@media (max-width: 420px) { .values-pics { height: 420px; } }

/*==============================================================
  13. Photo strip (cs_card_wrapper_style_1.cs_scroll_slide): the
  stage cards drift sideways, faster while the page scrolls, and a
  mouse can drag them. Clones fill the loop and are hidden from
  assistive tech.
================================================================*/
.strip { --card-w: 20%; --card-h: 520px; display: flex; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip-card { flex: 0 0 auto; width: var(--card-w); height: var(--card-h); position: relative; overflow: hidden; }
.strip-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.strip-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(8, 20, 33, .5) 70%, rgba(8, 20, 33, .66) 100%); }
.strip-info { position: absolute; left: 0; bottom: 0; z-index: 2; width: min(100%, 300px); padding: 0 20px 24px; color: #EEF4F8; }
.strip-info h3 { color: var(--white); font-size: 24px; font-weight: 500; letter-spacing: -.24px; margin-bottom: 12px; }
@media (max-width: 1399px) { .strip-info { padding: 20px 12px 20px 16px; } }
@media (max-width: 991px) { .strip { --card-w: 33.333%; } }
@media (max-width: 767px) { .strip { --card-w: 50%; --card-h: 400px; } }
@media (max-width: 575px) { .strip { --card-w: 72%; --card-h: 360px; } .strip-info h3 { font-size: 22px; } }

/*==============================================================
  14. Icon cards (cs_iconbox_style_2): an aqua tile, and a border
  that draws itself round the card on hover
================================================================*/
.iconbox-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.iconbox { position: relative; height: 100%; padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.iconbox::before, .iconbox::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.iconbox::before { border-top: 1px solid var(--accent-deep); border-bottom: 1px solid var(--accent-deep); transform: scaleX(0); transition: transform .3s ease; }
.iconbox::after { border-left: 1px solid var(--accent-deep); border-right: 1px solid var(--accent-deep); transform: scaleY(0); transition: transform .3s ease .2s; }
.iconbox:hover::before { transform: scaleX(1); }
.iconbox:hover::after { transform: scaleY(1); }
.iconbox-icon { display: inline-flex; padding: 16px; background: var(--accent); color: var(--ink); }
.iconbox-icon svg { width: 32px; height: 32px; stroke-width: 1.3; }
.iconbox h3 { font-size: 22px; font-weight: 500; letter-spacing: -.24px; color: var(--navy); margin: 24px 0 12px; }
.iconbox p { margin-bottom: 20px; }
.iconbox .more-link { margin-top: auto; position: relative; z-index: 1; }
@media (max-width: 1199px) { .iconbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .iconbox-grid { grid-template-columns: minmax(0, 1fr); } .iconbox { padding: 20px 15px; } .iconbox-icon { padding: 12px; } }

/*==============================================================
  15. Photo cards (cs_card_style_3): a pale panel sweeps in from the
  left on hover and the caption turns dark
================================================================*/
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.photo-card { position: relative; display: flex; align-items: flex-end; min-height: 450px; overflow: hidden; color: var(--wash); }
.photo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(8, 20, 33, .55) 70%, rgba(8, 20, 33, .6) 100%); transition: opacity .3s ease; }
.photo-card-info { position: relative; z-index: 1; width: 100%; padding: 24px; }
.photo-card-info::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--wash); transform: scaleX(0); transform-origin: right; transition: transform .3s cubic-bezier(.38, .55, .25, .55); }
.photo-card-info > * { position: relative; z-index: 1; }
.photo-card h3 { display: inline; color: var(--white); font-size: 24px; font-weight: 500; letter-spacing: -.24px; }
.photo-card p { margin-top: 12px; transition: color .4s ease; }
.photo-card:hover .photo-card-shade { opacity: 0; }
.photo-card:hover .photo-card-info::before { transform: scaleX(1); transform-origin: left; }
.photo-card:hover h3 { color: var(--ink); background-size: 100% 1px; background-position: 0 100%; }
.photo-card:hover p { color: var(--body); }
@media (max-width: 1399px) { .photo-card-info { padding: 20px 12px 20px 16px; } }
@media (max-width: 1199px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .photo-grid { grid-template-columns: minmax(0, 1fr); } .photo-card { min-height: 340px; } }

/*==============================================================
  16. Numbered slider (cs_testimonial_style_1) and post cards
================================================================*/
.q-slider { text-align: center; }
.q-slide { width: min(100%, 716px); margin: 0 auto; }
.q-slide h3 { font-size: 24px; font-weight: 500; letter-spacing: -.288px; margin-bottom: var(--stack); }
.q-slide p { margin-bottom: 0; }
.q-slide .q-when { margin-top: var(--stack); color: var(--muted); }
.q-when b { font-family: var(--head); font-weight: 600; color: var(--navy); margin-right: 6px; font-size: 18px; }
.js .q-slide.is-entering { animation: qIn .6s ease both; }
@keyframes qIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.q-tabs { display: flex; justify-content: center; gap: 8px 24px; margin-top: var(--block); }
.q-tab { position: relative; padding: 6px 4px; color: var(--muted); font-size: 16px; transition: color .3s ease; }
.q-tab::before { content: ""; position: absolute; right: 100%; top: 50%; width: 0; height: 1px; background: var(--ink); margin-right: 8px; transition: width .4s ease; }
.q-tab.is-active { color: var(--ink); margin-left: 24px; }
.q-tab.is-active::before { width: 16px; }
.q-tab:hover { color: var(--ink); }
@media (max-width: 575px) { .q-slide h3 { font-size: 22px; } }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.post-thumb { display: block; overflow: hidden; }
.post-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.post-thumb:hover img { transform: scale(1.03); }
.post-meta { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 24px 0 16px; color: var(--muted); }
.post-meta li + li { padding-left: 16px; position: relative; }
.post-meta li + li::before { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 20px; background: var(--line2); }
.post h3 { font-size: 20px; font-weight: 600; letter-spacing: -.24px; margin-bottom: 12px; }
@media (max-width: 991px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .post-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/*==============================================================
  17. Accordion (cs_accordian.cs_style_1): the plus turns to a cross,
  the open row greys, and an aqua rule grows beside the answer
================================================================*/
.acc-wrap { width: min(900px, 100%); margin: 0 auto; }
.acc-list { display: flex; flex-direction: column; gap: 16px; }
.acc { border: 1px solid var(--line); transition: background-color .3s ease, border-color .3s ease; }
.acc-q { font-family: var(--head); font-size: 20px; font-weight: 500; letter-spacing: -.24px; }
.acc-q button { position: relative; display: block; width: 100%; text-align: left; padding: 24px 60px 24px 19px; color: var(--ink); line-height: 1.4; }
.acc-toggle { position: absolute; right: 24px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--ink); transition: transform .3s ease; }
.acc-toggle::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: rotate(-90deg); }
.acc-a { padding: 0 19px 24px; margin-top: -4px; }
.acc-a p { position: relative; padding-left: 19px; line-height: 1.5; }
.acc-a p::before { content: ""; position: absolute; left: 0; bottom: 0; width: 3px; height: 0; background: var(--accent-deep); transition: height .4s ease; }
.acc.is-open { border-color: var(--wash); background: var(--wash); }
.acc.is-open .acc-toggle { transform: rotate(-45deg); }
.acc.is-open .acc-a p::before { height: 100%; }
.js .acc:not(.is-open) .acc-a { display: none; }
.faq-group + .faq-group { margin-top: var(--block); }
.faq-group h2 { font-size: 30px; letter-spacing: -.5px; margin-bottom: var(--stack); }
@media (max-width: 767px) {
  .acc-q { font-size: 18px; }
  .acc-q button { padding: 20px 44px 20px 20px; }
  .acc-a { padding: 0 20px 20px; }
  .acc-a p { padding-left: 12px; }
  .acc-a p::before { width: 2px; }
  .acc-toggle { right: 16px; }
}

/*==============================================================
  18. CTA banners: the light photograph (cs_cta_style_2) and the
  navy and aqua split (cs_cta_style_3)
================================================================*/
.cta-banner { position: relative; padding: 88px 0 95px; overflow: hidden; color: var(--body); }
.cta-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center 60%; }
.cta-banner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .82) 45%, rgba(255, 255, 255, .2) 75%, rgba(255, 255, 255, 0) 100%); }
.cta-banner-in { position: relative; z-index: 1; }
.cta-banner-in > * { max-width: 750px; }
.cta-banner-in > * + * { margin-top: var(--stack); }
.cta-banner p { font-size: 20px; line-height: 1.4; }
@media (max-width: 991px) { .cta-banner { padding: 64px 0; } .cta-banner-bg::after { background: linear-gradient(90deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .78)); } }
@media (max-width: 575px) { .cta-banner p { font-size: 18px; } }
.split-cta { display: flex; }
.split-cta-left { width: 76%; padding: 88px 50px; background: var(--ink); }
.split-cta-left h2 { color: var(--white); font-size: 36px; line-height: 1.25; letter-spacing: -.6px; }
.split-cta-right { width: 24%; padding: 88px 20px; display: flex; align-items: center; justify-content: center; background: var(--accent); }
@media (max-width: 1199px) { .split-cta-left, .split-cta-right { padding: 40px 20px; } .split-cta-left h2 { font-size: 28px; } }
@media (max-width: 991px) { .split-cta { flex-direction: column; } .split-cta-left, .split-cta-right { width: 100%; } }

/*==============================================================
  19. Forms (cs_form_field: square, bordered, generous padding)
================================================================*/
.form-wrap { position: relative; background: var(--white); }
.signup-band .form-wrap, .signup-page-grid .form-wrap { padding: 32px; border: 1px solid var(--line); }
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { position: relative; }
.field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.field input, .field select, .field textarea {
  display: block; width: 100%; padding: 16px 24px; border: 1px solid var(--line); border-radius: 0; background: var(--white);
  font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: border-color .4s ease;
  -webkit-appearance: none; appearance: none;
}
.field select { padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313293F' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 18px; }
.field select:invalid { color: #5F6E82; }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #5F6E82; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-deep); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--body); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.check.has-error span { color: #B3261E; }
.form-error { min-height: 0; margin: 0; color: #B3261E; font-size: 14px; }
.form-error:empty { display: none; }
.lead-form .btn { margin-top: 4px; }
.form-done { display: none; text-align: center; padding: 40px 16px; }
.form-done > * + * { margin-top: 16px; }
.done-icon { display: inline-flex; padding: 14px; background: var(--accent); color: var(--ink); }
.done-icon svg { width: 32px; height: 32px; }
.form-done h3 { font-size: 26px; letter-spacing: -.3px; }
.form-wrap.is-done .lead-form { display: none; }
.form-wrap.is-done .form-done { display: block; }
@media (max-width: 575px) { .field-row { grid-template-columns: minmax(0, 1fr); } .signup-band .form-wrap, .signup-page-grid .form-wrap { padding: 20px 16px; } .field input, .field select, .field textarea { padding: 14px 16px; } }

.check-list { display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-icon { width: 24px; height: 24px; flex: none; margin-top: 0; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--ink); }
.check-icon svg { width: 15px; height: 15px; stroke-width: 2.2; }
.check-list-lg li { font-size: 18px; }
.reach { display: flex; flex-direction: column; gap: 14px; }
.reach li { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.reach svg { width: 20px; height: 20px; color: var(--accent-deep); flex: none; }
.reach span { font-family: var(--head); font-weight: 600; color: var(--ink); }
.reach a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line2); }
.reach a:hover { text-decoration-color: var(--ink); }

/* The sign-up band on the home and how-it-works pages */
.signup-band { background: var(--wash); }
.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.signup-copy > * + * { margin-top: var(--stack); }
.signup-copy .lede, .signup-copy > p { font-size: 18px; }
.signup-copy .value-list { gap: 28px; }
.signup-copy .value-icon { width: 44px; height: 44px; margin-top: 2px; }
.signup-copy .value h3 { font-size: 20px; margin-bottom: 6px; }
@media (max-width: 991px) { .signup-grid { grid-template-columns: minmax(0, 1fr); } }
.signup-band.section-flush-top { padding-top: var(--sec); }

/*==============================================================
  20. Inner page head (cs_page_header_style_1)
================================================================*/
.page-head { position: relative; padding: 130px 0 120px; text-align: center; color: var(--white); overflow: hidden; }
.page-head-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-head-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 14, 24, .5) 0%, rgba(5, 14, 24, .74) 70%, rgba(5, 14, 24, .58) 100%); }
.page-head-in { position: relative; z-index: 1; }
.page-head h1 { color: var(--white); font-size: 56px; line-height: 1.07; letter-spacing: -1.12px; max-width: 980px; margin: 0 auto; }
.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 0; margin-top: var(--stack); font-size: 16px; }
.crumbs li + li::before { content: "/"; padding: 0 8px; }
.crumbs a:hover { color: var(--accent); }
@media (max-width: 991px) { .page-head { padding: 80px 0 60px; } .page-head h1 { font-size: 44px; } }
@media (max-width: 575px) { .page-head h1 { font-size: 34px; letter-spacing: -.7px; } .crumbs { font-size: 15px; } }

/*==============================================================
  21. Detail pages + sidebar (the template's service details)
================================================================*/
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 416px); gap: 48px; align-items: start; }
.detail-main > * + * { margin-top: var(--stack); }
.detail-pic img { width: 100%; max-height: 540px; object-fit: cover; }
.detail-main h2 { font-size: 40px; line-height: 1.2; letter-spacing: -.8px; }
.detail-main h3 { font-size: 30px; line-height: 1.25; letter-spacing: -.5px; padding-top: 12px; }
.detail-main h3.acc-q { font-size: 20px; letter-spacing: -.24px; padding-top: 0; }
@media (max-width: 767px) { .detail-main h3.acc-q { font-size: 18px; } }
.detail-main blockquote { position: relative; padding: 30px; background: var(--wash); }
.detail-main blockquote::before { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 100%; background: var(--accent-deep); }
.detail-main blockquote p { font-family: var(--head); font-weight: 600; font-size: 20px; line-height: 1.5; color: var(--ink); }
.post-details h2 { font-size: 32px; letter-spacing: -.5px; padding-top: 12px; }
.post-details > div > * + * { margin-top: var(--stack); }
.post-details .post-meta { margin: var(--stack) 0 0; }
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.side-box { padding: 24px; background: var(--wash); }
.side-box h2, .side-cta h2 { font-size: 22px; letter-spacing: -.24px; margin-bottom: 20px; }
.side-menu { display: flex; flex-direction: column; gap: 8px; }
.side-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); transition: all .4s ease; }
.side-menu a svg { width: 16px; height: 16px; flex: none; transition: transform .3s ease; }
.side-menu a:hover, .side-menu a.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.side-menu a:hover svg, .side-menu a.is-active svg { transform: translateX(4px); }
.side-cta { padding: 32px 24px; background: var(--ink); text-align: center; color: var(--foot-text); }
.side-cta h2 { color: var(--white); }
.side-cta p { margin-bottom: 24px; }
.side-cta .btn-fill:hover { background: var(--white); color: var(--ink); }
.side-posts { display: flex; flex-direction: column; gap: 16px; }
.side-posts a { display: flex; gap: 14px; align-items: center; }
.side-posts img { width: 78px; height: 78px; object-fit: cover; flex: none; }
.side-posts b { display: block; font-family: var(--head); font-weight: 600; color: var(--ink); line-height: 1.3; }
.side-posts small { color: var(--muted); font-size: 14px; }
.side-posts a:hover b { color: var(--accent-deep); }
@media (max-width: 1199px) { .detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 32px; } }
@media (max-width: 991px) { .detail-grid { grid-template-columns: minmax(0, 1fr); } .sidebar { position: static; } }
@media (max-width: 575px) {
  .detail-main h2 { font-size: 32px; }
  .detail-main h3 { font-size: 25px; }
  .detail-main blockquote { padding: 18px 18px 18px 22px; }
  .detail-main blockquote p { font-size: 18px; }
  .side-box { padding: 20px 15px; }
}

/*==============================================================
  22. Steps (the template's How We Work list, lit one by one) and
  the pay cards (its pricing cards, with no prices)
================================================================*/
.step-list { width: min(900px, 100%); margin: 0 auto; }
.step { position: relative; display: flex; gap: 32px; padding-bottom: 48px; }
.step:last-child { padding-bottom: 0; }
.step-num {
  position: relative; width: 64px; height: 64px; flex: none; display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 700; font-size: 24px; color: var(--muted); border: 1px solid var(--line);
  transition: color .4s ease, background-color .4s ease, border-color .4s ease;
}
.step-num::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--accent-deep); opacity: 0; pointer-events: none; }
.step-line { position: absolute; left: 32px; top: 72px; bottom: 8px; width: 1px; background: var(--line); }
.step-line::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--accent-deep); transition: height .5s ease; }
.step:last-child .step-line { display: none; }
.step h3 { font-size: 24px; font-weight: 600; letter-spacing: -.24px; margin: 4px 0 12px; }
.step.is-done .step-num, html:not(.js) .step-num { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.step.is-done .step-num::after { animation: ring .9s ease-out .1s; }
.step.is-done .step-line::after { height: 100%; transition: height .8s ease .2s; }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
@media (max-width: 767px) {
  .step { gap: 20px; padding-bottom: 32px; }
  .step-num { width: 50px; height: 50px; font-size: 20px; }
  .step-line { left: 25px; top: 58px; }
  .step h3 { font-size: 21px; }
}
.pay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pay-card { position: relative; display: flex; flex-direction: column; padding: 32px; background: var(--white); border: 1px solid var(--line); }
.pay-card::before, .pay-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.pay-card::before { border-top: 1px solid var(--accent-deep); border-bottom: 1px solid var(--accent-deep); transform: scaleX(0); transition: transform .3s ease; }
.pay-card::after { border-left: 1px solid var(--accent-deep); border-right: 1px solid var(--accent-deep); transform: scaleY(0); transition: transform .3s ease .2s; }
.pay-card:hover::before { transform: scaleX(1); }
.pay-card:hover::after { transform: scaleY(1); }
.pay-head { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.pay-head h2 { font-size: 26px; letter-spacing: -.3px; margin-bottom: 10px; }
.pay-head p { color: var(--muted); }
.pay-card .check-list { flex-grow: 1; margin-bottom: 32px; }
.pay-card:hover .btn-fill { background: var(--ink); color: var(--white); }
.pay-card-dark { background: var(--ink); border-color: var(--ink); color: var(--foot-text); }
.pay-card-dark h2 { color: var(--white); }
.pay-card-dark .pay-head { border-bottom-color: rgba(255, 255, 255, .15); }
.pay-card-dark .pay-head p { color: var(--foot-text); }
.pay-card-dark:hover .btn-fill { background: var(--white); color: var(--ink); }
@media (max-width: 1199px) { .pay-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 0 auto; } }
@media (max-width: 575px) { .pay-card { padding: 24px 15px; } }

/*==============================================================
  23. About page parts
================================================================*/
.about-top { padding-top: 64px; }
.about-top .page-title { margin-bottom: var(--block); max-width: 1100px; }
.about-mosaic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .65fr) minmax(0, .35fr); grid-template-rows: 268px 262px; gap: 24px; }
.am { position: relative; overflow: hidden; }
.am img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.am1 { grid-column: 1; grid-row: 1 / span 2; }
.am2 { grid-column: 2 / span 2; grid-row: 1; }
.am3 { grid-column: 2; grid-row: 2; }
.am-facts { grid-column: 3; grid-row: 2; display: flex; flex-direction: column; justify-content: center; gap: 18px; text-align: center; }
.am-facts b { display: block; font-family: var(--head); font-size: 30px; color: var(--ink); letter-spacing: -.5px; line-height: 1.1; }
.am-facts span { font-size: 15px; color: var(--ink); }
@media (max-width: 991px) {
  .about-mosaic { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 300px 220px auto; gap: 12px; }
  .am1 { grid-column: 1 / -1; grid-row: 1; }
  .am2 { grid-column: 1; grid-row: 2; }
  .am3 { grid-column: 2; grid-row: 2; }
  .am-facts { grid-column: 1 / -1; grid-row: 3; flex-direction: row; justify-content: space-around; padding: 20px 0; background: var(--wash); }
}
@media (max-width: 575px) { .about-mosaic { grid-template-rows: 240px 160px auto; } .am-facts { gap: 8px; } .am-facts b { font-size: 22px; } .am-facts span { font-size: 13px; } }
.vm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.vm-card { position: relative; min-height: 520px; padding: 20px; display: flex; align-items: flex-end; overflow: hidden; }
.vm-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vm-info { position: relative; z-index: 1; background: var(--white); padding: 25px; }
.vm-head { display: flex; align-items: center; gap: 24px; margin-bottom: 16px; }
.vm-icon { display: inline-flex; padding: 11px 11px 12px 12px; background: var(--accent); color: var(--ink); }
.vm-icon svg { width: 26px; height: 26px; }
.vm-head h2 { font-size: 24px; letter-spacing: -.24px; }
@media (max-width: 991px) { .vm-grid { grid-template-columns: minmax(0, 1fr); } .vm-card { min-height: 440px; padding: 20px 15px; } .vm-info { padding: 22px 15px; } }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: center; }
.why-pic { background: var(--wash); }
.why-pic img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.why-copy > * + * { margin-top: var(--stack); }
.why-copy h2 { font-size: 48px; }
@media (max-width: 991px) { .why-grid { grid-template-columns: minmax(0, 1fr); } .why-copy h2 { font-size: 38px; } }
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.iconbox-mini { padding: 24px; }
.mini-icon { width: 32px; height: 32px; color: var(--accent-deep); }
.mini-icon svg { width: 32px; height: 32px; }
.iconbox-mini h3 { font-size: 20px; margin: 20px 0 10px; }
@media (max-width: 1199px) { .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .mini-grid { grid-template-columns: minmax(0, 1fr); } }
.life { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); background: var(--wash); }
.life-main { padding: 72px 60px; min-width: 0; }
.life-tabs { display: flex; overflow-x: auto; scrollbar-width: none; margin-bottom: 32px; }
.life-tabs::-webkit-scrollbar { display: none; }
.life-tab { flex: none; width: min(20%, 150px); min-width: 120px; padding-bottom: 54px; position: relative; text-align: left; font-family: var(--head); font-weight: 600; font-size: 20px; letter-spacing: -.4px; color: var(--muted); }
.life-tab::before { content: ""; position: absolute; left: 30px; bottom: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--line2); z-index: 1; transition: background-color .3s ease; }
.life-tab::after { content: ""; position: absolute; left: 0; bottom: 9px; width: 100%; height: 1px; background: var(--line2); }
.life-tab.is-active { color: var(--ink); }
.life-tab.is-active::before { background: var(--accent-deep); }
.life-pane h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.life-pane p { font-size: 18px; line-height: 1.5; max-width: 640px; }
.js .life-pane.is-entering { animation: qIn .5s ease both; }
.life-arrows { display: flex; gap: 12px; margin-top: 32px; }
.life-arrows button { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--ink); transition: background-color .3s ease, color .3s ease; }
.life-arrows button:hover { background: var(--ink); color: var(--white); }
.life-arrows svg { width: 18px; height: 18px; }
.life-prev svg { transform: rotate(180deg); }
.life-pic { padding-left: 0; }
.life-pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991px) { .life { grid-template-columns: minmax(0, 1fr); } .life-main { padding: 24px 24px 32px; } .life-pic { max-height: 380px; overflow: hidden; } .life-tab { padding-bottom: 40px; } .life-tab::before { left: 15px; } }
@media (max-width: 575px) { .life-main { padding: 24px 15px 28px; } .life-tab { font-size: 17px; min-width: 104px; } .life-pane p { font-size: 16px; } }

/*==============================================================
  24. Contact, sign-up page, legal, motion, misc
================================================================*/
.contact-top { padding-top: 64px; }
.contact-top-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.contact-top-grid > div:first-child > * + * { margin-top: var(--stack); }
.contact-top .lede { font-size: 22px; }
.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.info-card { padding: 18px; border: 1px solid var(--line); }
.info-card h2 { font-size: 22px; letter-spacing: -.24px; margin-bottom: 14px; }
.info-line { display: flex; align-items: flex-start; gap: 8px; color: var(--ink); margin-bottom: 10px; word-break: break-word; }
.info-line svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.info-card p:last-child { font-size: 14px; color: var(--muted); }
.contact-pic img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.contact-form-grid { display: grid; grid-template-columns: minmax(0, 644px) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.next-card { position: relative; min-height: 475px; overflow: hidden; display: flex; align-items: flex-end; justify-content: flex-end; padding: 32px; }
.next-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.next-card-in { position: relative; z-index: 1; width: min(420px, 100%); padding: 24px; background: var(--ink); color: var(--wash); }
.next-card-in h2 { color: var(--white); font-size: 24px; margin-bottom: 16px; }
.next-card-in ul { display: flex; flex-direction: column; gap: 12px; }
.next-card-in span { color: var(--white); font-family: var(--head); font-weight: 600; margin-right: 6px; }
@media (max-width: 1199px) { .info-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 991px) {
  .contact-top-grid, .contact-form-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-pic img { min-height: 0; max-height: 380px; }
}
@media (max-width: 575px) { .next-card { padding: 0; flex-direction: column; min-height: 0; } .next-card > img { position: relative; height: 260px; } .next-card-in { width: 100%; padding: 24px 15px; } .contact-top .lede { font-size: 18px; } }
.signup-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.sticky-col { position: sticky; top: 110px; }
@media (max-width: 991px) { .signup-page-grid { grid-template-columns: minmax(0, 1fr); } .sticky-col { position: static; } }
.prose > * + * { margin-top: var(--stack); }
.prose section > * + * { margin-top: 16px; }
.prose h2 { font-size: 30px; letter-spacing: -.5px; }
.prose h3 { font-size: 21px; font-weight: 600; padding-top: 8px; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.prose .check-list { margin-top: 16px; }
.post-meta-line { color: var(--muted); }

/* Preloader (cs_preloader): two bubbles rise inside the aqua disc.
   It leaves on load, and a CSS failsafe takes it away regardless. */
.preloader { position: fixed; inset: 0; z-index: 10001; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 30px; background: var(--ink); }
.js .preloader { display: flex; animation: preOut .4s ease 3.5s forwards; }
.preloader.is-gone { opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s .4s; }
.preloader-dot { position: relative; width: 80px; height: 80px; border-radius: 50%; background: var(--accent); }
.preloader-dot::before, .preloader-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); transform: translate(-50%, -50%) scale(0); animation: bubble 2s linear infinite; }
.preloader-dot::after { animation-delay: 1s; }
.preloader p { color: var(--white); letter-spacing: 4px; text-transform: uppercase; font-size: 14px; }
@keyframes bubble { 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }
@keyframes preOut { to { opacity: 0; visibility: hidden; } }

/* Reveals (the template's AOS fade-down, 800ms ease-in-out, once). Gated on
   .js so a failed script never hides content. */
.js .reveal { opacity: 0; transform: translateY(-24px); transition: opacity .8s ease-in-out, transform .8s ease-in-out; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .preloader { display: none; }
}
