/* ==========================================================================
   Dynamic Soft Solution — site.css
   Pure static stylesheet. Mobile-first. No external dependencies.
   Retune the whole palette from the :root custom properties below.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens (custom properties)
   -------------------------------------------------------------------------- */
:root {
  /* Brand colours — deep navy + teal primary, warm gold accent */
  --color-navy:        #0F2042;
  --color-navy-dark:   #0A1530;
  --color-navy-light:  #1A3060;
  --color-teal:        #0E7C7B;
  --color-teal-dark:   #0A5E5D;
  --color-teal-light:  #12A09F;
  --color-gold:        #C9A84C;
  --color-gold-light:  #E2C06A;
  --color-gold-dark:   #A8862F;

  /* Neutrals */
  --color-bg:          #F5F7FA;
  --color-surface:     #FFFFFF;
  --color-surface-alt: #EEF2F7;
  --color-border:      #DDE3EE;
  --color-text:        #1A2340;
  --color-text-muted:  #5A6580;
  --color-text-invert: #FFFFFF;

  /* Status badges */
  --badge-live-bg:        #E3F3E8;
  --badge-live-text:      #1B7A3D;
  --badge-coming-bg:      #E8ECF3;
  --badge-coming-text:    #5A6580;

  /* Typography — system stack, no webfont dependency */
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas,
               "Liberation Mono", Menlo, monospace;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  1.875rem;
  --fs-3xl:  2.25rem;
  --fs-4xl:  2.75rem;
  --fs-5xl:  3.25rem;

  --lh-tight:   1.2;
  --lh-snug:    1.35;
  --lh-normal:  1.6;

  /* Spacing scale (4px base) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1.25rem;
  --header-height: 64px;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 999px;

  /* Shadows — navy-tinted for a soft, credible feel */
  --shadow-sm: 0 1px 2px rgba(15, 32, 66, 0.06),
               0 1px 3px rgba(15, 32, 66, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 32, 66, 0.08),
               0 2px 4px rgba(15, 32, 66, 0.06);
  --shadow-lg: 0 12px 28px rgba(15, 32, 66, 0.12),
               0 4px 10px rgba(15, 32, 66, 0.08);
  --shadow-xl: 0 24px 50px rgba(15, 32, 66, 0.18);

  /* Transitions */
  --transition-fast:   140ms ease;
  --transition-normal: 240ms ease;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-teal-dark);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.25rem; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  line-height: var(--lh-tight);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

p { line-height: var(--lh-normal); }

/* Visible, consistent focus ring for keyboard users */
:focus-visible {
  outline: 3px solid var(--color-teal-light);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Skip link — first focusable element on every page */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -120px;
  z-index: 1000;
  background: var(--color-navy);
  color: var(--color-text-invert);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: var(--space-4);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--narrow { max-width: 760px; }

main { flex: 1 0 auto; }

.section { padding-block: var(--space-16); }
.section--tight { padding-block: var(--space-12); }
.section--alt { background-color: var(--color-surface-alt); }
.section--navy {
  background-color: var(--color-navy);
  color: var(--color-text-invert);
}
.section--navy h2,
.section--navy h3 { color: var(--color-text-invert); }

.section-head {
  max-width: 680px;
  margin-bottom: var(--space-10);
}
.section-head.is-centered {
  margin-inline: auto;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: var(--space-3); }
.section-head h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-3);
}
.section-head p {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
}
.section--navy .section-head p { color: rgba(255, 255, 255, 0.78); }

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

