:root {
  --color-primary: #0369A1;
  --color-secondary: #38BDF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(12, 74, 110, 0.06);
  --shadow-lg: 0 30px 60px -30px rgba(12, 74, 110, 0.35);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 249, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 24px rgba(12, 74, 110, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent; border: 1px solid var(--color-border); color: var(--color-neutral-dark);
  border-radius: 10px; padding: 0.5rem; cursor: pointer; display: inline-flex;
}
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; width: 100%; padding-block: 0.5rem 1rem; }
.primary-nav.is-open { display: flex; }
.primary-nav a {
  font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark);
  padding: 0.6rem 0.75rem; border-radius: 8px; text-decoration: none;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); background: rgba(56, 189, 248, 0.12); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; width: auto; padding: 0; gap: 0.25rem; }
  .primary-nav a { position: relative; }
  .primary-nav a::after {
    content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.35rem;
    height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:hover { text-decoration: none; }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #ffffff;
  box-shadow: 0 10px 24px -12px rgba(3, 105, 161, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(3, 105, 161, 0.75); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-ghost:hover { background: rgba(56, 189, 248, 0.12); text-decoration: none; }
.btn-ghost-light { background: rgba(255, 255, 255, 0.1); color: #ffffff; border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); }
.btn-on-dark { box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero card === */
.hero-card-section {
  position: relative;
  padding-block: 3rem 2rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(56, 189, 248, 0.25), transparent 60%),
    radial-gradient(ellipse at 90% 100%, rgba(34, 197, 94, 0.15), transparent 55%),
    linear-gradient(180deg, var(--color-neutral-light), #ffffff);
  overflow: hidden;
}
.hero-card {
  max-width: 880px; margin-inline: auto;
  padding: 2.25rem 1.5rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.hero-card .eyebrow {
  font-family: var(--font-heading); font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--color-primary); margin: 0 0 1rem;
}
.hero-card h1 { max-width: 20ch; margin-inline: auto; }
.hero-card .lede { font-size: 1.125rem; color: var(--color-muted); max-width: 52ch; margin: 0.5rem auto 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hero-figure { margin: 2rem 0 0; }
.hero-figure img { border-radius: 16px; box-shadow: 0 20px 60px -20px rgba(12, 74, 110, 0.35); }
@media (min-width: 768px) {
  .hero-card-section { padding-block: 5rem 3rem; }
  .hero-card { padding: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-tint { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }
@media (min-width: 768px) { .section { padding-block: 6rem; } }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(12, 74, 110, 0.25); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(3, 105, 161, 0.15));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { color: var(--color-neutral-dark); margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--color-muted); }

/* === Testimonial === */
.testimonial { text-align: center; margin: 0 auto; max-width: 720px; }
.testimonial .quote-mark { color: var(--color-secondary); opacity: 0.5; margin-bottom: 1rem; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p {
  font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.4; color: var(--color-neutral-dark); font-weight: 500;
}
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: #ffffff;
  padding-block: 4rem;
  text-align: center;
}
.cta-band h2 { color: #ffffff; max-width: 24ch; margin-inline: auto; }
.cta-band p { color: rgba(240, 249, 255, 0.85); max-width: 52ch; margin: 0.5rem auto 1.5rem; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 30px 60px -30px rgba(34, 197, 94, 0.4);
}
.pricing-card__badge {
  position: absolute; top: -12px; right: 1.25rem;
  background: var(--color-accent); color: #ffffff;
  font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 999px;
}
.pricing-card__plan { font-size: 1.15rem; color: var(--color-primary); margin: 0 0 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); margin: 0 0 0.5rem; }
.pricing-card__lede { color: var(--color-muted); margin: 0 0 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.pricing-card__features li { display: flex; gap: 0.5rem; align-items: flex-start; padding-block: 0.5rem; border-bottom: 1px solid var(--color-border); font-size: 0.95rem; }
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__features span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { width: 100%; }

/* === FAQ === */
.faq details {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-family: var(--font-heading); font-weight: 600;
  color: var(--color-neutral-dark); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--color-primary); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.contact-info address { font-style: normal; line-height: 1.7; color: var(--color-neutral-dark); }
.hours { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours th, .hours td { padding: 0.5rem 0; text-align: left; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); font-family: var(--font-heading); }
.hours td { color: var(--color-muted); }

.contact-form {
  background: #ffffff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); margin-bottom: 0.4rem; }
.field input, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; color: var(--color-text);
  background: #ffffff; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15); }
.field textarea { resize: vertical; min-height: 140px; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); margin: 0.5rem 0 1.25rem; }
.form-consent input { margin-top: 0.25rem; flex-shrink: 0; }

/* === Map === */
.map-section { padding-block: 0 4rem; }
.map-block {
  background: linear-gradient(135deg, #E0F2FE, #F0F9FF);
  border: 1px dashed var(--color-primary);
  border-radius: var(--radius-md);
  min-height: 240px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--color-primary); text-align: center; padding: 2rem;
}
.map-block p { margin: 0.5rem 0 0; font-family: var(--font-heading); color: var(--color-neutral-dark); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 249, 255, 0.85);
  padding-block: 3rem 1.5rem;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; } }
.site-footer h3 { color: #ffffff; font-size: 1rem; margin: 0 0 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.site-footer a { color: rgba(240, 249, 255, 0.85); }
.site-footer a:hover { color: #ffffff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 0.5rem; font-size: 0.9rem; }
.tagline { color: rgba(240, 249, 255, 0.7); font-size: 0.95rem; }
.logo-footer { display: inline-block; margin-bottom: 0.5rem; background: rgba(255,255,255,0.06); border-radius: 8px; padding: 0.5rem 0.75rem; }
.logo-footer img { height: 56px; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.25rem; margin-top: 2rem; font-size: 0.85rem; color: rgba(240, 249, 255, 0.6); }

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 1.25rem; border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.6rem 1rem; font-size: 0.9rem; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; }

/* === Reveal (scroll motion) === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
