/* ==========================================================================
   Nutrivita by Alessia — Concept Mockup Stylesheet
   Color Palette: Sage Green, Warm Sand, Dark Espresso / Charcoal
   Aesthetic: Natural, Warm, Calm, Healthy, Elegant, Premium & Approachable
   ========================================================================== */

:root {
  /* Official Brand Palette from Brand Guidelines */
  --brand-olive: #737147;      /* Primary Brand Olive */
  --brand-bronze: #524825;     /* Deep Bronze Olive */
  --brand-sage: #959683;       /* Muted Sage Stone */
  --brand-khaki: #C4BF98;      /* Warm Khaki Sand */
  --brand-forest: #45492F;     /* Deep Forest Olive */
  --brand-herb: #73765F;       /* Herbaceous Olive */

  /* Color Palette - Sage / Olive Tones */
  --sage-50: #f7f8f4;
  --sage-100: #eaece4;
  --sage-200: #d7dcd0;
  --sage-300: #959683;
  --sage-500: #737147;   /* Official Olive */
  --sage-600: #524825;   /* Official Bronze Olive */
  --sage-700: #45492F;   /* Official Forest Olive */
  --sage-800: #383b25;
  --sage-900: #2a2c1b;

  /* Color Palette - Warm Sand, Khaki & Linen */
  --sand-50: #FAF9F6;    /* Soft linen main background */
  --sand-100: #F4EFE6;   /* Warm sand section background */
  --sand-200: #EBE3D3;   /* Soft sand border / subtle card background */
  --sand-300: #C4BF98;   /* Official Warm Khaki Sand */
  --sand-400: #b5ae82;
  --sand-500: #9b9468;

  /* Color Palette - Typography */
  --text-dark: #27271e;       /* Primary headlines and bold text */
  --text-body: #49493f;       /* Body copy with optimal contrast and warmth */
  --text-muted: #73765F;      /* Captions, sub-labels, subtle notes */
  --text-light: #959683;

  /* Accents & Neutrals */
  --white: #ffffff;
  --warm-white: #fdfcf9;
  --terracotta: #c4765d;
  --border-light: rgba(115, 113, 71, 0.16);
  --border-sand: rgba(196, 191, 152, 0.45);

  /* Typography Fonts */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Alex Brush', 'La Belle Aurore', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(36, 34, 32, 0.04);
  --shadow-md: 0 8px 24px rgba(36, 34, 32, 0.06);
  --shadow-lg: 0 16px 36px rgba(45, 59, 43, 0.09);
  --shadow-hover: 0 22px 45px rgba(45, 59, 43, 0.13);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--sand-50);
  color: var(--text-body);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-700);
  background-color: var(--sage-100);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-tag.sand {
  background-color: var(--sand-200);
  color: var(--text-body);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Concept Banner */
.concept-top-bar {
  background-color: var(--sage-900);
  color: var(--sand-100);
  font-size: 0.8rem;
  padding: 0.55rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.concept-top-bar a.guide-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  margin-left: 0.75rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-fast);
}

.concept-top-bar a.guide-btn:hover {
  background: var(--sage-500);
}

/* Top Loading Progress Accent */
.page-load-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--sage-500), var(--sage-700), #d89b37, var(--sage-600));
  z-index: 10000;
  width: 0%;
  animation: loadProgressAnim 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes loadProgressAnim {
  0% { width: 0%; opacity: 1; }
  60% { width: 75%; opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

/* Header & Wordmark */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: rgba(251, 249, 246, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition-fast);
  animation: headerDropIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes headerDropIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Brand Wordmark & Logo */
.brand-wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform var(--transition-fast);
}

.brand-wordmark:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-wordmark-text {
  display: flex;
  flex-direction: column;
}

.brand-wordmark .brand-main {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.brand-wordmark .brand-sub {
  font-family: var(--font-script, var(--font-serif));
  font-size: 1.1rem;
  color: var(--brand-olive);
  font-weight: 400;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--sage-600);
  transition: width var(--transition-smooth);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--sage-700);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
}

.header-cta-group .btn {
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.65rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--sage-600);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(85, 114, 81, 0.25);
}

.btn-primary:hover {
  background-color: var(--sage-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(85, 114, 81, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--sand-100);
  color: var(--text-dark);
  border: 1px solid var(--border-sand);
}

.btn-secondary:hover {
  background-color: var(--sand-200);
  transform: translateY(-2px);
  border-color: var(--sand-400);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--sage-600);
}

