/* Univision — "warm" variant, the middle ground between the strict and the playful versions.
   Layered on top of styles.css. Palette: brand navy + soft lilac; butter yellow only for small accents
   (number badges, highlighter, a couple of buttons); pink/sky only inside two soft gradients. */

:root {
  --sun: #FFE36E;
  --lilac: #E7E8FF;
  --pink: #FFD3E8;
  --sky: #D6E8FF;
  --tint: #F6F5FF;
  --radius: 26px;
  --frame: 2px solid var(--ink);
  --lift: 5px 5px 0 var(--accent);
}

body { background: #FFFDF9; }

/* Two backgrounds that alternate down the page: warm white, and the hero's soft lilac/pink gradient */
.hero, .section--tint, .section--dark {
  background:
    radial-gradient(45% 60% at 8% 20%, rgba(231,232,255,.95), transparent 70%),
    radial-gradient(40% 55% at 92% 90%, rgba(255,211,232,.55), transparent 70%),
    #FFFDF9;
}

/* Highlighter under accent words */
.accent {
  color: var(--navy);
  background: linear-gradient(transparent 60%, var(--sun) 60%, var(--sun) 92%, transparent 92%);
  padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Buttons with a frame and a soft offset shadow */
.btn { border-width: 2px; }
.btn--primary { border-color: var(--ink); box-shadow: 4px 4px 0 var(--accent); }
.btn--primary:hover { background: var(--navy); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent); }
.btn--ghost { background: #fff; border-color: var(--ink); }
.btn--ghost:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent); }
/* Every contact button is the same navy; on the navy final block it gets a white frame to stay visible */
.btn--light { background: var(--navy); color: #fff; border-color: #fff; box-shadow: 4px 4px 0 var(--accent); }
.btn--light:hover { background: var(--navy); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent); }
.btn:active { transform: translate(2px, 2px); box-shadow: none; }

.header::before { background: rgba(255, 253, 249, .86); }

/* ---------- Hero ---------- */
.hero__bg { top: 44px; bottom: 44px; right: var(--pad); width: 46%; }
.hero__bg img {
  -webkit-mask-image: none; mask-image: none;
  border-radius: 36px; border: var(--frame); box-shadow: 10px 10px 0 var(--accent);
}
.hero__text { max-width: min(50%, 640px); }
.eyebrow { background: var(--lilac); padding: 8px 14px; border-radius: 999px; letter-spacing: .1em; }
.eyebrow::before { background: var(--navy); }

/* Facts: plain row, no frames */
.facts { padding-top: 8px; }
.hero__facts b { color: var(--navy); }

/* ---------- Section numbers: yellow badges ---------- */
.section__num {
  display: inline-block; background: var(--sun); color: var(--ink); border: var(--frame);
  padding: 5px 13px; border-radius: 999px; font-size: 14px; font-weight: 600;
}

/* "We're here if…" — framed white cards */
.cols3 { border-top: 0; gap: 18px; }
.cols3 > *, .cols3 > * + * { padding: 32px !important; border: var(--frame) !important; border-radius: var(--radius); background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
/* Lilac offset shadow on every card, like the hero photo; a little more on hover */
.cols3 > * { box-shadow: 6px 6px 0 var(--accent); }
.cols3 > *:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--accent); }

/* Pains as message bubbles */
.pains { display: grid; gap: 14px; }
.pains li, .pains li:last-child {
  background: #fff; border: var(--frame); border-radius: 24px 24px 24px 6px;
  padding: 26px 28px 26px 84px;
}
.pains li::before {
  left: 24px; top: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); border: var(--frame); font-size: 13px; font-weight: 600; color: var(--ink);
}

/* What you get */
.get__icon { width: 76px; height: 76px; padding: 14px; border-radius: 22px; border: var(--frame); background: var(--lilac); color: var(--navy); }

