/* =========================================
   STOMAGUARD – Main Stylesheet
   ========================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- Custom Properties --- */
:root {
  --navy:        #0c2461;
  --navy-dark:   #081a47;
  --blue:        #1e90ff;
  --blue-dark:   #1565c0;
  --blue-mid:    #2563eb;
  --blue-light:  #dbeafe;
  --blue-xlight: #eff6ff;
  --orange:      #f97316;
  --orange-dark: #ea6c0a;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-800:    #1e293b;
  --gray-900:    #0f172a;
  --text:        #0f172a;
  --muted:       #64748b;
  --border:      #e2e8f0;

  --container:    1200px;
  --section-pad:  clamp(64px, 9vw, 108px);

  --shadow-xs: 0 1px 3px rgba(0,0,0,.07);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.15);

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.22s var(--ease);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; color: var(--gray-900);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--muted); line-height: 1.75; }

/* --- Layout --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.section   { padding: var(--section-pad) 0; }
.section--dark  { background: var(--navy); }
.section--light { background: var(--gray-50); }
.section--blue  { background: var(--blue-xlight); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-pill);
  font-size: .95rem; font-weight: 600; white-space: nowrap;
  transition: var(--transition); line-height: 1;
}
.btn--primary {
  background: var(--orange); color: var(--white);
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
}
.btn--primary:hover {
  background: var(--orange-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,.45);
}
.btn--secondary {
  background: var(--white); color: var(--navy);
  border: 2px solid var(--border);
}
.btn--secondary:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--blue { background: var(--blue-mid); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn--ghost-white {
  background: rgba(255,255,255,.12); color: var(--white);
  border: 2px solid rgba(255,255,255,.3);
}
.btn--ghost-white:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.6); }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* --- Badge --- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: var(--radius-pill);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge--blue    { background: var(--blue-light); color: var(--blue-dark); }
.badge--orange  { background: #fff7ed; color: var(--orange-dark); }
.badge--white   { background: rgba(255,255,255,.15); color: var(--white); }

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px; display: flex; align-items: center;
  padding: 0 clamp(16px, 4vw, 32px);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-xs); }
.nav__inner {
  max-width: var(--container); width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 800; color: var(--navy); letter-spacing: -.04em;
}
.nav__logo-icon { width: 34px; height: 34px; color: var(--blue); flex-shrink: 0; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-size: .88rem; font-weight: 500; color: var(--gray-600);
  transition: color var(--transition); position: relative; padding-bottom: 2px;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--blue-mid);
  border-radius: 2px; transition: width var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--navy); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

/* Mobile burger */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; justify-content: center; align-items: center;
  border-radius: var(--radius-sm); padding: 4px;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-700); border-radius: 2px; transition: var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 12px clamp(16px, 4vw, 32px) 24px;
  box-shadow: var(--shadow-md); z-index: 99;
  flex-direction: column; gap: 2px;
}
.nav__mobile.open { display: flex; }
.nav__mobile-link {
  padding: 11px 14px; font-size: .97rem; font-weight: 500;
  color: var(--gray-700); border-radius: var(--radius-sm); transition: var(--transition);
}
.nav__mobile-link:hover { background: var(--gray-50); color: var(--navy); }
.nav__mobile-link.active { color: var(--blue-mid); font-weight: 600; }
.nav__mobile-cta { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.nav__mobile-cta .btn { width: 100%; justify-content: center; }

/* =========================================
   HERO – Homepage
   ========================================= */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 80px 0 0;
  background: linear-gradient(150deg, #f0f6ff 0%, #e8f1ff 45%, #f5f9fc 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -5%;
  width: 800px; height: 800px; pointer-events: none;
  background: radial-gradient(circle, rgba(37,99,235,.07) 0%, transparent 65%);
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.hero__badge { margin-bottom: 22px; }
.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800;
  line-height: 1.08; margin-bottom: 22px; color: var(--gray-900);
}
.hero__title em { font-style: normal; color: var(--blue-mid); }
.hero__desc {
  font-size: 1.1rem; color: var(--gray-600); margin-bottom: 36px;
  line-height: 1.75; max-width: 480px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; padding-top: 32px; border-top: 1px solid var(--border);
}
.hero__stat { padding-right: 24px; }
.hero__stat:not(:first-child) { padding-left: 24px; border-left: 1px solid var(--border); }
.hero__stat-value {
  font-size: 1.9rem; font-weight: 800; color: var(--navy);
  letter-spacing: -.04em; line-height: 1;
}
.hero__stat-label {
  font-size: .75rem; color: var(--muted); font-weight: 600;
  margin-top: 5px; text-transform: uppercase; letter-spacing: .06em;
}

/* Hero image */
.hero__visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero__blob {
  position: absolute; width: 500px; height: 500px;
  background: linear-gradient(135deg, var(--blue-light) 0%, #c7e0ff 100%);
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  animation: morph 10s ease-in-out infinite; z-index: 0;
}
@keyframes morph {
  0%,100% { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; }
  33%      { border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; }
  66%      { border-radius: 55% 45% 60% 40% / 40% 60% 40% 60%; }
}
.hero__img {
  position: relative; z-index: 1; max-width: 440px; width: 100%;
  filter: drop-shadow(0 24px 48px rgba(12,36,97,.18));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar { background: var(--navy); padding: 32px 0; }
.stats-bar__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); text-align: center;
}
.stats-bar__item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 0 20px; position: relative;
}
.stats-bar__item + .stats-bar__item::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 44px; background: rgba(255,255,255,.14);
}
.stats-bar__value { font-size: 1.85rem; font-weight: 800; color: var(--white); letter-spacing: -.04em; }
.stats-bar__label { font-size: .72rem; color: rgba(255,255,255,.6); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* =========================================
   FEATURES GRID
   ========================================= */
.features__hd { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.features__hd h2 { margin-bottom: 14px; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 22px; text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-mid), #38bdf8);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-light); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-card__icon {
  width: 64px; height: 64px; background: var(--blue-xlight); border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 1.8rem;
}
.feature-card__title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feature-card__text  { font-size: .88rem; color: var(--muted); line-height: 1.65; }
.feature-card__value { display: inline-block; margin-top: 14px; font-size: 1.6rem; font-weight: 800; color: var(--blue-mid); letter-spacing: -.04em; }

/* =========================================
   PRODUCT SHOWCASE (alternating)
   ========================================= */
.showcase + .showcase { border-top: 1px solid var(--border); }
.showcase__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.showcase__inner--rev { direction: rtl; }
.showcase__inner--rev > * { direction: ltr; }
.showcase__eyebrow {
  font-size: .78rem; font-weight: 700; color: var(--blue-mid);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px;
}
.showcase__title { margin-bottom: 18px; }
.showcase__desc  { margin-bottom: 28px; font-size: 1.02rem; }
.showcase__list  { display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px; }
.showcase__li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .93rem; color: var(--gray-700);
}
.showcase__li::before {
  content: '';
  display: block; min-width: 20px; width: 20px; height: 20px; margin-top: 2px;
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231565c0'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") center/12px no-repeat;
  border-radius: 50%;
}
.showcase__img-wrap { position: relative; }
.showcase__img-bg {
  position: absolute; inset: -20px;
  background: var(--blue-xlight); border-radius: var(--radius-xl); z-index: 0;
}
.showcase__img {
  position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg);
  object-fit: cover; box-shadow: var(--shadow-md);
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials__hd { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.testimonials__hd h2 { margin-bottom: 12px; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.testimonial {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 26px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial__stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial__text  { font-size: .92rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 22px; font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: var(--blue-dark); flex-shrink: 0;
}
.testimonial__name { font-weight: 700; font-size: .88rem; color: var(--gray-800); }
.testimonial__role { font-size: .78rem; color: var(--muted); }

/* =========================================
   TRUST STRIP
   ========================================= */
.trust { background: var(--gray-50); padding: 28px 0; }
.trust__inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; }
.trust__item  { display: flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 500; color: var(--gray-600); }
.trust__item svg { width: 18px; height: 18px; color: var(--blue-mid); flex-shrink: 0; }

/* =========================================
   CTA BAND
   ========================================= */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3d80 100%);
  padding: var(--section-pad) 0; text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p  { color: rgba(255,255,255,.72); font-size: 1.1rem; max-width: 480px; margin: 0 auto 36px; }
.cta-band__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* =========================================
   PAGE HERO (sub-pages)
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a5ccd 100%);
  padding: clamp(100px, 14vw, 160px) 0 clamp(56px, 8vw, 80px);
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,.78); font-size: 1.15rem; max-width: 580px; margin: 0 auto; }
.page-hero__badge { margin-bottom: 18px; }