/* --------------------------------------------------------------------------
   4. Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}
.section--navy .eyebrow,
.hero .eyebrow { color: var(--color-gold-light); }

.lead {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
}
.section--navy .lead { color: rgba(255, 255, 255, 0.82); }

.text-center { text-align: center; }
.text-muted  { color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.7rem 1.4rem;
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color var(--transition-fast),
              border-color var(--transition-fast),
              color var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background-color: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--color-text-invert);
}
.btn--primary:hover {
  background-color: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.btn--secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-text-invert);
}

.btn--ghost {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-text-invert);
}
.btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--gold {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
}
.btn--gold:hover {
  background-color: var(--color-gold-light);
  border-color: var(--color-gold-light);
  box-shadow: var(--shadow-md);
}

.btn--whatsapp {
  background-color: #25D366;
  border-color: #25D366;
  color: #fff;
}
.btn--whatsapp:hover {
  background-color: #1EBE57;
  border-color: #1EBE57;
  box-shadow: var(--shadow-md);
}

.btn--lg {
  padding: 0.95rem 1.9rem;
  font-size: var(--fs-md);
}
.btn--full { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.btn-row.is-centered { justify-content: center; }

/* --------------------------------------------------------------------------
   6. Site header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: var(--space-4);
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
}
.site-header__brand img { height: 34px; width: auto; }
.site-header__brand:focus-visible { outline-offset: 4px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-navy);
  cursor: pointer;
}
.nav-toggle:hover { background-color: var(--color-surface-alt); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4) var(--container-pad);
}
.site-nav.is-open { display: block; }
.site-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.site-nav__link {
  display: block;
  padding: var(--space-3) var(--space-2);
  color: var(--color-navy);
  font-weight: 600;
  border-radius: var(--radius-sm);
  border-bottom: 2px solid transparent;
}
.site-nav__link:hover {
  text-decoration: none;
  background-color: var(--color-surface-alt);
}
.site-nav__link[aria-current="page"] {
  color: var(--color-teal-dark);
  border-bottom-color: var(--color-teal);
}
.site-nav__cta { margin-top: var(--space-2); }
.site-nav__cta .btn { width: 100%; }

/* --------------------------------------------------------------------------
   7. Site footer
   -------------------------------------------------------------------------- */
.site-footer {
  flex-shrink: 0;
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.78);
  padding-top: var(--space-16);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}
.site-footer a:hover { color: #fff; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}
.site-footer__brand img {
  height: 32px;
  margin-bottom: var(--space-4);
}
.site-footer__brand p {
  font-size: var(--fs-sm);
  max-width: 32ch;
}
.site-footer__contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--fs-sm);
}
.site-footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-gold-light);
}
a.site-footer__contact-item:hover { color: #fff; }
.site-footer__col h3 {
  color: #fff;
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.site-footer__col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.site-footer__col a { font-size: var(--fs-sm); }

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--fs-sm);
}
.site-footer__bottom .email-link {
  font-weight: 600;
  color: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,
              var(--color-navy-dark) 0%,
              var(--color-navy) 55%,
              var(--color-navy-light) 100%);
  color: var(--color-text-invert);
  padding-block: var(--space-20);
}
.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.hero__inner { position: relative; }
.hero__content { max-width: 640px; }
.hero h1 {
  color: #fff;
  font-size: var(--fs-3xl);
  margin-block: var(--space-4) var(--space-5);
}
.hero__lead {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-8);
}
.hero .btn-row { margin-bottom: var(--space-8); }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__meta svg { color: var(--color-gold-light); }

/* Compact page hero for interior pages */
.page-hero {
  background: linear-gradient(135deg,
              var(--color-navy-dark) 0%,
              var(--color-navy) 100%);
  color: var(--color-text-invert);
  padding-block: var(--space-12);
}
.page-hero h1 {
  color: #fff;
  font-size: var(--fs-2xl);
  margin-block: var(--space-3);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
}
.breadcrumb {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb [aria-current="page"] { color: var(--color-gold-light); }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal),
              box-shadow var(--transition-normal);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Feature / info card (non-interactive) */
.feature-card {
  padding: var(--space-6);
}
.feature-card:hover { transform: none; }
.feature-card .icon-badge { margin-bottom: var(--space-4); }
.feature-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2);
}
.feature-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(14, 124, 123, 0.1);
  color: var(--color-teal-dark);
}
.icon-badge--gold {
  background-color: rgba(201, 168, 76, 0.16);
  color: var(--color-gold-dark);
}
.icon-badge--whatsapp {
  background-color: rgba(37, 211, 102, 0.14);
  color: #1FA855;
}
.icon-badge svg { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   10. Product card (data-driven, used on home + products page)
   -------------------------------------------------------------------------- */
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.product-card__media {
  position: relative;
  background: linear-gradient(135deg,
              var(--color-navy) 0%, var(--color-navy-light) 100%);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  min-height: 96px;
}
.product-card__media img {
  height: 30px;
  width: auto;
  background-color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.product-card__badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
}
.product-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}
.product-card__category {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  margin-bottom: var(--space-2);
}
.product-card__name {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-1);
}
.product-card__tagline {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.product-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.product-card__footer {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--color-teal-dark);
}
.product-card:hover .product-card__footer svg {
  transform: translateX(3px);
}
.product-card__footer svg { transition: transform var(--transition-fast); }

/* Whole-card link wrapper */
a.product-card { color: inherit; }
a.product-card:hover { text-decoration: none; }

