/* ==========================================================================
   EYEVORA — Design tokens
   Palette: Ink navy #14213D · Amber lens #FCA311 · Ivory #F7F5F0
            Charcoal text #1B1B1F · Slate secondary #5A6472
   Type: Fraunces (display) + Manrope (body/UI)
   ========================================================================== */

:root {
  --ink: #14213D;
  --ink-2: #1C2C4E;
  --amber: #FCA311;
  --amber-dark: #D6870A;
  --ivory: #F7F5F0;
  --paper: #FFFFFF;
  --charcoal: #1B1B1F;
  --slate: #5A6472;
  --line: #E4E1D8;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 4px;
  --max-w: 1200px;
  --shadow-sm: 0 1px 2px rgba(20,33,61,0.06), 0 1px 1px rgba(20,33,61,0.04);
  --shadow-md: 0 8px 24px rgba(20,33,61,0.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; color: var(--slate); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  font-weight: 700;
  margin-bottom: 0.75em;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

a.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--amber);
  color: var(--ink); padding: 10px 16px; z-index: 1000; font-weight: 700;
}
a.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
}
.logo .lens-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: conic-gradient(from 200deg, var(--amber), #FFD98A, var(--amber));
  box-shadow: inset 0 0 0 2px var(--ink);
}
nav.main-nav ul {
  list-style: none; display: flex; gap: 28px; margin: 0; padding: 0;
}
nav.main-nav a {
  text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink);
  position: relative; padding-bottom: 4px;
}
nav.main-nav a[aria-current="page"] { color: var(--amber-dark); }
nav.main-nav a:hover { color: var(--amber-dark); }

.header-cta {
  display: flex; align-items: center; gap: 16px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius); font-weight: 700;
  font-size: 0.92rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--ink);
  position: relative; transition: 0.2s;
}
.menu-toggle span::before { position: absolute; top: -7px; width: 24px; height: 2px; background: var(--ink); }
.menu-toggle span::after { position: absolute; top: 7px; width: 24px; height: 2px; background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
  padding: 96px 0 110px;
}
.hero::after {
  content: "";
  position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(252,163,17,0.55), rgba(252,163,17,0.05) 60%, transparent 70%);
  filter: blur(2px);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  color: var(--ivory); margin-bottom: 0.35em; max-width: 14ch;
}
.hero p.lede { color: #C9CEDA; font-size: 1.1rem; max-width: 42ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust div { font-size: 0.85rem; color: #A7AEBE; }
.hero-trust strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--amber); }

.hero-visual {
  position: relative; z-index: 1;
  aspect-ratio: 1/1; border-radius: 16px;
  background: linear-gradient(160deg, var(--ink-2), #0D1730);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.hero-visual svg { width: 100%; height: auto; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.divider-lens {
  width: 46px; height: 46px; margin: 0 auto 20px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--amber), #FFE3A3, var(--amber));
  box-shadow: inset 0 0 0 3px var(--ivory), inset 0 0 0 5px var(--ink);
}

/* Category cards */
.category-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.category-card {
  position: relative; border-radius: 12px; overflow: hidden;
  background: var(--ink); color: var(--ivory);
  padding: 40px; min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-card.alt { background: var(--paper); color: var(--charcoal); border: 1px solid var(--line); }
.category-card h3 { font-size: 1.6rem; margin-bottom: 0.3em; }
.category-card p { color: #C9CEDA; margin-bottom: 1.2em; }
.category-card.alt p { color: var(--slate); }
.category-card .cta-line { font-weight: 700; color: var(--amber); display: inline-flex; align-items: center; gap: 6px; }
.category-card.alt .cta-line { color: var(--amber-dark); }
.category-card .glyph { position: absolute; top: 28px; right: 28px; width: 54px; height: 54px; opacity: 0.9; }

/* Product grid */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px;
}
.product-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-thumb {
  aspect-ratio: 4/3; background: linear-gradient(160deg, #EDEAE0, #F7F5F0);
  display: flex; align-items: center; justify-content: center; padding: 26px;
}
.product-thumb svg { width: 100%; height: auto; }
.product-body { padding: 18px 18px 22px; }
.product-body h3 { font-size: 1.05rem; margin-bottom: 0.2em; }
.product-meta { font-size: 0.82rem; color: var(--slate); margin-bottom: 0.6em; }
.price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.price .mrp { font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; color: var(--slate); text-decoration: line-through; margin-left: 6px; }
.badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  background: rgba(252,163,17,0.16); color: var(--amber-dark); padding: 3px 8px; border-radius: 4px;
  text-transform: uppercase; margin-bottom: 8px;
}

/* Filters */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px;
}
.filter-bar button {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 0.85rem; font-weight: 600; cursor: pointer; color: var(--charcoal);
}
.filter-bar button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* Trust strip */
.trust-strip { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; font-weight: 600; max-width: 240px; }
.trust-item svg { flex-shrink: 0; width: 30px; height: 30px; color: var(--amber-dark); }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 28px;
}
.testimonial p.quote { color: var(--charcoal); font-style: italic; margin-bottom: 1em; }
.testimonial .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial .who { font-weight: 700; font-size: 0.9rem; }
.testimonial .where { font-size: 0.8rem; color: var(--slate); }

/* CTA band */
.cta-band {
  background: var(--ink); color: var(--ivory); border-radius: 16px;
  padding: 56px; text-align: center; margin: 0 24px;
}
.cta-band h2 { color: var(--ivory); }
.cta-band p { color: #C9CEDA; }

/* Breadcrumb */
.breadcrumb { font-size: 0.82rem; color: var(--slate); padding: 20px 0 0; }
.breadcrumb a { text-decoration: none; color: var(--slate); }
.breadcrumb a:hover { color: var(--amber-dark); }
.breadcrumb span[aria-current] { color: var(--charcoal); font-weight: 600; }

/* Page hero (simple) */
.page-hero { background: var(--ink); color: var(--ivory); padding: 56px 0; }
.page-hero h1 { color: var(--ivory); margin-bottom: 0.2em; }
.page-hero p { color: #C9CEDA; max-width: 60ch; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 640px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; background: var(--paper);
}
textarea { resize: vertical; min-height: 120px; }

/* Footer */
footer.site-footer { background: var(--ink); color: #A7AEBE; padding: 64px 0 32px; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: var(--ivory); font-size: 0.95rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 1em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; color: #A7AEBE; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 48px; padding-top: 24px; font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  background: #25D366; color: #fff; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  text-decoration: none;
}
.wa-float svg { width: 28px; height: 28px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .category-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  nav.main-nav { position: fixed; inset: 64px 0 0 0; background: var(--ivory); padding: 24px; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav ul { flex-direction: column; gap: 4px; }
  nav.main-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .header-cta .btn-outline { display: none; }
  .cta-band { margin: 0 16px; padding: 36px 22px; }
}
