:root{
  --sky: #45a9ff;        /* Celeste bandera */
  --sky2:#cfeaff;        /* Celeste claro */
  --ink:#0b2239;
  --muted:#5a6b7a;
  --bg:#ffffff;
  --card:#ffffff;
  --border:#d7ecff;
  --shadow: 0 16px 40px rgba(11,34,57,.12);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
}

.container{ width:min(1120px, 92%); margin:0 auto; }

/* Header */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215,236,255,.9);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}
.brand-logo{
  width:46px;
  height:46px;
  object-fit:contain;
  border-radius: 14px;
  border: 1px solid rgba(215,236,255,.9);
  background: #fff;
  padding:6px;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.05; }
.brand-name{ font-weight:900; letter-spacing:.2px; }
.brand-tagline{ font-weight:750; color:var(--muted); font-size: 13px; }

.menu-toggle{
  display:none;
  border: 1px solid rgba(215,236,255,.9);
  background:#fff;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 18px;
  cursor:pointer;
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav a{
  text-decoration:none;
  color:var(--ink);
  font-weight:800;
  padding: 10px 12px;
  border-radius: 14px;
}
.nav a:hover{
    background-color: rgba(207,234,255,0.08);
    background-image: url(../assets/elsalvador-bg.jpg);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(215,236,255,.95);
  background:#fff;
  box-shadow: 0 10px 22px rgba(11,34,57,.06);
  font-weight:900;
  text-decoration:none;
}
.btn-primary{
  color:#fff;
  border-color: rgba(255,255,255,.28);
  background: linear-gradient(135deg, var(--sky) 0%, #2b86ff 100%);
  box-shadow: 0 18px 38px rgba(69,169,255,.35);
}
.btn-ghost{
  background: rgba(255,255,255,.70);
}
.btn:hover{ transform: translateY(-1px); transition: .15s ease; }
.full{ width:100%; }

/* Hero (fondo) */

.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
              url("assets/el-salvador.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero{
  position: relative;
  overflow:hidden;
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background-image: url("assets/elsalvador-bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(69,169,255,.55), transparent 60%),
    radial-gradient(900px 500px at 90% 30%, rgba(69,169,255,.45), transparent 60%),
    linear-gradient(180deg, rgba(8,22,36,.45) 0%, rgba(8,22,36,.72) 100%);
}
.hero-inner{
  position:relative;
  z-index:1;
  padding: 58px 0;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items:center;
}
.badge{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  font-weight:900;
  width: fit-content;
}
.hero h1{
  margin: 12px 0 10px;
  font-size: clamp(32px, 4vw, 54px);
  line-height:1.02;
}
.hero p{
  margin:0 0 16px;
  max-width: 56ch;
  color: rgba(255,255,255,.9);
  line-height:1.6;
  font-weight:650;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 12px;
}
.hero-quick{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 14px;
}
.quick{
  color:#fff;
  text-decoration:none;
  font-weight:850;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  padding: 10px 12px;
  border-radius: 14px;
}

.glass-card{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  padding: 18px;
  backdrop-filter: blur(10px);
}
.card-title{
  font-weight:950;
  font-size: 16px;
  letter-spacing:.2px;
  margin-bottom: 12px;
}
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mini{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 18px;
  padding: 12px;
}
.mini-title{ font-weight:950; }
.mini-text{ color: rgba(255,255,255,.88); font-weight:650; font-size: 13.5px; margin-top:4px; }
.card-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }

/* Sections */
.section{ padding: 56px 0; background:#fff; }
.section.alt{ background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%); }
.section-head{ margin-bottom: 18px; }
.section-head h2{ margin:0 0 6px; font-size: 30px; }
.section-head p{ margin:0; color:var(--muted); font-weight:650; line-height:1.5; }

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.card{
  grid-column: span 4;
  background: var(--card);
  border: 1px solid rgba(215,236,255,.95);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 22px rgba(11,34,57,.06);
  overflow:hidden;
}
.card h3{ margin: 8px 0 8px; }
.card p{ margin:0; color:var(--muted); font-weight:650; line-height:1.5; }
.pill{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(69,169,255,.12);
  border: 1px solid rgba(69,169,255,.25);
  color: var(--ink);
  font-weight:950;
  font-size: 13px;
}

/* Imagenes (destinos) */
.card-img{
  width:100%;
  height:190px;
  object-fit:cover;
  border-radius: 16px;
  margin-bottom: 12px;
  transition: transform .25s ease;
}
.card:hover .card-img{ transform: scale(1.02); }

/* Two columns panels */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.panel{
  background:#fff;
  border: 1px solid rgba(215,236,255,.95);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(11,34,57,.06);
}
.panel-title{
  font-weight:950;
  font-size: 16px;
  margin-bottom: 10px;
}
.list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight:650;
  line-height:1.7;
}
.panel-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }

