/* ========================================
   Crystals By Neha - Design System & Styles
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  /* Primary */
  --color-primary: #2AABB3;
  --color-primary-dark: #1E8A91;
  --color-primary-light: #E0F4F5;

  /* Secondary */
  --color-gold: #C9A96E;
  --color-rose: #E8B4B8;
  --color-amethyst: #6B5B7B;

  /* Neutrals */
  --color-text: #2D2D2D;
  --color-text-secondary: #6B6B6B;
  --color-text-tertiary: #9E9E9E;
  --color-border: #E0DDDB;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F0EDEB;
  --color-background: #FAF8F6;

  /* Functional */
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1EBE57;
  --color-success: #4CAF50;
  --color-warning: #F9A825;
  --color-error: #E53935;

  /* Typography */
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-round: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

  /* Layout */
  --max-width: 1200px;
  --header-height: 64px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

.accent-text {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-amethyst);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* --- Grid System --- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

@media (max-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --- Header & Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: var(--space-2xl) var(--space-xl);
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.15rem;
  }
}

/* --- Hero Section --- */
.hero {
  text-align: center;
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-background) 50%, #F5EDED 100%);
}

.hero-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-lg);
  object-fit: contain;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.hero h1 span {
  color: var(--color-primary);
}

.hero .tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-amethyst);
  margin-bottom: var(--space-xl);
}

.hero .subtitle {
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-xl);
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .hero-logo { width: 96px; height: 96px; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  color: white;
}

.btn-gold {
  background: var(--color-gold);
  color: white;
}
.btn-gold:hover {
  background: #B8954F;
  color: white;
}

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

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: white;
  font-weight: 600;
}
.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  color: white;
}

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* --- Cards --- */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--color-surface-alt);
}

.card-body {
  padding: var(--space-md);
}

.card-body h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
}

.card-body p {
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
}

