/* ==========================================================================
   HEBA OBEID — Design System
   Warm minimalism aesthetic for modest fashion boutique
   Mobile-first responsive | Custom properties | No frameworks
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================================================== */

:root {
  /* --- Colors --- */
  --color-sand: #D4C5A9;
  --color-navy: #1B2A4A;
  --color-gold: #C8A96E;
  --color-cream: #FAF7F2;
  --color-charcoal: #2D2D2D;
  --color-whatsapp: #1A7D38;  /* Darkened from #25D366 for WCAG AA contrast (5.0:1 with white text) */
  --color-white: #FFFFFF;

  /* Derived colors */
  --color-sand-light: #E8DCC8;
  --color-navy-dark: #111C33;
  --color-navy-light: #2A3F6A;
  --color-gold-light: #D9C08E;
  --color-gold-dark: #A88D55;
  --color-cream-dark: #F0EBE1;

  /* --- Typography --- */
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale (mobile-first, adjusted at breakpoints) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;
  --text-display: 4rem;

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

  /* --- Transitions --- */
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* --- Shadows --- */
  --shadow-sm: 0 1px 3px rgba(27, 42, 74, 0.06), 0 1px 2px rgba(27, 42, 74, 0.04);
  --shadow-md: 0 4px 12px rgba(27, 42, 74, 0.08), 0 2px 4px rgba(27, 42, 74, 0.04);
  --shadow-lg: 0 12px 32px rgba(27, 42, 74, 0.12), 0 4px 8px rgba(27, 42, 74, 0.06);

  /* --- Border Radius --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}


/* ==========================================================================
   2. CSS RESET
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  overflow-wrap: break-word;
}


/* ==========================================================================
   3. BASE TYPOGRAPHY
   ========================================================================== */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--text-4xl);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-3xl);
  line-height: 1.15;
}

h3 {
  font-size: var(--text-2xl);
  line-height: 1.2;
}

h4 {
  font-size: var(--text-xl);
  line-height: 1.3;
}

h5 {
  font-size: var(--text-lg);
  line-height: 1.35;
}

h6 {
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.4;
}

p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-charcoal);
  max-width: 700px;
}

.text-sm {
  font-size: var(--text-sm);
}

.text-lg {
  font-size: var(--text-lg);
}

.text-gold {
  color: var(--color-gold);
}

.text-navy {
  color: var(--color-navy);
}

.text-center {
  text-align: center;
}

strong, b {
  font-weight: 600;
}

em, i {
  font-style: italic;
}

.display-heading {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.subheading {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-charcoal);
  opacity: 0.85;
}

.label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}


/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

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

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

.section--compact {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

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

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

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

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  align-items: center;
  justify-content: space-between;
}

.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;
}


/* ==========================================================================
   5. BUTTON SYSTEM
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary: Navy bg, cream text */
.btn--primary {
  background-color: var(--color-navy);
  color: var(--color-cream);
  border-color: var(--color-navy);
}

.btn--primary:hover {
  background-color: var(--color-navy-light);
  border-color: var(--color-navy-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Secondary: Outlined */
.btn--secondary {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn--secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-cream);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* WhatsApp: Green bg, white text */
.btn--whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  border-color: var(--color-whatsapp);
  padding-left: 1.5rem;
}

.btn--whatsapp:hover {
  background-color: #146330;
  border-color: #146330;
  box-shadow: 0 4px 16px rgba(26, 125, 56, 0.35);
  transform: translateY(-1px);
}

.btn--whatsapp::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Small variant */
.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-xs);
}

/* Large variant */
.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--text-base);
}


/* ==========================================================================
   6. CARD COMPONENTS
   ========================================================================== */

.card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.card__body {
  padding: var(--space-lg);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  opacity: 0.8;
  line-height: 1.6;
}

.card__price {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-navy);
  margin-top: var(--space-md);
}

/* Product card variant */
.card--product {
  position: relative;
}

.card--product .card__body {
  padding: var(--space-md) var(--space-lg);
  padding-bottom: var(--space-lg);
}

.card--product .card__image {
  aspect-ratio: 3 / 4;
}

.card--product .card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background-color: var(--color-gold-accessible);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
}