/* Steps: white cards on the light gradient (the section is no longer dark) */
.section--dark { color: var(--ink); }
.section--dark .section__num { color: var(--ink); }
.glow--dark { display: none; }
.step { background: #fff; color: var(--ink); border: var(--frame); }
.step__n {
  width: 72px; height: 72px; padding: 0; margin-bottom: 36px; border-radius: 50%; display: grid; place-items: center;
  font-size: 30px; line-height: 1; color: var(--ink); -webkit-text-stroke: 0; background: var(--sun); border: var(--frame);
}
.step p { color: var(--muted); }

/* Services */
.services { border-top: 0; display: grid; gap: 16px; }
.service { border: var(--frame); border-radius: var(--radius); background: #fff; padding: 0 clamp(20px, 3vw, 40px); transition: box-shadow .3s, transform .3s var(--ease); }
.service:hover { box-shadow: var(--lift); transform: translate(-2px, -2px); }
.service.is-open { background: #fff; box-shadow: var(--lift); }
.service__idx { color: var(--ink); background: var(--sun); border: var(--frame); border-radius: 50%; width: 52px; height: 52px; display: grid; place-items: center; padding: 0; font-weight: 600; }
.service__toggle { border: var(--frame); background: #fff; }
.service.is-open .service__toggle { background: var(--navy); border-color: var(--ink); }
.tier { border: var(--frame); }
.tier--deep { background: var(--tint); }
.why { border: 0; border-radius: 16px; background: var(--lilac); }

/* Statement: soft gradient */
.statement { background: linear-gradient(120deg, var(--pink), var(--lilac) 45%, var(--sky)); }
.glow--statement { display: none; }
.statement .eyebrow { background: rgba(255,255,255,.7); }

/* Reviews */
.round { border: var(--frame); }
.round:hover { background: var(--navy); color: #fff; border-color: var(--ink); }
.review { border: var(--frame); background: var(--tint); }
.review__photo { border-right: var(--frame); }
.review__photo-tag { background: #fff; color: var(--ink); border: var(--frame); backdrop-filter: none; -webkit-backdrop-filter: none; font-weight: 600; }

/* About */
.about__media img { border: var(--frame); box-shadow: 10px 10px 0 var(--accent); }
.stats { border-top: 0; gap: 16px; }
.stat, .stat + .stat { background: #fff; border: var(--frame); border-radius: 22px; padding: 24px; }

/* Final */
.final { background: var(--navy); }
.final .eyebrow { background: rgba(255,255,255,.14); color: #fff; }
.final .eyebrow::before { background: var(--sun); }
.final__handle { color: rgba(255,255,255,.75); }
.wordmark {
  color: transparent; opacity: .9;
  background: linear-gradient(90deg, var(--accent), var(--pink) 45%, var(--sun) 75%, #C9F0DA);
  -webkit-background-clip: text; background-clip: text;
}
.wordmark { transform: none; margin-bottom: 0; padding-bottom: clamp(8px, 1.5vw, 20px); }
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding-top: 24px; }
.footer__copy { border-top-color: rgba(255,255,255,.16); }
.footer__nav a:hover { color: var(--sun); }

/* Floating button */
/* White ring keeps the round button visible on the navy end of the page too */
.float-cta { border: 2.5px solid #fff; box-shadow: 0 0 0 2px var(--ink), 4px 4px 0 2px var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero { padding-top: 20px; }
  .hero__bg { top: auto; bottom: auto; right: auto; width: auto; margin: 0 var(--pad) 32px; aspect-ratio: 4 / 3; }
  .hero__bg img { -webkit-mask-image: none; mask-image: none; box-shadow: 6px 6px 0 var(--accent); }
  .hero__text { max-width: none; }
  .cols3 > *, .cols3 > * + * { border-top: var(--frame) !important; }
  .steps { gap: 16px; }
  .step__n { width: 60px; height: 60px; font-size: 24px; margin-bottom: 24px; }
  .service__head { padding: 24px 0; }
  /* the number badge is hidden on phones (base layout has only title + toggle there) */
  .service__idx { display: none; }
  .review__photo { border-right: 0; border-bottom: var(--frame); }
}
@media (max-width: 560px) {
  /* Facts: number on top, caption right under it, so nothing drifts to the far right */
  .hero__facts li, .hero__facts li + li { flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 0; }
  .hero__facts b { white-space: nowrap; font-size: 24px; }
  .pains li, .pains li:last-child { padding: 20px 20px 20px 70px; font-size: 19px; }
  .pains li::before { left: 18px; top: 20px; width: 36px; height: 36px; }
  .cols3 > *, .cols3 > * + * { padding: 24px !important; }
  .stat + .stat { margin-top: 0; }
  .about__media img { box-shadow: 6px 6px 0 var(--accent); }
}

/* About: no photo (the founders are already on the first screen). Text left, the two numbers stacked on the right */
.about__media { display: none; }
.about { display: block; }
.about__text { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__text > * { grid-column: 1; }
.about__text .section__num { justify-self: start; }
.about__text .stats { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin-top: 0; grid-template-columns: 1fr; }
@media (max-width: 920px) {
  .about__text { grid-template-columns: minmax(0, 1fr); }
  .about__text .stats { grid-column: 1; grid-row: auto; margin-top: 40px; }
}

/* Cookie notice */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 45; max-width: 520px;
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: #fff; border: var(--frame); border-radius: 20px; box-shadow: 5px 5px 0 var(--accent);
  font-size: 14px; line-height: 1.45;
}
.cookie[hidden] { display: none; }
.cookie a { color: var(--navy); }
.cookie .btn { flex: none; }
.footer__copy a { color: rgba(255,255,255,.85); }
.footer__copy a:hover { color: var(--sun); }
@media (max-width: 560px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-direction: column; align-items: stretch; gap: 12px; }
  .has-cookie .float-cta { display: none; }
}

/* "Read more" for long reviews: only visible where the quote is actually clamped (phones) */
.review__more { display: none; align-self: flex-start; margin-top: -16px; padding: 0; background: none; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.review.is-clamped .review__more, .review.is-expanded .review__more { display: inline-block; }

@media (max-width: 560px) {
  /* Each review card fits on one phone screen */
  .reviews { align-items: start; }
  .review__photo { height: 150px; }
  .review__body { padding: 22px; gap: 22px; }
  .review blockquote::before { font-size: 48px; margin-bottom: 8px; }
  .review blockquote { font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
  .review.is-expanded blockquote { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
  .review figcaption { padding-top: 14px; }
  .review figcaption b { font-size: 16px; }
  .review figcaption span { font-size: 14px; }
  /* First screen on phones: a slightly wider, lower photo brings the headline up */
  .hero__bg { aspect-ratio: 16 / 10; }
}

/* Short laptop screens (e.g. 1366×768): keep the whole first screen, buttons included, above the fold */
@media (min-width: 921px) and (max-height: 820px) {
  .hero { padding: 24px 0; }
  .hero__bg { top: 24px; bottom: 24px; }
  .hero__sub { margin-top: 20px; }
  .hero__actions { margin-top: 26px; }
}

/* "We're here if…" cards: bold lead line from the brief */
.near__title { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; color: var(--navy); margin-bottom: 12px; }

/* Mobile header: thinner, hides while scrolling down and comes back on scroll up */
@media (max-width: 920px) {
  html { scroll-padding-top: 64px; }
  .header { transition: transform .3s var(--ease), border-color .3s; }
  .header.is-hidden { transform: translateY(-100%); }
  .header__inner { padding-top: 8px; padding-bottom: 8px; }
  .logo img { height: 32px; }
  .burger { width: 42px; height: 42px; }
}