/* Forms */
.form label{
  display:block;
  font-weight:950;
  margin: 10px 0 6px;
  color: var(--ink);
}
.form input, .form select, .form textarea{
  width:100%;
  border: 1px solid rgba(215,236,255,.95);
  border-radius: 16px;
  padding: 12px 12px;
  font-size: 15px;
  outline:none;
}
.form textarea{ min-height: 110px; resize: vertical; }
.tiny{
  margin-top: 10px;
  color: var(--muted);
  font-weight:650;
  font-size: 13.5px;
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.g{
  grid-column: span 4;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(215,236,255,.95);
  box-shadow: 0 10px 22px rgba(11,34,57,.06);
  background:#fff;
}
.g img{
  width:100%;
  height: 210px;
  object-fit:cover;
  display:block;
  transition: transform .25s ease;
}
.g:hover img{ transform: scale(1.03); }
.g figcaption{
  padding: 10px 12px;
  font-weight: 900;
  color: var(--ink);
}

/* Contact box */
.contact-box{
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.contact-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
}
.dot{
  width:42px;
  height:42px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(69,169,255,.12);
  border: 1px solid rgba(69,169,255,.25);
  font-weight:900;
}
.contact-label{ font-weight:950; }
.contact-link{ color: var(--muted); font-weight:800; text-decoration:none; }

/* Footer */
.footer{
  padding: 22px 0;
  border-top: 1px solid rgba(215,236,255,.95);
  background:#fff;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  color: var(--muted);
  font-weight:800;
}
.to-top{ text-decoration:none; color: var(--muted); font-weight:950; }

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .cards .card{ grid-column: span 6; }
  .gallery .g{ grid-column: span 6; }
  .two-col{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .menu-toggle{ display:block; }
  .nav{
    display:none;
    position:absolute;
    right: 4%;
    top: 66px;
    flex-direction:column;
    gap: 8px;
    background:#fff;
    border: 1px solid rgba(215,236,255,.95);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow);
    width: min(320px, 92vw);
  }
  .nav.open{ display:flex; }
  .cards .card{ grid-column: span 12; }
  .gallery .g{ grid-column: span 12; }
  .grid-2{ grid-template-columns: 1fr; }
  .hero-actions{ flex-direction: column; align-items: stretch; }
  .btn{ width:100%; }
}
/* ===== HERO centrado con logo, links arriba, slogan abajo ===== */
.hero-center{
  text-align: center;
}

.hero-top{
  position: relative;
  z-index: 2;
  padding-top: 18px;
}

.hero-links{
  display:flex;
  justify-content:center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-links a{
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}

.hero-links a:hover{
  background: rgba(255,255,255,.16);
}

.hero-center-content{
  position: relative;
  z-index: 2;
  padding: 64px 0 60px;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 72vh;
}

.hero-logo{
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.35);
  padding: 14px;
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
}

.hero-title{
  margin: 16px 0 6px;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: .3px;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.hero-slogan{
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 850;
  color: rgba(255,255,255,.92);
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.hero-actions-center{
  justify-content: center;
}

.hero-quick-center{
  justify-content: center;
}

/* Tablet */
@media (max-width: 980px){
  .hero-center-content{ min-height: 68vh; }
  .hero-logo{ width: 120px; height: 120px; }
}

/* Teléfono */
@media (max-width: 640px){
  .hero-center-content{ padding: 56px 0 46px; }
  .hero-logo{ width: 108px; height: 108px; border-radius: 24px; }
  .hero-links{ gap: 10px; }
  .hero-links a{ padding: 9px 10px; font-size: 14px; }
}
.hero{
  position: relative;
  min-height: 100vh;
  background: url("../assets/el-salvador.jpg") center/cover no-repeat !important;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
}
.hero-center-content,
.hero-top{
  position: relative;
  z-index: 1;
}
.hero{
  position: relative;
  min-height: 100vh;
  background: url("../assets/el-salvador.jpg") center/cover no-repeat;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
}

.hero-center-content,
.hero-top{
  position: relative;
  z-index: 1;
}
.card{
  background: linear-gradient(
    160deg,
    rgba(0, 56, 168, 0.4),
    rgba(0, 123, 255, 0.35),
    rgba(255,255,255,0.2)
  );
  backdrop-filter: blur(12px);
  padding: 20px;
  border-radius: 20px;
  color: white;
}