:root{
  --bg:#111111;
  --bg-soft:#171717;
  --card:#1f1f1f;
  --text:#f3f3f3;
  --muted:#c9c9c9;
  --accent:#d6a64f;
  --accent2:#f0c56a;
  --border:rgba(255,255,255,.10);
  --max:1200px;
  --radius:24px;
  --shadow:0 10px 30px rgba(0,0,0,.25);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

input, textarea, button{
  font:inherit;
}

.container{
  width:min(var(--max), 92%);
  margin:auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(0,0,0,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:16px;
}

.brand img{
  width:72px;
  height:auto;
  background:rgba(255,255,255,.04);
  padding:8px;
  border-radius:16px;
}

.brand h1{
  margin:0;
  font-size:1.2rem;
  line-height:1.2;
}

.brand span{
  display:block;
  color:var(--accent);
}

.menu{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.menu a{
  padding:10px 14px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(255,255,255,.03);
  font-weight:700;
  font-size:.95rem;
  transition:.2s ease;
}

.menu a.active,
.menu a:hover{
  background:var(--accent);
  color:#111;
  border-color:var(--accent);
}

.hero{
  border-bottom:1px solid var(--border);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.hero .container{
  padding:60px 0;
}

.hero-home{
  background:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.75)),
    url('images/distressed_overlay.png') center/cover no-repeat;
}

.hero-galeria{
  background:
    linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.8)),
    url('images/distressed_overlay2.png') center/cover no-repeat;
}

.hero-actividades{
  background:
    linear-gradient(rgba(0,0,0,.76),rgba(0,0,0,.82)),
    url('images/distressed_overlay.png') center/cover no-repeat;
}

.hero-contacto{
  background:
    linear-gradient(rgba(0,0,0,.74),rgba(0,0,0,.82)),
    url('images/iphone_backsplash.png') center/cover no-repeat;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .9fr;
  gap:40px;
  align-items:center;
  padding:70px 0;
}

.tag{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(214,166,79,.15);
  color:var(--accent2);
  border:1px solid rgba(214,166,79,.35);
  font-weight:700;
  font-size:.9rem;
}

h1,h2,h3{
  line-height:1.2;
}

.hero h2{
  font-size:2.8rem;
  margin:16px 0 10px;
}

.hero-home h2{
  font-size:3rem;
  line-height:1.1;
  margin:18px 0;
}

.lead{
  color:var(--muted);
  max-width:850px;
}

.cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:26px;
}

.btn{
  display:inline-block;
  padding:14px 18px;
  border-radius:16px;
  font-weight:700;
  border:1px solid var(--border);
  transition:.2s ease;
}

.btn-primary{
  background:var(--accent);
  color:#111;
  border-color:var(--accent);
}

.btn-primary:hover{
  background:var(--accent2);
}

.btn-secondary{
  background:rgba(255,255,255,.04);
}

.btn-secondary:hover{
  background:rgba(255,255,255,.08);
}

.section{
  padding:60px 0;
  border-bottom:1px solid var(--border);
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow);
}

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.grid-video{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:24px;
}

.list{
  padding-left:18px;
  color:var(--muted);
}

.small{
  color:var(--muted);
  font-size:.95rem;
}

.image-box,
.thumb{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#1a1a1a;
  border-radius:18px;
  overflow:hidden;
}

.image-box{
  min-height:280px;
}

.image-box img{
  border-radius:18px;
  width:100%;
  height:260px;
  object-fit:contain;
}

.thumb{
  min-height:260px;
}

.thumb img{
  width:100%;
  height:240px;
  object-fit:contain;
}

.logo-thumb img{
  width:auto;
  max-width:90%;
  height:220px;
  object-fit:contain;
}

.sponsor-thumb img{
  width:100%;
  height:240px;
  object-fit:contain;
}

.video-placeholder{
  aspect-ratio:16/9;
  border-radius:18px;
  overflow:hidden;
  background:#000;
}

.video-placeholder iframe{
  width:100%;
  height:100%;
  border:0;
}

.field{
  width:100%;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:#fff;
}

.field::placeholder{
  color:#bfbfbf;
}

.map{
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--border);
}

.map iframe{
  width:100%;
  height:360px;
  border:0;
}

.footer{
  padding:40px 0;
  background:#0b0b0b;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  gap:24px;
}

.social-links{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.social-link{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}

.social-link img{
  width:40px;
  height:40px;
  object-fit:contain;
}

.ig-icon{
  display:inline-flex;
  width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#E1306C;
  font-weight:bold;
  color:#fff;
}

.whatsapp-float{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:999;
  background:#25D366;
  color:#111;
  font-weight:700;
  padding:14px 18px;
  border-radius:999px;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.whatsapp-float:hover{
  filter:brightness(1.05);
}

@media (max-width:900px){
  .nav{
    flex-direction:column;
    align-items:flex-start;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-video,
  .footer-grid{
    grid-template-columns:1fr;
  }


  .hero h2,
  .hero-home h2{
    font-size:2.1rem;
  }
}

/* FORM FEEDBACK AJAX v14 */
.form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-message.success {
  display: block;
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-message.error {
  display: block;
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

