:root {
  --navy: #0b2239;
  --navy-2: #163f63;
  --teal: #0e8a7d;
  --teal-dark: #0a6b61;
  --accent: #ff9f1c;
  --bg: #ffffff;
  --alt: #f2f6fa;
  --text: #1d2b38;
  --muted: #5b6b7a;
  --border: #dde5ec;
  --shadow: 0 10px 30px rgba(11, 34, 57, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); line-height: 1.65; }
a { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
.container { width: min(1120px, 92%); margin: 0 auto; }
.narrow { width: min(760px, 92%); }

/* Top bar */
.topbar { background: var(--accent); color: #2b1a00; text-align: center; font-size: .9rem; font-weight: 600; padding: 8px 12px; }
.topbar a { color: #2b1a00; }

/* Header */
.site-header { position: sticky; top: 0; background: rgba(11, 34, 57, .96); backdrop-filter: blur(6px); z-index: 20; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { color: #fff; font-weight: 800; font-size: 1.35rem; text-decoration: none; letter-spacing: .3px; }
.logo span { color: #5fd3c6; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { color: #dbe6ef; text-decoration: none; font-size: .95rem; }
nav a:hover { color: #fff; }
.nav { position: relative; gap: 18px; }
nav { margin-left: auto; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; padding: 9px 16px; font: inherit; font-weight: 700; cursor: pointer; transition: background .15s; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { background: var(--teal); border-color: var(--teal); }
.bars { font-size: 1.2rem; line-height: 1; }
.menu-panel { display: none; position: absolute; top: calc(100% + 6px); right: 0; width: min(330px, 100%); background: var(--navy); border: 1px solid #27455f; border-radius: 14px; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); padding: 10px; z-index: 40; max-height: calc(100vh - 120px); overflow-y: auto; }
.menu-panel.open { display: block; animation: panelIn .2s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(-8px); } }
.menu-panel a { display: block; color: #dbe6ef; text-decoration: none; font-weight: 600; padding: 11px 14px; border-radius: 8px; }
.menu-panel a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.menu-panel a.sub { padding: 6px 14px 6px 40px; font-weight: 400; font-size: .92rem; color: #aebfce; }
.menu-panel a.panel-cta { background: var(--accent); color: #2b1a00; text-align: center; margin: 8px 0; }
.menu-panel a.panel-cta:hover { background: #ffb347; color: #2b1a00; }
.panel-contact { color: #aebfce; font-size: .88rem; padding: 6px 14px 4px; border-top: 1px solid #27455f; margin-top: 4px; line-height: 1.9; }
nav a.active { color: #5fd3c6; box-shadow: 0 2px 0 #5fd3c6; padding-bottom: 4px; }
nav .btn.active { box-shadow: none; padding-bottom: 8px; }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: -12px; min-width: 200px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 8px; margin-top: 10px; }
.dropdown-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; color: var(--navy); padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.dropdown-menu a:hover { background: var(--alt); color: var(--teal-dark); }

/* Buttons */
.btn { display: inline-block; background: var(--teal); color: #fff; border: 2px solid var(--teal); padding: 12px 26px; border-radius: 8px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(14, 138, 125, .35); }
.btn-outline { background: transparent; color: var(--teal-dark); }
.btn-small { padding: 8px 16px; font-size: .9rem; }
.btn-lg { padding: 15px 34px; font-size: 1.1rem; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy); border-color: #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
nav .btn { color: #fff; background: var(--accent); border-color: var(--accent); color: #2b1a00; }
nav .btn:hover { background: #ffb347; border-color: #ffb347; color: #2b1a00; box-shadow: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1b6f80 100%); color: #fff; padding: 90px 0 100px; }
.shape { position: absolute; border-radius: 50%; background: rgba(95, 211, 198, .10); animation: drift 14s ease-in-out infinite alternate; }
.s1 { width: 420px; height: 420px; top: -140px; right: -100px; }
.s2 { width: 260px; height: 260px; bottom: -90px; left: 8%; animation-duration: 18s; }
.s3 { width: 120px; height: 120px; top: 30%; left: 45%; background: rgba(255, 159, 28, .12); animation-duration: 11s; }
@keyframes drift { to { transform: translate(30px, 24px) scale(1.08); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.badge { display: inline-block; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 18px; color: #bff3ec; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.15rem; max-width: 36em; color: #d3e1ec; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 24px; }
.hero .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero .btn-outline:hover { background: rgba(255, 255, 255, .15); box-shadow: none; }
.checks { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; padding: 0; margin: 0; color: #bcd0df; font-size: .95rem; }
.checks li::before { content: "\2713"; color: #5fd3c6; font-weight: 800; margin-right: 6px; }

.hero-visual { position: relative; height: 380px; }
.globe { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15rem; line-height: 1; animation: spin 40s linear infinite; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
@keyframes spin { 50% { transform: scale(1.05) rotate(6deg); } }
.float-card { position: absolute; z-index: 2; background: #fff; color: var(--navy); font-weight: 700; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.float-card span { margin-right: 6px; }
.c1 { top: 8%; left: 0; }
.c2 { top: 45%; right: 0; animation-delay: 1.2s; }
.c3 { bottom: 6%; left: 10%; animation-delay: 2.4s; }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* Trust strip */
.trust { background: #fff; box-shadow: var(--shadow); position: relative; z-index: 3; margin-top: -40px; border-radius: 14px; width: min(1000px, 92%); margin-left: auto; margin-right: auto; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 24px 0; }
.trust-grid div { padding: 6px 10px; border-right: 1px solid var(--border); }
.trust-grid div:last-child { border: 0; }
.trust-grid strong { display: block; font-size: 2rem; color: var(--teal); }
.trust-grid span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 90px 0; }
.section.alt { background: var(--alt); }
.section-head { text-align: center; margin-bottom: 44px; }
.eyebrow { display: inline-block; color: var(--teal); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.lead { color: var(--muted); font-size: 1.1rem; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.card p { color: var(--muted); margin: 0; }

.service { transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal); }
.service .icon { width: 60px; height: 60px; display: grid; place-items: center; font-size: 1.8rem; background: #e5f5f3; border-radius: 14px; margin-bottom: 14px; }

/* Products */
.product { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: transform .25s, box-shadow .25s; }
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-top { height: 150px; display: grid; place-items: center; font-size: 4.5rem; transition: transform .4s; }
.product:hover .product-top span { display: inline-block; transform: scale(1.2) rotate(-6deg); }
.product-top { height: 190px; overflow: hidden; }
.product-top img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover .product-top img { transform: scale(1.08); }
.p1 { background: linear-gradient(135deg, #ffd89b, #ff9f1c); }
.p2 { background: linear-gradient(135deg, #a8e6dd, #0e8a7d); }
.p3 { background: linear-gradient(135deg, #b9d3f5, #3b7dd8); }
.product-body { padding: 22px; }
.product-body p { color: var(--muted); margin: 0 0 16px; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; }
.tags a { display: block; font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--navy); background: var(--alt); border: 1px solid var(--border); border-radius: 99px; padding: 4px 12px; transition: background .15s, color .15s, border-color .15s; }
.tags a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.product { display: flex; flex-direction: column; }
.product-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.product-body .tags { flex: 1; align-content: flex-start; }
.product-body p { margin: 0 0 12px; }
.best-for { background: #e9f6f4; border-left: 4px solid var(--teal); border-radius: 6px; padding: 8px 12px; font-size: .9rem; color: var(--navy) !important; }
.tags-label { font-size: .85rem; font-weight: 700; color: var(--navy) !important; margin: 4px 0 8px !important; }

/* Product finder quiz */
.finder { background: linear-gradient(180deg, #fff 0%, #e9f6f4 100%); }
.quiz { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 30px; }
.quiz-progress { height: 8px; background: var(--alt); border-radius: 99px; overflow: hidden; margin-bottom: 24px; }
#quiz-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--accent)); transition: width .4s; }
.quiz-step { font-size: .85rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 1px; }
.quiz h3 { font-size: 1.4rem; margin: 6px 0 18px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-option { text-align: left; font: inherit; font-weight: 600; color: var(--navy); background: #fff; border: 2px solid var(--border); border-radius: 12px; padding: 14px 18px; cursor: pointer; display: flex; align-items: center; gap: 14px; transition: border-color .15s, background .15s, transform .15s; }
.quiz-option span { font-size: 1.6rem; }
.quiz-option small { display: block; font-weight: 400; color: var(--muted); }
.quiz-option:hover, .quiz-option:focus-visible { border-color: var(--teal); background: #f0faf8; transform: translateX(4px); outline: none; }
.quiz-back { background: none; border: 0; color: var(--muted); cursor: pointer; margin-top: 16px; font: inherit; }
.quiz-result { text-align: center; }
.quiz-result img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 16px; }
.quiz-result .eyebrow { margin-bottom: 4px; }
.quiz-result p { color: var(--muted); }
.quiz-summary { list-style: none; padding: 0; margin: 14px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.quiz-summary li { background: var(--alt); border-radius: 99px; padding: 4px 14px; font-size: .88rem; color: var(--navy); font-weight: 600; }

/* Why */
.why-item { text-align: center; padding: 10px; }
.why-item span { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 14px; font-size: 2rem; border-radius: 50%; background: linear-gradient(135deg, #e5f5f3, #fff1d6); }
.why-item h3 { font-size: 1.1rem; }
.why-item p { color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; text-align: center; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 50px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(14, 138, 125, .15); }
.steps p { color: var(--muted); margin: 0; }

/* CTA banner */
.cta-banner { background: linear-gradient(120deg, var(--teal-dark), var(--navy-2)); color: #fff; text-align: center; padding: 70px 0; }
.cta-banner h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.cta-banner p { color: #d3e9e6; margin: 0 0 24px; font-size: 1.1rem; }

/* About */
.about-points { margin-top: 32px; }
.about-points h3 { font-size: 1.1rem; }

/* FAQ */
details { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; color: var(--navy); }
details[open] { border-color: var(--teal); }
details p { margin: 10px 0 0; color: var(--muted); }

/* Form */
form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 32px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
input, select, textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--border); border-radius: 8px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
input.invalid { border-color: #c0392b; }
fieldset { border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
legend { font-weight: 700; padding: 0 6px; }
.item { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; margin-bottom: 10px; align-items: end; }
.item .remove { background: none; border: 0; color: #c0392b; font-size: 1.3rem; cursor: pointer; padding: 8px; }
#form-status { margin: 0; font-weight: 600; }
#form-status.ok { color: var(--teal-dark); }
#form-status.err { color: #c0392b; }

/* Footer */
.site-footer { background: var(--navy); color: #c7d5e1; padding: 44px 0 90px; }
.site-footer a { color: #5fd3c6; }
.site-footer p { margin: 4px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-inner strong { color: #fff; font-size: 1.2rem; }
.copy { width: 100%; border-top: 1px solid #27455f; padding-top: 16px; font-size: .85rem; }

/* Floating quote button */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 30; background: var(--accent); color: #2b1a00; font-weight: 800; padding: 14px 24px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 25px rgba(0, 0, 0, .3); animation: pulse 2.4s infinite; }
.float-cta:hover { background: #ffb347; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 159, 28, .6), 0 10px 25px rgba(0,0,0,.3); } 70% { box-shadow: 0 0 0 16px rgba(255, 159, 28, 0), 0 10px 25px rgba(0,0,0,.3); } 100% { box-shadow: 0 0 0 0 rgba(255, 159, 28, 0), 0 10px 25px rgba(0,0,0,.3); } }

/* Delight extras */
#progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--teal), var(--accent)); z-index: 60; }
.rotator { font-size: 1.4rem !important; font-weight: 700; color: #fff !important; margin: 0 0 6px; }
.rotator strong { color: var(--accent); border-right: 3px solid var(--accent); padding-right: 4px; transition: opacity .3s; }
.rotator strong.fade { opacity: 0; }
.wa-float { position: fixed; left: 20px; bottom: 20px; z-index: 30; background: #25d366; color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 25px rgba(0, 0, 0, .3); transition: transform .15s; }
.wa-float:hover { transform: translateY(-3px); }
.back-top { position: fixed; right: 24px; bottom: 82px; z-index: 30; width: 42px; height: 42px; display: grid; place-items: center; background: var(--navy); color: #fff; border-radius: 50%; text-decoration: none; font-size: 1.2rem; opacity: 0; pointer-events: none; transition: opacity .3s; }
.back-top.show { opacity: 1; pointer-events: auto; }
.confetti { position: fixed; top: -20px; width: 10px; height: 14px; z-index: 100; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: .9; } }
.card, .why-item span { transition: transform .25s, box-shadow .25s; }
.why-item:hover span { transform: scale(1.15) rotate(-6deg); }
.btn:active { transform: scale(.97); }

/* Reviews form */
.field-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { display: block; font-size: 2.2rem; line-height: 1; color: #cbd5de; cursor: pointer; font-weight: 400; transition: color .15s, transform .15s; }
.stars label:hover { transform: scale(1.15); }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #f5b301; }
.stars input:focus-visible + label { outline: 2px solid var(--teal); border-radius: 4px; }
#review-status { margin: 0; font-weight: 600; }
#review-status.ok { color: var(--teal-dark); }
#review-status.err { color: #c0392b; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

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

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 260px; }
  .globe { font-size: 9rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div:nth-child(2) { border-right: 0; }
}
/* On small screens the inline links hide and the Menu button is the way in */
@media (max-width: 1000px) {
  nav { display: none; }
  .menu-btn { margin-left: auto; }
}
@media (max-width: 760px) {
  .row, .item { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 80px; }
}