/* --------------------------------------------------------------------------
   11. Badges
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.25rem 0.6rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}
.badge--live {
  background-color: var(--badge-live-bg);
  color: var(--badge-live-text);
}
.badge--live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
}
.badge--coming-soon {
  background-color: var(--badge-coming-bg);
  color: var(--badge-coming-text);
}

/* --------------------------------------------------------------------------
   12. Featured product block (home)
   -------------------------------------------------------------------------- */
.featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
.featured__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.featured__media img { width: 100%; height: auto; }
.featured__logo {
  height: 34px;
  width: auto;
  margin-bottom: var(--space-4);
}
.featured h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-2);
}
.featured__tagline {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-teal-dark);
  margin-bottom: var(--space-4);
}
.featured__desc {
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.featured__features {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.featured__features li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--fs-sm);
}
.featured__features svg {
  flex-shrink: 0;
  color: var(--color-teal);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   13. Trust strip
   -------------------------------------------------------------------------- */
.trust-strip {
  background-color: var(--color-teal-dark);
  color: #fff;
}
.trust-strip__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  text-align: center;
}
.trust-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.trust-strip__item svg { color: var(--color-gold-light); }
.trust-strip__item strong {
  font-size: var(--fs-base);
  color: #fff;
}
.trust-strip__item span {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
}

/* "By the numbers" stat band — full-width gradient with count-up numbers */
.stat-band {
  background: linear-gradient(90deg,
              var(--color-teal-dark) 0%,
              var(--color-teal) 50%,
              #3E8FC0 100%);
  color: #fff;
  padding-block: var(--space-16);
}
.stat-band__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-10) var(--space-4);
  text-align: center;
}
.stat-band__num {
  display: block;
  font-size: var(--fs-4xl);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
  font-variant-numeric: tabular-nums;
}
.stat-band__label {
  display: block;
  font-size: var(--fs-md);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
@media (min-width: 768px) {
  .stat-band__list { grid-template-columns: repeat(4, 1fr); }
  .stat-band__num { font-size: var(--fs-5xl); }
}

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg,
              var(--color-teal-dark) 0%, var(--color-teal) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-3);
}
.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

/* --------------------------------------------------------------------------
   15. Products page — filters & grid
   -------------------------------------------------------------------------- */
.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.filter-btn {
  padding: 0.45rem 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn:hover { border-color: var(--color-teal); }
.filter-btn[aria-pressed="true"] {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}

.empty-state {
  text-align: center;
  padding: var(--space-16) var(--space-4);
  color: var(--color-text-muted);
}
.empty-state h2 {
  margin-bottom: var(--space-3);
  font-size: var(--fs-xl);
}

/* --------------------------------------------------------------------------
   16. Product detail page (rendered by products.js)
   -------------------------------------------------------------------------- */
.product-hero {
  background: linear-gradient(135deg,
              var(--color-navy-dark) 0%, var(--color-navy) 100%);
  color: #fff;
  padding-block: var(--space-12);
}
.product-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
.product-hero__logo {
  height: 38px;
  width: auto;
  margin-bottom: var(--space-4);
  background: #fff;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}
.product-hero h1 {
  color: #fff;
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-3);
}
.product-hero__tagline {
  font-size: var(--fs-md);
  color: var(--color-gold-light);
  font-weight: 600;
  margin-bottom: var(--space-5);
}
.product-hero__desc {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-6);
}
.product-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.product-hero__media img { width: 100%; height: auto; }

.detail-section { padding-block: var(--space-12); }
.detail-section h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-2);
}
.detail-section__intro {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 60ch;
}
.prose p { margin-bottom: var(--space-4); }
.prose p:last-child { margin-bottom: 0; }

/* Key features grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.feature-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.feature-item h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-1);
}
.feature-item p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* Pills (modules, tech stack) */
.pill-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 0.9rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-navy);
}
.pill svg { color: var(--color-teal); }
.pill--tech {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}

/* Screenshots gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.gallery figure {
  margin: 0;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--color-border);
}
.gallery figcaption {
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* Product demo videos — streamed inline via HTML5 <video> */
.demo-videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-6);
}
.demo-video { margin: 0; }
.demo-video__title {
  font-size: var(--fs-md);
  margin-bottom: var(--space-3);
}
.demo-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.demo-video__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background-color: #000;
}
.demo-video figcaption {
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* Demos page — one block per product (logo + tagline + its demo videos) */
.demo-product__head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.demo-product__logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}
.demo-product__intro { flex: 1 1 240px; }
.demo-product__intro h2 { margin-bottom: var(--space-1); }
.demo-product__intro p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}
@media (min-width: 900px) {
  .demo-product .demo-videos { grid-template-columns: repeat(2, 1fr); }
}

