/* ================================================
   RAÍZ DE LUNA - Wellness Cardiovascular
   Palette: Terra Warm (SEED: fee5jjf8)
   ================================================ */

:root {
  /* Terra Warm Palette */
  --primary: #8b4513;
  --secondary: #a65d2e;
  --accent: #deb887;
  --background: #fdfaf6;
  --text: #3d2009;
  
  /* Extended Colors */
  --white: #ffffff;
  --light-gray: #f5f0ea;
  --border: rgba(139, 69, 19, 0.12);
  --shadow: rgba(61, 32, 9, 0.08);
  --overlay: rgba(61, 32, 9, 0.6);
  
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --section-padding: 80px;
  --container-width: 1200px;
  --gap: 24px;
  --radius: 12px;
  --radius-small: 8px;
}

/* ================================================
   RESET & BASE
   ================================================ */

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

ul, ol {
  list-style: none;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; font-weight: 500; color: var(--secondary); }

p {
  margin-bottom: 1rem;
}

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

.lead-text, .article-lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--secondary);
}

/* ================================================
   LAYOUT
   ================================================ */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header p {
  margin-top: 16px;
  color: var(--text);
  opacity: 0.85;
}

.section-tag, .page-tag, .article-tag, .program-tag, .product-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ================================================
   HEADER
   ================================================ */

.header {
  background: var(--primary);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px var(--shadow);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo:hover {
  color: var(--accent);
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-list a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ================================================
   HERO SECTIONS
   ================================================ */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61, 32, 9, 0.75) 0%, rgba(139, 69, 19, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: var(--white);
}

.hero-tag {
  color: var(--accent);
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Page Hero */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero-small {
  min-height: 35vh;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61, 32, 9, 0.6) 0%, rgba(139, 69, 19, 0.7) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  font-size: 3rem;
}

/* Article Hero */
.article-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}

.article-hero-bg {
  position: absolute;
  inset: 0;
}

.article-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(61, 32, 9, 0.85) 0%, rgba(61, 32, 9, 0.3) 60%, transparent 100%);
}

.article-hero .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.article-hero h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.article-meta-hero {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* ================================================
   BUTTONS
   ================================================ */

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-small);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

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

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--white);
}

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

.btn-white:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-text {
  padding: 0;
  background: none;
  border: none;
  color: var(--secondary);
  font-weight: 600;
}