/* ==========================================================================
   7. NAVIGATION STYLES
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 197, 169, 0.2);
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.nav--scrolled {
  background-color: rgba(250, 247, 242, 0.98);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-navy);
  letter-spacing: -0.01em;
  z-index: 1001;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: none;
  gap: var(--space-xl);
}

.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-charcoal);
  letter-spacing: 0.04em;
  transition: color var(--transition-base);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-gold);
  transition: width var(--transition-base);
}

.nav__link:hover {
  color: var(--color-navy);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--active {
  color: var(--color-navy);
}

.nav__link--active::after {
  width: 100%;
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

.nav__hamburger--open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.nav__overlay {
  position: fixed;
  inset: 0;
  background-color: var(--color-cream);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.nav__overlay--open {
  opacity: 1;
  visibility: visible;
}



.nav__overlay .nav__link {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-navy);
}


/* ==========================================================================
   8. HERO STYLES
   ========================================================================== */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: calc(64px + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  line-height: 1.08;
  color: var(--color-navy);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero__text {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-charcoal);
  opacity: 0.85;
  margin-bottom: var(--space-2xl);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__image {
  display: none;
}

/* Hero overlay gradient (for image backgrounds) */
.hero--with-bg {
  background-size: cover;
  background-position: center;
}

.hero--with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(250, 247, 242, 0.95) 0%,
    rgba(250, 247, 242, 0.85) 40%,
    rgba(250, 247, 242, 0.5) 100%
  );
  z-index: 1;
}


/* ==========================================================================
   9. PRODUCT STYLES
   ========================================================================== */

.product-section {
  background-color: var(--color-white);
}

.product-gallery {
  display: grid;
  gap: var(--space-sm);
}

.product-gallery__main {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-gallery__thumbs {
  display: flex;
  gap: var(--space-sm);
}

.product-gallery__thumb {
  width: 64px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition-base);
  object-fit: cover;
}

.product-gallery__thumb:hover,
.product-gallery__thumb--active {
  border-color: var(--color-gold);
}

/* Size chart */
.size-chart {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  margin: var(--space-lg) 0;
}

.size-chart th {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy);
  background-color: var(--color-cream);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--color-sand);
}

.size-chart td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-cream-dark);
  color: var(--color-charcoal);
}

.size-chart tr:nth-child(even) td {
  background-color: rgba(250, 247, 242, 0.5);
}

.size-chart tr:hover td {
  background-color: rgba(200, 169, 110, 0.08);
}

/* Color swatches */
.color-swatches {
  display: flex;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-base), border-color var(--transition-base);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.color-swatch:hover {
  transform: scale(1.15);
}

.color-swatch--active {
  border-color: var(--color-navy);
}


/* ==========================================================================
   9b. PRODUCT PAGE LAYOUT
   ========================================================================== */

.product-layout {
  display: grid;
  gap: var(--space-2xl);
}

.product-info__name {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-navy);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.product-info__price {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-gold);
  font-weight: 400;
  margin-bottom: var(--space-md);
}

.product-info__tagline {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}

.product-info__description {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-charcoal);
  margin-bottom: var(--space-xl);
}

.product-info__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
}

.product-info__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-charcoal);
}

.feature-check {
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 3px;
}

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

.product-info__section-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-info__sizes {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  letter-spacing: 0.04em;
}

.size-badge {
  font-weight: 600;
  color: var(--color-navy);
}

.product-info__one-size {
  font-size: var(--text-lg);
  color: var(--color-charcoal);
  font-weight: 500;
}

.product-info__cta {
  margin-top: var(--space-lg);
}


/* ==========================================================================
   10. TESTIMONIAL STYLES
   ========================================================================== */

.testimonial {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.25;
  pointer-events: none;
}

.testimonial__body {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

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

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--color-sand-light);
}

.testimonial__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-navy);
}

.testimonial__role {
  font-size: var(--text-xs);
  color: var(--color-charcoal);
  opacity: 0.7;
}


/* ==========================================================================
   11. VALUE PROPS
   ========================================================================== */

.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.value-item {
  text-align: center;
  padding: var(--space-xl);
}

.value-item__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-sand-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--color-gold);
  font-size: var(--text-2xl);
}

.value-item__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.value-item__text {
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  opacity: 0.8;
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}


/* ==========================================================================
   12. FAQ ACCORDION
   ========================================================================== */

.faq-item {
  border-bottom: 1px solid var(--color-sand-light);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-sand-light);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-navy);
  text-align: left;
  line-height: 1.4;
  gap: var(--space-md);
}

.faq-question:hover {
  color: var(--color-gold-dark);
}

.faq-question__caret {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform var(--transition-base);
}