/* Category Card */
.category-card {
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.category-card .card-image {
  aspect-ratio: 4 / 3;
}

.category-card .card-body h3 {
  color: var(--color-text);
}

/* Product Card */
.product-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card .card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* --- Badges & Tags --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-teal {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.badge-gold {
  background: #F5ECD7;
  color: #9A7B3C;
}

.badge-rose {
  background: #FBE8EA;
  color: #B06B72;
}

.badge-amethyst {
  background: #EDEBF0;
  color: var(--color-amethyst);
}

.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

/* --- Intention Cards --- */
.intention-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.intention-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.intention-card .emoji {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.intention-card .intention-icon {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.intention-card .intention-icon svg {
  width: 36px;
  height: 36px;
}

.intention-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.intention-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* --- Product Detail Page --- */
.product-detail {
  padding: var(--space-2xl) 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.product-image-main {
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.product-info h1 {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.product-info .product-category {
  font-size: 0.875rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.product-benefits {
  margin-bottom: var(--space-xl);
}

.product-benefits h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.benefits-list li::before {
  content: '✦';
  color: var(--color-primary);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.product-whatsapp-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  font-size: 0.85rem;
  color: var(--color-text-tertiary);
}

.breadcrumb a {
  color: var(--color-text-tertiary);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb span {
  color: var(--color-text-secondary);
}

/* --- Related Products --- */
.related-products {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--color-border);
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* --- Footer --- */
.footer {
  background: var(--color-text);
  color: #ccc;
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

.footer p {
  color: #aaa;
  font-size: 0.875rem;
}

.footer a {
  color: #ccc;
  font-size: 0.875rem;
}

.footer a:hover {
  color: var(--color-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.8rem;
  color: #888;
}

/* --- Page Header (for inner pages) --- */
.page-header {
  background: var(--color-primary-light);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.page-header h1 {
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.page-header p {
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-gold { color: var(--color-gold); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- About Page (legacy, preserved) --- */
.about-content {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-2xl) 0;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* --- About Page Header --- */
.about-page-header {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #F5EFF8 60%, #FAF8F6 100%);
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-page-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,171,179,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-page-header h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.about-page-header p {
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto;
  font-style: italic;
}

/* Eyebrow label shared */
.about-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

/* --- Founder Section --- */
.founder-section {
  padding: var(--space-3xl) 0;
  background: var(--color-background);
}

.founder-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 860px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* Image */
.founder-image-wrap {
  position: relative;
}

.founder-image-frame {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(42,171,179,0.15), 0 4px 16px rgba(0,0,0,0.08);
}

.founder-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-image-accent {
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border-radius: 24px;
  border: 2px solid var(--color-primary-light);
  z-index: 0;
}

@media (max-width: 860px) {
  .founder-image-frame {
    max-width: 300px;
    margin: 0 auto;
  }
  .founder-image-accent {
    display: none;
  }
}

/* Bio */
.founder-bio {
  padding-top: var(--space-md);
}

.founder-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.founder-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
}

.founder-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-amethyst);
  margin-bottom: var(--space-xl);
}

.founder-bio p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.founder-bio strong {
  color: var(--color-text);
  font-weight: 600;
}

.founder-signature {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.founder-signature span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-amethyst);
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--color-text);
  padding: var(--space-2xl) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 860px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-tile {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.trust-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-text strong {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  display: block;
}

.trust-text span {
  color: #aaa;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* --- Credentials / Certificates --- */
.credentials-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface-alt);
}

.credentials-section .section-header {
  margin-bottom: var(--space-2xl);
}

.credentials-section .section-header h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
}

.credentials-section .section-header p {
  max-width: 580px;
  margin: 0 auto;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

.cert-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: var(--color-surface);
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.cert-card:focus {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.cert-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.cert-card:hover img {
  transform: scale(1.04);
}

.cert-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 138, 145, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cert-card:hover .cert-overlay,
.cert-card:focus .cert-overlay {
  opacity: 1;
}

.cert-overlay span {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
}

.cert-grid-vertical {
  margin-top: var(--space-lg);
}

/* --- Certificate Mobile Horizontal Slider --- */
@media (max-width: 768px) {
  /* Turn the wrapper into a single horizontal scroll strip */
  .cert-slider-wrapper {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 4px 16px 20px;
    margin: 0 -16px; /* bleed to screen edge */
    scrollbar-width: none;
  }
  .cert-slider-wrapper::-webkit-scrollbar {
    display: none;
  }

  /* Flatten both grid divs so their cards become direct flex children */
  .cert-grid-horizontal,
  .cert-grid-vertical {
    display: contents;
  }

  /* Each card: fixed equal height, width driven by image aspect ratio */
  .cert-card {
    flex: 0 0 auto;
    height: 280px;
    width: auto;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
  }

  /* Image fills card height, width is natural — no cropping */
  .cert-card img {
    height: 100%;
    width: auto;
    max-width: none;
    display: block;
  }
}

/* Lucide icon sizing — trust bar */
.trust-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary-light);
  flex-shrink: 0;
}

/* --- Lightbox --- */
.lightbox-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 200;
  backdrop-filter: blur(6px);
}

.lightbox-backdrop.active {
  display: block;
}

.cert-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 201;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cert-lightbox.active {
  display: flex;
  pointer-events: all;
}

.lightbox-img-wrap {
  max-width: min(90vw, 800px);
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}

.lightbox-nav:hover:not(:disabled) {
  background: rgba(255,255,255,0.2);
}

.lightbox-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* --- Brand Story Cards --- */
.brand-story-section {
  padding: var(--space-3xl) 0;
  background: var(--color-background);
}

.brand-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .brand-story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.brand-story-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.brand-story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.brand-story-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.brand-story-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary-dark);
}

.brand-story-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.brand-story-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* --- About CTA --- */
.about-cta-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #F5EFF8 100%);
}

.about-cta {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

.about-cta h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.about-cta p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
}

.about-cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Contact Page --- */
.contact-info {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-2xl) 0;
  text-align: center;
}

.contact-info .contact-item {
  margin-bottom: var(--space-xl);
}

.contact-info .contact-item h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-primary-dark);
}