.btn-outline:hover {
  background-color: var(--sage-50);
  border-color: var(--sage-700);
  color: var(--sage-800);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.84rem;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem 0;
  background: linear-gradient(180deg, var(--sand-50) 0%, var(--sand-100) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  max-width: 580px;
}

.hero-content h1 {
  font-size: clamp(1.9rem, 5.2vw, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.hero-content h1 span.highlight {
  font-style: italic;
  color: var(--sage-600);
  font-family: var(--font-display);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-sand);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--sage-600);
  flex-shrink: 0;
}

/* Hero Visual Box */
.hero-visual-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
  background-color: var(--sand-200);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-card:hover img {
  transform: scale(1.025);
}

.hero-content .section-tag {
  animation: animFadeUp 0.8s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content h1 {
  animation: animFadeUp 0.85s 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content .hero-description {
  animation: animFadeUp 0.85s 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-actions {
  animation: animFadeUp 0.85s 0.56s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-trust-bar {
  animation: animFadeUp 0.85s 0.70s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-visual-wrapper .hero-image-card {
  animation: animScaleUp 1s 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background-color: var(--white);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
}

.badge-top {
  top: -18px;
  right: -15px;
  animation: badgePop 0.85s 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) both, floatSubtle 4s 1.6s ease-in-out infinite alternate;
}

.badge-bottom {
  bottom: -22px;
  left: -20px;
  animation: badgePop 0.85s 0.95s cubic-bezier(0.34, 1.56, 0.64, 1) both, floatSubtle 4s 1.8s ease-in-out infinite alternate;
}

.badge-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: var(--sage-100);
  color: var(--sage-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-text-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.badge-text-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

@keyframes floatSubtle {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

@keyframes animFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes animScaleUp {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(25px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes badgePop {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ==========================================================================
   About Page Dedicated Styles
   ========================================================================== */
.about-page-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 960px) {
  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-page-sticky,
  .about-visual {
    position: static !important;
  }
}

/* ==========================================================================
   Scroll-Triggered Reveal System
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ==========================================================================
   Section 2: About Nutrivita by Alessia
   ========================================================================== */
.about-section {
  padding: 6.5rem 0;
  background-color: var(--sand-50);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  align-items: start;
  gap: 3.5rem;
}

.about-visual {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 7px solid var(--white);
  background-color: var(--sand-200);
}

.about-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(39, 39, 30, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-quote-card {
  background: var(--brand-forest);
  color: #ffffff;
  padding: 1.5rem 1.75rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.about-quote-card .quote-symbol {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--brand-khaki);
  opacity: 0.9;
}

.about-quote-card .quote-phrase {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.45;
  color: #ffffff;
}

.about-quote-card .quote-author {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-khaki);
  font-weight: 600;
  margin-top: 0.35rem;
}

.about-content h2 {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  margin-bottom: 1.25rem;
}

.about-quote-box {
  background-color: var(--sage-50);
  border-left: 3px solid var(--sage-600);
  padding: 1.15rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.6rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--sage-900);
  line-height: 1.6;
}

.about-text {
  color: var(--text-body);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.value-pill {
  background-color: var(--white);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-sand);
  text-align: center;
}

.value-pill-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--sand-100);
  color: var(--sage-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem auto;
}

.value-pill-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
}

.editable-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  background-color: var(--sand-100);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
}

/* ==========================================================================
   Section 3: Nutrition Services
   ========================================================================== */
.services-section {
  padding: 6.5rem 0;
  background-color: var(--sand-100);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}

.service-card {
  background-color: var(--white);
  border-radius: 24px;
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-sand);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-olive);
}

.service-card.featured {
  border: 2px solid var(--brand-olive);
  background: linear-gradient(180deg, var(--white) 0%, var(--sand-50) 100%);
  position: relative;
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--brand-forest);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.95rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: var(--sage-50);
  color: var(--brand-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background-color: var(--brand-olive);
  color: #ffffff;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.service-price-block {
  margin: 0.25rem 0 0.85rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.service-price-amount {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--brand-olive);
  line-height: 1;
}

.service-price-period {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.service-section-subtitle {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brand-forest);
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
}

.service-card p.service-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-details-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 0;
  border-top: 1px dashed var(--border-sand);
  border-bottom: 1px dashed var(--border-sand);
}

.service-details-split .service-features {
  border-top: none;
  margin-bottom: 0;
  padding: 0.3rem 0;
}

.service-features {
  list-style: none;
  padding: 1rem 0;
  border-top: 1px dashed var(--border-sand);
  margin-bottom: 1.25rem;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-body);
  margin-bottom: 0.55rem;
  line-height: 1.45;
}

.service-features li svg {
  color: var(--brand-olive);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-meta-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   Section 4: Nutrition / Wellness Philosophy
   ========================================================================== */
.philosophy-section {
  padding: 6.5rem 0;
  background-color: var(--sand-50);
  position: relative;
}

.philosophy-banner {
  background: linear-gradient(135deg, var(--sage-900) 0%, var(--sage-800) 100%);
  border-radius: 28px;
  padding: 3.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.philosophy-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(169, 196, 164, 0.15) 0%, transparent 70%);
  border-radius: var(--radius-full);
}

.philosophy-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
  position: relative;
  z-index: 2;
}

