:root {
  --sky: #59b4e6;
  --deep-sky: #1d8dc8;
  --sun: #ffb41f;
  --orange: #f16a25;
  --sand: #f8f1de;
  --ink: #173448;
  --white: #ffffff;
  --card: rgba(255,255,255,.85);
  --shadow: 0 20px 45px rgba(0,0,0,.14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f9fdff 0%, #eef8fe 40%, #fff8ec 100%);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.hero {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(8,36,52,.78), rgba(22,82,120,.35)),
    url('assets/images/portada.jpg') center/cover no-repeat;
  color: var(--white);
  position: relative;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}
.brand img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.55);
}
.brand strong { display: block; font-size: 1rem; }
.brand small { color: rgba(255,255,255,.85); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-links a {
  color: rgba(255,255,255,.92);
  font-weight: 600;
}
.lang-toggle, .menu-toggle {
  border: none;
  background: rgba(255,255,255,.18);
  color: var(--white);
  border-radius: 999px;
  padding: 12px 16px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.menu-toggle { display: none; }
.hero-content {
  flex: 1;
  display: grid;
  align-items: center;
  padding: 38px 0 84px;
}
.hero-copy {
  max-width: 650px;
  background: rgba(14, 48, 68, .34);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  padding: 34px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.eyebrow, .section-tag {
  display: inline-block;
  background: rgba(255,180,31,.18);
  border: 1px solid rgba(255,180,31,.4);
  color: #ffe7a1;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.02;
  margin: 0 0 16px;
}
.hero p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,.94);
  margin: 0 0 24px;
}
.hero-actions, .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: .25s ease;
}
.btn.primary {
  background: linear-gradient(135deg, var(--orange), var(--sun));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(241,106,37,.35);
}
.btn.secondary {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  color: var(--white);
}
.btn:hover, .social-links a:hover, .float-btn:hover { transform: translateY(-2px); }

.intro-band {
  margin-top: -48px;
  position: relative;
  z-index: 2;
}
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.intro-card, .feature-card, .contact-form, .contact-copy {
  background: var(--card);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(89,180,230,.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.intro-card {
  padding: 28px;
}
.intro-card h3, .feature-card h3 { margin-top: 0; }

.section { padding: 88px 0; }
.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}
.section-head .section-tag {
  color: var(--deep-sky);
  background: rgba(89,180,230,.11);
  border-color: rgba(89,180,230,.25);
}
.section h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}
.section p { line-height: 1.8; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card { padding: 28px; }
.highlight-section {
  background: linear-gradient(180deg, rgba(89,180,230,.08), rgba(255,180,31,.10));
}
.highlight-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
}
.highlight-copy ul {
  margin: 20px 0 0;
  padding-left: 18px;
  line-height: 2;
}
.highlight-image img {
  border-radius: 30px;
  box-shadow: var(--shadow);
  min-height: 420px;
  object-fit: cover;
  width: 100%;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.video-wrap {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.social-section {
  background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(89,180,230,.09));
}
.social-links a {
  background: var(--white);
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--deep-sky);
  box-shadow: var(--shadow);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-copy, .contact-form { padding: 28px; }
.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.contact-list a, .contact-list p { margin: 0; line-height: 1.7; }
.contact-form {
  display: grid;
  gap: 16px;
}
.contact-form label { display: grid; gap: 8px; }
.contact-form input, .contact-form textarea {
  border: 1px solid rgba(23,52,72,.14);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
}
.map-section { padding-top: 0; }
.map-wrap {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
}
.footer {
  background: #0f2f40;
  color: rgba(255,255,255,.9);
  padding: 26px 0;
}
.footer a { color: #9fe0ff; }
.footer-inner { text-align: center; }

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
}
.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  padding: 15px 18px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--white);
  box-shadow: var(--shadow);
}
.float-btn.whatsapp { background: linear-gradient(135deg, #1cbf63, #16a34a); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 19, 28, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
  z-index: 100;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(100%, 980px);
  max-height: 85vh;
  border-radius: 18px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: .7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .intro-grid, .features-grid, .gallery-grid, .contact-grid, .highlight-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; }
  .nav { align-items: flex-start; }
  .nav-links {
    position: absolute;
    top: 86px;
    right: 16px;
    left: 16px;
    background: rgba(13, 43, 60, .96);
    border-radius: 24px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero-copy { padding: 26px; }
  .hero h1 { font-size: 2.35rem; }
  .intro-grid, .features-grid, .gallery-grid, .contact-grid, .highlight-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item img { aspect-ratio: 1.1/1; }
  .float-btn { min-width: auto; padding: 14px 16px; }
}
