/* =========================================================
   Bella's Inflatables — "Endless Summer Block Party"
   Palette pulled from the brand logo.
   ========================================================= */

:root {
  /* Brand colors (sampled from logo) */
  --pink:        #ED2E76;
  --pink-dark:   #C81C5E;
  --pink-soft:   #FF7FB0;
  --navy:        #0C1C63;
  --navy-2:      #112584;
  --blue:        #00A6EE;
  --blue-deep:   #0066CC;
  --sky:         #BFE7FB;
  --sky-2:       #8FD4F5;
  --yellow:      #FFC21C;
  --yellow-warm: #FF9E1B;
  --cream:       #FFF8EC;
  --white:       #ffffff;

  --ink:         #0C1C63;      /* navy text */
  --ink-soft:    #41508f;
  --paper:       #FFFDF8;

  /* type */
  --display: "Fredoka", "Trebuchet MS", sans-serif;
  --body: "Nunito", system-ui, sans-serif;

  /* shape */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-pill: 999px;

  /* squishy chunky shadows */
  --shadow-pink:  6px 8px 0 rgba(200,28,94,.18);
  --shadow-navy:  0 18px 40px -18px rgba(12,28,99,.45);
  --shadow-card:  0 22px 50px -28px rgba(12,28,99,.55);

  --wrap: 1200px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
ul { list-style: none; padding: 0; }

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.section { position: relative; padding: clamp(3.5rem, 7vw, 6.5rem) 0; }

/* ---------- decorative atmosphere ---------- */
.sky-bg {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,194,28,.35), transparent 55%),
    radial-gradient(900px 500px at 10% 0%, rgba(0,166,238,.28), transparent 60%),
    linear-gradient(180deg, var(--sky) 0%, #E8F6FE 45%, var(--paper) 100%);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; color: var(--pink);
  background: rgba(237,46,118,.1);
  padding: .42rem .9rem; border-radius: var(--r-pill);
}
.eyebrow::before { content: "✦"; color: var(--yellow-warm); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2rem,4vw,3.2rem); }
.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin: .8rem 0 .6rem;
}
.section-head p { color: var(--ink-soft); font-size: 1.08rem; font-weight: 500; }

.text-pink { color: var(--pink); }
.text-blue { color: var(--blue-deep); }
.text-yellow { color: var(--yellow-warm); }

/* squiggle underline accent */
.squiggle { position: relative; white-space: nowrap; }
.squiggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.18em; height: .35em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M2 8 Q 15 2 30 7 T 60 7 T 90 7 T 118 7' fill='none' stroke='%23FFC21C' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
  background-size: auto 100%;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--pink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--display); font-weight: 600; font-size: 1.02rem;
  color: var(--fg); background: var(--bg);
  padding: .92rem 1.7rem; border-radius: var(--r-pill);
  box-shadow: 0 .5rem 0 0 var(--pink-dark), 0 16px 28px -12px rgba(237,46,118,.65);
  transition: transform .12s ease, box-shadow .12s ease, filter .2s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); filter: saturate(1.05) brightness(1.02); }
.btn:active { transform: translateY(.45rem); box-shadow: 0 0 0 0 var(--pink-dark), 0 6px 14px -8px rgba(237,46,118,.6); }
.btn--blue  { --bg: var(--blue); box-shadow: 0 .5rem 0 0 var(--blue-deep), 0 16px 28px -12px rgba(0,166,238,.6); }
.btn--blue:active { box-shadow: 0 0 0 0 var(--blue-deep); }
.btn--yellow{ --bg: var(--yellow); --fg: var(--navy); box-shadow: 0 .5rem 0 0 var(--yellow-warm), 0 16px 28px -12px rgba(255,158,27,.6); }
.btn--yellow:active { box-shadow: 0 0 0 0 var(--yellow-warm); }
.btn--ghost {
  --bg: transparent; --fg: var(--navy);
  box-shadow: inset 0 0 0 2.5px rgba(12,28,99,.18);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 2.5px var(--pink); color: var(--pink); }
.btn--lg { font-size: 1.12rem; padding: 1.05rem 2.1rem; }