/* =========================================
   PRODUCT PAGE
   ========================================= */
.product-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.product-gallery { position: sticky; top: 96px; }
.product-gallery__main {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--gray-50); margin-bottom: 10px;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.product-gallery__thumb {
  aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--gray-50); cursor: pointer;
  border: 2px solid transparent; transition: border-color var(--transition);
}
.product-gallery__thumb:hover, .product-gallery__thumb.active { border-color: var(--blue-mid); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.product-info__title  { margin-bottom: 12px; }
.product-info__price  { font-size: 2.4rem; font-weight: 800; color: var(--navy); letter-spacing: -.04em; }
.product-info__price-note { font-size: .88rem; color: var(--muted); margin-bottom: 24px; }
.product-info__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.product-info__stars  { color: #f59e0b; font-size: 1rem; }
.product-info__review-count { font-size: .85rem; color: var(--muted); }

.product-features { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.product-feature {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; background: var(--gray-50);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: .93rem; color: var(--gray-700);
}
.product-feature__icon { font-size: 1.35rem; width: 28px; text-align: center; }

.product-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.product-actions .btn { justify-content: center; font-size: 1rem; padding: 15px; }

.specs-section { margin-top: 72px; }
.specs-section h2 { text-align: center; margin-bottom: 36px; }
.specs-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xs); border: 1px solid var(--border);
}
.specs-table th, .specs-table td { padding: 15px 24px; text-align: left; border-bottom: 1px solid var(--border); font-size: .9rem; }
.specs-table th { background: var(--gray-50); font-weight: 600; color: var(--gray-700); width: 38%; }
.specs-table td { color: var(--gray-800); font-weight: 500; }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: none; }