/* Audience cards */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.audience-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background-color: var(--color-surface-alt);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--color-navy);
}
.audience-card svg {
  color: var(--color-teal);
  flex-shrink: 0;
}

/* Pricing note callout */
.callout {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background-color: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: var(--radius-lg);
}
.callout svg {
  flex-shrink: 0;
  color: var(--color-gold-dark);
}
.callout h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-1);
}
.callout p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* Sidebar layout for detail body */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
.detail-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

/* --------------------------------------------------------------------------
   17. About page
   -------------------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}
.stat-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.stat {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.stat strong {
  display: block;
  font-size: var(--fs-2xl);
  color: var(--color-teal-dark);
  line-height: 1.1;
}
.stat span {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: var(--space-5);
}
.steps li {
  position: relative;
  padding-left: 3.25rem;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-teal);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-full);
}
.steps h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-1);
}
.steps p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   18. Contact page & forms
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
.contact-info { display: flex; flex-direction: column; gap: var(--space-6); }
.contact-info__item {
  display: flex;
  gap: var(--space-4);
}
.contact-info__item .icon-badge { flex-shrink: 0; }
.contact-info__item h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-1);
}
.contact-info__item p,
.contact-info__item a {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}
.contact-info__item a { font-weight: 600; color: var(--color-teal-dark); }
.contact-info__item .btn {
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
}
.contact-info__item .btn--whatsapp { color: #fff; }
.contact-info__item address {
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.form-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-8);
}
.form-field { margin-bottom: var(--space-5); }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-2);
  color: var(--color-navy);
}
.form-field .required { color: #C0392B; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(14, 124, 123, 0.15);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: #C0392B;
}
.field-error {
  display: none;
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
  color: #C0392B;
}
.form-field.is-invalid .field-error { display: block; }
.form-note {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}
.form-note.is-error {
  color: #C0392B;
}
.form-success {
  text-align: center;
  padding: var(--space-12) var(--space-6);
}
.form-success svg {
  display: block;
  margin: 0 auto var(--space-5);
}
.form-success h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-3);
}
.form-success p {
  color: var(--color-text-muted);
  max-width: 46ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   19. 404 page
   -------------------------------------------------------------------------- */
.notfound {
  text-align: center;
  padding-block: var(--space-24);
}
.notfound svg { margin-inline: auto; margin-bottom: var(--space-6); }
.notfound h1 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-3);
}
.notfound p {
  color: var(--color-text-muted);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

/* --------------------------------------------------------------------------
   20. Loading / status states
   -------------------------------------------------------------------------- */
.loading-state {
  text-align: center;
  padding: var(--space-16) var(--space-4);
  color: var(--color-text-muted);
}
.spinner {
  width: 36px;
  height: 36px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
  border: 3px solid var(--color-border);
  border-top-color: var(--color-teal);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   21. Scroll-in animation
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   22. Utilities
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mt-0  { margin-top: 0; }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-0  { margin-bottom: 0; }
.flow > * + * { margin-top: var(--space-4); }
[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   23. Responsive — tablet (>=640px)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  :root { --container-pad: 2rem; }

  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }

  .hero h1 { font-size: var(--fs-4xl); }
  .hero__lead { font-size: var(--fs-lg); }
  .page-hero h1 { font-size: var(--fs-3xl); }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__list { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: var(--space-16) var(--space-12); }
}

/* --------------------------------------------------------------------------
   24. Responsive — desktop (>=1024px)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }

  /* Desktop navigation — show inline, hide toggle */
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: var(--space-1);
  }
  .site-nav__link { padding: var(--space-2) var(--space-3); }
  .site-nav__cta { margin-top: 0; margin-left: var(--space-3); }
  .site-nav__cta .btn { width: auto; }

  .hero { padding-block: var(--space-24); }
  .hero h1 { font-size: var(--fs-5xl); }

  .featured { grid-template-columns: 1fr 1fr; gap: var(--space-12); }
  .featured__features { grid-template-columns: repeat(2, 1fr); }

  .trust-strip__list { grid-template-columns: repeat(5, 1fr); }

  .product-hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .detail-layout { grid-template-columns: 1fr 320px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }

  .story-grid { grid-template-columns: 1.2fr 0.8fr; }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; }

  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
  }
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   25. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .cta-band, .hero__decor {
    display: none !important;
  }
  body { background: #fff; }
}
