/* ============================================================
   PIIXELL by Naina Optics — styles.css
   Mobile-first, vanilla CSS, no framework dependencies
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --primary:       #1e3c72;
  --secondary:     #2a5298;
  --accent:        #ff6b35;
  --accent-hover:  #e55a2b;
  --bg:            #f8f9fa;
  --surface:       #ffffff;
  --text:          #333333;
  --text-muted:    #666666;
  --text-light:    #e0e0e0;
  --border:        #e0e0e0;
  --shadow:        0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover:  0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-card:   0 4px 20px rgba(0, 0, 0, 0.1);
  --radius:        8px;
  --radius-lg:     16px;
  --radius-full:   9999px;
  --transition:    300ms ease;
  --container:     1200px;
  --nav-height:    72px;
  --font-body:     -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Dark mode overrides */
.dark {
  --bg:            #0f1419;
  --surface:       #1a2332;
  --text:          #e0e0e0;
  --text-muted:    #8fa3bb;
  --border:        #2a3f5f;
  --shadow:        0 2px 12px rgba(0, 0, 0, 0.4);
  --shadow-hover:  0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-card:   0 4px 20px rgba(0, 0, 0, 0.4);
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

ul, ol { list-style: none; }

address { font-style: normal; }

/* ── 3. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── 4. LAYOUT UTILITIES ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding: 4rem 0; }
.section--sm { padding: 2.5rem 0; }
.section--lg { padding: 6rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin-inline: auto;
}

.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 5rem 0 3.5rem;
  text-align: center;
}
.page-header h1 { color: white; margin-bottom: 0.75rem; }
.page-header p { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin: 0; }

/* ── 5. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  font-family: var(--font-body);
}

.btn--primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 60, 114, 0.35);
}

.btn--accent {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.7);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

.btn--call {
  background: var(--accent);
  color: white;
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  border: none;
  font-weight: 600;
}
.btn--call:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn--whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}
.btn--whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ── 6. BADGES / TAGS ─────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge--sunglasses     { background: rgba(255,107,53,0.12); color: #e55000; }
.badge--eyeglasses     { background: rgba(30,60,114,0.12);  color: var(--primary); }
.badge--contact-lenses { background: rgba(46,204,113,0.12); color: #27ae60; }
.badge--eye-care       { background: rgba(155,89,182,0.12); color: #8e44ad; }
.badge--news           { background: rgba(231,76,60,0.12);  color: #c0392b; }
.badge--product        { background: var(--accent); color: white; font-size: 0.7rem; }

.dark .badge--sunglasses     { background: rgba(255,107,53,0.2); }
.dark .badge--eyeglasses     { background: rgba(42,82,152,0.3); color: #7eb4ff; }
.dark .badge--contact-lenses { background: rgba(46,204,113,0.2); color: #5dde8f; }
.dark .badge--eye-care       { background: rgba(155,89,182,0.2); color: #c48ee8; }
.dark .badge--news           { background: rgba(231,76,60,0.2);  color: #e57c70; }

/* ── 7. CARDS ─────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* ── 8. NAVBAR ────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  height: var(--nav-height);
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
  transition: background var(--transition);
}
.dark .navbar { background: #0d1f3c; }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: white;
  flex-shrink: 0;
}
.navbar__logo:hover { color: white; }
.logo-icon { color: var(--accent); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: white;
}
.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

.navbar__links {
  display: none;
  gap: 0.25rem;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: white;
  background: rgba(255,255,255,0.12);
}
.nav-link.active { color: var(--accent); background: rgba(255,107,53,0.15); }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Dark mode toggle */
.dark-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  width: 36px;
  height: 36px;
}
.dark-toggle:hover { background: rgba(255,255,255,0.1); color: white; }
.dark-toggle .icon-moon { display: none; }
.dark .dark-toggle .icon-sun  { display: none; }
.dark .dark-toggle .icon-moon { display: block; }

/* Hamburger */
.hamburger {
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  justify-content: center;
  transition: all var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,0.1); }
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

