
:root {
  --primary: #e0f2fe;
  --secondary: #475569;
  --accent: #22d3ee;
  --bg: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-edge: rgba(34, 211, 238, 0.15);
  --radius: 2rem;
  --header-h: 4.25rem;
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  font-weight: 300;
  color: var(--secondary);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #1e293b;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 0;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--secondary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

a:hover {
  color: #0e7490;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-edge);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.site-title {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

a.site-title:hover {
  color: #0f172a;
  opacity: 0.85;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1.15rem;
}

.nav-main a {
  font-size: 0.8125rem;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}

.nav-main a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  order: 999;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  flex-direction: column;
  transition: box-shadow 0.3s var(--ease), transform 0.2s var(--ease);
}

.burger:hover {
  transform: scale(1.04);
  box-shadow: 0 0 0 4px var(--glass-edge);
}

.burger span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--secondary);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Mobile nav overlay (sibling of header, not inside nav row) */
.nav-drawer {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  bottom: 0;
  z-index: 150;
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.5rem 4% 2rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
  pointer-events: none;
  overflow-y: auto;
}

.nav-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-drawer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-drawer-inner a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-edge);
}

.nav-drawer-inner a:hover {
  background: var(--primary);
}

@media (max-width: 1023px) {
  .nav-main {
    display: none;
  }

  .burger {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .nav-drawer {
    display: none;
  }
}

/* —— Main sections —— */
main {
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 4%;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-muted {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.section-slab {
  background: #f8fafc;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-head p {
  margin-bottom: 0;
}

.section-head.contact-anchor {
  margin-top: 3rem;
}

/* Hero: image under text */
.hero {
  position: relative;
  min-height: min(85vh, 40rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 4% 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  max-width: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(224, 242, 254, 0.75) 45%,
    rgba(255, 255, 255, 0.88) 100%
  );
}

.hero .section-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 42rem;
}

.hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

/* Content grids */
.content-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: center;
}

@media (min-width: 768px) {
  .content-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.glass-panel {
  background: var(--glass);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 1rem 3rem rgba(15, 23, 42, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.glass-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 1.25rem 3.5rem rgba(34, 211, 238, 0.12);
}

.figure-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-edge);
}

.figure-wrap img {
  border-radius: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Banner strip (image under text) */
.banner-strip {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 14rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.banner-strip .banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.banner-strip .banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  max-width: none;
}

.banner-strip .banner-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.78);
}

.banner-strip .banner-copy {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 36rem;
}

.banner-strip .banner-copy h2 {
  margin: 0 0 0.5rem;
}

/* Product grid */
.products-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--glass);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--glass-edge);
  text-align: center;
  transition: transform 0.3s var(--ease);
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-price {
  font-size: 1.125rem;
  font-weight: 500;
  color: #0f172a;
  margin-top: 0.75rem;
}

/* Dual columns no image */
.dual-panels {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .dual-panels {
    grid-template-columns: 1fr 1fr;
  }
}

/* FAQ */
.faq-list {
  max-width: 40rem;
  margin: 0 auto;
}

.faq-list details {
  background: var(--glass);
  border-radius: 1.25rem;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--glass-edge);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 500;
  color: #1e293b;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  font: inherit;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.consent-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.consent-row input {
  width: auto;
  margin: 0.25rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), #cffafe);
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4);
  animation: soft-pulse 4s ease-in-out infinite;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.5rem 1.5rem rgba(34, 211, 238, 0.25);
}

@keyframes soft-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.15);
  }
  50% {
    box-shadow: 0 0 0 0.5rem rgba(34, 211, 238, 0.08);
  }
}

.contact-block p {
  margin-bottom: 0.5rem;
}

.map-link {
  display: inline-block;
  margin-top: 0.75rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--primary) 0%, #f8fafc 100%);
  padding: 2.5rem 4% 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--glass-edge);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-nav a,
.footer-legal a {
  font-size: 0.8125rem;
  text-decoration: none;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
}

.footer-meta {
  font-size: 0.8125rem;
  color: #64748b;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  padding: 1rem 4%;
  background: rgba(15, 23, 42, 0.92);
  color: #f1f5f9;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-bar.is-visible {
  display: flex;
}

.cookie-bar p {
  margin: 0;
  font-size: 0.875rem;
  max-width: 48rem;
}

.cookie-bar .btn {
  animation: none;
  background: var(--accent);
  color: #0f172a;
}

/* Legal / thank-you pages */
.page-main {
  padding: 2rem 4% 4rem;
  max-width: 48rem;
  margin: 0 auto;
}

.page-main h1 {
  margin-top: 0;
}

.page-main h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.date {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.thank-panel {
  text-align: center;
  padding: 3rem 1.5rem;
  margin-top: 2rem;
}

.thank-panel .glass-panel {
  max-width: 32rem;
  margin: 0 auto;
}