.philosophy-intro h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  color: #ffffff;
  margin-bottom: 1rem;
}

.philosophy-intro p {
  color: var(--sand-200);
  font-size: 1.05rem;
  line-height: 1.7;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.philosophy-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 2.2rem 1.8rem;
  border-radius: 18px;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.philosophy-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-5px);
  border-color: rgba(196, 191, 152, 0.4);
}

.philosophy-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-style: italic;
  color: var(--brand-khaki);
  margin-bottom: 0.6rem;
  line-height: 1;
}

.philosophy-card h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.philosophy-card p {
  font-size: 0.92rem;
  color: var(--sand-200);
  line-height: 1.6;
}

/* ==========================================================================
   Section 5: How It Works (4 Steps)
   ========================================================================== */
.how-it-works-section {
  padding: 6.5rem 0;
  background-color: var(--sand-100);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 2rem;
}

@media (max-width: 1080px) {
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .steps-container {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background-color: var(--white);
  padding: 2.4rem 1.75rem;
  border-radius: 22px;
  border: 1px solid var(--border-sand);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-olive);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--brand-olive);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.step-card .step-phase {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brand-olive);
  margin-bottom: 0.35rem;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
  flex-grow: 1;
}

.step-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--brand-forest);
  background-color: var(--sage-100);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-top: 1.25rem;
}

/* ==========================================================================
   Areas of Focus Section
   ========================================================================== */
.focus-areas-wrapper {
  margin-top: 4.5rem;
  background-color: var(--white);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  border: 1px solid var(--border-sand);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.focus-areas-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

.focus-areas-header h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-bottom: 0.6rem;
}

.focus-areas-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.focus-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.focus-area-pill {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--sand-50);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all var(--transition-smooth);
}

.focus-area-pill:hover {
  background: var(--sage-50);
  border-color: var(--brand-olive);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.focus-area-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--sage-100);
  color: var(--brand-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Section 6: Why Nutrivita by Alessia
   ========================================================================== */
.why-section {
  padding: 6.5rem 0;
  background-color: var(--sand-50);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.why-card {
  background-color: var(--white);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--border-sand);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sage-300);
}

.why-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--sage-100);
  color: var(--sage-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Section 7: Testimonials
   ========================================================================== */
.testimonials-section {
  padding: 6.5rem 0;
  background-color: var(--sand-100);
}

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

.testimonial-card {
  background-color: var(--white);
  padding: 2.4rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-sand);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

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

.star-rating {
  color: #d89b37;
  display: flex;
  gap: 3px;
  margin-bottom: 1.2rem;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 1.8rem;
  position: relative;
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--sand-200);
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--sage-100);
  color: var(--sage-800);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-info h4 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
}

.client-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.placeholder-badge {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  width: 100%;
  margin-top: 2rem;
  font-style: italic;
}

/* ==========================================================================
   Section 8: Final CTA
   ========================================================================== */
.final-cta-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, var(--sand-100) 0%, var(--sand-50) 100%);
  position: relative;
}