/* ---------- top contact bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  color: #dfe6ff; font-size: .9rem; font-weight: 600;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding: .5rem 0; gap: 1rem; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: .4rem; transition: color .2s; }
.topbar a:hover { color: var(--yellow); }
.topbar-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar-social { display: flex; gap: .7rem; }
.topbar-social a {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.12); justify-content: center;
}
.topbar-social a:hover { background: var(--pink); color: #fff; }

/* ---------- header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,253,248,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(12,28,99,.08);
  transition: padding .25s ease, box-shadow .25s ease;
}
.header.scrolled { box-shadow: 0 10px 30px -20px rgba(12,28,99,.5); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; transition: padding .25s; }
.header.scrolled .nav { padding: .35rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { height: 60px; transition: height .25s ease; filter: drop-shadow(0 6px 10px rgba(12,28,99,.25)); }
.header.scrolled .brand img { height: 48px; }
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  font-family: var(--display); font-weight: 500; font-size: 1.02rem;
  color: var(--navy); padding: .5rem .85rem; border-radius: var(--r-pill);
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { background: rgba(0,166,238,.14); color: var(--blue-deep); }
.nav-cta { margin-left: .5rem; }

/* inventory dropdown */
.nav-item { position: relative; }
.nav-item .caret { font-size: .8em; opacity: .7; }
.dropdown {
  position: absolute; top: calc(100% + .4rem); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: var(--r-md); padding: .5rem; min-width: 220px;
  box-shadow: var(--shadow-card); border: 2px solid rgba(12,28,99,.06);
  display: flex; flex-direction: column; gap: .1rem;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease; z-index: 70;
}
.dropdown::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { font-size: .98rem; padding: .55rem .8rem; border-radius: 12px; white-space: nowrap; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 1.4rem; align-items: center; justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(5rem, 9vw, 8rem); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.9rem);
  line-height: .98; margin: 1rem 0 1.1rem;
}
.hero h1 .pop { color: var(--pink); display: inline-block; }
.hero h1 .pop.blue { color: var(--blue-deep); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); font-weight: 600; max-width: 30rem; }
.hero-actions { display: flex; gap: 1rem; margin: 1.8rem 0 1.5rem; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; font-weight: 700; color: var(--navy); }
.hero-trust .stars { color: var(--yellow-warm); font-size: 1.15rem; letter-spacing: 2px; }
.hero-trust .divider { width: 1px; height: 26px; background: rgba(12,28,99,.15); }

/* hero visual */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; z-index: 2;
  border-radius: var(--r-lg);
  border: 7px solid #fff;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3.4; object-fit: cover; width: 100%;
  transform: rotate(2deg);
}
.hero-badge {
  position: absolute; z-index: 3;
  background: #fff; border-radius: var(--r-md);
  padding: .8rem 1.05rem; box-shadow: var(--shadow-navy);
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--display); font-weight: 600; color: var(--navy);
  animation: float 5s ease-in-out infinite;
}
.hero-badge .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; }
.hero-badge small { display: block; font-family: var(--body); font-weight: 700; color: var(--ink-soft); font-size: .76rem; }
.hero-badge.b1 { top: 6%; left: -4%; }
.hero-badge.b2 { bottom: 10%; right: -5%; animation-delay: 1.2s; }
.hero-badge.b3 { bottom: -4%; left: 12%; animation-delay: 2.1s; }

@keyframes float { 0%,100%{ transform: translateY(0)} 50%{ transform: translateY(-12px)} }

/* floating bubbles in hero */
.bubble { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(0,166,238,.35)); box-shadow: inset 0 0 12px rgba(255,255,255,.6); animation: float 7s ease-in-out infinite; z-index: 1; pointer-events: none; }

/* sun rays */
.sun { position: absolute; top: -120px; right: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,194,28,.55), rgba(255,194,28,0) 65%); z-index: 0; pointer-events: none; }