.btn-text:hover {
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ================================================
   CARDS
   ================================================ */

/* Program Cards */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.programs-grid-small {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(61, 32, 9, 0.12);
}

.program-card-image {
  height: 200px;
  overflow: hidden;
}

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

.program-card:hover .program-card-image img {
  transform: scale(1.05);
}

.program-card-content {
  padding: var(--gap);
}

.program-card h3 {
  margin-bottom: 12px;
}

.program-card p {
  color: var(--text);
  opacity: 0.85;
  font-size: 0.95rem;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card-image {
  height: 200px;
  overflow: hidden;
  background: var(--light-gray);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-content {
  padding: var(--gap);
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 16px;
}

.product-price {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

/* Full Product Cards (Shop Page) */
.products-grid-full {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.product-card-full {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}

.product-card-reverse {
  direction: rtl;
}

.product-card-reverse > * {
  direction: ltr;
}

.product-card-full .product-card-image {
  height: 350px;
  border-radius: var(--radius);
  overflow: hidden;
}

.product-card-body {
  padding: 24px 0;
}

.product-card-body h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.product-card-body p {
  margin-bottom: 16px;
}

.product-features {
  margin: 24px 0;
  padding-left: 20px;
}

.product-features li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.product-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.product-footer .product-price {
  margin: 0;
}

/* ================================================
   ABOUT & CONTENT SECTIONS
   ================================================ */

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow);
}

.about-preview-content h2 {
  margin-bottom: 24px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
}

.content-main h2 {
  margin-bottom: 24px;
}

.content-main h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.aside-card {
  background: var(--white);
  padding: var(--gap);
  border-radius: var(--radius);
  margin-bottom: var(--gap);
  border-left: 4px solid var(--accent);
}

.aside-card.highlight {
  background: var(--primary);
  color: var(--white);
  border-left: none;
}

.aside-card.highlight h4 {
  color: var(--accent);
}

.aside-card.highlight ul {
  padding-left: 16px;
}

.aside-card.highlight li {
  margin-bottom: 8px;
  padding-left: 12px;
  position: relative;
}

.aside-card.highlight li::before {
  content: '✓';
  position: absolute;
  left: -8px;
  color: var(--accent);
}

.aside-card.important {
  border-left-color: var(--secondary);
  background: rgba(166, 93, 46, 0.08);
}

.aside-card h4 {
  margin-bottom: 12px;
}

/* ================================================
   PROGRAMS FULL
   ================================================ */

.programs-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.program-full {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.program-full-reverse {
  grid-template-columns: 1.2fr 1fr;
}

.program-full-reverse .program-full-image {
  order: 2;
}

.program-full-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow);
}

.program-full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-full-content h2 {
  margin-bottom: 16px;
}

.program-full-content p {
  margin-bottom: 24px;
}

.program-highlights {
  margin: 24px 0;
  padding-left: 20px;
}

.program-highlights li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
}

.program-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* Program Overview */
.program-overview {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.program-intro .lead-text {
  font-size: 1.25rem;
}

.program-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  padding: var(--gap);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
}

.meta-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.meta-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.meta-label {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.7;
}

.meta-value {
  font-weight: 600;
  color: var(--primary);
}

/* ================================================
   VALUES & STEPS
   ================================================ */

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

.value-card {
  background: var(--background);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: var(--secondary);
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.value-card p {
  font-size: 0.95rem;
  opacity: 0.85;
}

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

.step-card {
  text-align: center;
  padding: 24px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-card h3 {
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ================================================
   TEAM
   ================================================ */

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

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

.team-image {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.team-role {
  display: block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.team-info p {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ================================================
   SPACE SECTION
   ================================================ */

.space-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.space-content h2 {
  margin-bottom: 24px;
}

.space-features {
  margin-top: 24px;
  padding-left: 20px;
}

.space-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
}

.space-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.space-images {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow);
}

/* ================================================
   TESTIMONIALS
   ================================================ */

.testimonial-featured {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px var(--shadow);
  position: relative;
}

.quote-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 24px;
}

.testimonial-quote blockquote p {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-info strong {
  display: block;
  color: var(--primary);
}

.testimonial-info span {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.testimonial-card {
  background: var(--white);
  padding: var(--gap);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.testimonial-card-body p {
  font-style: italic;
  line-height: 1.7;
}

.testimonial-program {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
}

/* ================================================
   ARTICLES
   ================================================ */

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

.articles-grid-small {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-card-image {
  height: 200px;
  overflow: hidden;
}

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

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-content {
  padding: var(--gap);
}

.article-card h2,
.article-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.article-card h2 a,
.article-card h3 a {
  color: var(--primary);
}

.article-card h2 a:hover,
.article-card h3 a:hover {
  color: var(--secondary);
}

.article-card p {
  font-size: 0.95rem;
  opacity: 0.85;
}

.article-meta {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0.6;
}

/* Article Content */
.article-content-section {
  padding-top: 60px;
}

.article-body {
  max-width: 750px;
  margin: 0 auto;
}

.article-body h2 {
  margin-top: 48px;
  margin-bottom: 24px;
}

.article-body h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--light-gray);
  border-radius: var(--radius);
  text-align: center;
}

.article-cta p {
  margin-bottom: 20px;
}

/* ================================================
   INTRO CONTENT
   ================================================ */

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-text {
  font-size: 1.15rem;
  line-height: 1.8;
}

/* ================================================
   CTA SECTION
   ================================================ */

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ================================================
   CONTACT
   ================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-details {
  margin-top: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--secondary);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-item h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.contact-item p {
  font-size: 0.95rem;
  margin: 0;
}

.contact-note {
  margin-top: 32px;
  padding: 20px;
  background: var(--light-gray);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.contact-form-container {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px var(--shadow);
}

/* ================================================
   FORMS
   ================================================ */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--background);
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(166, 93, 46, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text);
  opacity: 0.5;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox input {
  width: auto;
  margin-top: 4px;
}

.form-checkbox label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
}

.form-note {
  margin-top: 16px;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.7;
}

/* Newsletter */
.newsletter-box {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px var(--shadow);
}

.newsletter-box h3 {
  margin-bottom: 12px;
}

.newsletter-box > p {
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-small);
  font-size: 1rem;
}

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

/* ================================================
   INFO BOXES
   ================================================ */

.info-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.info-box {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
}

.info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--secondary);
}

.info-icon svg {
  width: 100%;
  height: 100%;
}

.info-box h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.info-box p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Why Us */
.why-us-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.why-us-content h2 {
  margin-bottom: 24px;
}

/* ================================================
   FAQ
   ================================================ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: 0 2px 12px var(--shadow);
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.faq-item p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0;
}

/* ================================================
   MAP
   ================================================ */

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
}

.map-placeholder {
  background: var(--light-gray);
  padding: 60px 40px;
  text-align: center;
}

.map-placeholder p {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.map-directions {
  font-size: 0.95rem;
  opacity: 0.7;
}

/* ================================================
   LEGAL
   ================================================ */

.legal-section {
  padding-top: 120px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 8px;
}

.legal-update {
  color: var(--text);
  opacity: 0.6;
  font-size: 0.9rem;
  margin-bottom: 48px;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-style: italic;
  opacity: 0.7;
}

/* ================================================
   MODAL
   ================================================ */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  max-width: 450px;
  width: 100%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--light-gray);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: var(--border);
}

.modal-content h3 {
  margin-bottom: 12px;
}

.modal-content > p {
  margin-bottom: 24px;
  opacity: 0.85;
}

/* ================================================
   COOKIE BANNER
   ================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  padding: 20px;
  z-index: 1500;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
}

.cookie-content a {
  color: var(--accent);
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 16px;
}

.footer-logo:hover {
  color: var(--accent);
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-email {
  margin-top: 16px;
}

.footer-nav h4 {
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 8px;
}

.footer-address {
  font-size: 0.85rem;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1024px) {
  .programs-grid,
  .products-grid,
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-preview-grid,
  .contact-grid,
  .space-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .content-aside {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
  }
  
  .program-full,
  .program-full-reverse {
    grid-template-columns: 1fr;
  }
  
  .program-full-reverse .program-full-image {
    order: 0;
  }
  
  .product-card-full {
    grid-template-columns: 1fr;
  }
  
  .product-card-reverse {
    direction: ltr;
  }
  
  .program-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .hero h1 { font-size: 2.5rem; }
  .page-hero h1 { font-size: 2.25rem; }
  .article-hero h1 { font-size: 2rem; }
  
  .nav-list {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-list.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-list a {
    display: block;
    padding: 12px 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .programs-grid,
  .products-grid,
  .articles-grid,
  .testimonials-grid,
  .values-grid,
  .steps-grid,
  .info-boxes,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .programs-grid-small,
  .articles-grid-small {
    grid-template-columns: 1fr;
  }
  
  .content-aside {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .testimonial-quote {
    padding: 32px 24px;
  }
  
  .modal-content {
    padding: 32px 24px;
  }
  
  .product-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 12px 24px;
  }
}