/* Hamburger open state */
.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav open */
.nav-open .navbar__links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--primary);
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  gap: 0.25rem;
  z-index: 999;
}
.dark.nav-open .navbar__links { background: #0d1f3c; }
.nav-open .nav-link { padding: 0.75rem 1rem; }

/* ── 9. HERO SECTION ──────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, #1a4480 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,107,53,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(42,82,152,0.3) 0%, transparent 50%);
}
.hero .container { position: relative; z-index: 1; }
.hero__content {
  max-width: 680px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,107,53,0.2);
  border: 1px solid rgba(255,107,53,0.4);
  color: #ffaa80;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--accent); }
.hero__sub {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  margin-bottom: 2.25rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero__stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── 10. BRANDS SECTION ───────────────────────────────────── */
.brands { background: var(--surface); }
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.brand-chip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.brand-chip:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ── 11. PRODUCT CARDS ────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-card__image {
  aspect-ratio: 3/2;
  overflow: hidden;
  position: relative;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.product-card:hover .product-card__image img { transform: scale(1.05); }

/* Placeholder when no image */
.product-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: rgba(255,255,255,0.4);
  font-size: 3rem;
}
.product-card[data-category="sunglasses"] .product-card__image--placeholder { background: linear-gradient(135deg, #2c3e50, #4a6fa5); }
.product-card[data-category="eyeglasses"] .product-card__image--placeholder { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.product-card[data-category="contact-lenses"] .product-card__image--placeholder { background: linear-gradient(135deg, #0f3460, #533483); }

.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

.product-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__category {
  margin-bottom: 0.5rem;
}
.product-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.product-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.product-card__price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}
.dark .product-card__price { color: #7eb4ff; }

/* Filter buttons */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.product-card.hidden { display: none; }

/* ── 12. WHY CHOOSE US ────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── 13. STATS BAR ────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── 14. CTA BANNER ───────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #e55a2b 100%);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 { color: white; margin-bottom: 0.75rem; }
.cta-banner p  { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── 15. BLOG CARDS ───────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.article-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.article-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
}
.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.article-card:hover .article-card__image img { transform: scale(1.05); }

.article-card[data-category="sunglasses"] .article-card__image    { background: linear-gradient(135deg, #2c3e50, #3498db); }
.article-card[data-category="eyeglasses"] .article-card__image    { background: linear-gradient(135deg, #1a1a2e, #e74c3c); }
.article-card[data-category="contact-lenses"] .article-card__image { background: linear-gradient(135deg, #0f3460, #16c79a); }
.article-card[data-category="eye-care"] .article-card__image      { background: linear-gradient(135deg, #4a0080, #9b59b6); }
.article-card[data-category="news"] .article-card__image          { background: linear-gradient(135deg, #b71c1c, #ff5722); }

.article-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.article-card__meta .badge { font-size: 0.7rem; }
.article-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
  line-height: 1.4;
}
.article-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.article-card__readmore {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  transition: color var(--transition);
}
.article-card__readmore:hover { color: var(--accent-hover); }

.article-card.hidden { display: none; }

/* Featured article */
.featured-article {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
}
.featured-article__inner {
  padding: 3rem 2.5rem;
  max-width: 700px;
}
.featured-article__label {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.featured-article h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.featured-article p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}
.featured-article__meta {
  display: flex;
  gap: 1.5rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 40px;
  height: 40px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Blog search & filter */
.blog-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.search-box {
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  outline: none;
}
.search-box input:focus { border-color: var(--accent); }
.search-box__icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ── 16. FAQ ACCORDION ────────────────────────────────────── */
.faq-section { padding: 4rem 0; }
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.faq-group { margin-bottom: 2.5rem; }
.faq-group__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}
.dark .faq-group__title { color: #7eb4ff; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: border-color var(--transition);
  background: var(--surface);
}
.faq-item:hover { border-color: var(--accent); }
.faq-item.open { border-color: var(--accent); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-item.open .faq-question { color: var(--accent); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease, padding var(--transition);
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer__inner {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.hidden { display: none; }

/* FAQ search */
.faq-search-wrap { max-width: 560px; margin: 0 auto 2.5rem; }

/* ── 17. CONTACT PAGE ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all var(--transition);
}
.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(255,107,53,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: var(--accent);
}
.contact-card__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.contact-card__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.contact-card a {
  color: var(--text);
  font-weight: 600;
}
.contact-card a:hover { color: var(--accent); }

/* Contact form */
.contact-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-error {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}
.form-group.invalid .form-error { display: block; }
.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
  border-color: #e74c3c;
}

.form-success {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid #2ecc71;
  border-radius: var(--radius);
  padding: 1rem;
  color: #27ae60;
  font-weight: 600;
  text-align: center;
  display: none;
  margin-top: 1rem;
}

/* Map container */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}
.map-container iframe {
  width: 100%;
  height: 300px;
  display: block;
  border: none;
}
.map-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: white;
}
.map-placeholder p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin: 0; }

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table tr {
  border-bottom: 1px solid var(--border);
}
.hours-table td {
  padding: 0.75rem 0;
  font-size: 0.9rem;
}
.hours-table td:last-child {
  text-align: right;
  color: var(--text-muted);
}
.hours-open { color: #27ae60; font-weight: 600; }

/* ── 18. ABOUT PAGE ───────────────────────────────────────── */
.story-grid {
  display: grid;
  gap: 2rem;
}
.story-text h2 { margin-bottom: 1.25rem; }
.story-text p { color: var(--text-muted); font-size: 1.05rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  color: white;
  font-weight: 700;
}
.team-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.team-role { font-size: 0.875rem; color: var(--accent); font-weight: 600; }
.team-bio  { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.75rem; }

/* ── 19. ARTICLE MODAL ────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  overflow-y: auto;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  margin: auto;
  padding: 2rem;
  transform: translateY(20px);
  transition: transform var(--transition);
  max-height: none;
  position: relative;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
  font-size: 1.25rem;
  line-height: 1;
  font-family: var(--font-body);
}
.modal__close:hover { background: var(--accent); color: white; border-color: var(--accent); }
.modal__category { margin-bottom: 1rem; }
.modal h2 { margin-bottom: 0.75rem; padding-right: 2.5rem; }
.modal__meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.modal__content h2 { font-size: 1.25rem; margin-top: 1.75rem; margin-bottom: 0.75rem; }
.modal__content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.modal__content ul { list-style: disc; padding-left: 1.5rem; }
.modal__content li { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.4rem; line-height: 1.7; }
.modal__content strong { color: var(--text); }

/* Enquiry modal */
.enquiry-modal .modal { max-width: 500px; }
.enquiry-modal .modal h2 { font-size: 1.5rem; }

/* ── 20. FLOATING WHATSAPP BUTTON ─────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.5);
  z-index: 999;
  transition: all var(--transition);
}
.whatsapp-float:hover {
  background: #1ebe5d;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.6);
}

/* ── 21. FOOTER ───────────────────────────────────────────── */
.footer { background: var(--primary); color: white; }
.dark .footer { background: #060e1a; }

.footer-newsletter {
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 2.5rem 0;
}
.footer-newsletter__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
.footer-newsletter__text h3 { color: white; font-size: 1.2rem; margin-bottom: 0.35rem; }
.footer-newsletter__text p  { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }
.footer-newsletter__form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 480px;
}
.footer-newsletter__form input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
}
.footer-newsletter__form input::placeholder { color: rgba(255,255,255,0.45); }
.footer-newsletter__form input:focus { border-color: var(--accent); }

.footer-main { padding: 3rem 0 2rem; }
.footer-main__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-brand__name {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: white;
}
.footer-brand__sub {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-about {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.social-link:hover { background: var(--accent); color: white; transform: translateY(-2px); }

.footer-col__title {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links li a,
.footer-links li span {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-links li a:hover { color: var(--accent); }

.footer-contact { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
}
.footer-contact__item svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-contact__item a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-contact__item a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
}
.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  margin: 0;
}

/* ── 22. ANIMATIONS ───────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 23. RESPONSIVE — TABLET (≥ 768px) ───────────────────── */
@media (min-width: 768px) {
  .navbar__links {
    display: flex;
    align-items: center;
  }
  .hamburger { display: none; }

  .hero__stats { gap: 3rem; }

  .story-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .footer-main__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 2rem;
  }

  .footer-newsletter__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer-newsletter__text { flex: 1; }

  .footer-bottom__inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .blog-controls {
    flex-direction: row;
    align-items: center;
  }
  .search-box { flex: 1; max-width: 360px; }

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

  .map-container iframe { height: 400px; }
  .map-placeholder { height: 400px; }

  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ── 24. RESPONSIVE — DESKTOP (≥ 1024px) ─────────────────── */
@media (min-width: 1024px) {
  .section { padding: 5rem 0; }

  .hero { min-height: 90vh; }
  .hero__content { max-width: 720px; }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .modal { padding: 2.5rem; }
}

/* ── 25. PRINT ────────────────────────────────────────────── */
@media print {
  .navbar, .footer, .whatsapp-float, .cta-banner { display: none; }
}
