/* ============================================================
   TANNU — Hoja de estilos global
   Incluye: base, componentes compartidos, index, contacto, legal
   ============================================================ */

/* ─── RESET & BASE ─── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Nunito',sans-serif;
  background:#f8fafb;
  color:#1e2d32;
  overflow-x:hidden;
  min-height:100vh;
}

/* ─── VARIABLES ─── */
:root{
  --teal-dark:#0e5f70;
  --teal:#167a8e;
  --cyan:#20adc8;
  --cyan-light:#5dd0e8;
  --pink:#fdf1f1;
  --white:#fff;
  --grad:linear-gradient(135deg,#0e5f70 0%,#20adc8 100%);
  --grad-text:linear-gradient(135deg,#0e5f70,#20adc8);
  --shadow:0 4px 28px rgba(14,95,112,0.13);
  --shadow-lg:0 12px 48px rgba(14,95,112,0.20);
  --text-muted:#5a7880;
  --border:rgba(32,173,200,0.12);
}


/* ─── NAV ─── */
nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:rgba(255,255,255,0.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(32,173,200,0.12);
  padding:0 5%;
  display:flex;align-items:center;justify-content:space-between;
  height:68px;
}
.nav-logo{display:flex;align-items:center;}
.nav-logo img{height:52px;width:auto;cursor:pointer;}
.nav-links{display:flex;gap:2.2rem;list-style:none;}
.nav-links a{
  font-size:0.88rem;font-weight:700;
  color:#4a6670;text-decoration:none;
  transition:color 0.2s;
}
.nav-links a:hover,
.nav-links a.active{color:var(--cyan);}
.nav-cta{display:flex;gap:0.7rem;}

/* ─── BOTONES ─── */
.btn{
  padding:0.55rem 1.3rem;border-radius:50px;
  font-family:'Nunito',sans-serif;font-weight:800;font-size:0.82rem;
  border:none;cursor:pointer;transition:all 0.22s;text-decoration:none;
  display:inline-flex;align-items:center;gap:0.4rem;
}
.btn-ghost{background:transparent;border:2px solid var(--teal);color:var(--teal);}
.btn-ghost:hover{background:var(--teal);color:white;}
.btn-solid{background:var(--grad);color:white;}
.btn-solid:hover{opacity:0.88;transform:translateY(-1px);box-shadow:var(--shadow);}
.btn-lg{padding:0.9rem 2rem;font-size:0.95rem;}
.btn-white{background:white;color:var(--teal-dark);}
.btn-white:hover{background:rgba(255,255,255,0.9);}

/* ─── CABECERAS DE SECCIÓN ─── */
.section-header{text-align:center;margin-bottom:5rem;}
.section-header .overline{
  font-size:0.72rem;font-weight:800;letter-spacing:0.2em;
  text-transform:uppercase;color:var(--cyan);margin-bottom:0.8rem;
}
.section-header h2{
  font-family:'Playfair Display',serif;
  font-size:clamp(2rem,4vw,3rem);font-weight:700;
  color:#1e2d32;line-height:1.15;
}
.section-header h2 em{
  font-style:italic;
  background:var(--grad-text);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.section-header p{
  font-size:1rem;line-height:1.7;color:#5a7880;
  max-width:520px;margin:1rem auto 0;
}

/* ─── FOOTER ─── */
footer{
  background:#0a2530;color:rgba(255,255,255,0.6);
  padding:3.5rem 5%;
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:1.5rem;
}
.footer-brand img{height:32px;width:auto;filter:brightness(0) invert(1);opacity:0.85;}
.footer-links{display:flex;gap:2rem;}
.footer-links a{
  font-size:0.82rem;font-weight:700;
  color:rgba(255,255,255,0.5);text-decoration:none;
  transition:color 0.2s;
}
.footer-links a:hover{color:var(--cyan-light);}
.footer-copy{font-size:0.78rem;color:rgba(255,255,255,0.45);}

/* ─── ANIMACIONES ─── */
@keyframes fadeInUp{
  from{opacity:0;transform:translateY(30px);}
  to{opacity:1;transform:translateY(0);}
}
@keyframes fadeInRight{
  from{opacity:0;transform:translateX(30px);}
  to{opacity:1;transform:translateX(0);}
}
@keyframes blink{0%,100%{opacity:1;}50%{opacity:0.4;}}
@keyframes fadeIn{
  from{opacity:0;transform:scale(0.96);}
  to{opacity:1;transform:scale(1);}
}
@keyframes popIn{
  from{transform:scale(0);}
  to{transform:scale(1);}
}
@keyframes spin{
  from{transform:rotate(0deg);}
  to{transform:rotate(360deg);}
}

.reveal{
  opacity:0;transform:translateY(24px);
  transition:opacity 0.7s ease,transform 0.7s ease;
}
.reveal.visible{opacity:1;transform:translateY(0);}
.reveal-left{
  opacity:0;transform:translateX(-22px);
  transition:opacity 0.65s ease,transform 0.65s ease;
}
.reveal-left.visible{opacity:1;transform:translateX(0);}
.reveal-right{
  opacity:0;transform:translateX(22px);
  transition:opacity 0.65s ease,transform 0.65s ease;
}
.reveal-right.visible{opacity:1;transform:translateX(0);}


/* ============================================================
   INDEX — Secciones exclusivas de index.html
   ============================================================ */

/* ─── HERO ─── */
.hero{
  min-height:100vh;
  background:var(--grad);
  display:flex;align-items:center;
  padding:100px 5% 60px;
  position:relative;overflow:hidden;
}
.hero::before{
  content:'';position:absolute;inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content{
  flex:1;max-width:560px;position:relative;z-index:2;
  animation:fadeInUp 0.8s ease both;
}
.hero-badge{
  display:inline-flex;align-items:center;gap:0.5rem;
  background:rgba(255,255,255,0.15);border:1px solid rgba(255,255,255,0.25);
  border-radius:50px;padding:0.4rem 1rem;
  font-size:0.75rem;font-weight:800;letter-spacing:0.1em;
  text-transform:uppercase;color:rgba(255,255,255,0.9);
  margin-bottom:1.5rem;
}
.hero-badge-dot{
  width:7px;height:7px;border-radius:50%;
  background:#5dd0e8;
  animation:blink 2s ease-in-out infinite;
}
.hero h1{
  font-family:'Playfair Display',serif;
  font-size:clamp(2.8rem,5vw,4.2rem);
  font-weight:900;line-height:1.08;
  color:white;margin-bottom:1.4rem;
}
.hero h1 em{font-style:italic;opacity:0.85;}
.hero p{
  font-size:1.05rem;line-height:1.75;
  color:rgba(255,255,255,0.78);
  margin-bottom:2.2rem;max-width:460px;
}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;}
.hero-stats{
  display:flex;gap:2.5rem;margin-top:3.5rem;
  padding-top:2.5rem;
  border-top:1px solid rgba(255,255,255,0.15);
}
.hero-stat-num{
  font-family:'Playfair Display',serif;
  font-size:2rem;font-weight:700;color:white;
}
.hero-stat-label{
  font-size:0.72rem;font-weight:700;
  color:rgba(255,255,255,0.6);
  letter-spacing:0.08em;text-transform:uppercase;
}

/* ─── PHONE MOCKUP ─── */
.hero-phone-area{
  flex:1;display:flex;justify-content:center;align-items:center;
  position:relative;z-index:2;
  animation:fadeInRight 1s ease 0.2s both;
}
.phone-frame{
  width:268px;
  background:#0a4050;
  border-radius:40px;
  padding:14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 40px 80px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.08);
  position:relative;
}
.phone-notch{
  width:80px;height:26px;
  background:#0a4050;
  border-radius:0 0 18px 18px;
  margin:0 auto -2px;position:relative;z-index:2;
}
.phone-screen{
  background:#f8fafb;
  border-radius:28px;
  overflow:hidden;
  height:530px;
  position:relative;
}

/* ─── APP SCREEN (dentro del móvil) ─── */
.app-statusbar{
  background:white;
  padding:10px 16px 6px;
  display:flex;justify-content:space-between;align-items:center;
}
.app-statusbar .time{font-size:10px;font-weight:800;color:#1e2d32;}
.app-statusbar .icons{font-size:9px;color:#4a6670;letter-spacing:0.05em;}

.app-topbar{
  background:white;padding:6px 14px 8px;
  display:flex;align-items:center;justify-content:space-between;
  border-bottom:0.5px solid #eee;
}
.app-topbar img{height:22px;width:auto;}
.app-location{
  display:flex;align-items:center;gap:3px;
  font-size:9px;font-weight:800;color:var(--teal);
}
.app-search{
  margin:8px 12px;
  background:#fdf1f1;border-radius:50px;
  padding:7px 12px;
  display:flex;align-items:center;gap:6px;
}
.app-search-icon{width:12px;height:12px;color:#aaa;flex-shrink:0;}
.app-search p{font-size:8.5px;color:#aaa;}

.app-map{
  margin:0 12px 8px;border-radius:12px;overflow:hidden;height:100px;
  position:relative;background:linear-gradient(160deg,#b4e0ec,#88cad6);
}
.app-map-grid{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.3) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,0.3) 1px,transparent 1px);
  background-size:20px 20px;
}
.map-road-h{position:absolute;left:0;right:0;height:2px;background:rgba(255,255,255,0.65);}
.map-road-v{position:absolute;top:0;bottom:0;width:2px;background:rgba(255,255,255,0.65);}
.map-blk{position:absolute;background:rgba(255,255,255,0.22);border-radius:3px;}
.map-pin-sm{
  position:absolute;font-size:12px;
  transform:translate(-50%,-100%);
  filter:drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}
.map-ver-btn{
  position:absolute;bottom:6px;right:8px;
  background:white;border-radius:50px;padding:3px 8px;
  font-size:7px;font-weight:800;color:var(--teal);
  display:flex;align-items:center;gap:2px;
}

.app-section-label{
  font-family:'Playfair Display',serif;
  font-size:11px;font-weight:700;color:#1e2d32;
  padding:2px 12px 5px;
}
.app-cats{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:5px;padding:0 12px 6px;
}
.app-cat{
  background:white;border-radius:9px;
  padding:7px 4px;
  display:flex;flex-direction:column;align-items:center;gap:3px;
  border:1.5px solid transparent;
}
.app-cat.active{border-color:var(--cyan);background:rgba(32,173,200,0.06);}
.app-cat-emoji{font-size:14px;}
.app-cat-name{font-size:7px;font-weight:800;color:#1e2d32;text-align:center;}

.app-events{
  display:grid;grid-template-columns:1fr 1fr;
  gap:5px;padding:0 12px 8px;
}
.app-ev{
  background:white;border-radius:9px;overflow:hidden;
  box-shadow:0 1px 6px rgba(0,0,0,0.06);
}
.app-ev-img{
  height:52px;display:flex;align-items:center;justify-content:center;
  font-size:18px;position:relative;
}
.app-ev-fav{
  position:absolute;top:3px;right:4px;
  background:white;border-radius:50%;width:16px;height:16px;
  display:flex;align-items:center;justify-content:center;font-size:7px;
}
.app-ev-body{padding:5px 6px 6px;}
.app-ev-cat{font-size:6px;font-weight:800;text-transform:uppercase;color:var(--teal);margin-bottom:1px;}
.app-ev-title{font-size:7.5px;font-weight:800;color:#1e2d32;line-height:1.25;margin-bottom:2px;}
.app-ev-meta{font-size:6.5px;color:#aaa;}
.app-ev-price{font-size:7px;font-weight:800;color:var(--teal-dark);margin-top:2px;}
.free-tag{
  background:rgba(32,173,200,0.12);color:var(--cyan);
  border-radius:50px;padding:1px 5px;font-size:6px;font-weight:800;
}

.bg-baile{background:linear-gradient(135deg,#ffe8f3,#ffd0e5);}
.bg-musica{background:linear-gradient(135deg,#d4eef8,#b4dcf0);}
.bg-teatro{background:linear-gradient(135deg,#f8e0ec,#f0c4d8);}
.bg-gastro{background:linear-gradient(135deg,#fde8d4,#f8d2b4);}

.app-bottom-bar{
  position:absolute;bottom:0;left:0;right:0;
  background:white;border-top:0.5px solid #eee;
  display:flex;
  padding:5px 0 8px;
}
.app-bnav{
  flex:1;display:flex;flex-direction:column;align-items:center;
  gap:2px;font-size:6.5px;font-weight:800;color:#aaa;
}
.app-bnav.active{color:var(--teal);}
.app-bnav svg{width:14px;height:14px;}
.app-bnav-create-icon{
  background:var(--grad);border-radius:8px;
  padding:2px 5px;
  display:flex;align-items:center;justify-content:center;
}

/* Segundo móvil flotante */
.phone-float{
  position:absolute;right:-20px;top:40px;
  width:200px;
  background:#0a4050;border-radius:32px;padding:10px;
  box-shadow:0 30px 60px rgba(0,0,0,0.3),0 0 0 1px rgba(255,255,255,0.1);
  opacity:0.9;
}
.phone-float-screen{
  background:#f8fafb;border-radius:22px;overflow:hidden;height:340px;
}

/* ─── FEATURES ─── */
.features{padding:100px 5%;background:white;}
.features-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem;
  max-width:1100px;margin:0 auto;
}
.feat-card{
  background:#f8fafb;border-radius:20px;
  padding:2rem;
  border:1px solid rgba(32,173,200,0.1);
  transition:all 0.28s;
}
.feat-card:hover{
  background:white;
  box-shadow:var(--shadow);
  border-color:rgba(32,173,200,0.25);
  transform:translateY(-4px);
}
.feat-icon{
  width:52px;height:52px;
  border-radius:14px;
  background:var(--grad);
  display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;margin-bottom:1.3rem;
}
.feat-card h3{
  font-family:'Playfair Display',serif;
  font-size:1.2rem;font-weight:700;color:#1e2d32;margin-bottom:0.6rem;
}
.feat-card p{font-size:0.88rem;line-height:1.7;color:#5a7880;}

/* ─── CÓMO FUNCIONA ─── */
.how{
  padding:100px 5%;
  background:linear-gradient(160deg,#f0f8fa 0%,#e8f4f6 100%);
}
.how-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:5rem;
  max-width:1100px;margin:0 auto;align-items:center;
}
.how-steps{display:flex;flex-direction:column;gap:2rem;}
.how-step{
  display:flex;gap:1.4rem;align-items:flex-start;
  padding:1.5rem;border-radius:16px;
  background:white;box-shadow:0 2px 12px rgba(14,95,112,0.07);
  border:1px solid rgba(32,173,200,0.1);
  transition:all 0.25s;
}
.how-step:hover{box-shadow:var(--shadow);border-color:rgba(32,173,200,0.25);}
.step-num{
  min-width:44px;height:44px;border-radius:50%;
  background:var(--grad);
  display:flex;align-items:center;justify-content:center;
  font-family:'Playfair Display',serif;
  font-size:1.1rem;font-weight:700;color:white;flex-shrink:0;
}
.step-content h4{
  font-size:1rem;font-weight:800;color:#1e2d32;margin-bottom:0.3rem;
}
.step-content p{font-size:0.84rem;line-height:1.65;color:#5a7880;}

/* ─── EVENTOS SHOWCASE ─── */
.events-section{padding:100px 5%;background:white;}
.events-showcase{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;
  max-width:1100px;margin:0 auto;
}
.ev-showcase-card{
  background:white;border-radius:18px;overflow:hidden;
  box-shadow:0 2px 16px rgba(14,95,112,0.08);
  border:1px solid rgba(0,0,0,0.05);
  transition:all 0.28s;
}
.ev-showcase-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
}
.ev-sc-img{
  height:140px;
  display:flex;align-items:center;justify-content:center;
  font-size:3.5rem;position:relative;
}
.ev-sc-fav{
  position:absolute;top:0.6rem;right:0.6rem;
  background:white;border-radius:50%;
  width:30px;height:30px;
  display:flex;align-items:center;justify-content:center;font-size:0.9rem;
}
.ev-sc-body{padding:1rem;}
.ev-sc-cat{
  font-size:0.62rem;font-weight:800;text-transform:uppercase;
  letter-spacing:0.1em;color:var(--teal);margin-bottom:0.3rem;
}
.ev-sc-title{
  font-size:0.92rem;font-weight:800;color:#1e2d32;
  line-height:1.3;margin-bottom:0.4rem;
}
.ev-sc-meta{font-size:0.72rem;color:#8a9ea3;margin-bottom:0.25rem;}
.ev-sc-price{font-size:0.82rem;font-weight:800;color:var(--teal-dark);}
.free-badge{
  background:rgba(32,173,200,0.1);color:var(--cyan);
  border-radius:50px;padding:0.1rem 0.55rem;font-size:0.62rem;font-weight:800;
}

/* ─── CATEGORÍAS SHOWCASE ─── */
.cats-section{padding:80px 5%;background:#f8fafb;}
.cats-showcase{
  display:flex;gap:0.8rem;flex-wrap:wrap;justify-content:center;
  max-width:900px;margin:3rem auto 0;
}
.cat-pill{
  display:flex;align-items:center;gap:0.6rem;
  background:white;border-radius:50px;
  padding:0.65rem 1.4rem;
  border:1.5px solid rgba(32,173,200,0.15);
  font-size:0.88rem;font-weight:800;color:#1e2d32;
  transition:all 0.22s;cursor:pointer;
}
.cat-pill:hover{
  background:var(--grad);color:white;
  border-color:transparent;
  box-shadow:var(--shadow);
  transform:translateY(-2px);
}
.cat-pill .emoji{font-size:1.1rem;}

/* ─── CTA ─── */
.cta-section{
  padding:100px 5%;
  background:var(--grad);
  text-align:center;position:relative;overflow:hidden;
}
.cta-section::before{
  content:'';position:absolute;inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section h2{
  font-family:'Playfair Display',serif;
  font-size:clamp(2rem,4vw,3.2rem);font-weight:900;
  color:white;margin-bottom:1rem;position:relative;z-index:1;
}
.cta-section h2 em{font-style:italic;opacity:0.85;}
.cta-section p{
  font-size:1.05rem;color:rgba(255,255,255,0.75);
  max-width:500px;margin:0 auto 2.5rem;
  line-height:1.7;position:relative;z-index:1;
}
.cta-buttons{
  display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;
  position:relative;z-index:1;
}
.app-badges{
  display:flex;gap:1rem;justify-content:center;margin-top:2rem;
  flex-wrap:wrap;position:relative;z-index:1;
}
.app-badge{
  display:flex;align-items:center;gap:0.8rem;
  background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.2);
  border-radius:12px;padding:0.7rem 1.4rem;
  transition:all 0.2s;cursor:pointer;
}
.app-badge:hover{background:rgba(255,255,255,0.18);}
.app-badge-icon{font-size:1.6rem;}
.app-badge-text{text-align:left;}
.app-badge-sub{font-size:0.62rem;color:rgba(255,255,255,0.65);letter-spacing:0.05em;}
.app-badge-name{font-size:0.95rem;font-weight:800;color:white;margin-top:0.1rem;}


/* ============================================================
   CONTACTO — Secciones exclusivas de contactano.html
   ============================================================ */

/* ─── HERO CONTACTO ─── */
.contact-hero{
  padding:110px 5% 0;
  background:var(--grad);
  position:relative;overflow:hidden;
  min-height:320px;
  display:flex;align-items:flex-end;
}
.contact-hero::before{
  content:'';position:absolute;inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.045'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-circle{
  position:absolute;border-radius:50%;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
}
.hero-text-block{
  position:relative;z-index:2;
  padding-bottom:5rem;
  max-width:600px;
}
.hero-overline{
  display:inline-flex;align-items:center;gap:0.5rem;
  background:rgba(255,255,255,0.15);border:1px solid rgba(255,255,255,0.22);
  border-radius:50px;padding:0.38rem 1rem;
  font-size:0.72rem;font-weight:800;letter-spacing:0.12em;
  text-transform:uppercase;color:rgba(255,255,255,0.9);
  margin-bottom:1.2rem;
}
.hero-overline-dot{
  width:7px;height:7px;border-radius:50%;background:#5dd0e8;
  animation:blink 2s ease-in-out infinite;
}
.contact-hero h1{
  font-family:'Playfair Display',serif;
  font-size:clamp(2.4rem,5vw,3.6rem);font-weight:900;
  color:white;line-height:1.1;margin-bottom:1rem;
}
.contact-hero h1 em{font-style:italic;opacity:0.82;}
.contact-hero p{
  font-size:1rem;line-height:1.75;
  color:rgba(255,255,255,0.72);max-width:480px;
}

/* Separador de ola */
.wave-sep{
  display:block;width:100%;
  margin-bottom:-2px;
}

/* ─── CUERPO CONTACTO ─── */
.contact-body{
  padding:0 5% 80px;
  background:#f8fafb;
  position:relative;
}
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1.6fr;
  gap:3rem;
  max-width:1100px;
  margin:0 auto;
  padding-top:3.5rem;
}

/* ─── COLUMNA DE INFO ─── */
.info-col{display:flex;flex-direction:column;gap:1.5rem;}
.info-card{
  background:white;border-radius:20px;
  padding:1.8rem;
  border:1px solid rgba(32,173,200,0.1);
  box-shadow:0 2px 16px rgba(14,95,112,0.07);
  transition:all 0.26s;
}
.info-card:hover{
  box-shadow:var(--shadow);
  border-color:rgba(32,173,200,0.22);
  transform:translateY(-2px);
}
.info-card-icon{
  width:50px;height:50px;border-radius:14px;
  background:var(--grad);
  display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;margin-bottom:1.1rem;
}
.info-card h3{
  font-family:'Playfair Display',serif;
  font-size:1.05rem;font-weight:700;color:#1e2d32;margin-bottom:0.4rem;
}
.info-card p{font-size:0.84rem;line-height:1.65;color:#5a7880;}
.info-card a{
  color:var(--teal);font-weight:700;text-decoration:none;font-size:0.88rem;
  transition:color 0.2s;
}
.info-card a:hover{color:var(--cyan);}

.hours-table{width:100%;border-collapse:collapse;margin-top:0.5rem;}
.hours-table tr td{padding:0.3rem 0;font-size:0.82rem;color:#5a7880;}
.hours-table tr td:last-child{text-align:right;font-weight:700;color:#1e2d32;}
.hours-table tr.today td{color:var(--teal);font-weight:800;}

.social-row{display:flex;gap:0.7rem;margin-top:0.5rem;}
.social-btn{
  display:flex;align-items:center;gap:0.5rem;
  padding:0.45rem 1rem;border-radius:50px;
  font-size:0.78rem;font-weight:800;
  border:1.5px solid rgba(32,173,200,0.2);
  color:var(--teal-dark);background:white;
  cursor:pointer;transition:all 0.2s;text-decoration:none;
}
.social-btn:hover{
  background:var(--grad);color:white;border-color:transparent;
  box-shadow:var(--shadow);
}

/* ─── COLUMNA DE FORMULARIO ─── */
.form-card{
  background:white;border-radius:24px;
  padding:2.5rem;
  border:1px solid rgba(32,173,200,0.1);
  box-shadow:0 4px 32px rgba(14,95,112,0.10);
  position:relative;overflow:hidden;
}
.form-card::before{
  content:'';position:absolute;
  top:-60px;right:-60px;
  width:200px;height:200px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(32,173,200,0.06) 0%,transparent 70%);
  pointer-events:none;
}
.form-card::after{
  content:'';position:absolute;
  bottom:-40px;left:-40px;
  width:150px;height:150px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(14,95,112,0.05) 0%,transparent 70%);
  pointer-events:none;
}
.form-header{margin-bottom:2rem;}
.form-header .overline{
  font-size:0.7rem;font-weight:800;letter-spacing:0.18em;
  text-transform:uppercase;color:var(--cyan);margin-bottom:0.5rem;
}
.form-header h2{
  font-family:'Playfair Display',serif;
  font-size:1.7rem;font-weight:700;color:#1e2d32;line-height:1.15;
}
.form-header h2 em{
  font-style:italic;
  background:linear-gradient(135deg,#0e5f70,#20adc8);
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
}
.form-header p{
  font-size:0.86rem;color:#5a7880;
  margin-top:0.5rem;line-height:1.6;
}

.field-group{display:flex;flex-direction:column;gap:1.1rem;position:relative;z-index:1;}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.field{display:flex;flex-direction:column;gap:0.38rem;}
.field label{
  font-size:0.74rem;font-weight:800;
  color:var(--teal-dark);letter-spacing:0.04em;
}
.field-required{color:#e05555;margin-left:2px;}

.field-wrap{position:relative;display:flex;align-items:center;}
.field-icon{
  position:absolute;left:1rem;
  display:flex;align-items:center;justify-content:center;
  color:#aab8bc;pointer-events:none;
  font-size:0.95rem;
}
.field input,
.field select{
  width:100%;
  background:#f8fafb;
  border:2px solid transparent;
  border-radius:12px;
  padding:0.85rem 1rem 0.85rem 2.8rem;
  font-family:'Nunito',sans-serif;
  font-size:0.9rem;color:#1e2d32;
  outline:none;
  transition:all 0.22s;
}
.field input:focus,
.field select:focus{
  border-color:var(--cyan);
  background:white;
  box-shadow:0 0 0 4px rgba(32,173,200,0.08);
}
.field input:hover,
.field select:hover{
  border-color:rgba(32,173,200,0.3);
  background:white;
}
.field input::placeholder{color:#b0bec5;}

.field textarea{
  width:100%;
  background:#f8fafb;
  border:2px solid transparent;
  border-radius:12px;
  padding:1rem 1rem 1rem 2.8rem;
  font-family:'Nunito',sans-serif;
  font-size:0.9rem;color:#1e2d32;
  outline:none;
  resize:vertical;
  min-height:140px;
  transition:all 0.22s;
  line-height:1.65;
}
.field textarea:focus{
  border-color:var(--cyan);
  background:white;
  box-shadow:0 0 0 4px rgba(32,173,200,0.08);
}
.field textarea:hover{
  border-color:rgba(32,173,200,0.3);
  background:white;
}
.field textarea::placeholder{color:#b0bec5;}
.field-icon-top{
  position:absolute;left:1rem;top:1rem;
  display:flex;align-items:flex-start;
  color:#aab8bc;pointer-events:none;
  font-size:0.95rem;
}

.topic-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:0.5rem;
  margin-top:0.2rem;
}
.topic-btn{
  padding:0.5rem 0.5rem;border-radius:10px;
  font-family:'Nunito',sans-serif;font-size:0.74rem;font-weight:800;
  border:2px solid rgba(32,173,200,0.15);
  background:white;color:#4a6670;
  cursor:pointer;transition:all 0.2s;
  text-align:center;
}
.topic-btn:hover,
.topic-btn.active{
  background:var(--grad);color:white;border-color:transparent;
  box-shadow:0 2px 10px rgba(14,95,112,0.15);
}

.check-row{
  display:flex;align-items:center;gap:0.75rem;
  padding:0.2rem 0;
}
.check-row input[type="checkbox"]{
  width:18px;height:18px;accent-color:var(--teal);cursor:pointer;
  border-radius:4px;flex-shrink:0;
}
.check-row label{
  font-size:0.82rem;color:#5a7880;cursor:pointer;line-height:1.5;
}
.check-row label a{color:var(--teal);font-weight:700;text-decoration:none;}

.submit-btn{
  width:100%;padding:1.05rem;
  background:var(--grad);color:white;
  border:none;border-radius:14px;
  font-family:'Nunito',sans-serif;font-size:1rem;font-weight:800;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:0.6rem;
  transition:all 0.25s;
  position:relative;overflow:hidden;
  margin-top:0.5rem;
}
.submit-btn::before{
  content:'';position:absolute;inset:0;
  background:rgba(255,255,255,0);
  transition:background 0.2s;
}
.submit-btn:hover::before{background:rgba(255,255,255,0.08);}
.submit-btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);}
.submit-btn:active{transform:translateY(0);}
.submit-btn svg{transition:transform 0.2s;}
.submit-btn:hover svg{transform:translateX(4px);}

/* ─── ESTADO ÉXITO ─── */
.success-overlay{
  display:none;
  position:absolute;inset:0;
  background:white;
  border-radius:24px;
  flex-direction:column;
  align-items:center;justify-content:center;
  text-align:center;padding:3rem;
  z-index:10;
}
.success-overlay.show{display:flex;animation:fadeIn 0.4s ease;}
.success-icon{
  width:80px;height:80px;border-radius:50%;
  background:var(--grad);
  display:flex;align-items:center;justify-content:center;
  font-size:2.2rem;margin-bottom:1.5rem;
  box-shadow:0 8px 30px rgba(14,95,112,0.25);
  animation:popIn 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.success-overlay h3{
  font-family:'Playfair Display',serif;
  font-size:1.6rem;font-weight:700;color:#1e2d32;margin-bottom:0.7rem;
}
.success-overlay p{
  font-size:0.9rem;color:#5a7880;line-height:1.7;
  max-width:340px;margin-bottom:1.8rem;
}
.back-btn{
  padding:0.8rem 2rem;
  border-radius:50px;border:none;
  background:var(--grad);color:white;
  font-family:'Nunito',sans-serif;font-size:0.9rem;font-weight:800;
  cursor:pointer;transition:all 0.2s;
}
.back-btn:hover{opacity:0.88;transform:translateY(-2px);box-shadow:var(--shadow);}

/* ─── FAQ ─── */
.faq-section{padding:70px 5% 80px;background:white;}
.faq-inner{max-width:780px;margin:0 auto;}
.faq-header{text-align:center;margin-bottom:3rem;}
.faq-header .overline{
  font-size:0.72rem;font-weight:800;letter-spacing:0.2em;
  text-transform:uppercase;color:var(--cyan);margin-bottom:0.6rem;
}
.faq-header h2{
  font-family:'Playfair Display',serif;
  font-size:2rem;font-weight:700;color:#1e2d32;
}
.faq-header h2 em{
  font-style:italic;
  background:linear-gradient(135deg,#0e5f70,#20adc8);
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
}
.faq-list{display:flex;flex-direction:column;gap:0.8rem;}
.faq-item{
  background:#f8fafb;border-radius:14px;
  border:1px solid rgba(32,173,200,0.1);
  overflow:hidden;transition:box-shadow 0.22s;
}
.faq-item:hover{box-shadow:var(--shadow);}
/* Elimina el triángulo nativo del <summary> */
.faq-q{
  display:flex;justify-content:space-between;align-items:center;
  padding:1.1rem 1.4rem;cursor:pointer;
  font-size:0.92rem;font-weight:800;color:#1e2d32;
  gap:1rem;
  list-style:none;
}
.faq-q::-webkit-details-marker{display:none;}
.faq-q::marker{display:none;}
.faq-toggle{
  width:28px;height:28px;border-radius:50%;
  background:var(--grad);flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  color:white;font-size:1.1rem;font-weight:300;
  transition:transform 0.3s;
}
.faq-item[open] .faq-toggle{transform:rotate(45deg);}
.faq-a{
  font-size:0.86rem;color:#5a7880;line-height:1.7;
  padding:0 1.4rem 1.2rem;
}


/* ============================================================
   PÁGINAS LEGALES — privacidad.html y condiciones.html
   ============================================================ */

/* ─── HERO LEGAL ─── */
.legal-hero{
  padding:110px 5% 0;
  background:var(--grad);
  position:relative;overflow:hidden;
  min-height:280px;
  display:flex;align-items:flex-end;
}
.legal-hero::before{
  content:'';position:absolute;inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.042'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.legal-hero h1{
  font-family:'Playfair Display',serif;
  font-size:clamp(2.2rem,4.5vw,3.2rem);font-weight:900;
  color:white;line-height:1.1;margin-bottom:0.8rem;
}
.legal-hero h1 em{font-style:italic;opacity:0.82;}
.legal-hero p{
  font-size:0.92rem;line-height:1.7;
  color:rgba(255,255,255,0.68);
}

/* ─── LAYOUT LEGAL ─── */
.legal-body{
  max-width:1100px;
  margin:0 auto;
  padding:3.5rem 5% 80px;
  display:grid;
  grid-template-columns:260px 1fr;
  gap:3rem;
  align-items:start;
}

/* ─── SIDEBAR ─── */
.sidebar{position:sticky;top:88px;}
.sidebar-card{
  background:white;border-radius:18px;
  border:1px solid var(--border);
  box-shadow:0 2px 16px rgba(14,95,112,0.07);
  overflow:hidden;
}
.sidebar-header{
  background:var(--grad);
  padding:1.2rem 1.4rem;
  font-family:'Playfair Display',serif;
  font-size:1rem;font-weight:700;color:white;
}
.sidebar-nav{list-style:none;padding:0.5rem 0;}
.sidebar-nav li a{
  display:flex;align-items:center;gap:0.6rem;
  padding:0.62rem 1.4rem;
  font-size:0.82rem;font-weight:700;color:#4a6670;
  text-decoration:none;transition:all 0.2s;
  border-left:3px solid transparent;
}
.sidebar-nav li a:hover,
.sidebar-nav li a.active{
  color:var(--teal);background:rgba(32,173,200,0.05);
  border-left-color:var(--cyan);
}
.sidebar-nav li a .dot{
  width:7px;height:7px;border-radius:50%;
  background:var(--border);flex-shrink:0;
  transition:background 0.2s;
}
.sidebar-nav li a:hover .dot,
.sidebar-nav li a.active .dot{background:var(--cyan);}
.sidebar-divider{height:1px;background:var(--border);margin:0.4rem 0;}
.sidebar-meta{
  padding:1rem 1.4rem;
  font-size:0.74rem;color:var(--text-muted);line-height:1.6;
  border-top:1px solid var(--border);
}
.sidebar-meta strong{color:var(--teal-dark);}

/* ─── CONTENIDO LEGAL ─── */
.content-card{
  background:white;border-radius:22px;
  border:1px solid var(--border);
  box-shadow:0 2px 20px rgba(14,95,112,0.08);
  padding:3rem 3.5rem;
}
.content-section{
  padding-top:2.5rem;
  border-top:1px solid rgba(32,173,200,0.08);
  margin-top:2.5rem;
  scroll-margin-top:90px;
}
.content-section:first-child{
  padding-top:0;border-top:none;margin-top:0;
}
.section-num{
  display:inline-flex;align-items:center;justify-content:center;
  width:32px;height:32px;border-radius:50%;
  background:var(--grad);
  font-size:0.78rem;font-weight:900;color:white;
  flex-shrink:0;margin-bottom:0.8rem;
}
.content-section h2{
  font-family:'Playfair Display',serif;
  font-size:1.35rem;font-weight:700;color:#1e2d32;
  margin-bottom:1rem;line-height:1.25;
  display:flex;align-items:center;gap:0.75rem;
}
.content-section h2 .icon{font-size:1.1rem;}
.content-section h3{
  font-size:0.97rem;font-weight:800;color:#1e2d32;
  margin:1.4rem 0 0.5rem;
}
.content-section p{
  font-size:0.9rem;line-height:1.85;color:var(--text-muted);
  margin-bottom:0.9rem;
}
.content-section p:last-child{margin-bottom:0;}
.content-section ul,
.content-section ol{
  padding-left:1.3rem;
  display:flex;flex-direction:column;gap:0.55rem;
  margin-bottom:1rem;
}
.content-section li{
  font-size:0.9rem;line-height:1.75;color:var(--text-muted);
}
.content-section li strong{color:#1e2d32;font-weight:800;}

/* Caja destacada */
.highlight-box{
  background:linear-gradient(135deg,rgba(32,173,200,0.06),rgba(14,95,112,0.04));
  border:1.5px solid rgba(32,173,200,0.18);
  border-radius:14px;padding:1.3rem 1.5rem;
  margin:1.2rem 0;
}
.highlight-box p{
  font-size:0.88rem;line-height:1.75;color:#1e2d32;
  margin-bottom:0;font-weight:600;
}
.highlight-box.warning{
  background:linear-gradient(135deg,rgba(234,179,8,0.06),rgba(234,179,8,0.03));
  border-color:rgba(234,179,8,0.25);
}
.highlight-box.warning p{color:#854d0e;}
.highlight-box.danger{
  background:linear-gradient(135deg,rgba(224,85,85,0.06),rgba(224,85,85,0.02));
  border-color:rgba(224,85,85,0.2);
}
.highlight-box.danger p{color:#991b1b;}

/* Tabla legal */
.legal-table{
  width:100%;border-collapse:collapse;margin:1rem 0;font-size:0.85rem;
  border-radius:12px;overflow:hidden;
}
.legal-table th{
  background:var(--grad);color:white;
  padding:0.75rem 1rem;text-align:left;font-weight:800;font-size:0.8rem;
}
.legal-table td{
  padding:0.7rem 1rem;border-bottom:1px solid rgba(32,173,200,0.08);
  color:var(--text-muted);vertical-align:top;
}
.legal-table tr:last-child td{border-bottom:none;}
.legal-table tr:nth-child(even) td{background:rgba(32,173,200,0.02);}

/* Tags */
.tag{
  display:inline-block;
  background:rgba(32,173,200,0.1);color:var(--teal-dark);
  border-radius:50px;padding:0.18rem 0.65rem;
  font-size:0.72rem;font-weight:800;
}
.tag.green{background:rgba(34,197,94,0.1);color:#166534;}
.tag.red{background:rgba(224,85,85,0.1);color:#991b1b;}
.tag.amber{background:rgba(234,179,8,0.1);color:#854d0e;}

/* Caja de aceptación */
.acceptance-box{
  background:var(--grad);
  border-radius:16px;padding:2rem;
  text-align:center;margin-top:2.5rem;
}
.acceptance-box p{
  font-size:0.88rem;color:rgba(255,255,255,0.8);
  margin-bottom:1.2rem;line-height:1.7;
}
.acceptance-box .accept-btn{
  background:white;color:var(--teal-dark);
  border:none;border-radius:50px;
  padding:0.9rem 2.2rem;
  font-family:'Nunito',sans-serif;font-size:0.95rem;font-weight:800;
  cursor:pointer;transition:all 0.22s;
  box-shadow:0 4px 14px rgba(0,0,0,0.1);
}
.acceptance-box .accept-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,0.15);
}

/* Barra de enlaces cruzados */
.crosslink-bar{
  background:white;border-radius:16px;
  border:1px solid var(--border);
  padding:1.5rem 2rem;
  display:flex;align-items:center;justify-content:space-between;
  gap:1.5rem;flex-wrap:wrap;
  box-shadow:var(--shadow);
  margin-top:2rem;
}
.crosslink-bar p{font-size:0.88rem;color:var(--text-muted);}
.crosslink-bar a{
  display:inline-flex;align-items:center;gap:0.4rem;
  background:var(--grad);color:white;
  border-radius:50px;padding:0.6rem 1.4rem;
  font-size:0.82rem;font-weight:800;text-decoration:none;
  transition:all 0.2s;
}
.crosslink-bar a:hover{opacity:0.88;transform:translateY(-1px);}


/* ============================================================
   VISIBILIDAD — Overrides para páginas de contacto y legales
   Los elementos con clases reveal empiezan en opacity:0 para
   animaciones de scroll. En estas páginas se muestran siempre.
   ============================================================ */
.contact-body .reveal,
.contact-body .reveal-left,
.contact-body .reveal-right,
.faq-section .reveal,
.faq-section .reveal-left,
.faq-section .reveal-right {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:900px){
  .features-grid,
  .events-showcase{grid-template-columns:1fr 1fr;}
  .how-grid{grid-template-columns:1fr;}
  .hero-phone-area{display:none;}
  .hero{padding-top:120px;}
  .contact-grid{grid-template-columns:1fr;}
  .field-row{grid-template-columns:1fr;}
  .topic-grid{grid-template-columns:repeat(2,1fr);}
  .legal-body{grid-template-columns:1fr;}
  .sidebar{position:static;}
  .content-card{padding:2rem 1.5rem;}
  nav .nav-links{display:none;}
}
@media(max-width:600px){
  .features-grid,
  .events-showcase{grid-template-columns:1fr;}
  .contact-hero h1{font-size:2rem;}
  .form-card{padding:1.6rem;}
  .topic-grid{grid-template-columns:1fr 1fr;}
}
