/* ============================================
   PAWNOMICS | Visual Identity
   Premium Children's Financial Education Brand
   Pastel Palette · Editorial · Timeless
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Color Palette: Soft Pastels */
  --warm-white: #FEFCF9;
  --cotton-white: #FBF8F3;
  --cream: #F5F0E8;
  --soft-lavender: #E8E0F0;
  --blush-pink: #F5E4E0;
  --pale-sky: #E3EDF5;
  --mint-whisper: #E5F0E8;
  --peach-glow: #FAE8D8;
  --beige-soft: #EDE6DA;
  --butter-yellow: #FDF5D6;
  --pale-coral: #F8D8C8;
  --soft-lilac: #E0D4F0;
  --pale-apricot: #FCECD0;
  --sage-mist: #D8E8D0;
  --powder-rose: #F0D0D0;
  --ice-blue: #D8EEF8;
  --pastel-cyan: #7EC8C8;
  --pastel-lavender: #B8A9C9;
  --pastel-peach: #E8A87C;
  --pastel-olive: #9CAF88;
  --pastel-pink: #D4A0A0;
  --pastel-gold: #C9B06B;
  --deep-teal: #3A7C7C;
  --soft-navy: #4A6274;
  --warm-brown: #6B4E3D;
  --warm-charcoal: #3D3D3D;
  --soft-black: #2E2E2E;
  --muted-text: #6B6B6B;

  /* Functional Colors */
  --bg-primary: var(--warm-white);
  --bg-secondary: var(--cotton-white);
  --bg-tertiary: var(--cream);
  --text-primary: var(--soft-black);
  --text-secondary: #5A5A5A;
  --text-muted: var(--muted-text);
  --accent-primary: var(--deep-teal);
  --accent-secondary: var(--pastel-peach);
  --accent-warm: var(--pastel-pink);
  --border-subtle: var(--beige-soft);
  --focus-ring: var(--pastel-cyan);

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* 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: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-text: 65ch;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-gentle: 600ms cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--soft-black);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
}

h4 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
}

p {
  max-width: var(--max-width-text);
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
}

.lead {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
}

a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition-base);
}

a:hover { color: var(--pastel-peach); }

strong { font-weight: 600; }

/* --- Focus States (Accessibility) --- */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--soft-navy);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  z-index: 10000;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
  color: #fff;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-5xl) 0;
}

@media (max-width: 768px) {
  .section { padding: var(--space-3xl) 0; }
  .container { padding: 0 var(--space-lg); }
}

/* --- Section Divider (Page Turn) --- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) 0;
  opacity: 0.4;
}

.section-divider svg {
  width: 120px;
  height: 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 197, 173, 0.3);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.nav--hidden { transform: translateY(-100%); }
.nav--scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.04); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--soft-black);
}

.nav__logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--deep-teal);
}

.nav__logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  list-style: none;
}

.nav__link {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-base);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--pastel-peach);
  transition: width var(--transition-gentle);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--soft-black);
}

.nav__link:hover::after { width: 100%; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--cream);
  border-radius: 20px;
  padding: 3px;
}

.lang-switch__btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border: none;
  border-radius: 16px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
}

.lang-switch__btn--active {
  background: var(--warm-white);
  color: var(--soft-black);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.lang-switch__btn:hover:not(.lang-switch__btn--active) {
  color: var(--soft-black);
}

/* Mobile Menu */
.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--soft-black);
}

.nav__mobile-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__mobile-toggle { display: block; }

  .nav__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--beige-soft);
    padding: var(--space-xl);
    gap: var(--space-lg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    animation: slideDown 300ms ease;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: linear-gradient(180deg, var(--cotton-white) 0%, var(--warm-white) 100%);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: var(--space-3xl) 0;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pastel-peach);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero__eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--pastel-peach);
}

.hero__title {
  margin-bottom: var(--space-xl);
}

.hero__title em {
  font-style: italic;
  color: var(--deep-teal);
}

.hero__description {
  font-size: 1.125rem;
  margin-bottom: var(--space-2xl);
  max-width: 480px;
}

