/* ================================================
   Nadin Lerch — Estilos principales
   ================================================ */

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

  :root {
    --cream: #f5f0e8;
    --warm-white: #faf8f4;
    --dark: #1a1a18;
    --mid: #4a4a45;
    --muted: #8a8880;
    --accent: #8b6f5e;
    --border: rgba(26,26,24,0.12);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'DM Sans', sans-serif;
  }

  html { scroll-behavior: smooth; overflow-x: hidden; }

  body {
    font-family: var(--sans);
    background: var(--warm-white);
    color: var(--dark);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 3rem;
    background: rgba(250,248,244,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--dark);
  }
  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }
  .nav-links a {
    text-decoration: none;
    color: var(--mid);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--dark); }
  .nav-cta {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--dark);
    border: 1px solid var(--dark);
    padding: 0.55rem 1.4rem;
    transition: all 0.2s;
  }
  .nav-cta:hover { background: var(--dark); color: var(--warm-white); }

  /* HERO */
  .hero {
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 72px;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 3rem 5rem 3rem;
    background: var(--cream);
  }
  .hero-label {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2rem;
  }
  .hero-title {
    font-family: var(--serif);
    font-size: clamp(3.5rem, 5vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 2rem;
  }
  .hero-title em {
    font-style: italic;
    color: var(--accent);
  }
  .hero-desc {
    font-size: 1rem;
    color: var(--mid);
    max-width: 420px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
  }
  .btn-primary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--accent);
    color: var(--warm-white);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
    transition: all 0.2s;
    align-self: flex-start;
  }
  .btn-primary:hover { background: #6a5246; }
  .btn-outline {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border: 1px solid var(--dark);
    color: var(--dark);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
    transition: all 0.2s;
    align-self: flex-start;
    margin-left: 1rem;
  }
  .btn-outline:hover { background: var(--dark); color: var(--warm-white); }
  .hero-btns { display: flex; align-items: center; }

  .hero-right {
    position: relative;
    background: #f7e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  /* Mesh gradient background */
  .hero-mesh {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 20% 30%, rgba(139,111,94,0.15) 0%, transparent 55%),
      radial-gradient(ellipse at 80% 10%, rgba(139,111,94,0.1) 0%, transparent 50%),
      radial-gradient(ellipse at 60% 80%, rgba(139,111,94,0.12) 0%, transparent 55%),
      radial-gradient(ellipse at 10% 90%, rgba(139,111,94,0.08) 0%, transparent 45%);
    background-color: #f7e8e8;
    z-index: 0;
  }
  /* Parallax photo wrapper */
  .hero-parallax {
    position: relative;
    will-change: transform;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    padding-top: 100px;
  }
  .hero-img-placeholder {
    width: min(420px, 80%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #f7e8e8;
    overflow: hidden;
    box-shadow:
      0 8px 40px rgba(0,0,0,0.13),
      0 2px 8px rgba(0,0,0,0.07);
    flex-shrink: 0;
  }
  .hero-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 1;
    display: block;
  }
  .hero-quote {
    z-index: 2;
    position: absolute;
    bottom: 1rem;
    left: 2rem;
    right: 2rem;
    padding: 0.5rem;
    border-left: 2px solid rgba(26,26,24,0.2);
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(6px);
    border-radius: 0 6px 6px 0;
  }
  .hero-quote blockquote {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(26,26,24,0.85);
    line-height: 1.6;
    font-weight: 300;
  }
  .hero-quote cite {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26,26,24,0.5);
    font-style: normal;
    font-family: var(--sans);
  }

  /* SECTION BASE */
  section { padding: 6rem 3rem; }
  .section-label {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.25rem;
  }
  .section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 3rem;
  }
  .section-title em { font-style: italic; color: var(--accent); }

  /* PROBLEMAS + SESIONES two-col */
  .problemas-sesiones {
    background: var(--warm-white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
  }
  .ps-col {
    padding: 6rem 3rem;
  }
  .ps-left {
    background: var(--warm-white);
  }
  .ps-right {
    background: var(--cream);
    border-left: 1px solid var(--border);
  }
  .problemas { background: var(--warm-white); }
  .problemas-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 600px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }
  .problemas-list li {
    padding: 1.0rem 2rem;
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background 0.2s;
  }
  .problemas-list li:last-child { border-bottom: none; }
  .problemas-list li:hover { background: var(--cream); }
  .problemas-list li::before {
    content: "—";
    color: var(--accent);
    font-family: var(--serif);
    flex-shrink: 0;
  }

  /* SESIONES */
  .sesiones { background: var(--warm-white); }
  .sesiones-intro {
    max-width: 620px;
    font-size: 1.05rem;
    color: rgba(26,26,24,0.7);
    line-height: 1.8;
    margin-top: 0;
  }
  .sesiones-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }
  .sesiones-text p {
    font-size: 0.95rem;
    color: var(--mid);
    line-height: 1.85;
    margin-bottom: 1.25rem;
  }
  .sesiones-steps { display: flex; flex-direction: column; gap: 0; }
  .step {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
  }
  .step:first-child { border-top: 1px solid var(--border); }
  .step-num {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted);
    min-width: 28px;
    padding-top: 0.15rem;
  }
  .step-content h4 {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
  }
  .step-content p { font-size: 0.88rem; color: var(--mid); line-height: 1.75; }

  /* MODALIDADES */
  .modalidades { background: var(--dark); }
  .modalidades .section-title { color: var(--cream); }
  .modalidades .section-label { color: rgba(245,240,232,0.4); }
  .modalidades-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }
  .modalidad {
    padding: 3rem;
    background: rgba(245,240,232,0.04);
    border: 1px solid rgba(245,240,232,0.1);
    transition: background 0.2s;
  }
  .modalidad:hover { background: rgba(245,240,232,0.07); }
  .modalidad-tag {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
  }
  .modalidad h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--cream);
    margin-bottom: 1.25rem;
    line-height: 1.3;
  }
  .modalidad-items { list-style: none; }
  .modalidad-items li {
    font-size: 0.88rem;
    color: rgba(245,240,232,0.55);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(245,240,232,0.07);
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .modalidad-items li:last-child { border-bottom: none; }
  .modalidad-items li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }

  /* BLOG */
  .blog { background: #fdfbf7; border-top: 1px solid var(--border); }
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .blog-card { cursor: pointer; }
  .blog-card a {
    display: block;
    color: inherit;
    text-decoration: none;
  }
  .blog-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    margin-bottom: 1.25rem;
    background: var(--cream);
  }
  .blog-tag {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
  }
  .blog-card h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
  }
  .blog-card:hover h3 { color: var(--accent); }
  .blog-card p {
    font-size: 0.86rem;
    color: var(--mid);
    line-height: 1.7;
    margin-bottom: 0.75rem;
  }
  .blog-meta {
    font-size: 0.78rem;
    color: var(--muted);
  }

  /* CTA FINAL */
  .cta-section {
    background: var(--cream);
    text-align: center;
    padding: 8rem 3rem;
  }
  .cta-section .section-title { margin-bottom: 1.5rem; }
  .cta-section p {
    font-size: 1rem;
    color: var(--mid);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
  }

  /* FOOTER */
  footer {
    background: var(--dark);
    padding: 3rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(245,240,232,0.08);
  }
  .footer-logo {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--cream);
    font-weight: 300;
  }
  .footer-links { display: flex; gap: 2rem; list-style: none; }
  .footer-links a {
    font-size: 0.8rem;
    color: rgba(245,240,232,0.4);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: rgba(245,240,232,0.8); }
  .footer-copy {
    font-size: 0.78rem;
    color: rgba(245,240,232,0.3);
  }

  /* ── HAMBURGER ── */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--dark);
    transition: all 0.25s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .mobile-menu {
    display: none;
    position: fixed;
    top: 56px; left: 0; right: 0;
    z-index: 99;
    background: rgba(250,248,244,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    padding: 1rem 1.5rem;
    font-size: 0.83rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--mid);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
  }
  .mobile-menu a:last-child { border-bottom: none; color: var(--dark); font-weight: 400; }
  .mobile-menu a:hover { color: var(--dark); }

  /* ── PREVENT HORIZONTAL OVERFLOW ── */
  html { scroll-behavior: smooth; overflow-x: hidden; }

  /* ── TABLET 768–1024 ── */
  @media (max-width: 1024px) {
    nav { padding: 1rem 2rem; }
    .nav-links { gap: 1.75rem; }
    section { padding: 5rem 2rem; }
    .hero-left { padding: 2rem 2rem; }
    .sesiones-inner { gap: 3rem; }
    .blog-grid { gap: 1.5rem; }
    .modalidades-grid { gap: 1px; }
    .modalidad { padding: 2.25rem; }
    footer { padding: 2.5rem 2rem; }
  }

  /* ── MOBILE ≤768 ── */
  @media (max-width: 768px) {
    /* NAV */
    nav { padding: 0.9rem 1.25rem; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-hamburger { display: flex; }

    /* HERO */
    .hero {
      grid-template-columns: 1fr;
      min-height: auto;
      margin-top: 56px;
    }
    .hero-left {
      padding: 3rem 1.25rem 2.75rem;
      order: 1;
    }
    .hero-label { margin-bottom: 1.25rem; font-size: 0.72rem; }
    .hero-title { font-size: clamp(2.6rem, 9vw, 3.5rem); margin-bottom: 1.25rem; }
    .hero-desc { font-size: 0.93rem; max-width: 100%; margin-bottom: 2rem; }
    .hero-btns { flex-direction: column; align-items: stretch; gap: 0.6rem; }
    .btn-primary { align-self: auto; text-align: center; }
    .btn-outline { align-self: auto; text-align: center; margin-left: 0; }
    .hero-right { order: 2; min-height: 75vw; }
    .hero-quote { z-index: 2; bottom: 1.5rem; left: 1.25rem; right: 1.25rem; padding: 1.1rem; }
    .hero-quote blockquote { font-size: 0.95rem; }

    /* SECTIONS */
    section { padding: 3.5rem 1.25rem; }
    .section-title { font-size: clamp(1.75rem, 6.5vw, 2.25rem); margin-bottom: 2rem; }

    /* PROBLEMAS */
    .problemas-grid {
      grid-template-columns: 1fr;
      border: none;
    }
    .problema-card {
      border: none;
      border-bottom: 1px solid var(--border);
      padding: 2rem 0;
    }
    .problema-card:last-child { border-bottom: none; }
    .problema-num { font-size: 2rem; }

    /* SESIONES */
    .sesiones-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .problemas-sesiones { grid-template-columns: 1fr; }
    .ps-right { border-left: none; border-top: 1px solid var(--border); }
    .step { padding: 1.5rem 0; }

    /* MODALIDADES */
    section.modalidades { padding: 3.5rem 1.25rem; }
    .modalidades-grid { grid-template-columns: 1fr; gap: 0; }
    .modalidad {
      padding: 2rem 1.25rem;
      border-bottom: 1px solid rgba(245,240,232,0.08);
    }
    .modalidad:last-child { border-bottom: none; }

    /* BLOG */
    .blog-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .blog-img { aspect-ratio: 16/9; }

    /* CTA */
    .cta-section { padding: 5rem 1.25rem; }
    .cta-section .btn-primary { display: block; text-align: center; }

    /* FOOTER */
    footer {
      flex-direction: column;
      align-items: flex-start;
      gap: 1.5rem;
      padding: 2.5rem 1.25rem;
      text-align: left;
    }
    .footer-links { flex-wrap: wrap; gap: 1rem; }
    .footer-copy { align-self: flex-start; }
  }

  /* ── SMALL MOBILE ≤420 ── */
  @media (max-width: 420px) {
    nav { padding: 0.85rem 1rem; }

    .hero-left { padding: 2.5rem 1rem 2.25rem; }
    .hero-label { font-size: 0.65rem; letter-spacing: 0.1em; }
    .hero-title { font-size: clamp(2rem, 8.5vw, 2.6rem); }
    .hero-desc { font-size: 0.88rem; }
    .btn-primary, .btn-outline { font-size: 0.78rem; padding: 0.8rem 1rem; }
    .hero-right { min-height: 80vw; }
    .hero-quote { z-index: 2; bottom: 1rem; left: 1rem; right: 1rem; padding: 1rem 0.85rem; }
    .hero-quote blockquote { font-size: 0.88rem; line-height: 1.5; }
    .hero-quote cite { font-size: 0.68rem; }

    section { padding: 3rem 1rem; }
    .section-label { font-size: 0.68rem; }
    .section-title { font-size: clamp(1.5rem, 6vw, 1.9rem); margin-bottom: 1.5rem; }



    .sesiones-text p { font-size: 0.88rem; }
    .step { padding: 1.25rem 0; gap: 1rem; }
    .step-content h4 { font-size: 1.05rem; }
    .step-content p { font-size: 0.84rem; }

    section.modalidades { padding: 3rem 1rem; }
    .modalidad { padding: 1.75rem 1rem; }
    .modalidad h3 { font-size: 1.25rem; }
    .modalidad-items li { font-size: 0.84rem; }

    .blog-grid { gap: 2rem; }
    .blog-card h3 { font-size: 1.05rem; }
    .blog-card p { font-size: 0.83rem; }

    .cta-section { padding: 4rem 1rem; }
    .cta-section p { font-size: 0.9rem; }

    footer { padding: 2rem 1rem; gap: 1.25rem; }
    .footer-links { gap: 0.75rem; }
    .footer-links a { font-size: 0.75rem; }
  }

  /* ── VERY SMALL ≤360 ── */
  @media (max-width: 360px) {
    .hero-left { padding: 2.25rem 0.875rem 2rem; }
    .hero-title { font-size: 1.9rem; }
    .hero-right { min-height: 85vw; }
    section { padding: 2.75rem 0.875rem; }
    section.modalidades { padding: 2.75rem 0.875rem; }
    .cta-section { padding: 3.5rem 0.875rem; }
    footer { padding: 1.75rem 0.875rem; }
    .modalidad { padding: 1.5rem 0.875rem; }
  }