/* =========================================
   FAQ PAGE
   ========================================= */
.faq__cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; justify-content: center; }
.faq__cat {
  padding: 8px 20px; border-radius: var(--radius-pill);
  font-size: .88rem; font-weight: 500; color: var(--gray-600);
  background: var(--gray-100); border: 2px solid transparent;
  cursor: pointer; transition: var(--transition);
}
.faq__cat.active, .faq__cat:hover { background: var(--blue-light); color: var(--blue-dark); border-color: var(--blue-light); }

.faq__list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.faq-item.open { border-color: var(--blue-light); box-shadow: var(--shadow-xs); }
.faq-item__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 19px 22px; font-size: .97rem; font-weight: 600; color: var(--gray-800);
  cursor: pointer; text-align: left; gap: 14px; background: none; border: none;
  font-family: inherit; transition: color var(--transition);
}
.faq-item__q:hover { color: var(--navy); }
.faq-item__icon {
  width: 24px; height: 24px; min-width: 24px; border-radius: 50%;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  transition: var(--transition); color: var(--gray-600); font-size: .85rem; font-weight: 700;
}
.faq-item.open .faq-item__icon { background: var(--blue-light); color: var(--blue-dark); transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .32s ease, padding .32s ease; padding: 0 22px; }
.faq-item.open .faq-item__a { max-height: 500px; padding-bottom: 20px; }
.faq-item__a p { font-size: .93rem; color: var(--gray-600); line-height: 1.75; }

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.contact-sidebar { position: sticky; top: 96px; }
.contact-sidebar h2 { margin-bottom: 14px; }
.contact-sidebar > p { margin-bottom: 32px; font-size: 1.02rem; }