.hero__cta-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__illustration-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__illustration-frame svg {
  width: 100%;
  height: 100%;
}

.hero__illustration-frame picture {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__illustration-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 68% 72% at center 46%, black 55%, transparent 88%);
  mask-image: radial-gradient(ellipse 68% 72% at center 46%, black 55%, transparent 88%);
  filter: drop-shadow(0 10px 24px rgba(107, 78, 61, 0.08));
}

/* Decorative elements */
.hero__decoration {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
}

.hero__decoration--1 {
  top: 10%;
  right: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--pastel-olive);
}

.hero__decoration--2 {
  bottom: 15%;
  left: -8%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--pastel-lavender);
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  .hero__description { max-width: 100%; }
  .hero__cta-group { justify-content: center; }
  .hero__illustration { order: -1; }
  .hero__illustration-frame { max-width: 360px; margin: 0 auto; }
  .hero__eyebrow { justify-content: center; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn--primary {
  background: var(--deep-teal);
  color: #fff;
}

.btn--primary:hover {
  background: var(--soft-navy);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(61, 90, 62, 0.2);
}

.btn--secondary {
  background: transparent;
  color: var(--soft-black);
  border: 1.5px solid var(--beige-soft);
}

.btn--secondary:hover {
  border-color: var(--pastel-peach);
  color: var(--pastel-peach);
}

.btn--warm {
  background: var(--pastel-pink);
  color: #fff;
}

.btn--warm:hover {
  background: var(--pastel-peach);
  color: #fff;
}

/* ============================================
   INTRODUCTION SECTION
   ============================================ */
.intro {
  background: var(--warm-white);
}

.intro__inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.intro__inner h2,
.intro__inner p {
  text-align: center;
}

.intro__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-xl);
  color: var(--pastel-peach);
}

.intro__title {
  margin-bottom: var(--space-xl);
}

.intro__text {
  font-size: 1.125rem;
  line-height: 1.85;
}

/* --- Rastro de huellas (aparición secuencial, sin recuadro) --- */
.rastro-huellas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.rastro-huellas-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.huella {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: aparecerHuella 4s infinite ease-in-out;
}

.huella:nth-child(1) { animation-delay: 0s; }
.huella:nth-child(2) { animation-delay: 1s; }
.huella:nth-child(3) { animation-delay: 2s; }
.huella:nth-child(4) { animation-delay: 3s; }

@keyframes aparecerHuella {
  0%   { opacity: 0; transform: scale(0.8); }
  20%  { opacity: 1; transform: scale(1); }
  80%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.8); }
}

.intro__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--beige-soft);
}

.intro__value {
  text-align: center;
}

.intro__value-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-md);
  color: var(--pastel-olive);
}

.intro__value h4 {
  margin-bottom: var(--space-sm);
}

.intro__value p {
  font-size: 0.9375rem;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .intro__values {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* ============================================
   FEATURED BOOK SECTION
   ============================================ */
.featured-book {
  background: var(--cotton-white);
  position: relative;
}

.featured-book__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-4xl);
  align-items: center;
}

.featured-book__visual {
  position: relative;
  perspective: 1000px;
}

.featured-book__cover {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 848/1264;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    8px 8px 24px rgba(107, 78, 61, 0.12),
    -2px -2px 8px rgba(255,255,255,0.8);
  transform: rotateY(-3deg);
  transition: transform var(--transition-gentle);
  background: var(--cream);
}

.featured-book__cover:hover {
  transform: rotateY(0deg);
}

.featured-book__cover svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-book__cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.featured-book__spine {
  position: absolute;
  left: -4px;
  top: 4px;
  bottom: 4px;
  width: 8px;
  background: linear-gradient(90deg, var(--warm-brown), var(--beige-soft));
  border-radius: 2px 0 0 2px;
  transform: translateX(-100%);
}

.featured-book__content { }

.featured-book__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pastel-pink);
  margin-bottom: var(--space-md);
}

.featured-book__title {
  margin-bottom: var(--space-lg);
}