.cta-box {
  background: linear-gradient(135deg, var(--sage-600) 0%, var(--sage-700) 100%);
  border-radius: 32px;
  padding: 4.5rem 3rem;
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-box-content {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-box h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.cta-box p {
  color: var(--sand-100);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.cta-box .btn-cta-white {
  background-color: #ffffff;
  color: var(--sage-800);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 2.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cta-box .btn-cta-white:hover {
  background-color: var(--sand-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-box .btn-cta-outline,
.cta-box .btn-outline {
  background-color: transparent;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border: 1.5px solid #ffffff !important;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-smooth);
}

.cta-box .btn-cta-outline:hover,
.cta-box .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.cta-contact-sub {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-contact-sub a {
  text-decoration: underline;
  color: #ffffff;
}

/* ==========================================================================
   Nutrition Lifestyle Visual Gallery
   ========================================================================== */
.lifestyle-gallery-section {
  padding: 5.5rem 0;
  background-color: var(--sand-100);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.gallery-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 5px solid #ffffff;
  background-color: var(--sand-200);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

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

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-card-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(39, 39, 30, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-card-1 { grid-column: span 7; height: 350px; }
.gallery-card-2 { grid-column: span 5; height: 350px; }
.gallery-card-3 { grid-column: span 4; height: 300px; }
.gallery-card-4 { grid-column: span 4; height: 300px; }
.gallery-card-5 { grid-column: span 4; height: 300px; }

@media (max-width: 992px) {
  .gallery-card-1 { grid-column: span 12; height: 320px; }
  .gallery-card-2 { grid-column: span 12; height: 300px; }
  .gallery-card-3 { grid-column: span 6; height: 260px; }
  .gallery-card-4 { grid-column: span 6; height: 260px; }
  .gallery-card-5 { grid-column: span 12; height: 260px; }
}

@media (max-width: 600px) {
  .gallery-card-1,
  .gallery-card-2,
  .gallery-card-3,
  .gallery-card-4,
  .gallery-card-5 {
    grid-column: span 12;
    height: 240px;
  }
}

/* ==========================================================================
   Section 9: Footer
   ========================================================================== */
.site-footer {
  background-color: var(--text-dark);
  color: var(--sand-200);
  padding: 5rem 0 2.5rem 0;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .brand-main {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.footer-brand .brand-sub {
  color: var(--sage-300);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--sand-300);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--sand-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--sage-600);
  color: #ffffff;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--sand-300);
}

.footer-links a:hover {
  color: #ffffff;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-input {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.85rem;
  flex-grow: 1;
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--sage-400);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: var(--sand-100);
}

/* ==========================================================================
   Modals & Drawers (Interactive Presentation)
   ========================================================================== */

/* Booking Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(36, 34, 32, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--sand-50);
  width: 100%;
  max-width: 540px;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--sand-200);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
}

.modal-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.booking-form .form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage-600);
  box-shadow: 0 0 0 3px rgba(85, 114, 81, 0.15);
}

/* Floating Squarespace Helper Button */
.floating-guide-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--text-dark);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1000;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.floating-guide-toggle:hover {
  background-color: var(--sage-700);
  transform: translateY(-3px);
}

.floating-guide-toggle span.badge {
  background-color: var(--sage-500);
  color: #ffffff;
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}

/* Squarespace Drawer */
.guide-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 2500;
  transition: right var(--transition-smooth);
  padding: 2rem;
  overflow-y: auto;
}

.guide-drawer.open {
  right: 0;
}

.guide-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sand-200);
}

.guide-drawer-header h3 {
  font-size: 1.35rem;
}

.guide-step-card {
  background-color: var(--sand-50);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--sand-200);
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.guide-step-card h4 {
  font-size: 0.95rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--sage-800);
  margin-bottom: 0.35rem;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 280px;
  height: 100vh;
  background-color: var(--sand-50);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 2500;
  padding: 2.5rem 1.5rem;
  transition: left var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  left: 0;
}

.mobile-drawer-links {
  list-style: none;
  margin: 2rem 0;
}

.mobile-drawer-links li {
  margin-bottom: 1.25rem;
}

.mobile-drawer-links a {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* Toast Message */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--sage-900);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  opacity: 0;
  transition: all var(--transition-smooth);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Mobile Drawer Backdrop */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(36, 34, 32, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2400;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Dedicated About Page Story Card */
.about-story-card {
  background: var(--white);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  border: 1px solid var(--border-sand);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Comprehensive Responsive Media Queries
   Breakpoints: 1200px, 991px, 768px, 640px, 480px, 360px
   ========================================================================== */

/* --- 1. Large Tablets & Small Laptops (<= 1180px) --- */
@media (max-width: 1180px) {
  .nav-links {
    gap: 1.15rem;
  }
  .nav-links a {
    font-size: 0.86rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* --- 2. Medium Tablets & Landscape Devices (<= 1080px) --- */
@media (max-width: 1080px) {
  /* Switch to Mobile Navigation Drawer */
  .nav-links, 
  .header-cta-group {
    display: none !important;
  }
  
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Two-column to Single-column Grids */
  .hero-grid,
  .about-grid,
  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-page-sticky,
  .about-visual {
    position: static !important;
  }

  .hero-content,
  .about-content {
    max-width: 100%;
  }

  .hero-image-card img,
  .about-frame img {
    height: 400px;
  }

  /* Secondary Grids */
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .why-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  /* Section Spacing */
  .hero-section {
    padding: 3.5rem 0 4.5rem 0;
  }
  
  .about-section,
  .services-section,
  .philosophy-section,
  .how-it-works-section,
  .why-section,
  .testimonials-section {
    padding: 5rem 0;
  }

  .philosophy-banner {
    padding: 3rem 2rem;
  }
}

/* --- 3. Portrait Tablets & Large Phones (<= 768px) --- */
@media (max-width: 768px) {
  /* Global typography & Section Header adjustments */
  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: clamp(1.75rem, 5vw, 2.3rem);
  }

  .section-header p {
    font-size: 0.98rem;
  }

  /* Grids collapsing to 1 column */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .philosophy-banner {
    padding: 2.4rem 1.4rem;
    border-radius: 22px;
  }

  .philosophy-intro {
    margin-bottom: 2rem;
  }

  .philosophy-card {
    padding: 1.8rem 1.4rem;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .step-card {
    padding: 2rem 1.5rem;
  }

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

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

  .focus-areas-wrapper {
    padding: 2.5rem 1.5rem;
    border-radius: 22px;
    margin-top: 3rem;
  }

  .focus-areas-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .about-story-card {
    padding: 2.5rem 1.6rem;
    border-radius: 22px;
  }

  .cta-box {
    padding: 3.5rem 1.5rem;
    border-radius: 22px;
  }

  .cta-box h2 {
    font-size: 1.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }

  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* --- 4. Standard Mobile Devices (<= 640px) --- */
@media (max-width: 640px) {
  /* Container Edge Spacing */
  .container {
    padding: 0 1.15rem;
  }

  /* Top Announcement Bar */
  .concept-top-bar {
    font-size: 0.75rem;
    padding: 0.45rem 0.5rem;
  }

  .concept-top-bar .container {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }

  /* Header Brand Logo */
  .brand-logo-img {
    height: 48px;
  }

  .nav-container {
    height: 70px;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.8rem 0 3.8rem 0;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 7.5vw, 2.4rem);
    line-height: 1.22;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.6rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-trust-bar {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .hero-image-card img,
  .about-frame img {
    height: 300px;
  }

  /* Safely contain floating badges on mobile */
  .floating-badge {
    position: static;
    margin: 0.85rem 0;
    box-shadow: var(--shadow-sm);
    animation: none !important;
  }

  .badge-top, 
  .badge-bottom {
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }

  /* About Alessia experience card */
  .about-experience-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
    box-shadow: var(--shadow-sm);
  }

  .about-quote-box {
    font-size: 1.02rem;
    padding: 1rem 1.15rem;
  }

  .about-actions {
    flex-direction: column;
    width: 100%;
  }

  .about-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Services */
  .service-card {
    padding: 2rem 1.35rem;
    border-radius: 18px;
  }

  .service-details-split {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .service-price-amount {
    font-size: 1.85rem;
  }

  /* Focus areas */
  .focus-areas-wrapper {
    padding: 2rem 1.15rem;
    border-radius: 18px;
  }

  .focus-areas-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .focus-area-pill {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
  }

  /* Modal Dialog */
  .modal-overlay {
    padding: 0.85rem;
  }

  .modal-card {
    padding: 2rem 1.25rem 1.5rem 1.25rem;
    border-radius: 18px;
    max-height: 92vh;
  }

  .modal-header h3 {
    font-size: 1.4rem;
  }

  .modal-header p {
    font-size: 0.85rem;
  }

  /* Floating Assistant Guide Button */
  .floating-guide-toggle {
    bottom: 16px;
    right: 16px;
    padding: 0.6rem 0.95rem;
    font-size: 0.78rem;
  }

  .floating-guide-toggle span.badge {
    display: none;
  }

  /* Guide Drawer on small mobile */
  .guide-drawer {
    width: 100%;
    max-width: 100vw;
    right: -100vw;
    padding: 1.5rem 1.15rem;
  }

  /* Section Padding reduction */
  .about-section,
  .services-section,
  .philosophy-section,
  .how-it-works-section,
  .why-section,
  .testimonials-section {
    padding: 3.8rem 0;
  }
}

/* --- 5. Compact Small Devices (<= 380px) --- */
@media (max-width: 380px) {
  .hero-content h1 {
    font-size: 1.65rem;
  }

  .hero-image-card img,
  .about-frame img {
    height: 250px;
  }

  .step-number {
    font-size: 2.2rem;
  }

  .brand-logo-img {
    height: 42px;
  }

  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.86rem;
  }
}