.contact-detail {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px; background: var(--gray-50);
  border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 14px;
}
.contact-detail__icon {
  width: 42px; height: 42px; min-width: 42px; background: var(--blue-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--blue-dark); font-size: 1.2rem;
}
.contact-detail__label { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.contact-detail__value { font-size: .93rem; font-weight: 600; color: var(--gray-800); }

.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.form-card h3 { margin-bottom: 6px; }
.form-card > p { margin-bottom: 28px; font-size: .93rem; }
.form-group { margin-bottom: 18px; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 7px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 15px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: .94rem; font-family: inherit; color: var(--gray-800);
  background: var(--white); outline: none; transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit   { width: 100%; padding: 15px; font-size: .97rem; font-weight: 700; justify-content: center; }

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-intro__img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-intro__img img { width: 100%; object-fit: cover; }

.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mission-card {
  text-align: center; padding: 32px 20px;
  border-radius: var(--radius-lg); background: var(--white);
  border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition);
}
.mission-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.mission-card__icon  { font-size: 2.4rem; margin-bottom: 16px; }
.mission-card__title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.mission-card__text  { font-size: .88rem; color: var(--muted); line-height: 1.65; }

.timeline { max-width: 680px; margin: 0 auto; }
.timeline-item { display: flex; gap: 22px; padding-bottom: 40px; position: relative; }
.timeline-item:not(:last-child)::before {
  content: ''; position: absolute; left: 19px; top: 44px; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item__dot {
  width: 40px; height: 40px; min-width: 40px; border-radius: 50%;
  background: var(--blue-light); border: 2px solid var(--blue-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-dark); font-weight: 700; font-size: .82rem; z-index: 1;
}
.timeline-item__year  { font-size: .76rem; font-weight: 700; color: var(--blue-mid); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.timeline-item__title { font-size: 1.1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 7px; }
.timeline-item__body  { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--gray-900); padding: 64px 0 0; }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
}
.footer__logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 800; color: var(--white);
  letter-spacing: -.04em; margin-bottom: 14px;
}
.footer__logo svg { width: 30px; height: 30px; color: var(--blue); }
.footer__tagline { font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.65; max-width: 260px; }
.footer__col-title { font-size: .8rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__link { font-size: .88rem; color: rgba(255,255,255,.52); transition: color var(--transition); }
.footer__link:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer__copyright    { font-size: .83rem; color: rgba(255,255,255,.38); }
.footer__bottom-links { display: flex; gap: 22px; }
.footer__bottom-link  { font-size: .83rem; color: rgba(255,255,255,.38); transition: color var(--transition); }
.footer__bottom-link:hover { color: rgba(255,255,255,.7); }

/* =========================================
   ALERTS (form status banners)
   ========================================= */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin: 96px clamp(16px, 4vw, 32px) 0;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.alert--error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert--ok    { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }

/* =========================================
   WHATSAPP PILL
   ========================================= */
.wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 18px;
  background: #25D366;
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: .88rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(37,211,102,.30);
}
.wa-pill:hover { background: #1ebe57; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,211,102,.40); }
.wa-pill svg { flex-shrink: 0; }

/* =========================================
   BREADCRUMBS
   ========================================= */
.breadcrumbs {
  max-width: var(--container);
  margin: 0 auto;
  padding: 92px clamp(16px, 4vw, 32px) 16px;
  font-size: .83rem;
  color: var(--muted);
}
/* When a breadcrumb precedes the page-hero, reduce the hero's top padding
   since the nav is already cleared by the breadcrumb spacing. */
.breadcrumbs + .page-hero { padding-top: clamp(24px, 4vw, 40px); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--gray-400); margin-right: 2px; }
.breadcrumbs a { color: var(--blue-mid); font-weight: 500; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--gray-700); font-weight: 600; }

/* =========================================
   RELATED READING
   ========================================= */
.related-reading {
  margin-top: 48px;
  padding: 28px;
  background: var(--blue-xlight);
  border: 1px solid var(--blue-light);
  border-radius: var(--radius-lg);
}
.related-reading h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 14px; }
.related-reading ul { display: flex; flex-direction: column; gap: 8px; }
.related-reading a { color: var(--blue-mid); font-weight: 600; font-size: .93rem; }
.related-reading a:hover { text-decoration: underline; }

/* Service card inline styling */
.service-card {
  display: block;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 22px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  color: inherit;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-light); }
.service-card__cta {
  display: inline-block; margin-top: 14px;
  font-size: .85rem; font-weight: 700; color: var(--blue-mid);
  letter-spacing: .04em;
}

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.gallery-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-card figcaption { padding: 14px 18px; font-size: .88rem; color: var(--gray-700); line-height: 1.55; }