.featured-book__excerpt {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-secondary);
  padding-left: var(--space-xl);
  border-left: 2px solid var(--pastel-olive);
  margin-bottom: var(--space-2xl);
}

.featured-book__meta {
  display: flex;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--beige-soft);
  border-bottom: 1px solid var(--beige-soft);
}

.featured-book__meta-item {
  text-align: center;
}

.featured-book__meta-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.featured-book__meta-value {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--soft-black);
}

@media (max-width: 900px) {
  .featured-book__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  .featured-book__cover { max-width: 280px; }
  .featured-book__excerpt { padding-left: var(--space-lg); }
  .featured-book__meta { justify-content: center; }
}

/* ============================================
   MEET THE ANIMALS SECTION
   ============================================ */
.animals {
  background: var(--warm-white);
}

.animals__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.animals__header h2,
.animals__header p {
  text-align: center;
}

.animals__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
}

.animal-card {
  text-align: center;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  background: var(--cotton-white);
  border: 1px solid transparent;
  transition: all var(--transition-gentle);
}

.animal-card:hover {
  border-color: var(--beige-soft);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(107, 78, 61, 0.06);
}

.animal-card__portrait {
  width: 180px;
  height: 180px;
  margin: 0 auto var(--space-xl);
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
  border: 3px solid var(--beige-soft);
}

.animal-card__portrait svg {
  width: 100%;
  height: 100%;
}

.animal-card__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.animal-card__species {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pastel-peach);
  margin-bottom: var(--space-md);
}

.animal-card__story {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .animals__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .animals__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .animals__grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */
.philosophy {
  background: var(--deep-teal);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='60' height='60' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

.philosophy__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.philosophy__content { }

.philosophy__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pastel-olive);
  margin-bottom: var(--space-md);
}

.philosophy__title {
  color: #fff;
  margin-bottom: var(--space-xl);
}

.philosophy__text {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.philosophy__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.philosophy__pillar {
  padding: var(--space-xl);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition-base);
}

.philosophy__pillar:hover {
  background: rgba(255,255,255,0.1);
}

.philosophy__pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.philosophy__pillar-icon svg,
.philosophy__pillar-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.philosophy__pillar-icon--photo {
  width: 180px;
  height: 180px;
}
  color: #fff;
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.philosophy__pillar p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .philosophy__inner { grid-template-columns: 1fr; }
  .philosophy__pillars { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .philosophy__pillars { grid-template-columns: 1fr; }
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
  background: var(--cotton-white);
}

.benefits__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.benefits__footer-art {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: var(--space-3xl) auto 0;
  vertical-align: bottom;
}

.benefits__column-title {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--pastel-olive);
}

.benefits__column-icon {
  width: 32px;
  height: 32px;
  color: var(--pastel-olive);
}

.benefit-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.benefit-item__marker {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--pastel-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.benefit-item__marker svg {
  width: 14px;
  height: 14px;
  color: var(--deep-teal);
}

.benefit-item h4 {
  font-size: 1.0625rem;
  margin-bottom: var(--space-xs);
}

.benefit-item p {
  font-size: 0.9375rem;
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .benefits__grid { grid-template-columns: 1fr; }
}

/* ============================================
   WHY FINANCIAL EDUCATION
   ============================================ */
.financial-ed {
  background: var(--warm-white);
}

.financial-ed__inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-4xl);
  align-items: center;
}

.financial-ed__content { }

.financial-ed__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pastel-pink);
  margin-bottom: var(--space-md);
}

.financial-ed__title {
  margin-bottom: var(--space-xl);
}

.financial-ed__text {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.financial-ed__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.stat-card {
  padding: var(--space-xl);
  background: var(--cotton-white);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--beige-soft);
}

.stat-card__number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--deep-teal);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-card__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

.financial-ed__visual {
  position: relative;
}