/* ---------- marquee strip ---------- */
.marquee {
  background: var(--navy); color: #fff; overflow: hidden;
  border-top: 4px solid var(--yellow); border-bottom: 4px solid var(--pink);
}
.marquee-track { display: flex; gap: 2.5rem; white-space: nowrap; padding: .85rem 0; width: max-content; animation: scroll 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-weight: 600; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee span::after { content: "★"; color: var(--yellow); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.step {
  background: #fff; border-radius: var(--r-md); padding: 1.8rem 1.4rem 1.6rem; position: relative;
  box-shadow: var(--shadow-card); border: 2px solid rgba(12,28,99,.05);
  transition: transform .2s ease;
}
.step:hover { transform: translateY(-6px); }
.step .num {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: #fff;
  margin-bottom: 1rem; box-shadow: var(--shadow-pink); transform: rotate(-6deg);
}
.step:nth-child(1) .num { background: var(--pink); }
.step:nth-child(2) .num { background: var(--blue); }
.step:nth-child(3) .num { background: var(--yellow); color: var(--navy); }
.step:nth-child(4) .num { background: var(--navy); }
.step h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.step p { color: var(--ink-soft); font-weight: 500; font-size: .98rem; }
.step .connector { position: absolute; top: 44px; right: -1.05rem; color: var(--sky-2); font-size: 1.4rem; z-index: 2; }
.step:last-child .connector { display: none; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.cat {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 1/1; box-shadow: var(--shadow-card); display: block;
  border: 4px solid #fff;
  transition: transform .25s ease;
}
.cat:hover { transform: translateY(-6px) rotate(-1deg); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat:hover img { transform: scale(1.08); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(12,28,99,.82)); }
.cat .label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1rem;
  color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.cat .label .arrow { width: 30px; height: 30px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; transition: transform .2s; }
.cat:hover .label .arrow { transform: translateX(3px); }
.cat.feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.cat.feature .label { font-size: 1.7rem; }

/* ---------- products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.prod {
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-card); border: 2px solid rgba(12,28,99,.05);
  display: flex; flex-direction: column; transition: transform .2s ease;
}
.prod:hover { transform: translateY(-6px); }
.prod-media { position: relative; aspect-ratio: 4/3.2; overflow: hidden; background: var(--sky); }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prod:hover .prod-media img { transform: scale(1.06); }
.prod-price {
  position: absolute; top: .8rem; right: .8rem;
  background: var(--yellow); color: var(--navy);
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  padding: .35rem .8rem; border-radius: var(--r-pill); box-shadow: var(--shadow-navy);
}
.prod-price small { font-weight: 600; font-size: .68rem; opacity: .8; display: block; line-height: 1; }
.prod-tag {
  position: absolute; top: .8rem; left: .8rem;
  background: var(--pink); color: #fff; font-family: var(--display); font-weight: 600;
  font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: var(--r-pill);
}
.prod-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.prod-body p { color: var(--ink-soft); font-weight: 500; font-size: .94rem; flex: 1; }
.prod-specs { display: flex; gap: .45rem; flex-wrap: wrap; margin: .85rem 0 1rem; }
.chip {
  font-size: .76rem; font-weight: 700; color: var(--blue-deep);
  background: rgba(0,166,238,.12); padding: .28rem .65rem; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: .3rem;
}
.chip.wet { color: var(--blue-deep); }
.prod .btn { width: 100%; }

/* ---------- why us ---------- */
.why { background: linear-gradient(180deg, #fff, var(--cream)); }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.3rem; }
.why-card { text-align: center; padding: 2rem 1.3rem; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-card); border: 2px solid rgba(12,28,99,.04); transition: transform .2s; }
.why-card:hover { transform: translateY(-6px); }
.why-card .ico { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 1rem; font-size: 2rem; transform: rotate(-5deg); box-shadow: var(--shadow-navy); }
.why-card:nth-child(1) .ico { background: rgba(237,46,118,.14); }
.why-card:nth-child(2) .ico { background: rgba(0,166,238,.16); }
.why-card:nth-child(3) .ico { background: rgba(255,194,28,.22); }
.why-card:nth-child(4) .ico { background: rgba(12,28,99,.1); }
.why-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.why-card p { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 2.5rem; }
.stat { text-align: center; }
.stat .big { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem,4vw,3rem); color: var(--pink); line-height: 1; }
.stat:nth-child(2) .big { color: var(--blue-deep); }
.stat:nth-child(3) .big { color: var(--yellow-warm); }
.stat:nth-child(4) .big { color: var(--navy); }
.stat span { font-weight: 700; color: var(--ink-soft); font-size: .95rem; }

/* ---------- testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.testi { background: #fff; border-radius: var(--r-md); padding: 1.8rem 1.6rem; box-shadow: var(--shadow-card); border: 2px solid rgba(12,28,99,.04); position: relative; }
.testi .stars { color: var(--yellow-warm); letter-spacing: 2px; margin-bottom: .7rem; }
.testi p { font-weight: 600; color: var(--navy); font-size: 1.02rem; }
.testi .who { display: flex; align-items: center; gap: .7rem; margin-top: 1.1rem; }
.testi .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: #fff; background: var(--blue); }
.testi:nth-child(2) .avatar { background: var(--pink); }
.testi:nth-child(3) .avatar { background: var(--yellow-warm); }
.testi .who b { display: block; font-family: var(--display); }
.testi .who small { color: var(--ink-soft); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: var(--r-sm); margin-bottom: .9rem; box-shadow: var(--shadow-card); border: 2px solid rgba(12,28,99,.05); overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--navy); }
.faq-q .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,166,238,.14); color: var(--blue-deep); display: grid; place-items: center; font-size: 1.3rem; transition: transform .25s, background .2s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--pink); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-weight: 500; }

/* ---------- big CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--blue-deep));
}
.cta .wrap { position: relative; z-index: 2; padding: clamp(3rem,6vw,5rem) 1.5rem; }
.cta h2 { font-size: clamp(2.2rem,5vw,3.6rem); color: #fff; }
.cta p { font-size: 1.15rem; font-weight: 600; max-width: 36rem; margin: 1rem auto 2rem; color: rgba(255,255,255,.92); }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta .bubble { mix-blend-mode: overlay; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.contact-info h2 { font-size: clamp(2rem,4vw,2.9rem); margin-bottom: 1rem; }
.contact-info .lead { color: var(--ink-soft); font-weight: 600; font-size: 1.08rem; margin-bottom: 1.6rem; }
.contact-list { display: grid; gap: 1rem; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: .9rem; font-weight: 700; color: var(--navy); }
.contact-list .ico { width: 50px; height: 50px; border-radius: 16px; flex: none; display: grid; place-items: center; font-size: 1.3rem; background: rgba(0,166,238,.14); color: var(--blue-deep); }
.contact-list small { display: block; font-weight: 700; color: var(--ink-soft); font-size: .8rem; }

.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(1.6rem,3vw,2.4rem); box-shadow: var(--shadow-card); border: 2px solid rgba(12,28,99,.05); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--display); font-weight: 500; margin-bottom: .35rem; color: var(--navy); font-size: .98rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 14px; font-family: var(--body); font-weight: 600;
  border: 2px solid rgba(12,28,99,.14); background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,166,238,.16); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin-top: .6rem; font-weight: 600; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #c8d2ff; padding: clamp(3rem,5vw,4rem) 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer img.logo { height: 76px; margin-bottom: 1rem; }
.footer p { font-weight: 500; font-size: .96rem; max-width: 26rem; }
.footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 1rem; }
.footer ul li { margin-bottom: .55rem; }
.footer a:hover { color: var(--yellow); }
.footer .social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer .social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; transition: background .2s; }
.footer .social a:hover { background: var(--pink); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; font-weight: 600; }

/* ---------- wave divider ---------- */
.wave { display: block; width: 100%; height: auto; line-height: 0; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { text-align: center; padding: clamp(2.5rem,5vw,4rem) 0 clamp(3rem,5vw,4.5rem); }
.page-hero h1 { font-size: clamp(2.4rem,5vw,4rem); margin: .6rem 0; }
.page-hero p { color: var(--ink-soft); font-weight: 600; font-size: 1.1rem; max-width: 40rem; margin: 0 auto; }
.breadcrumb { font-weight: 700; color: var(--ink-soft); font-size: .92rem; }
.breadcrumb a:hover { color: var(--pink); }

/* filter pills */
.filters { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-pill { font-family: var(--display); font-weight: 500; padding: .55rem 1.15rem; border-radius: var(--r-pill); background: #fff; color: var(--navy); box-shadow: var(--shadow-card); border: 2px solid transparent; transition: all .2s; }
.filter-pill:hover { border-color: var(--blue); }
.filter-pill.active { background: var(--navy); color: #fff; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .steps, .cat-grid, .why-grid, .stats { grid-template-columns: repeat(2,1fr); }
  .prod-grid, .testi-grid { grid-template-columns: repeat(2,1fr); }
  .cat.feature { grid-column: span 2; grid-row: auto; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .step .connector { display: none; }
}
@media (max-width: 760px) {
  /* backdrop-filter makes the header a containing block for fixed children,
     which would trap the drawer — disable it so the drawer is viewport-relative */
  .header { backdrop-filter: none; background: var(--paper); }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(82vw, 320px); height: 100vh; height: 100dvh; overflow-y: auto; background: var(--paper); flex-direction: column; align-items: stretch; padding: 6rem 1.4rem 2rem; gap: .4rem; transform: translateX(100%); transition: transform .3s ease; box-shadow: -20px 0 50px -20px rgba(12,28,99,.5); z-index: 90; }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.2rem; padding: .8rem 1rem; }
  .nav-toggle { display: flex; z-index: 100; }
  .nav-cta { display: none; }
  .topbar-left .email { display: none; }
  /* dropdown becomes an inline list inside the mobile drawer */
  .nav-item { width: 100%; }
  .nav-item .caret { display: none; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; background: transparent; padding: 0 0 .25rem 1rem; min-width: 0; }
  .dropdown a { font-size: 1.05rem; white-space: normal; }
  /* tidy the hero trust row when it wraps */
  .hero-trust { gap: .85rem; }
  .hero-trust .divider { display: none; }
}
@media (max-width: 560px) {
  .steps, .cat-grid, .why-grid, .stats, .prod-grid, .testi-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-badge.b1 { left: 0; } .hero-badge.b2 { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
