@font-face {
  font-family: "SVQ Justa";
  src: url("./fonts/SVQ-Justa.woff2") format("woff2"),
       url("./fonts/SVQ-Justa.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

  /* =========================================================
     TOKENS
  ========================================================= */
  :root{
    --green: #009a7a;
    --ink:   #111921;
    --white: #ffffff;
    --mint:  #D0F9F0;
    --aqua:  #77DBC6;
    --pink:  #dc4398;
    --orange:#f47500;

    --serif: "SVQ Justa", "Times New Roman", serif;
    --sans:  "Barlow", system-ui, sans-serif;

    --maxw: 1240px;
    --gutter: clamp(20px, 4vw, 48px);
    --stripes: 13;
  }

  *,*::before,*::after{box-sizing:border-box;}
  html,body{margin:0;padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family: var(--sans);
    color: var(--white);
    background: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.55;
    overflow-x: hidden;
  }

  /* =========================================================
     STRIPED BACKGROUND — 13 vertical stripes, #009a7a first
     Repeated as a fixed-attachment wash so every section sits
     on the exact same striping.
  ========================================================= */
  .stripes-bg{
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
      linear-gradient(90deg,
        var(--green)  0,    var(--green)  calc(100%/13),
        var(--ink)    calc(100%/13),  var(--ink)    calc(2*100%/13),
        var(--green)  calc(2*100%/13), var(--green) calc(3*100%/13),
        var(--ink)    calc(3*100%/13), var(--ink)   calc(4*100%/13),
        var(--green)  calc(4*100%/13), var(--green) calc(5*100%/13),
        var(--ink)    calc(5*100%/13), var(--ink)   calc(6*100%/13),
        var(--green)  calc(6*100%/13), var(--green) calc(7*100%/13),
        var(--ink)    calc(7*100%/13), var(--ink)   calc(8*100%/13),
        var(--green)  calc(8*100%/13), var(--green) calc(9*100%/13),
        var(--ink)    calc(9*100%/13), var(--ink)   calc(10*100%/13),
        var(--green)  calc(10*100%/13),var(--green) calc(11*100%/13),
        var(--ink)    calc(11*100%/13),var(--ink)   calc(12*100%/13),
        var(--green)  calc(12*100%/13),var(--green) 100%);
  }
  /* Subtle dark overlay so content on stripes is always readable */
  .stripes-veil{
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(17,25,33,.35), rgba(17,25,33,.55));
    pointer-events: none;
  }

  /* =========================================================
     LAYOUT HELPERS
  ========================================================= */
  .wrap{
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
  }
  section{
    position: relative;
    padding: clamp(70px, 10vw, 140px) 0;
  }
  .section-tag{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--aqua);
    margin: 0 0 18px;
  }
  .section-tag::before{
    content:"";
    display:inline-block;
    width: 26px; height: 1px;
    background: var(--aqua);
  }
  h1,h2,h3,h4{ margin:0; font-weight: 700; letter-spacing: -0.01em;}
  .serif{font-family: var(--serif); font-style: italic;}
  .section-title{
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(42px, 6.2vw, 92px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 0 0 22px;
  }
  .section-sub{
    font-family: var(--sans);
    font-weight: 400;
    font-size: clamp(17px, 1.6vw, 21px);
    color: var(--mint);
    max-width: 62ch;
    margin: 0 0 48px;
  }
  .hl{ color: var(--green); background: var(--mint); padding: .05em .28em; border-radius: 3px; white-space: nowrap;}
  .hl-aqua{ color: var(--aqua); }
  .hl-mint{ color: var(--mint); }

  /* Card base — sits on stripes, always the ink color so
     content reads cleanly across any stripe position */
  .card{
    background: var(--ink);
    border: 1px solid rgba(119, 219, 198, 0.18);
    border-radius: 6px;
    padding: clamp(22px, 2.4vw, 32px);
  }
  .card.green{
    background: var(--green);
    border-color: rgba(255,255,255,.22);
  }
  .card.mint{
    background: var(--mint);
    color: var(--ink);
    border-color: transparent;
  }

  /* =========================================================
     TOP NAV
  ========================================================= */
  .nav{
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 30;
    padding: 18px 0;
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
    background: linear-gradient(180deg, rgba(17,25,33,.55), rgba(17,25,33,.15));
    transition: background .3s ease, padding .3s ease;
  }
  .nav.scrolled{
    background: rgba(17,25,33,.9);
    padding: 12px 0;
    border-bottom: 1px solid rgba(119,219,198,.15);
  }
  .nav .wrap{
    display:flex; align-items:center; justify-content:space-between; gap: 24px;
  }
  .nav-logo{
    display: flex; align-items: center; gap: 10px;
    color: var(--white); text-decoration: none;
  }
  .nav-logo img{ height: 22px; width: auto; display:block;}
  .nav-logo-sep{
    width:1px; height: 18px; background: rgba(255,255,255,.25);
  }
  .nav-logo-evt{
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
    line-height: 1;
    color: var(--mint);
  }
  .nav-links{
    display:flex; gap: 26px; align-items:center;
    font-size: 13px;
    letter-spacing: .02em;
  }
  .nav-links a{
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .2s;
  }
  .nav-links a:hover{ color: var(--aqua); }
  .nav-cta{
    background: var(--green);
    color: var(--white) !important;
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: .04em;
  }
  @media (max-width: 760px){
    .nav-links a:not(.nav-cta){ display:none; }
  }

  /* =========================================================
     HERO
  ========================================================= */
  .hero{
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 140px 0 40px;
    position: relative;
    overflow: hidden;
  }
  .hero-inner{
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
    gap: 40px;
  }
  .hero-eyebrow{
    display:flex; align-items:center; gap: 14px;
    font-size: 12px; font-weight: 600;
    letter-spacing: .3em; text-transform: uppercase;
    color: var(--aqua);
    margin-bottom: 28px;
  }
  .hero-eyebrow .dot{
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--aqua);
    animation: pulse 2.4s ease-in-out infinite;
  }
  @keyframes pulse{
    0%,100%{ opacity: 1; transform: scale(1); }
    50%{ opacity: .4; transform: scale(1.4);}
  }
  .hero h1{
    font-family: var(--serif);
    font-weight: 800;
    font-size: clamp(58px, 11vw, 172px);
    line-height: .92;
    letter-spacing: -0.035em;
    color: var(--white);
    margin: 0;
  }
  .hero h1 .quote{
    font-style: italic;
    color: var(--mint);
  }
  .hero h1 .line2{
    display:block;
    font-style: italic;
    color: var(--aqua);
    font-weight: 700;
  }
  .hero-sub{
    margin-top: 28px;
    font-family: var(--sans);
    font-size: clamp(18px, 1.8vw, 24px);
    color: var(--mint);
    font-weight: 300;
    max-width: 44ch;
  }
  .hero-sub strong{
    color: var(--white);
    font-weight: 600;
  }
  .hero-meta{
    margin-top: 36px;
    display: flex;
    gap: clamp(24px, 4vw, 56px);
    flex-wrap: wrap;
    align-items: center;
  }
  .hero-meta .block{
    display: flex; flex-direction: column; gap: 4px;
  }
  .hero-meta .k{
    font-size: 11px; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--aqua);
  }
  .hero-meta .v{
    font-family: var(--serif);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 600;
    color: var(--white);
  }
  .hero-meta .v.italic{ font-style: italic; }

  /* The caseta SVG as a decorative wash behind the title */
  .hero-caseta{
    position: absolute;
    bottom: -4%;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 120vw);
    opacity: .22;
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 30px 80px rgba(0,0,0,.4));
  }
  .hero-inner{ position: relative; z-index: 1;}
  .hero-scroll{
    margin-top: 60px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--mint);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    padding: 10px 0;
    border-bottom: 1px solid rgba(208,249,240,.35);
    width: fit-content;
    transition: color .2s, border-color .2s;
  }
  .hero-scroll:hover{ color: var(--white); border-color: var(--white);}
  .hero-scroll .arrow{
    display:inline-block;
    transform: translateY(1px);
    animation: bob 2.4s ease-in-out infinite;
  }
  @keyframes bob{
    0%,100%{ transform: translateY(0);}
    50%{ transform: translateY(6px);}
  }

  /* Side "Feria" vertical label */
  .hero-side{
    position: absolute;
    top: 50%;
    right: clamp(12px, 2vw, 28px);
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    letter-spacing: .5em;
    color: rgba(208,249,240,.55);
    z-index: 2;
  }

  /* =========================================================
     SECTION 2: HOY NO SE SUBE (descriptive)
  ========================================================= */
  .hoy{
    text-align: left;
  }
  .hoy-grid{
    display:grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  @media (min-width: 900px){
    .hoy-grid{ grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start;}
  }
  .hoy-title{
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(48px, 8.2vw, 128px);
    line-height: .95;
    letter-spacing: -.03em;
    color: var(--white);
  }
  .hoy-title em{
    font-style: italic;
    color: var(--aqua);
  }
  .hoy-body{
    font-family: var(--sans);
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.7;
    color: var(--mint);
    max-width: 52ch;
  }
  .hoy-body p{ margin: 0 0 1.2em;}
  .hoy-body .big{
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.25em;
    color: var(--white);
  }
  .hoy-body .stamp{
    display: inline;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 700;
    font-size: 1.15em;
    color: var(--pink);
    background: none;
    padding: 0;
    border-radius: 0;
    letter-spacing: -.01em;
    border-bottom: 2px solid var(--pink);
  }

  /* =========================================================
     SECTION 3: COMO LLEGAR
  ========================================================= */
  .arrive-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  @media (min-width: 720px){
    .arrive-grid{ grid-template-columns: repeat(2, 1fr); }
  }
  .arrive-card{
    display:flex; flex-direction:column; gap: 10px;
  }
  .arrive-card .ico{
    width: 44px; height: 44px;
    border-radius: 50%;
    display:grid; place-items:center;
    background: var(--green);
    color: var(--white);
    font-size: 20px;
    margin-bottom: 8px;
  }
  .arrive-card h3{
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
  }
  .arrive-card p{ margin: 0; color: var(--mint); font-size: 15px;}
  .arrive-place{
    margin-top: 32px;
    display:grid; grid-template-columns: 1fr; gap: 18px;
    background: var(--ink);
    border: 1px solid rgba(119,219,198,.18);
    border-radius: 6px;
    padding: clamp(24px, 3vw, 40px);
  }
  @media (min-width: 800px){
    .arrive-place{ grid-template-columns: 1.3fr 1fr; align-items:center;}
  }
  .arrive-place .addr{
    font-family: var(--serif);
    font-size: clamp(22px, 2.3vw, 30px);
    font-weight: 600;
    color: var(--white);
    line-height: 1.25;
  }
  .arrive-place .addr span{
    display:block;
    font-family: var(--sans);
    font-style: normal;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--aqua);
    margin-bottom: 10px;
  }
  .btn{
    display: inline-flex;
    align-items:center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .04em;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .15s ease, background .2s, color .2s;
  }
  .btn:hover{ transform: translateY(-2px); }
  .btn.ghost{
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.45);
  }
  .btn.ghost:hover{ background: var(--white); color: var(--ink);}
  .btn.big{ padding: 18px 32px; font-size: 16px; }
  .btn.green{
    background: var(--green);
    color: var(--white);
  }
  .btn.green:hover{ background: var(--mint); color: var(--green);}
  .arrive-note{
    margin-top: 28px;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(15px, 1.3vw, 18px);
    color: var(--mint);
    opacity: .9;
  }
  .arrive-note::before{
    content:"✱";
    color: var(--aqua);
    margin-right: 8px;
    font-style: normal;
  }

  /* =========================================================
     SECTION 4: TIMELINE
  ========================================================= */
  .tl{
    position: relative;
    margin-top: 16px;
  }
  .tl::before{
    content:"";
    position: absolute;
    left: 96px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--aqua), rgba(119,219,198,.08));
  }
  @media (max-width: 720px){
    .tl::before{ left: 74px; }
  }
  .tl-row{
    position: relative;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 28px;
    padding: 22px 0 28px;
    align-items: start;
  }
  .tl-row + .tl-row{ border-top: 1px dashed rgba(119,219,198,.18); }
  @media (max-width: 720px){
    .tl-row{
      grid-template-columns: 72px 1fr;
      gap: 20px;
      padding-left: 0;
    }
  }
  .tl-time{
    font-family: var(--sans);
    font-style: normal;
    font-size: clamp(18px, 1.9vw, 24px);
    font-weight: 700;
    color: var(--aqua);
    line-height: 1.1;
    padding-top: 6px;
  }
  .tl-dot{
    position: absolute;
    left: 88px;
    top: 30px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--green);
    border: 3px solid var(--ink);
    box-shadow: 0 0 0 2px var(--aqua);
  }
  @media (max-width: 720px){
    .tl-dot{
      left: 66px;
      top: 30px;
    }
  }
  .tl-content h4{
    font-family: var(--sans);
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
  }
  .tl-content p{
    margin: 6px 0 0;
    color: var(--mint);
    font-size: 15.5px;
    max-width: 62ch;
  }

  /* =========================================================
     SECTION 5: DRESS CODE
  ========================================================= */
  .dress{
    display:grid; grid-template-columns: 1fr; gap: 40px;
  }
  @media (min-width: 900px){
    .dress{ grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start;}
  }
  .dress-list{
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  @media (min-width: 600px){
    .dress-list{ grid-template-columns: repeat(2, 1fr);}
  }
  .dress-item{
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 22px;
    background: rgba(17,25,33,.85);
    border: 1px solid rgba(119,219,198,.18);
    border-radius: 6px;
  }
  .dress-item .ico{
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
  }
  .dress-item .txt{
    font-family: var(--sans);
    font-size: 15px;
    color: var(--white);
    line-height: 1.45;
  }
  .dress-item .txt strong{
    display:block;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 17px;
    color: var(--mint);
    margin-bottom: 2px;
  }
  .dress-photo{
    background: var(--mint);
    color: var(--ink);
    padding: clamp(28px, 3vw, 40px);
    border-radius: 6px;
    position: sticky;
    top: 100px;
  }
  .dress-photo .kicker{
    font-family: var(--sans);
    font-size: 12px; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--green);
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
  }
  .dress-photo .kicker .cam{
    display: inline-grid; place-items:center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--green); color: var(--mint);
    font-size: 13px;
  }
  .dress-photo h3{
    font-family: var(--serif);
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 12px;
  }
  .dress-photo p{
    margin: 0;
    color: #1a2a22;
    font-size: 15.5px;
    line-height: 1.6;
  }
  .dress-photo em{ color: var(--green); font-style: italic; font-weight: 500;}

  /* =========================================================
     SECTION 6: PREMIOS
  ========================================================= */
  .premios-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 8px;
  }
  @media (min-width: 760px){
    .premios-grid{ grid-template-columns: repeat(3, 1fr); }
  }
  .premio{
    background: var(--ink);
    border: 1px solid rgba(119,219,198,.2);
    border-radius: 6px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, border-color .2s;
  }
  .premio:hover{
    transform: translateY(-4px);
    border-color: var(--aqua);
  }
  .premio::after{
    content:"";
    position: absolute;
    inset: auto -40% -60% auto;
    width: 220px; height: 220px;
    background: radial-gradient(closest-side, rgba(119,219,198,.18), transparent 70%);
    pointer-events: none;
  }
  .premio .medal{
    width: 128px;
    height: 128px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    background: transparent;
    box-shadow: none;
  }
  .premio .medal img{
    width: 128px;
    height: 128px;
    display: block;
    object-fit: contain;
  }
  .premio h3{
    font-family: var(--serif);
    font-size: 26px;
    color: var(--white);
    margin-bottom: 6px;
  }
  .premio p{
    margin: 0;
    font-size: 14px;
    color: var(--mint);
  }
  .premio.gold .medal,
  .premio.silver .medal,
  .premio.bronze .medal{ background: transparent; box-shadow: none; }
  .premios-cta{
    margin-top: 40px;
    display: grid; place-items: center;
    gap: 12px;
  }
  .premios-cta .hint{
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
    color: var(--mint);
    opacity: .85;
  }

  /* =========================================================
     SECTION 7: ALOJAMIENTOS
  ========================================================= */
  .lodg-list{
    display: grid; grid-template-columns: 1fr; gap: 24px;
  }
  .lodg{
    background: var(--ink);
    border: 1px solid rgba(119,219,198,.2);
    border-radius: 8px;
    overflow: hidden;
  }
  .lodg-head{
    padding: clamp(22px, 2.6vw, 32px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: flex-start;
    background: linear-gradient(180deg, rgba(119,219,198,.06), transparent);
    border-bottom: 1px dashed rgba(119,219,198,.2);
  }
  .lodg-head .label{
    font-family: var(--sans);
    font-size: 11px; font-weight: 700;
    letter-spacing: .24em; text-transform: uppercase;
    color: var(--aqua);
  }
  .lodg-head h3{
    font-family: var(--serif);
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 700;
    color: var(--white);
    margin-top: 6px;
  }
  .lodg-head .addr{
    margin-top: 10px;
    font-size: 14px;
    color: var(--mint);
    line-height: 1.55;
  }
  .lodg-head .times{
    display:flex; gap: 14px; flex-wrap: wrap;
    margin-top: 8px;
    font-family: var(--sans);
    font-size: 12.5px;
    color: var(--aqua);
    letter-spacing: .04em;
  }
  .lodg-head .times b{ color: var(--white); font-weight: 600; letter-spacing: 0;}
  .lodg-body{
    padding: clamp(22px, 2.6vw, 32px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  @media (min-width: 800px){
    .lodg-body{ grid-template-columns: 1fr auto; align-items: center; gap: 36px;}
  }
  .people{
    display: flex; flex-direction: column; gap: 10px;
  }
  .people-heading{
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--aqua);
    margin-bottom: 2px;
  }
  .people-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  @media (min-width: 560px){
    .people-grid{ grid-template-columns: 1fr 1fr; gap: 8px 24px; }
  }
  .person{
    display:flex; align-items: center; gap: 12px;
    padding: 6px 0;
  }
  .avatar{
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    background: var(--mint);
    letter-spacing: 0;
  }
  .avatar.a2{ background: var(--aqua);}
  .person .who{
    font-size: 15px; font-weight: 500;
    color: var(--white);
    line-height: 1.15;
  }
  .person .when{
    display: block;
    font-size: 12px;
    color: var(--mint);
    opacity: .85;
    margin-top: 2px;
    letter-spacing: .02em;
  }
  .lodg-actions{
    display: flex; flex-direction: column; gap: 10px;
    min-width: 220px;
  }

  /* =========================================================
     FOOTER
  ========================================================= */
  .footer{
    padding: 80px 0 60px;
    text-align: center;
    border-top: none;
  }
  .footer .mark{
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(34px, 5vw, 68px);
    color: var(--mint);
    line-height: 1.1;
  }
  .footer .mark em{ color: var(--aqua); }
  .footer .bye{
    margin-top: 24px;
    font-size: 12px;
    color: var(--mint);
    letter-spacing: .24em;
    text-transform: uppercase;
    opacity: .7;
  }
  .footer img{
    height: 26px;
    margin-top: 30px;
    opacity: .9;
  }

  /* =========================================================
     SCROLL REVEAL
  ========================================================= */
  .reveal{
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
  }
  .reveal.in{ opacity: 1; transform: none;}
  .reveal.d1{ transition-delay: .08s;}
  .reveal.d2{ transition-delay: .16s;}
  .reveal.d3{ transition-delay: .24s;}
  @media (prefers-reduced-motion: reduce){
    .reveal{ opacity: 1; transform: none; transition: none;}
  }

  /* Selection */
  ::selection{ background: var(--pink); color: var(--white);}

  /* =========================================================
     FESTIVE ACCENTS — pink #dc4398 + orange #f47500
     Layered on top of the base theme to add Feria color without
     breaking the green/ink base.
  ========================================================= */

  /* Eyebrow dot — alternating festive pulse */
  .tophero-eyebrow .dot,
  .hero-eyebrow .dot{ background: var(--pink); box-shadow: 0 0 0 6px rgba(220,67,152,.18); }

  /* Top hero title — swap aqua italic for pink, and add orange quotes */
  .tophero-title em{ color: var(--pink); }
  .hero h1 .line2{ color: var(--pink); }
  .hero h1 .quote{ color: var(--orange); }

  /* Section tag underline/label — orange accent */
  .section-tag{ color: var(--orange); }
  .section-tag::before{ background: var(--orange); }

  /* "Hoy no se sube" stamp — pink inline emphasis */
  .hoy-body .stamp{
    color: var(--pink);
    background: none;
    border-bottom-color: var(--pink);
  }
  .hoy-title em{ color: var(--pink); }

  /* Hero side label tint */
  .hero-side{ color: rgba(244,117,0,.7); }

  /* Timeline dots — alternating pink / orange */
  .tl-dot{ background: var(--pink); box-shadow: 0 0 0 2px var(--pink); }
  .tl-row:nth-child(even) .tl-dot{ background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
  .tl-time{ color: var(--white); }
  .tl-row:nth-child(even) .tl-time{ color: var(--white); }

  /* Dress-code items — festive icon-bg chips */
  .dress-item{ position: relative; }
  .dress-item:nth-child(1) .ico,
  .dress-item:nth-child(3) .ico,
  .dress-item:nth-child(5) .ico{ filter: drop-shadow(0 0 10px rgba(220,67,152,.35)); }
  .dress-item:nth-child(2) .ico,
  .dress-item:nth-child(4) .ico{ filter: drop-shadow(0 0 10px rgba(244,117,0,.35)); }
  .dress-item .txt strong{ color: var(--white); }
  .dress-item:nth-child(odd){ border-color: rgba(220,67,152,.35); }
  .dress-item:nth-child(even){ border-color: rgba(244,117,0,.35); }

  /* Photo callout — keep mint body, but swap kicker to pink */
  .dress-photo .kicker{ color: var(--pink); }
  .dress-photo .kicker .cam{ background: var(--pink); color: var(--white); }
  .dress-photo em{ color: var(--pink); }

  /* Premio medals — introduce festive pink/orange for 1 & 2 */
  .premio.gold .medal,
  .premio.silver .medal,
  .premio.bronze .medal{
    background: transparent;
    box-shadow: none;
  }
  /* CTA "Votar aquí" — festive pink */
  .btn.green{
    background: var(--pink);
  }
  .btn.green:hover{ background: var(--orange); color: var(--white);}
  .nav-cta{ background: var(--pink); }
  .nav-cta:hover{ background: var(--orange); }

  /* Arrive icons — festive rotation */
  .arrive-card:nth-child(1) .ico{ background: var(--pink); }
  .arrive-card:nth-child(2) .ico{ background: var(--orange); }
  .arrive-card:nth-child(3) .ico{ background: var(--green); }

  /* Avatar rotation — 4 colors cycling */
  .avatar{ color: var(--white); }
  .avatar{ background: var(--pink); }
  .avatar.a2{ background: var(--orange); }
  .person:nth-child(3) .avatar{ background: var(--green); color: var(--white);}
  .person:nth-child(4) .avatar{ background: var(--aqua); color: var(--ink);}

  /* Footer — pink + orange punctuation */
  .footer .mark em{ color: var(--pink); }
  .footer{ border-top-color: transparent; }

  /* Decorative confetti dots on top hero glow */
  .tophero::after{
    content:"";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(6px 6px at 12% 22%, var(--pink) 100%, transparent 0),
      radial-gradient(5px 5px at 88% 18%, var(--orange) 100%, transparent 0),
      radial-gradient(4px 4px at 18% 82%, var(--orange) 100%, transparent 0),
      radial-gradient(5px 5px at 82% 78%, var(--pink) 100%, transparent 0),
      radial-gradient(3px 3px at 50% 10%, var(--aqua) 100%, transparent 0),
      radial-gradient(3px 3px at 45% 92%, var(--pink) 100%, transparent 0);
    opacity: .8;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
  }

  /* =========================================================
     ACCESSIBILITY — color contrast fixes
     Based on WCAG audit. Key failures addressed:
     - aqua / pink / orange on green stripes (<3:1)  → re-anchored to ink bg or swapped to mint/white
     - white on orange (2.84:1)                      → switch to ink-on-orange
     - hero-side orange tint                         → white at higher opacity
     Also darkens the fixed stripes-veil slightly so
     any text that DOES sit directly on the striping
     has more consistent contrast.
  ========================================================= */

  /* Stronger veil over the fixed stripes for legibility */
  .stripes-veil{
    background: linear-gradient(180deg, rgba(17,25,33,.55), rgba(17,25,33,.72));
  }

  /* Section eyebrows — move from orange to mint (15.6:1 on ink, 3.1:1 on green-AA-large) */
  .section-tag{ color: var(--mint); }
  .section-tag::before{ background: var(--mint); }

  /* Hero side label — white, low opacity but no more orange-on-stripes */
  .hero-side{ color: rgba(255,255,255,.55); }

  /* Tophero eyebrow sits on ink bg — keep aqua (10.75:1 ✔) */
  .tophero-eyebrow{ color: var(--aqua); }

  /* "Hoy" section: tag sits on stripes — use mint instead of orange */
  #hoy .section-tag{ color: var(--mint); }

  /* Tophero meta kickers: on ink — orange is 6.24:1 ✔ (keep) */

  /* Arrive card h3 accent (italic "· recomendado") — aqua on ink-card ✔ but cards live on stripes until hover; they actually have no ink bg → force aqua→mint for body text areas without ink bg */
  .arrive-card h3 em{ color: var(--mint) !important; }
  .arrive-card p{ color: var(--white); }
  .arrive-card h3{ color: var(--white); }

  /* arrive-place: has ink bg, so aqua is fine there */
  /* but the "Nuestra caseta" kicker was aqua → keep (10.75:1 on ink ✔) */

  /* Arrive note sits on stripes, italic — bump to white so it's readable on both green and ink */
  .arrive-note{ color: var(--white); opacity: .95; }
  .arrive-note::before{ color: var(--mint); }

  /* Section sub (under big titles) sits on stripes sometimes — mint is 3.1:1 on green (AA-large) at 17px+, so bold it a bit and bump size/weight */
  .section-sub{ color: var(--white); font-weight: 400; }
  .section-sub em{ color: var(--mint); font-style: italic;}

  /* Timeline descriptions sit on stripes — white is safer than mint */
  .tl-content p{ color: var(--white); opacity: .88; }
  .tl-content h4{ color: var(--white); }

  /* Footer mark, footer bye — on stripes */
  .footer .mark{ color: var(--white); }
  .footer .mark em{ color: var(--mint); font-style: italic;}
  .footer .bye{ color: var(--white); opacity: .75; }

  /* Hoy body text on stripes — keep white, avoid mint for paragraphs */
  .hoy-body{ color: var(--white); }
  .hoy-body p{ color: var(--white); }
  .hoy-body .big{ color: var(--white); }

  /* "deploy" / "commits" em were aqua — swap to mint on green-bg safety */
  .hoy-body em.serif[style*="aqua"]{ /* no-op, cannot target inline safely */ }

  /* Premios: hint sits on stripes */
  .premios-cta .hint{ color: var(--white); opacity: .9; }

  /* Hero sub (top hero) sits on ink — mint is fine (15.6:1 ✔) */

  /* Buttons */
  .btn{ color: var(--ink); }                 /* white bg → ink text 17.7:1 */
  .btn.ghost{ color: var(--white); }         /* transparent → white ok on ink/green AA-large */
  .btn.ghost:hover{ color: var(--ink); }     /* white bg on hover */
  .btn.green{ color: var(--white); }         /* pink bg → white 4.0:1 AA-large, fine for big cta */
  .btn.green:hover{ color: var(--ink); background: var(--orange); } /* orange bg → ink 6.24:1 ✔ */

  .premios-cta .btn.green{
    background: var(--green);
    color: var(--white);
  }
  .premios-cta .btn.green:hover{
    background: var(--mint);
    color: var(--green);
  }

  /* The hero-meta kickers were aqua — tophero has them orange on ink (6.24 ✔) */

  /* Address line in arrive-place kicker span was aqua — on ink (10.75 ✔) keep */

  /* lodg-head label & times color aqua on ink-card → keep */

  /* lodg .addr is mint on ink card → 15.6:1 ✔ */

  /* Dress-item body: sits on a near-ink card → white ✔ */
  /* Dress-item .txt strong was mint — 15.6:1 ✔ */

  /* Photo callout has mint bg with ink body already — ok */

  /* Tophero meta k (kicker) — orange on ink 6.24 ✔ */



  .tophero{
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(60px, 8vw, 100px);
    overflow: hidden;
    z-index: 2;
    isolation: isolate;
  }
  /* faint triangular echo behind for atmosphere */
  .tophero::before{
    content:"";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% 100%,
        rgba(0,154,122,.22),
        transparent 60%);
    z-index: 0;
    pointer-events: none;
  }
  .tophero-eyebrow{
    position: relative;
    z-index: 2;
    display:inline-flex; align-items:center; gap: 14px;
    font-family: var(--sans);
    font-size: 12px; font-weight: 600;
    letter-spacing: .3em; text-transform: uppercase;
    color: var(--aqua);
    margin: 0 0 32px;
  }
  .tophero-eyebrow .dot{
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--aqua);
    animation: pulse 2.4s ease-in-out infinite;
  }
  .tophero-art{
    position: relative;
    z-index: 2;
    width: min(1100px, 92%);
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 80px rgba(0,0,0,.45));
    margin: 0 auto;
  }
  .tophero-title{
    position: relative;
    z-index: 2;
    font-family: var(--serif);
    font-weight: 800;
    font-size: clamp(44px, 8.5vw, 132px);
    line-height: .95;
    letter-spacing: -.03em;
    color: var(--white);
    margin: clamp(28px, 4vw, 48px) 0 18px;
    text-wrap: balance;
  }
  .tophero-title em{
    font-style: italic;
    color: var(--aqua);
    font-weight: 700;
  }
  .tophero-sub{
    position: relative;
    z-index: 2;
    font-family: var(--sans);
    font-weight: 300;
    font-size: clamp(17px, 1.7vw, 22px);
    color: var(--mint);
    margin: 0 auto clamp(36px, 5vw, 56px);
    max-width: 52ch;
    line-height: 1.55;
  }
  .tophero-sub strong{ color: var(--white); font-weight: 600;}
  .tophero-scroll{
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--mint);
    text-decoration: none;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    padding: 10px 0;
    border-bottom: 1px solid rgba(208,249,240,.35);
    transition: color .2s, border-color .2s;
  }
  .tophero-scroll:hover{ color: var(--white); border-color: var(--white);}
  .tophero-scroll .arrow{
    display: inline-block;
    animation: bob 2.4s ease-in-out infinite;
  }
  .tophero-meta{
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(18px, 3vw, 40px);
    margin: 0 auto clamp(36px, 5vw, 56px);
  }
  .tophero-meta .block{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
  .tophero-meta .k{
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--orange);
  }
  .tophero-meta .v{
    font-family: var(--serif);
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
  }
  .tophero-meta .v.italic{ font-style: italic;}
  .tophero-meta .sep{
    width: 1px;
    height: 32px;
    background: rgba(208,249,240,.22);
  }
  @media (max-width: 640px){
    .tophero-meta .sep{ display: none;}
    .tophero-meta{ gap: 18px;}
  }
