/*
Theme Name: Di'Lolas
Theme URI: https://dilolas.org
Author: Di'Lolas
Description: Tema del sitio Di'Lolas — comunidad latina contra el cáncer. Sitio de una sola página, bilingüe, con Jardín Memorable Pink, capitanes y donaciones por PayPal. Se edita en línea desde /panel.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: dilolas
*/

:root {
    --bg: #fdf8f5;
    --bg-2: #fbeee6;
    --ink: #2a1a1f;
    --ink-soft: #5a4148;
    --rose: #e8a4b8;
    --rose-deep: #c9456b;
    --rose-dark: #8a2547;
    --gold: #d4a574;
    --cream: #fff7f1;
    --line: rgba(42, 26, 31, 0.12);
    --shadow-sm: 0 2px 12px rgba(138, 37, 71, 0.06);
    --shadow-md: 0 12px 40px rgba(138, 37, 71, 0.12);
    --shadow-lg: 0 24px 60px rgba(138, 37, 71, 0.18);
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Inter Tight', system-ui, sans-serif;
    --radius: 18px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  html { overflow-x: hidden; }
  body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* Subtle grain texture */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.27 0 0 0 0 0.42 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

  .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
  }

  /* ============ NAV ============ */
  nav.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 248, 245, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 24px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }
  .brand-logo {
    height: 76px;
    width: auto;
    display: block;
  }

  .nav-links {
    display: flex;
    gap: 6px;
    list-style: none;
    align-items: center;
  }
  .nav-links a {
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: all 0.2s ease;
  }
  .nav-links a:hover, .nav-links a.active {
    background: var(--ink);
    color: var(--cream);
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .lang-toggle {
    display: flex;
    background: var(--bg-2);
    border-radius: 999px;
    padding: 4px;
    font-size: 0.78rem;
    font-weight: 600;
  }
  .lang-toggle button {
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--ink-soft);
    transition: all 0.2s ease;
    letter-spacing: 0.04em;
  }
  .lang-toggle button.active {
    background: var(--ink);
    color: var(--cream);
  }
  .btn-donate {
    background: var(--rose-deep);
    color: var(--cream);
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
  }
  .btn-donate:hover {
    background: var(--rose-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  .mobile-toggle { display: none; }
  .nav-links a { white-space: nowrap; }
  .nav-inner { max-width: 1400px; }
  @media (max-width: 1400px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; font-size: 1rem; }
    .mobile-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-2); }
  }

  /* ============ SECTIONS ============ */
  section.page {
    display: none;
    padding: 80px 0;
    animation: fadeUp 0.6s ease;
  }
  section.page.active { display: block; }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ============ HERO ============ */
  .hero {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
  }
  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-2);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--rose-dark);
    margin-bottom: 24px;
    letter-spacing: 0.04em;
  }
  .hero-eyebrow::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--rose-deep);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
  }
  .hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 500;
    margin-bottom: 28px;
    color: var(--ink);
  }
  .hero h1 em {
    font-style: italic;
    color: var(--rose-deep);
    font-weight: 400;
  }
  .hero p.lede {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 540px;
    margin-bottom: 36px;
  }
  .hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .btn {
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .btn-primary {
    background: var(--ink);
    color: var(--cream);
  }
  .btn-primary:hover {
    background: var(--rose-dark);
    transform: translateY(-2px);
  }
  .btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ink);
  }
  .btn-ghost:hover {
    background: var(--ink);
    color: var(--cream);
  }

  .hero-visual {
    position: relative;
    aspect-ratio: 4/5;
  }
  .hero-carousel {
    position: absolute;
    inset: 0;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: morph 14s ease-in-out infinite;
    background: linear-gradient(135deg, #f7c9d5 0%, #e8a4b8 50%, #c9456b 100%);
  }
  .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
  }
  .hero-slide.active { opacity: 1; }
  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero-dots {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
  }
  .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
  }
  .hero-dot.active {
    background: var(--rose-deep);
    width: 24px;
    border-radius: 4px;
  }
  .hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--ink);
    font-size: 1.6rem;
    line-height: 1;
    box-shadow: var(--shadow-md);
    z-index: 3;
    transition: all 0.2s ease;
    display: grid;
    place-items: center;
    padding-bottom: 4px;
  }
  .hero-arrow:hover {
    background: var(--rose-deep);
    color: var(--cream);
    transform: translateY(-50%) scale(1.08);
  }
  .hero-prev { left: -10px; }
  .hero-next { right: -10px; }
  @keyframes morph {
    0%, 100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
    33% { border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%; }
    66% { border-radius: 55% 45% 60% 40% / 45% 55% 50% 50%; }
  }
  .hero-decor {
    position: absolute;
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--ink-soft);
    background: var(--cream);
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    z-index: 4;
    white-space: nowrap;
  }
  .hero-decor.top { top: 4%; right: -6%; }
  .hero-decor.bottom { bottom: -8%; left: 4%; }

  /* ============ ABOUT BANNER ============ */
  .about-banner {
    width: 100%;
    aspect-ratio: 2 / 1;
    max-height: 360px;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: var(--shadow-md);
  }
  .about-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .founder-card {
    background: var(--cream);
    border-radius: 24px;
    padding: 40px;
    margin: 60px auto 0;
    max-width: 800px;
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: center;
  }
  .founder-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--cream);
    flex-shrink: 0;
  }
  .founder-photo img { width: 100%; height: 100%; object-fit: cover; }
  .founder-card h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    margin-bottom: 6px;
    font-weight: 500;
  }
  .founder-card .role {
    color: var(--rose-deep);
    font-family: var(--serif);
    font-style: italic;
    margin-bottom: 12px;
  }
  .founder-card p { color: var(--ink-soft); font-size: 0.95rem; }
  @media (max-width: 640px) {
    .founder-card { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; }
    .founder-photo { margin: 0 auto; }
  }


  .gallery-section {
    padding: 100px 0;
    background: var(--bg);
  }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 14px;
  }
  .gallery-item {
    overflow: hidden;
    border-radius: 18px;
    position: relative;
    cursor: pointer;
  }
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  .gallery-item:hover img { transform: scale(1.08); }
  .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(42, 26, 31, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .gallery-item:hover::after { opacity: 1; }
  .gallery-tall { grid-row: span 2; }
  .gallery-wide { grid-column: span 2; }
  @media (max-width: 760px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery-wide { grid-column: span 2; }
    .gallery-tall { grid-row: span 1; }
  }

  /* ============ NEXT WALK BANNER ============ */
  .next-walk {
    background: linear-gradient(135deg, var(--rose-deep) 0%, var(--rose-dark) 100%);
    color: var(--cream);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
  }
  .next-walk::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 10% 30%, rgba(255,255,255,0.08) 0, transparent 40%),
      radial-gradient(circle at 90% 70%, rgba(255,255,255,0.08) 0, transparent 40%);
  }
  .next-walk-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 36px;
    align-items: center;
    position: relative;
  }
  .nw-date {
    text-align: center;
    background: rgba(255,255,255,0.12);
    padding: 18px 24px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
  }
  .nw-date .d {
    font-family: var(--serif);
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 500;
  }
  .nw-date .m {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    margin-top: 6px;
    opacity: 0.9;
  }
  .nw-text .label {
    font-family: var(--serif);
    font-style: italic;
    opacity: 0.85;
    font-size: 0.95rem;
    margin-bottom: 4px;
  }
  .nw-text h3 {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
  }
  .nw-text p {
    opacity: 0.9;
    font-size: 0.95rem;
  }
  .nw-cta {
    background: var(--cream);
    color: var(--rose-dark);
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    white-space: nowrap;
  }
  .nw-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  @media (max-width: 760px) {
    .next-walk-inner { grid-template-columns: auto 1fr; }
    .nw-cta { grid-column: 1 / -1; text-align: center; }
  }


  .stats {
    background: var(--ink);
    color: var(--cream);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
  }
  .stats::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--rose-dark) 0%, transparent 70%);
    opacity: 0.3;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
  }
  .stat .num {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    font-weight: 500;
    color: var(--rose);
    line-height: 1;
    letter-spacing: -0.03em;
  }
  .stat .label {
    margin-top: 8px;
    font-size: 0.92rem;
    opacity: 0.8;
  }

  /* ============ SECTION HEAD ============ */
  .section-head {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
  }
  .section-head .kicker {
    font-family: var(--serif);
    font-style: italic;
    color: var(--rose-deep);
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  .section-head h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 500;
    margin-bottom: 18px;
  }
  .section-head p {
    color: var(--ink-soft);
    font-size: 1.05rem;
  }

  /* ============ MISSION CARDS ============ */
  .pillars {
    padding: 100px 0;
    background: var(--cream);
  }
  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .pillar {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 36px 32px;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
  }
  .pillar:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--rose);
  }
  .pillar-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
    display: grid;
    place-items: center;
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
  }
  .pillar h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 500;
  }
  .pillar p { color: var(--ink-soft); font-size: 0.95rem; }

  /* ============ WALL — SURVIVORS ============ */
  .wall-section {
    padding: 100px 0;
  }
  .wall-intro {
    background: linear-gradient(135deg, var(--bg-2) 0%, #f7d4dd 100%);
    border-radius: 28px;
    padding: 50px;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .wall-intro::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(201, 69, 107, 0.15) 0%, transparent 70%);
    border-radius: 50%;
  }
  .wall-intro h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: -0.02em;
    position: relative;
  }
  .wall-intro p {
    max-width: 600px;
    margin: 0 auto 24px;
    color: var(--ink-soft);
    position: relative;
  }
  .btn-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rose-deep);
    color: var(--cream);
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.25s ease;
  }
  .btn-add:hover {
    background: var(--rose-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }

  .wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
  .wall-card {
    background: var(--cream);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .wall-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
  .wall-photo {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
    display: grid;
    place-items: center;
    color: var(--cream);
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 500;
    position: relative;
  }
  .wall-card.tribute .wall-photo {
    background: linear-gradient(135deg, #8a6f8e 0%, #4a3852 100%);
  }
  .wall-photo::after {
    content: '';
    position: absolute;
    bottom: 10px; right: 10px;
    width: 28px; height: 28px;
    background: var(--cream);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9456b'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
  }
  .wall-photo.has-img {
    padding: 0;
    background: var(--bg-2);
  }
  .wall-photo.has-img::after { display: none; }
  .wall-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .wall-info {
    padding: 16px 18px;
  }
  .wall-info .name {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 500;
  }
  .wall-info .meta {
    font-size: 0.82rem;
    color: var(--ink-soft);
    margin-top: 4px;
  }
  .wall-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 999px;
    margin-top: 8px;
  }
  .wall-tag.survivor { background: #d4f1d4; color: #2d6e2d; }
  .wall-tag.memory { background: #f0e5f5; color: #6a4373; }

  /* ============ TRIBUTE WALL ============ */
  .tribute-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, #f3e5e9 100%);
  }
  .tribute-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
  }
  .tribute-intro .kicker {
    font-family: var(--serif);
    font-style: italic;
    color: #6a4373;
    font-size: 1.1rem;
  }
  .candle-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    min-height: 130px;
    padding-top: 36px;
  }
  .candle { width: 20px; height: 88px; position: relative; cursor: pointer; display: flex; align-items: flex-end; justify-content: center; }
  .candle .wax { width: 14px; height: 60px; background: linear-gradient(90deg, #fff8e7 0%, #fdf0d5 40%, #ecd3a0 100%); border-radius: 4px 4px 2px 2px; position: relative; box-shadow: inset -3px 0 5px rgba(140,100,60,0.15); }
  .candle .wax::before { content: ''; position: absolute; top: -7px; left: 50%; transform: translateX(-50%); width: 2px; height: 8px; background: #3a2a20; border-radius: 1px; }
  .candle .flame { position: absolute; bottom: 66px; left: 50%; width: 12px; height: 22px; transform-origin: 50% 100%; transform: translateX(-50%) scale(0); background: radial-gradient(ellipse 55% 65% at 50% 72%, #fff6d8 0%, #ffd166 38%, #ff9a3a 68%, rgba(255,126,58,0) 100%); border-radius: 50% 50% 50% 50% / 64% 64% 36% 36%; filter: blur(0.4px); transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 2; }
  .candle .flame::after { content: ''; position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%); width: 6px; height: 8px; background: radial-gradient(ellipse at center, rgba(96,148,255,0.8) 0%, transparent 70%); border-radius: 50%; }
  .candle .glow { position: absolute; bottom: 52px; left: 50%; width: 64px; height: 64px; margin-left: -32px; background: radial-gradient(circle, rgba(255,195,100,0.5) 0%, rgba(255,150,70,0.18) 45%, transparent 72%); border-radius: 50%; opacity: 0; transition: all 0.6s ease; pointer-events: none; }
  .candle .smoke { position: absolute; bottom: 86px; left: 50%; width: 5px; height: 28px; margin-left: -2.5px; opacity: 0; background: linear-gradient(180deg, transparent 0%, rgba(120,110,105,0.4) 100%); filter: blur(3px); border-radius: 50%; pointer-events: none; }
  .candle.lit .flame { transform: translateX(-50%) scale(1); animation: flameSway 2.4s ease-in-out infinite; }
  .candle.lit .glow { opacity: 1; animation: glowPulse 2.4s ease-in-out infinite alternate; }
  .candle.lit .smoke { animation: smokeRise 4s ease-out infinite; }
  .candle:hover .glow { animation: none; opacity: 1; transform: scale(1.4); }
  .candle:hover .flame { filter: blur(0.4px) brightness(1.2); }
  @keyframes flameSway {
    0%, 100% { transform: translateX(-50%) scale(1) rotate(-2.5deg); }
    25% { transform: translateX(-53%) scale(1.05, 1.12) rotate(2deg); }
    50% { transform: translateX(-48%) scale(0.96, 0.94) rotate(-1deg); }
    75% { transform: translateX(-51%) scale(1.03, 1.08) rotate(3deg); }
  }
  @keyframes glowPulse { from { opacity: 0.65; } to { opacity: 1; } }
  @keyframes smokeRise {
    0% { opacity: 0; transform: translateY(0) scaleY(0.4); }
    35% { opacity: 0.45; }
    100% { opacity: 0; transform: translateY(-24px) translateX(4px) scaleY(1.25); }
  }
  .candle-name { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(5px); background: var(--ink); color: var(--cream); padding: 6px 13px; border-radius: 9px; font-size: 0.78rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 6; font-family: var(--serif); font-style: italic; }
  .candle:hover .candle-name { opacity: 1; transform: translateX(-50%) translateY(0); }

  /* ============ WALK REGISTRATION ============ */
  .reg-facts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: -20px 0 50px; }
  .reg-fact { background: var(--cream); border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
  .reg-grid { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; }
  .reg-block { background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: 32px; margin-bottom: 24px; }
  .reg-block h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin-bottom: 6px; display: flex; align-items: center; gap: 12px; }
  .reg-step { width: 30px; height: 30px; border-radius: 50%; background: var(--rose-deep); color: var(--cream); font-family: var(--sans); font-size: 0.9rem; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
  .reg-block .hint { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 20px; }
  .count-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .count-picker button { padding: 16px 0; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 700; font-size: 1.1rem; transition: all 0.2s; }
  .count-picker button:hover { border-color: var(--rose-deep); }
  .count-picker button.active { border-color: var(--rose-deep); background: var(--rose-deep); color: #fff; }
  .form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .participant-card { border: 1.5px dashed var(--rose); border-radius: 18px; padding: 24px; margin-bottom: 18px; background: var(--bg); position: relative; animation: fadeUp 0.4s ease; }
  .participant-card .p-badge { position: absolute; top: -12px; left: 20px; background: var(--rose-deep); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; letter-spacing: 0.05em; }
  .size-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .size-picker button { padding: 12px 0; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream); font-weight: 700; transition: all 0.2s; }
  .size-picker button:hover { border-color: var(--rose-deep); }
  .size-picker button.active { border-color: var(--rose-deep); background: var(--rose-deep); color: #fff; }
  .reg-summary { position: sticky; top: 110px; background: var(--ink); color: var(--cream); border-radius: 22px; padding: 32px; }
  .reg-summary h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 20px; }
  .sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 0.92rem; }
  .sum-line .who { opacity: 0.85; }
  .sum-line .sz { opacity: 0.6; font-size: 0.8rem; }
  .sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 6px; font-weight: 700; font-size: 1.15rem; }
  .sum-total .amt { font-family: var(--serif); font-size: 1.9rem; color: var(--rose); }
  #paypalButtons { margin-top: 18px; background: #fff; border-radius: 14px; padding: 14px; }
  #paypalButtons:empty { display: none; }
  .reg-error { display: none; background: #fde8e8; color: #a12626; border: 1px solid #f3bcbc; border-radius: 12px; padding: 12px 16px; font-size: 0.88rem; margin-top: 14px; }
  .reg-error.show { display: block; }
  .btn-demo-pay { width: 100%; margin-top: 14px; background: var(--rose-deep); color: #fff; padding: 15px; border-radius: 999px; font-weight: 700; display: none; transition: all 0.25s; }
  .btn-demo-pay:hover { background: var(--rose-dark); }
  .btn-demo-pay.show { display: block; }
  .reg-secure { font-size: 0.8rem; opacity: 0.65; margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }
  @media (max-width: 900px) {
    .reg-grid { grid-template-columns: 1fr; }
    .reg-summary { position: static; }
    .form-2col { grid-template-columns: 1fr; }
  }


  /* ============ PINK TREE (Jardín Memorable Pink) ============ */
  .tree-wrap { position: relative; max-width: 720px; margin: 0 auto 10px; aspect-ratio: 6/5.4; }
  .tree-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .tree-svg path { fill: none; stroke: #6b4a3a; stroke-linecap: round; }
  .tree-svg .bark { stroke: url(#barkGrad); }
  .tree-svg path.draw { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset 1.5s cubic-bezier(0.25,0.8,0.3,1); }
  .tree-wrap.grown .tree-svg path.draw { stroke-dashoffset: 0; }
  .tree-ground { position: absolute; left: 12%; right: 12%; bottom: 4%; height: 26px; border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(201,69,107,0.16) 0%, transparent 72%); }
  .petal-cloud, .ribbon-layer, .fall-layer { position: absolute; inset: 0; pointer-events: none; }
  .canopy-glow { position: absolute; left: 15%; right: 15%; top: 8%; height: 46%; border-radius: 50%; pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(244,168,192,0.55) 0%, rgba(249,205,217,0.32) 52%, transparent 76%);
    opacity: 0; transform: scale(0.7); transition: opacity 1.2s ease 0.4s, transform 1.4s cubic-bezier(0.25,0.9,0.3,1) 0.3s; }
  .tree-wrap.grown .canopy-glow { opacity: 1; transform: scale(1); }
  .ribbon-layer { pointer-events: auto; }
  .petal { position: absolute; width: 14px; height: 14px; border-radius: 60% 60% 55% 55% / 70% 70% 45% 45%;
    transform: scale(0); opacity: 0; transition: transform 0.7s cubic-bezier(0.34,1.56,0.64,1), opacity 0.7s ease; }
  .tree-wrap.grown .petal { transform: scale(1); opacity: 1; animation: petalBreathe 5s ease-in-out infinite alternate; }
  @keyframes petalBreathe { from { transform: scale(1) translateY(0); } to { transform: scale(1.12) translateY(-3px); } }
  .fall-petal { position: absolute; top: -20px; width: 11px; height: 11px; border-radius: 60% 60% 55% 55% / 70% 70% 45% 45%;
    background: var(--rose); opacity: 0; animation: fallPetal linear infinite; }
  @keyframes fallPetal {
    0% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
    12% { opacity: 0.85; }
    100% { opacity: 0; transform: translate(var(--dx, 40px), 460px) rotate(420deg); }
  }
  .t-ribbon { position: absolute; width: 30px; height: 46px; transform: translate(-50%, 0) scale(0); transform-origin: 50% 0;
    cursor: pointer; transition: transform 0.6s cubic-bezier(0.34,1.56,0.64,1); }
  .tree-wrap.grown .t-ribbon { transform: translate(-50%, 0) scale(1); animation: ribbonSway 4.4s ease-in-out infinite; }
  .t-ribbon .string { position: absolute; top: 0; left: 50%; width: 1.5px; height: 14px; margin-left: -0.75px; background: rgba(107,74,58,0.55); }
  .t-ribbon .bow { position: absolute; top: 13px; left: 50%; width: 26px; height: 30px; margin-left: -13px; }
  .t-ribbon .bow::before, .t-ribbon .bow::after { content: ''; position: absolute; top: 6px; left: 50%; width: 9px; height: 24px;
    background: linear-gradient(160deg, #f4a8c0 0%, #c9456b 100%); border-radius: 6px 6px 3px 3px; }
  .t-ribbon .bow::before { transform: translateX(-1px) rotate(24deg); transform-origin: 50% 0; }
  .t-ribbon .bow::after { transform: translateX(-8px) rotate(-24deg); transform-origin: 50% 0; }
  .t-ribbon .knot { position: absolute; top: 10px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%;
    background: #b0355a; z-index: 2; box-shadow: 0 1px 3px rgba(138,37,71,0.4); }
  @keyframes ribbonSway {
    0%, 100% { transform: translate(-50%, 0) scale(1) rotate(-6deg); }
    50% { transform: translate(-50%, 0) scale(1) rotate(6deg); }
  }
  .t-ribbon:hover { animation-play-state: paused; }
  .t-ribbon .rname { position: absolute; top: 46px; left: 50%; transform: translateX(-50%) translateY(4px); white-space: nowrap;
    background: var(--ink); color: var(--cream); font-family: var(--serif); font-style: italic; font-size: 0.8rem;
    padding: 5px 12px; border-radius: 9px; opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 5; }
  .t-ribbon:hover .rname { opacity: 1; transform: translateX(-50%) translateY(0); }
  .tree-caption { text-align: center; font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 44px; }
  @media (max-width: 640px) { .t-ribbon { width: 22px; height: 34px; } .t-ribbon .bow { transform: scale(0.78); } }

  /* ============ CAPTAINS ============ */
  .cap-count { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: -24px 0 44px; }
  .cap-chip { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
    font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
  .cap-search { max-width: 380px; margin: 0 auto 36px; position: relative; }
  .cap-search input { width: 100%; padding: 13px 18px 13px 44px; border: 1px solid var(--line); border-radius: 999px;
    background: var(--cream); font: inherit; }
  .cap-search input:focus { outline: none; border-color: var(--rose-deep); box-shadow: 0 0 0 4px rgba(201,69,107,0.1); }
  .cap-search span { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); opacity: 0.5; }
  .cap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 20px; }
  .cap-card { background: var(--cream); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease; }
  .cap-card.in { opacity: 1; transform: translateY(0); }
  .cap-card:hover { box-shadow: 0 18px 40px rgba(138,37,71,0.16); transform: translateY(-5px); }
  .cap-photo { position: relative; aspect-ratio: 4/5; background: linear-gradient(150deg, var(--bg-2) 0%, var(--rose) 100%);
    display: grid; place-items: center; overflow: hidden; }
  .cap-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
  .cap-card:hover .cap-photo img { transform: scale(1.06); }
  .cap-photo .ini { font-family: var(--serif); font-size: 2.4rem; color: var(--cream); }
  .cap-num { position: absolute; top: 10px; left: 10px; background: rgba(42,26,31,0.72); color: #fff; backdrop-filter: blur(4px);
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; }
  .cap-body { padding: 14px 16px 18px; }
  .cap-body .n1 { font-family: var(--serif); font-size: 1.02rem; line-height: 1.25; }
  .cap-body .n2 { font-size: 0.85rem; color: var(--ink-soft); margin-top: 3px; }
  .cap-body .role { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rose-deep); font-weight: 700; margin-top: 8px; }
  .cap-empty { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--ink-soft); }

  /* ============ RECEIPT ============ */
  .receipt { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 28px; margin: 30px 0; text-align: left; }
  .receipt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 2px solid var(--rose-deep); padding-bottom: 16px; margin-bottom: 16px; flex-wrap: wrap; }
  .receipt-head .oid { font-family: var(--serif); font-size: 1.3rem; color: var(--rose-deep); font-weight: 600; }
  .receipt table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
  .receipt th { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); padding: 8px 6px; border-bottom: 1px solid var(--line); }
  .receipt td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
  .receipt .r-total td { font-weight: 700; border-bottom: none; padding-top: 16px; }
  .day-info { text-align: left; background: var(--bg-2); border-radius: 18px; padding: 24px 28px; margin-bottom: 30px; }
  .day-info h4 { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin-bottom: 12px; }
  .day-info ul { list-style: none; }
  .day-info li { padding: 6px 0; font-size: 0.95rem; color: var(--ink-soft); display: flex; gap: 10px; }
  @media print {
    nav.site-nav, footer, .thanks-actions, .thanks-icon, .no-print, body::before { display: none !important; }
    html { overflow-x: hidden; }
  body { background: #fff; }
    section.page, .thanks-section { padding: 10px 0 !important; min-height: 0 !important; }
  }

  /* ============ STORIES ============ */
  .stories-section {
    padding: 100px 0;
  }
  .story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
  }
  .story-card {
    background: var(--cream);
    border-radius: 22px;
    padding: 36px;
    border: 1px solid var(--line);
    position: relative;
    transition: all 0.3s ease;
  }
  .story-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
  }
  .story-card .quote-mark {
    font-family: var(--serif);
    font-size: 5rem;
    color: var(--rose);
    line-height: 0.6;
    margin-bottom: 16px;
    display: block;
  }
  .story-card .story-text {
    font-family: var(--serif);
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 24px;
    color: var(--ink);
    font-style: italic;
  }
  .story-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .story-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
    display: grid;
    place-items: center;
    color: var(--cream);
    font-family: var(--serif);
    font-weight: 600;
  }
  .story-author strong { display: block; font-weight: 600; }
  .story-author span { font-size: 0.85rem; color: var(--ink-soft); }

  /* ============ HELP / WAYS ============ */
  .help-section { padding: 100px 0; background: var(--cream); }
  .help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .help-card {
    background: var(--bg);
    border-radius: 22px;
    padding: 40px;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
  }
  .help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .help-card .help-num {
    font-family: var(--serif);
    font-size: 3rem;
    color: var(--rose-deep);
    line-height: 1;
    font-weight: 500;
  }
  .help-card h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    margin: 16px 0 12px;
    font-weight: 500;
  }
  .help-card p {
    color: var(--ink-soft);
    margin-bottom: 24px;
    flex-grow: 1;
  }
  .help-card a {
    align-self: flex-start;
    color: var(--rose-deep);
    font-weight: 600;
    border-bottom: 2px solid var(--rose);
    padding-bottom: 2px;
  }

  /* ============ CONTACT ============ */
  .contact-section { padding: 100px 0; }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }
  .contact-info h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.02em;
  }
  .contact-info > p { color: var(--ink-soft); margin-bottom: 36px; }
  .contact-list { list-style: none; }
  .contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }
  .contact-list li:last-child { border-bottom: 1px solid var(--line); }
  .contact-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--bg-2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--rose-deep);
  }
  .contact-list strong { display: block; }
  .contact-list span { color: var(--ink-soft); font-size: 0.92rem; }

  form.contact-form {
    background: var(--cream);
    padding: 40px;
    border-radius: 22px;
    border: 1px solid var(--line);
  }
  .form-row { margin-bottom: 18px; }
  .form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink-soft);
  }
  .form-row input, .form-row textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    font: inherit;
    color: var(--ink);
    transition: all 0.2s ease;
  }
  .form-row input:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--rose-deep);
    box-shadow: 0 0 0 4px rgba(201, 69, 107, 0.1);
  }
  .form-row textarea { min-height: 130px; resize: vertical; }
  form button[type=submit] {
    background: var(--ink);
    color: var(--cream);
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.25s ease;
  }
  form button[type=submit]:hover {
    background: var(--rose-deep);
    transform: translateY(-2px);
  }

  /* ============ EVENTS ============ */
  .events-section { padding: 100px 0; background: var(--cream); }
  .event-list { display: flex; flex-direction: column; gap: 20px; }
  .event-card {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 28px;
    background: var(--bg);
    border-radius: 18px;
    border: 1px solid var(--line);
    transition: all 0.25s ease;
  }
  .event-card.featured {
    background: linear-gradient(135deg, #fff 0%, var(--bg-2) 100%);
    border: 2px solid var(--rose-deep);
    box-shadow: var(--shadow-md);
    position: relative;
  }
  .event-card.featured::before {
    content: '★';
    position: absolute;
    top: -10px; left: 24px;
    background: var(--rose-deep);
    color: var(--cream);
    width: 30px; height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
  }
  .event-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
  .event-date {
    text-align: center;
    padding: 14px;
    background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
    border-radius: 14px;
    color: var(--cream);
  }
  .event-date .day {
    font-family: var(--serif);
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 500;
  }
  .event-date .mo {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    margin-top: 4px;
  }
  .event-info h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    margin-bottom: 6px;
    font-weight: 500;
  }
  .event-info .where { color: var(--ink-soft); font-size: 0.9rem; }

  /* ============ FOOTER ============ */
  footer {
    background: var(--ink);
    color: var(--cream);
    padding: 70px 0 30px;
    position: relative;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
  }
  .footer-brand {
    font-family: var(--serif);
    font-size: 1.8rem;
    margin-bottom: 18px;
  }
  .footer-brand em { color: var(--rose); font-style: normal; }
  .footer-about p { opacity: 0.7; font-size: 0.92rem; max-width: 320px; }
  .footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
    color: var(--rose);
  }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col a {
    opacity: 0.7;
    transition: opacity 0.2s;
    font-size: 0.92rem;
  }
  .footer-col a:hover { opacity: 1; color: var(--rose); }
  .socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
  }
  .socials a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: grid;
    place-items: center;
    transition: all 0.2s;
    opacity: 1;
  }
  .socials a:hover { background: var(--rose-deep); transform: translateY(-2px); }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
  }

  /* ============ MODAL ============ */
  .modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(42, 26, 31, 0.7);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
  }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .modal-bg.open { display: flex; }
  .modal {
    background: var(--bg);
    border-radius: 24px;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    animation: fadeUp 0.4s ease;
  }
  .modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-2);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    transition: all 0.2s;
  }
  .modal-close:hover { background: var(--rose); color: white; }
  .modal h3 {
    font-family: var(--serif);
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 500;
  }
  .modal-sub { color: var(--ink-soft); margin-bottom: 24px; font-size: 0.95rem; }
  .donation-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
  }
  .donation-amounts button {
    padding: 14px 0;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--cream);
    font-weight: 600;
    transition: all 0.2s;
  }
  .donation-amounts button:hover, .donation-amounts button.active {
    border-color: var(--rose-deep);
    background: var(--rose-deep);
    color: white;
  }
  .pay-note {
    background: var(--bg-2);
    padding: 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-top: 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  /* ============ THANK YOU PAGE ============ */
  .thanks-section {
    padding: 120px 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
  }
  .thanks-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 28px;
  }
  .thanks-icon {
    width: 100px; height: 100px;
    margin: 0 auto 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
    display: grid;
    place-items: center;
    font-size: 3rem;
    color: var(--cream);
    animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 50px rgba(201, 69, 107, 0.3);
  }
  @keyframes pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
  }
  .thanks-section h1 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
  }
  .thanks-section h1 em { color: var(--rose-deep); font-style: italic; }
  .thanks-section p {
    color: var(--ink-soft);
    font-size: 1.1rem;
    margin-bottom: 18px;
  }
  .thanks-detail {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    margin: 30px 0;
    text-align: left;
  }
  .thanks-detail strong {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--rose-deep);
  }
  .thanks-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
  }


  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 380px; margin: 0 auto; }
    .pillars-grid, .help-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .event-card { grid-template-columns: 100px 1fr; }
    .event-card .btn { display: none; }
  }
  @media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 50px 0 70px; }
    .container { padding: 0 20px; }
    section.page { padding: 60px 0; }
    .wall-intro, .modal { padding: 30px 24px; }
  }