.faq-question__caret::before,
.faq-question__caret::after {
  content: '';
  position: absolute;
  background-color: var(--color-navy);
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Horizontal bar */
.faq-question__caret::before {
  top: 50%;
  left: 2px;
  right: 2px;
  height: 2px;
  transform: translateY(-50%);
}

/* Vertical bar (forms +, rotates to - when open) */
.faq-question__caret::after {
  left: 50%;
  top: 2px;
  bottom: 2px;
  width: 2px;
  transform: translateX(-50%);
}

.faq-item--open .faq-question__caret::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item--open .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}

.faq-answer__content {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-charcoal);
  opacity: 0.85;
  max-width: 640px;
}


/* ==========================================================================
   13. FOOTER STYLES
   ========================================================================== */

.footer {
  background-color: var(--color-navy);
  color: var(--color-cream);
  padding: var(--space-3xl) 0 var(--space-xl);
}

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

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-cream);
  margin-bottom: var(--space-md);
}

.footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-sand-light);
  opacity: 0.8;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

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

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-sand-light);
  transition: color var(--transition-base);
  position: relative;
  display: inline-block;
  width: fit-content;
}

.footer__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width var(--transition-base);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__link:hover::after {
  width: 100%;
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(212, 197, 169, 0.15);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-sand);
  opacity: 0.75;  /* Increased from 0.6 for WCAG AA contrast (4.5:1) on navy */
}


/* ==========================================================================
   14. WHATSAPP FLOAT
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 900;
  width: 56px;
  height: 56px;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 125, 56, 0.4);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  animation: whatsapp-bounce 2s ease-in-out 1s 3;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(26, 125, 56, 0.5);
}

/* Pulse ring on hover */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  opacity: 0;
  transition: opacity var(--transition-base);
  animation: none;
}

.whatsapp-float:hover::before {
  opacity: 1;
  animation: whatsapp-pulse 1.5s ease-out infinite;
}

.whatsapp-float__icon {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
}

.whatsapp-float__label {
  display: none;
}

@keyframes whatsapp-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-4px);
  }
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}


/* ==========================================================================
   15. SCROLL REVEAL
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Staggered delays using data attributes */
.reveal[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"] { transition-delay: 200ms; }
.reveal[data-delay="3"] { transition-delay: 300ms; }
.reveal[data-delay="4"] { transition-delay: 400ms; }
.reveal[data-delay="5"] { transition-delay: 500ms; }
.reveal[data-delay="6"] { transition-delay: 600ms; }

/* Variant: slide from left */
.reveal--left {
  transform: translateX(-30px);
}

.reveal--left.reveal--visible {
  transform: translateX(0);
}

/* Variant: slide from right */
.reveal--right {
  transform: translateX(30px);
}

.reveal--right.reveal--visible {
  transform: translateX(0);
}

/* Variant: scale up */
.reveal--scale {
  transform: scale(0.95);
}

.reveal--scale.reveal--visible {
  transform: scale(1);
}


/* ==========================================================================
   16. PLACEHOLDER IMAGES
   ========================================================================== */

.placeholder-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--color-sand-light) 0%,
    var(--color-cream) 40%,
    var(--color-sand) 100%
  );
}

.placeholder-image--portrait {
  aspect-ratio: 3 / 4;
}

.placeholder-image--landscape {
  aspect-ratio: 16 / 9;
}

.placeholder-image--square {
  aspect-ratio: 1 / 1;
}

/* Subtle shimmer effect */
.placeholder-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 75%
  );
  background-size: 200% 100%;
  animation: placeholder-shimmer 2.5s ease-in-out infinite;
}

@keyframes placeholder-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}


/* ==========================================================================
   17. DECORATIVE ELEMENTS
   ========================================================================== */

/* Grain/noise texture overlay on body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Gold accent line divider */
.accent-line {
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  border: none;
  margin: var(--space-lg) 0;
}

.accent-line--center {
  margin-left: auto;
  margin-right: auto;
}

.accent-line--wide {
  width: 80px;
}

/* Decorative geometric diamond */
.deco-diamond {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid var(--color-gold);
  opacity: 0.08;
  transform: rotate(45deg);
  pointer-events: none;
}

.deco-diamond--sm {
  width: 60px;
  height: 60px;
}

.deco-diamond--lg {
  width: 200px;
  height: 200px;
}

/* Decorative geometric octagon (using clip-path) */
.deco-octagon {
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: var(--color-gold);
  opacity: 0.04;
  clip-path: polygon(
    30% 0%, 70% 0%,
    100% 30%, 100% 70%,
    70% 100%, 30% 100%,
    0% 70%, 0% 30%
  );
  pointer-events: none;
}

/* Decorative dot pattern */
.deco-dots {
  position: absolute;
  width: 100px;
  height: 100px;
  opacity: 0.06;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--color-gold) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}