.financial-ed__illustration {
  width: 100%;
  aspect-ratio: 1;
  background: var(--cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.financial-ed__illustration svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .financial-ed__inner { grid-template-columns: 1fr; }
  .financial-ed__visual { order: -1; }
  .financial-ed__illustration { max-width: 400px; margin: 0 auto; }
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter {
  background: var(--cream);
  text-align: center;
}

.newsletter__inner {
  max-width: 560px;
  margin: 0 auto;
}

.newsletter__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-xl);
  color: var(--pastel-peach);
}

.newsletter__title {
  margin-bottom: var(--space-md);
}

.newsletter__text {
  font-size: 1.0625rem;
  margin-bottom: var(--space-2xl);
}

.newsletter__form {
  display: flex;
  gap: var(--space-sm);
  max-width: 480px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  padding: 14px 20px;
  border: 1.5px solid var(--beige-soft);
  border-radius: var(--radius-xl);
  background: var(--warm-white);
  color: var(--soft-black);
  transition: border-color var(--transition-base);
}

.newsletter__input::placeholder {
  color: var(--text-muted);
}

.newsletter__input:focus {
  border-color: var(--deep-teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(61, 90, 62, 0.1);
}

.newsletter__privacy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .newsletter__form { flex-direction: column; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--soft-black);
  color: rgba(255,255,255,0.7);
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand { }

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-md);
}

.footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
  margin: 0;
}

.footer__column h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-lg);
}

.footer__links {
  list-style: none;
}

.footer__link {
  display: block;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: var(--space-xs) 0;
  transition: color var(--transition-base);
}

.footer__link:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all var(--transition-base);
}

.footer__social-link:hover {
  border-color: var(--pastel-peach);
  color: var(--pastel-peach);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 700ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }

/* ============================================
   MOBILE ENHANCEMENTS
   Touch targets, font scaling, breakpoints
   ============================================ */

/* Base mobile improvements */
@media (max-width: 768px) {
  /* Touch targets - minimum 44x44px */
  .btn {
    min-height: 44px;
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
  }

  .nav__link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .lang-switch__btn {
    min-width: 44px;
    min-height: 44px;
  }

  .footer__link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Font scaling */
  html {
    font-size: 16px;
  }

  h1, .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  h3 {
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  }

  .lead {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
  }

  /* Hero section mobile */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .hero__visual {
    order: -1;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta-group .btn {
    width: 100%;
  }

  /* Navigation mobile (open/close handled by .nav__links--open, see main mobile menu rules) */
  .nav__link {
    width: 100%;
    justify-content: center;
  }

  /* Sections mobile */
  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  /* Intro section mobile */
  .intro__values {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* Featured book mobile */
  .featured-book__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .featured-book__visual {
    max-width: 280px;
    margin: 0 auto;
  }

  /* Benefits grid mobile */
  .benefits__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  /* Values grid mobile */
  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* Philosophy section mobile */
  .philosophy__pillars {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* Form elements mobile */
  input, textarea, select {
    font-size: 16px; /* Prevents zoom on iOS */
    min-height: 44px;
  }

  .form-group {
    margin-bottom: var(--space-lg);
  }

  /* Newsletter mobile */
  .newsletter__form {
    flex-direction: column;
    gap: var(--space-md);
  }

  .newsletter__input {
    width: 100%;
  }
}

/* Small mobile devices */
@media (max-width: 360px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero__cta-group .btn {
    font-size: 0.875rem;
    padding: var(--space-sm) var(--space-lg);
  }
}

/* Tablet improvements */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero__inner {
    gap: var(--space-3xl);
  }

  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .nav__link:hover,
  .footer__link:hover {
    /* Remove hover effects on touch devices */
    transform: none;
  }

  /* Increase tap targets */
  .lang-switch__btn {
    min-width: 48px;
    min-height: 48px;
  }

  .nav__mobile-toggle {
    min-width: 48px;
    min-height: 48px;
  }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: var(--space-2xl) 0;
  }

  .hero__visual {
    max-width: 200px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .nav, .newsletter, .footer__social { display: none; }
  body { background: #fff; }
  .section { padding: 2rem 0; }
}

/* ============================================
   HIGH CONTRAST MODE
   ============================================ */
@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .nav__link::after { display: none; }
}
