*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-dark: #020817;
  --bg-light: #f6f7fb;
  --accent: #00a3c4;
  --accent-soft: rgba(0, 163, 196, 0.12);
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --white: #ffffff;
  --border-soft: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.15);
  --radius-lg: 1.5rem;
  --radius-full: 999px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: #0b1020;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.3));
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.brand-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: #9ca3af;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e5e7eb;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #22d3ee, #38bdf8);
  transition: width 0.2s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.35), transparent 60%);
  transition: background 0.2s ease-out, transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.6);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 4.5rem;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(34, 211, 238, 0.4), transparent 55%),
              radial-gradient(circle at 90% 20%, rgba(56, 189, 248, 0.4), transparent 55%),
              linear-gradient(to bottom, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.95));
}

.overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(94, 234, 212, 0.3), transparent 50%);
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  color: var(--white);
  padding: 4rem 1.5rem 3.5rem;
  max-width: 640px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  margin-bottom: 1.2rem;
}

.hero-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.9);
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin: 0 0 0.8rem;
  letter-spacing: 0.04em;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #e5e7eb;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.5rem 0 0.8rem;
}

.hero-small {
  font-size: 0.85rem;
  color: #cbd5f5;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background 0.18s ease-out, color 0.18s ease-out;
}

.btn-primary {
  background: linear-gradient(to right, #22d3ee, #38bdf8);
  color: #0f172a;
  box-shadow: 0 18px 45px rgba(8, 47, 73, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(8, 47, 73, 0.9);
}

.btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.7);
}

.btn-primary.full {
  width: 100%;
}

/* Sections */
.section {
  padding: 5rem 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.85), #020617 60%);
  color: #e5e7eb;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617 70%);
}

.section-contact {
  background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), #020617 65%);
}

.section h2 {
  font-size: 1.8rem;
  margin: 0 0 0.6rem;
}

.section-intro {
  margin-top: 0.2rem;
  color: #cbd5f5;
  max-width: 36rem;
}

/* Experience */
.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.experience-grid p {
  color: #d1d5db;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.4rem;
}

.icon-list li::before {
  content: "•";
  color: #38bdf8;
  margin-right: 0.45rem;
}

.experience-card {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), rgba(15, 23, 42, 0.98));
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
}

.experience-card h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.experience-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}

.experience-card li {
  padding: 0.3rem 0;
  color: #e5e7eb;
}

/* Destinos */
.destinos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.destino-card {
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.1), rgba(15, 23, 42, 0.98));
  border-radius: 1.2rem;
  padding: 1.2rem 1.3rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.destino-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.destino-card p {
  margin: 0;
  color: #d1d5db;
}

/* Galería */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  border-radius: 1rem;
  overflow: hidden;
  isolation: isolate;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75), transparent 40%);
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 0.9;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease-out;
  z-index: 30;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 1.2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 2rem;
  cursor: pointer;
}

/* Video */
.video-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: center;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Redes */
.redes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-btn:hover {
  background: rgba(15, 23, 42, 0.7);
}

.fb-embed-wrapper {
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #020617;
}

/* Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: #e5e7eb;
}

.contact-list a {
  color: #38bdf8;
}

.contact-form {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1.5rem;
  padding: 1.6rem 1.7rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.form-field label {
  font-size: 0.85rem;
  color: #cbd5f5;
}

.form-field input,
.form-field textarea {
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.9rem;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #cbd5f5;
}

/* Footer */
.site-footer {
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 2.5rem 0 2rem;
  color: #9ca3af;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
}

.footer-brand {
  margin: 0 0 0.4rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e5e7eb;
  font-size: 0.8rem;
}

.footer-text {
  margin: 0;
}

.footer-contact p {
  margin: 0.2rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 1rem;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: #38bdf8;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: #22c55e;
  color: #022c22;
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.6);
}

.whatsapp-float span::before {
  content: "✆";
  margin-right: 0.25rem;
}

/* Responsive */
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .experience-grid,
  .destinos-grid,
  .gallery-grid,
  .video-section,
  .redes-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .destinos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4rem 0;
  }

  .hero-content {
    padding: 4.2rem 1.5rem 3rem;
  }

  .destinos-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .whatsapp-float span {
    font-size: 0;
  }

  .whatsapp-float span::before {
    margin-right: 0;
    content: "✆";
  }
}
