/* ==========================================================================
   Child care website template (live preview). Colors and fonts come from
   CSS variables set by preview.js, so any brand works.
   ========================================================================== */
:root {
  --p: #e8613c; --p-600: #c94e2c; --p-50: #fdeee9; --p-ink: #fff;
  --a: #f2a91d; --a-50: #fdf3dd; --a-ink: #1b2140;
  --ink: #1b2140; --ink-2: #474e6e; --ink-3: #6f7590;
  --bg: #fffaf3; --line: #efe6d8;
  --fh: "Fredoka", system-ui, sans-serif; --fb: "Plus Jakarta Sans", system-ui, sans-serif;
  --r: 22px; --shadow: 0 18px 40px -22px rgba(27, 33, 64, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--fb); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--p-600); }
h1, h2, h3 { font-family: var(--fh); line-height: 1.12; margin: 0 0 .55em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.sec { padding: 72px 0; }
.sec--alt { background: #fff; }
.sec--tint { background: var(--p-50); }
.head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.head p { color: var(--ink-2); margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: .45rem; font: 700 .75rem/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; color: var(--p-600);
  background: var(--p-50); padding: .5rem .8rem; border-radius: 999px; margin-bottom: .9rem; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--p); }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.35rem; border-radius: 999px; font: 700 1rem/1.1 var(--fb); text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn--p { background: var(--p); color: var(--p-ink); }
.btn--p:hover { background: var(--p-600); color: var(--p-ink); }
.btn--a { background: var(--a); color: var(--a-ink); box-shadow: 0 10px 22px -10px var(--a); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--sm { padding: .6rem 1rem; font-size: .9rem; }
.btns { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Announcement & top bar */
.announce { background: var(--ink); color: #fff; font-size: .9rem; text-align: center; padding: .65rem 2.5rem; position: relative; }
.announce a { color: var(--a); font-weight: 700; margin-left: .4rem; }
.announce button { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; opacity: .7; cursor: pointer; font-size: 1.2rem; line-height: 1; }
.topbar { border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: .4rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e2574c; }
.status.is-open::before { background: #22b07d; box-shadow: 0 0 0 4px rgba(34, 176, 125, .18); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(255, 250, 243, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; }
.logo { display: flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; min-width: 0; flex: 1 1 auto; }
.logo__img { width: 54px; height: 54px; border-radius: 16px; object-fit: contain; flex: none; background: #fff; }
.logo__mono { width: 54px; height: 54px; border-radius: 16px; flex: none; display: grid; place-items: center; background: var(--p); color: var(--p-ink); font: 700 1.3rem/1 var(--fh); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12); }
.logo__name { font: 700 1.3rem/1.1 var(--fh); overflow-wrap: break-word; min-width: 0; }
.logo__name small { display: block; font: 700 .68rem/1.2 var(--fb); letter-spacing: .14em; text-transform: uppercase; color: var(--p-600); margin-top: .2rem; }
.menu { display: flex; align-items: center; gap: .2rem; }
.menu a { padding: .55rem .8rem; border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; font-size: .95rem; }
.menu a:hover { background: var(--p-50); }
.hdr__cta { display: flex; gap: .5rem; flex: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--p); }
.hero p.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 520px; margin-bottom: 1.6rem; }
.hero__img { position: relative; }
.hero__img img { border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.hero__card { position: absolute; left: -12px; bottom: 12%; background: #fff; border-radius: 16px; padding: .75rem .95rem; box-shadow: var(--shadow); display: flex; gap: .65rem; align-items: center; font-size: .85rem; }
.hero__card b { display: block; font-size: .95rem; }
.hero__card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--a-50); color: var(--ink); }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.8rem; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.trust span { display: inline-flex; gap: .45rem; align-items: center; }
.trust .icon { color: var(--p); }

/* Programs */
.progs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.prog { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.prog.is-match { outline: 3px solid var(--p); transform: translateY(-4px); box-shadow: var(--shadow); }
.prog img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.prog div { padding: 1rem 1.1rem 1.2rem; }
.prog small { display: inline-block; font-weight: 700; font-size: .78rem; color: var(--p-600); background: var(--p-50); padding: .3rem .6rem; border-radius: 999px; margin-bottom: .5rem; }
.prog h3 { margin-bottom: .2rem; }
.prog p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.finder { max-width: 640px; margin: 0 auto 36px; background: #fff; border-radius: var(--r); padding: 1.1rem; display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; justify-content: center; border: 1px solid var(--line); box-shadow: var(--shadow); }
.finder label { font-weight: 700; }
.finder select, .field input, .field select, .faq__search input { font: inherit; padding: .7rem .9rem; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--ink); }
.finder__out { width: 100%; text-align: center; font-weight: 600; color: var(--ink-2); min-height: 1.4em; margin: 0; }

/* Tour scheduler (demo) */
.sched { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.sched__pick { background: var(--p-50); padding: 28px; }
.sched__form { padding: 28px; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: .45rem; }
.day { border: 0; border-radius: 12px; background: #fff; padding: .55rem .2rem; font: 700 .85rem/1.2 var(--fb); color: var(--ink); cursor: pointer; }
.day small { display: block; font-weight: 600; font-size: .7rem; color: var(--ink-3); }
.day[aria-pressed="true"] { background: var(--p); color: var(--p-ink); }
.day[aria-pressed="true"] small { color: inherit; opacity: .85; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin-top: .9rem; }
.slot { border: 2px solid transparent; border-radius: 12px; background: #fff; padding: .65rem; font: 700 .9rem/1 var(--fb); cursor: pointer; color: var(--ink); }
.slot[aria-pressed="true"] { border-color: var(--p); color: var(--p-600); }
.hint { font-size: .82rem; color: var(--ink-3); margin: .8rem 0 0; }
.field { display: grid; gap: .3rem; margin-bottom: .8rem; }
.field label { font-weight: 700; font-size: .88rem; }
.summary { background: var(--a-50); border-radius: 14px; padding: .8rem 1rem; font-weight: 600; margin-bottom: 1rem; font-size: .92rem; }
.demo-note { font-size: .8rem; color: var(--ink-3); margin: .7rem 0 0; text-align: center; }

/* Availability wizard (demo) */
.wizard { max-width: 760px; margin-inline: auto; background: #fff; border-radius: 28px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: 1.4rem; }
.steps span { height: 8px; border-radius: 99px; background: var(--line); }
.steps span.on { background: var(--p); }
.wizard__q { font: 700 1.2rem/1.3 var(--fh); margin-bottom: 1rem; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.opts button { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: .55rem .9rem; font: 600 .9rem/1 var(--fb); cursor: pointer; color: var(--ink); }
.opts button[aria-pressed="true"] { border-color: var(--p); background: var(--p-50); color: var(--p-600); }

/* Cards grids */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card { background: #fff; border-radius: var(--r); padding: 1.3rem; border: 1px solid var(--line); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--p-50); color: var(--p-600); margin-bottom: .8rem; }
.card .ic .icon { width: 1.3rem; height: 1.3rem; }
.card p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.hol { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.hol div { display: flex; gap: .8rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .8rem; }
.hol b { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--a-50); font: 700 1.2rem/1 var(--fh); flex: none; text-align: center; }
.hol b small { display: block; font: 800 .62rem/1 var(--fb); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.hol span { font-weight: 700; font-size: .92rem; line-height: 1.3; }
.hol span small { display: block; font-weight: 500; color: var(--ink-3); font-size: .8rem; }

/* SC badges */
.sc { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sc > div { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: var(--r); padding: 1.3rem; border: 1px solid var(--line); min-width: 0; }
.sc > div > div { min-width: 0; }
.sc .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--a); color: var(--a-ink); flex: none; }
.sc p { margin: 0; color: var(--ink-2); font-size: .92rem; }

/* Reviews, director */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review { background: #fff; border-radius: var(--r); padding: 1.4rem; border: 1px solid var(--line); margin: 0; }
.review .stars { color: var(--a); letter-spacing: .1em; margin-bottom: .5rem; }
.review blockquote { margin: 0 0 .8rem; color: var(--ink-2); }
.review figcaption { font-weight: 700; font-size: .9rem; }
.review figcaption small { display: block; color: var(--ink-3); font-weight: 500; }
.sample-tag { display: inline-block; font-size: .7rem; font-weight: 700; color: var(--ink-3); border: 1px dashed var(--line); border-radius: 6px; padding: .1rem .4rem; margin-left: .3rem; vertical-align: middle; }
.director { display: grid; grid-template-columns: 180px 1fr; gap: 1.8rem; align-items: center; max-width: 860px; margin-inline: auto; background: #fff; border-radius: 28px; padding: 1.6rem; border: 1px solid var(--line); box-shadow: var(--shadow); }
.director img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }

/* Gallery */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.gal img { border-radius: 18px; aspect-ratio: 1; object-fit: cover; width: 100%; }

/* Careers band */
.careers { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; background: var(--ink); color: #e6e8f2; border-radius: 32px; padding: 32px; }
.careers h2 { color: #fff; }
.careers img { border-radius: 22px; aspect-ratio: 4 / 3; object-fit: cover; }
.careers ul { padding-left: 1.1rem; margin: 0 0 1.4rem; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: .6rem; }
.faq__search { display: flex; gap: .5rem; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: .2rem .8rem; margin-bottom: .6rem; }
.faq__search input { border: 0; flex: 1; padding: .7rem .2rem; outline: none; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 0 1.1rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 700; }
.faq details p { color: var(--ink-2); padding-bottom: 1rem; margin: 0; }

/* Contact & footer */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact__info { background: #fff; border-radius: var(--r); padding: 1.6rem; border: 1px solid var(--line); }
.contact__info p { display: flex; gap: .6rem; align-items: flex-start; }
.contact__info .icon { color: var(--p); margin-top: .25rem; }
.map { border-radius: var(--r); min-height: 260px; background: linear-gradient(135deg, var(--p-50), var(--a-50)); display: grid; place-items: center; color: var(--ink-2); font-weight: 700; text-align: center; padding: 1rem; border: 1px solid var(--line); }
.map .icon { width: 2.2rem; height: 2.2rem; color: var(--p); margin: 0 auto .5rem; }
.foot { background: var(--ink); color: #c7cae0; padding: 44px 0 28px; margin-top: 40px; font-size: .92rem; }
.foot .wrap { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.foot strong { color: #fff; font-family: var(--fh); font-size: 1.2rem; display: block; margin-bottom: .3rem; }

/* Chat (demo) */
.chat-btn { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; align-items: center; gap: .55rem; background: var(--ink); color: #fff; border: 0; border-radius: 999px;
  padding: .45rem 1rem .45rem .45rem; font: 700 .95rem/1 var(--fb); cursor: pointer; box-shadow: var(--shadow); }
.chat-btn i { width: 40px; height: 40px; border-radius: 50%; background: var(--p); color: var(--p-ink); display: grid; place-items: center; }
.chat { position: fixed; right: 18px; bottom: 84px; z-index: 31; width: min(360px, calc(100vw - 36px)); max-height: min(520px, calc(100vh - 110px)); background: #fff; border-radius: 22px;
  box-shadow: 0 30px 60px -20px rgba(27, 33, 64, .45); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat[hidden] { display: none; }
.chat__head { background: var(--p); color: var(--p-ink); padding: .9rem 1rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.chat__head small { display: block; font-weight: 500; opacity: .85; font-size: .78rem; }
.chat__head button { background: none; border: 0; color: inherit; font-size: 1.3rem; cursor: pointer; }
.chat__log { padding: .9rem; overflow-y: auto; display: grid; gap: .5rem; align-content: start; flex: 1; font-size: .9rem; }
.msg { padding: .6rem .8rem; border-radius: 14px; max-width: 88%; line-height: 1.45; margin: 0; }
.msg--bot { background: #f4efe7; border-bottom-left-radius: 4px; }
.msg--me { background: var(--p); color: var(--p-ink); justify-self: end; border-bottom-right-radius: 4px; }
.chat__chips { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 .9rem .6rem; }
.chat__chips button { border: 1.5px solid var(--p); color: var(--p-600); background: #fff; border-radius: 999px; padding: .4rem .7rem; font: 700 .78rem/1 var(--fb); cursor: pointer; }
.chat__form { display: flex; gap: .4rem; padding: .7rem; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; font: inherit; border: 2px solid var(--line); border-radius: 999px; padding: .55rem .9rem; min-width: 0; }
.chat__form button { border: 0; border-radius: 50%; width: 40px; height: 40px; background: var(--p); color: var(--p-ink); display: grid; place-items: center; cursor: pointer; flex: none; }

/* Ribbon when opened as a shared link */
.pv-ribbon { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: .8rem; background: #12152b; color: #fff;
  border-radius: 999px; padding: .45rem .5rem .45rem 1rem; font: 500 .85rem/1 "Plus Jakarta Sans", sans-serif; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); white-space: nowrap; }
.pv-ribbon[hidden] { display: none; }
.pv-ribbon a { color: #fff; font-weight: 700; text-decoration: none; }
.pv-ribbon__cta { background: #ff6b4a; padding: .55rem .9rem; border-radius: 999px; }
.toastp { position: fixed; left: 50%; top: 16px; transform: translate(-50%, -160%); background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 12px; font-size: .88rem; font-weight: 600; z-index: 50; transition: transform .25s; max-width: calc(100vw - 32px); text-align: center; }
.toastp:empty { visibility: hidden; }
.toastp.on { transform: translate(-50%, 0); }

/* Small screens (the mobile preview is 390px wide) */
@media (max-width: 900px) {
  .menu { display: none; }
  .burger { display: grid; }
  .hdr__cta .btn--a { display: none; }
  .hero .wrap, .sched, .careers, .contact, .director, .sc { grid-template-columns: 1fr; }
  .hero__img { max-width: 420px; margin-inline: auto; }
  .progs, .reviews, .hol, .cards { grid-template-columns: 1fr 1fr; }
  .director { text-align: center; }
  .director img { width: 140px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .sec { padding: 52px 0; }
  .hero { padding: 36px 0 52px; }
  .progs, .reviews, .hol, .cards { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr 1fr; }
  .topbar .wrap > :not(.status) { display: none; }
  .hdr__cta .btn { padding: .6rem .9rem; font-size: .88rem; }
  .logo__img, .logo__mono { width: 44px; height: 44px; border-radius: 13px; font-size: 1.05rem; }
  .logo__name { font-size: 1.02rem; }
  .logo__name small { letter-spacing: .08em; }
  .burger { width: 40px; height: 40px; flex: none; }
  .chat-btn span { display: none; }
  .chat-btn { padding: .45rem; }
  .sched__pick, .sched__form, .wizard { padding: 20px; }
  .pv-ribbon > span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ==========================================================================
   Theme layer: values come from the chosen theme (set by preview.js)
   ========================================================================== */
:root { --bg: #fffaf3; --bg-alt: #fff; --r-sm: 14px; --r: 22px; --r-lg: 30px; --btn-r: 999px; --fh-w: 700; }
body { background: var(--bg); }
h1, h2, h3, .logo__name, .wizard__q, .foot strong { font-weight: var(--fh-w); }
.sec--alt { background: var(--bg-alt); }
.hdr { background: color-mix(in srgb, var(--bg) 92%, transparent); }
.btn, .chat-btn, .opts button, .chat__chips button, .kicker, .prog small, .finder select { border-radius: var(--btn-r); }
.prog, .card, .review, .sc > div, .contact__info, .map, .faq details, .finder, .hol > div, .hero__card, .careers img, .faq__search, .summary { border-radius: var(--r); }
.sched, .wizard, .director, .careers { border-radius: var(--r-lg); }
.day, .slot, .field input, .logo__img, .logo__mono, .card .ic, .hol b, .hero__card .ic { border-radius: var(--r-sm); }
.gal img { border-radius: var(--r); }

/* Photo shapes */
.ph-rounded .hero__img img { border-radius: var(--r-lg); }
.ph-circle .hero__img img { border-radius: 50%; }
.ph-square .hero__img img { border-radius: var(--r-sm); }
.ph-circle .gal img, .ph-circle .director img { border-radius: 50%; }
.ph-square .gal img, .ph-square .director img, .ph-square .careers img { border-radius: var(--r-sm); }
.ph-square .director img { border-radius: var(--r-sm); }

/* Header styles */
.hdr-brand .hdr { background: var(--p); border-color: transparent; }
.hdr-brand .logo, .hdr-brand .menu a, .hdr-brand .logo__name small { color: var(--p-ink); }
.hdr-brand .logo__name small { opacity: .85; }
.hdr-brand .menu a:hover { background: color-mix(in srgb, var(--p-ink) 14%, transparent); }
.hdr-brand .logo__mono { background: var(--p-ink); color: var(--p); }
.hdr-brand .hdr .btn--p { background: var(--p-ink); color: var(--p); }
.hdr-brand .burger { background: transparent; color: var(--p-ink); border-color: color-mix(in srgb, var(--p-ink) 40%, transparent); }
.hdr-dark .hdr { background: var(--ink); border-color: transparent; }
.hdr-dark .logo, .hdr-dark .menu a { color: #fff; }
.hdr-dark .logo__name small { color: var(--a); }
.hdr-dark .menu a:hover { background: rgba(255, 255, 255, .1); }
.hdr-dark .burger { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }

/* Hero layouts */
.hero-left .hero__img { order: -1; }
.hero-left .hero__card { left: auto; right: -12px; }
.hero-center .hero .wrap { grid-template-columns: 1fr; text-align: center; max-width: 900px; gap: 36px; }
.hero-center .hero .btns, .hero-center .trust { justify-content: center; }
.hero-center .hero p.lead { margin-inline: auto; }
.hero-center .hero__img { max-width: 760px; margin-inline: auto; width: 100%; }
.hero-center .hero__img img, .hero-center.ph-circle .hero__img img, .hero-center.ph-blob .hero__img img { aspect-ratio: 16 / 8; border-radius: var(--r-lg); }
.hero-center.ph-square .hero__img img { border-radius: var(--r-sm); }
.hero-center .hero__card { left: 50%; transform: translateX(-50%); bottom: -20px; white-space: nowrap; }
.hero-photo .hero { position: relative; overflow: hidden; padding: 120px 0 130px; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 20, 38, .82) 0%, rgba(18, 20, 38, .55) 55%, rgba(18, 20, 38, .2) 100%); }
.hero-photo .hero .wrap { position: relative; z-index: 1; grid-template-columns: 1fr; }
.hero-photo .hero__text { max-width: 640px; }
.hero-photo .hero h1, .hero-photo .hero p.lead, .hero-photo .trust { color: #fff; }
.hero-photo .hero h1 em, .hero-photo .trust .icon { color: var(--a); }
.hero-photo .hero .kicker { background: rgba(255, 255, 255, .16); color: #fff; }
.hero-photo .hero .kicker::before { background: var(--a); }
@media (max-width: 900px) {
  .hero-left .hero__img { order: 0; }
  .hero-photo .hero { padding: 80px 0 90px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(18, 20, 38, .7), rgba(18, 20, 38, .6)); }
}

/* Marketing extras: social links & newsletter */
.social { display: flex; gap: .5rem; margin-top: .8rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; }
.news { display: grid; gap: .4rem; min-width: 260px; }
.news label { color: #fff; font-weight: 700; font-size: .92rem; }
.news div { display: flex; gap: .4rem; }
.news input { flex: 1; min-width: 0; font: inherit; padding: .55rem .8rem; border-radius: var(--btn-r); border: 0; }
.contact__info .btns { margin-top: .4rem; }