/* Legal / article prose */
.legal-prose h2 { font-size: 1.3rem; color: var(--navy); margin: 32px 0 12px; }
.legal-prose h3 { font-size: 1.08rem; color: var(--navy); margin: 24px 0 10px; }
.legal-prose p  { margin-bottom: 14px; color: var(--gray-700); }
.legal-prose ul { padding-left: 20px; margin-bottom: 14px; }
.legal-prose ul li { list-style: disc; color: var(--gray-700); margin-bottom: 6px; }
.legal-prose ol { padding-left: 20px; margin-bottom: 14px; }
.legal-prose ol li { list-style: decimal; color: var(--gray-700); margin-bottom: 6px; }
.legal-prose a { color: var(--blue-mid); font-weight: 500; }
.legal-prose a:hover { text-decoration: underline; }
.disclaimer { padding: 14px 18px; background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius-md); color: #78350f; font-size: .9rem; margin-bottom: 20px; }

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }

/* =========================================
   UTILITY
   ========================================= */
.text-center { text-align: center; }
.text-blue   { color: var(--blue-mid); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white) !important; }
.text-muted  { color: var(--muted); }
.section-label {
  font-size: .78rem; font-weight: 700; color: var(--blue-mid);
  text-transform: uppercase; letter-spacing: .12em;
  display: block; margin-bottom: 10px;
}
.divider { height: 1px; background: var(--border); }
.mb-4  { margin-bottom:  4px; }
.mb-8  { margin-bottom:  8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .features__grid      { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid  { grid-template-columns: repeat(2, 1fr); }
  .footer__inner       { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }

  .hero__inner          { grid-template-columns: 1fr; text-align: center; }
  .hero__visual         { order: -1; }
  .hero__blob           { width: 300px; height: 300px; }
  .hero__img            { max-width: 300px; }
  .hero__actions        { justify-content: center; }
  .hero__stats          { gap: 0; }

  .stats-bar__inner     { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item + .stats-bar__item::before { display: none; }

  .features__grid       { grid-template-columns: 1fr; }

  .showcase__inner,
  .showcase__inner--rev { grid-template-columns: 1fr; direction: ltr; gap: 36px; }

  .testimonials__grid   { grid-template-columns: 1fr; }

  .product-split        { grid-template-columns: 1fr; }
  .product-gallery      { position: static; }

  .contact-layout       { grid-template-columns: 1fr; }
  .contact-sidebar      { position: static; }

  .about-intro          { grid-template-columns: 1fr; }
  .mission-grid         { grid-template-columns: 1fr; }

  .footer__inner        { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom       { flex-direction: column; text-align: center; }
  .form-row             { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-bar__inner           { grid-template-columns: 1fr; }
  .product-gallery__thumbs    { grid-template-columns: repeat(3, 1fr); }
  .hero__stats                { grid-template-columns: 1fr; gap: 16px; }
  .hero__stat:not(:first-child) { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 16px; }
}

/* --- Snipcart integration --- */
:root {
  --snipcart-primary: #1e90ff;
  --snipcart-color-primary: #1e90ff;
  --snipcart-color-link: #2563eb;
}

.nav__cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  margin-left: 8px;
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--border, #e5e7eb);
  background: var(--white, #fff);
  color: var(--navy, #0c2461);
  font-weight: 600;
  font-size: .9rem;
  line-height: 1;
  transition: background .15s ease, border-color .15s ease;
}
.nav__cart:hover { background: var(--blue-xlight, #eff6ff); border-color: var(--blue-light, #dbeafe); }
.nav__cart svg { flex: 0 0 auto; }

.snipcart-items-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--blue-xlight, #eff6ff);
  color: var(--blue-mid, #2563eb);
  font-size: .75rem;
  font-weight: 700;
}
.nav__cart[data-has-items="true"] .snipcart-items-count,
.nav__cart .snipcart-items-count:not(:empty):not([data-count="0"]) {
  background: var(--blue, #1e90ff);
  color: #fff;
}

.nav__mobile-cta .nav__cart { margin-left: 0; margin-top: 10px; width: 100%; justify-content: center; }

.product-actions__intro {
  margin-bottom: 14px;
  font-size: .95rem;
  color: var(--gray-700, #374151);
}
.product-actions__alt {
  margin-top: 14px;
  font-size: .88rem;
  color: var(--gray-600, #4b5563);
}
.product-actions__alt a { color: var(--blue-mid, #2563eb); font-weight: 600; }