/* Section gold divider */
.section-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-sand) 20%,
    var(--color-gold) 50%,
    var(--color-sand) 80%,
    transparent 100%
  );
  max-width: 400px;
  margin: 0 auto;
}


/* ==========================================================================
   18. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* --- 480px: Larger phones --- */
@media (min-width: 480px) {
  :root {
    --text-4xl: 2.75rem;
    --text-5xl: 3.5rem;
    --text-display: 4.5rem;
  }

  .hero__title {
    font-size: var(--text-5xl);
  }

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

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

/* --- 768px: Tablet --- */
@media (min-width: 768px) {
  :root {
    --text-4xl: 3rem;
    --text-5xl: 4rem;
    --text-display: 5rem;
    --space-3xl: 6rem;
  }

  .container {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }

  .nav__links {
    display: flex;
  }

  .nav__hamburger {
    display: none;
  }

  .hero {
    min-height: 90vh;
  }

  .hero__title {
    font-size: var(--text-5xl);
  }

  .hero__image {
    display: block;
  }

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

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

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

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

  .testimonial {
    padding: var(--space-2xl) var(--space-2xl);
  }

  .display-heading {
    font-size: var(--text-5xl);
  }

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

/* --- 1024px: Desktop --- */
@media (min-width: 1024px) {
  :root {
    --text-4xl: 3.5rem;
    --text-5xl: 4.5rem;
    --text-display: 6rem;
    --space-3xl: 7rem;
  }

  .container {
    padding-left: var(--space-2xl);
    padding-right: var(--space-2xl);
  }

  .hero {
    min-height: 92vh;
  }

  .hero__title {
    font-size: var(--text-display);
  }

  .hero__content {
    max-width: 50%;
  }

  .hero__image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 560px;
  }

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

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

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .display-heading {
    font-size: var(--text-display);
  }

  .nav__inner {
    height: 72px;
  }

  .whatsapp-float {
    width: auto;
    height: auto;
    border-radius: 28px;
    padding: var(--space-sm) var(--space-lg) var(--space-sm) var(--space-md);
    gap: var(--space-sm);
  }

  .whatsapp-float__label {
    display: inline;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-white);
    white-space: nowrap;
  }

  .nav__logo-img {
    height: 40px;
  }
}


/* ==========================================================================
   19. ACCESSIBILITY
   ========================================================================== */

/* --- Skip Navigation Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 10000;
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--color-navy);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--transition-base);
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Focus-visible outlines (gold) */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* --- Accessible Color Contrast Fix ---
   Gold (#C8A96E) on Cream (#FAF7F2) = ~2.1:1 — FAILS 4.5:1
   Darkened gold for text: #7A6520 on Cream (#FAF7F2) = ~5.3:1 — PASSES 4.5:1
   Using a dedicated accessible gold variable for text usage */
:root {
  --color-gold-accessible: #7A6520;
}

.text-gold {
  color: var(--color-gold-accessible);
}

.label {
  color: var(--color-gold-accessible);
}

.hero__label {
  color: var(--color-gold-accessible);
}

/* Product price (gold on white) — also needs accessible color */
.product-info__price {
  color: var(--color-gold-accessible);
}

/* About page lead text uses gold-dark inline — override for contrast */
.about-story__lead {
  color: var(--color-gold-accessible) !important;
}

/* --- Touch Target Minimum Size (44x44px) --- */

/* Color swatches: ensure minimum touch target and keyboard accessibility */
.color-swatch {
  min-width: 44px;
  min-height: 44px;
}

/* FAQ question: ensure minimum touch target */
.faq-question {
  min-height: 44px;
}

/* Nav links: ensure minimum touch target on mobile */
.nav__overlay .nav__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Footer links: ensure minimum touch target */
.footer__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .whatsapp-float {
    animation: none;
  }

  .placeholder-image::after {
    animation: none;
  }

  .skip-link {
    transition: none;
  }
}

/* High contrast mode support */
@media (forced-colors: active) {
  .btn {
    border: 2px solid ButtonText;
  }

  .card {
    border: 1px solid CanvasText;
  }

  .faq-question__caret::before,
  .faq-question__caret::after {
    background-color: ButtonText;
  }

  .skip-link {
    border: 2px solid ButtonText;
  }
}

/* Print styles */
@media print {
  .nav,
  .whatsapp-float,
  .deco-diamond,
  .deco-octagon,
  .deco-dots {
    display: none !important;
  }

  body::before {
    display: none !important;
  }

  .section {
    padding: 1rem 0;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
