/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 0; }
body { min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }

/* ── Side Navigation ── */
.sidenav {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: linear-gradient(180deg, #0f172a 0%, #182c8d 100%);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 2rem 1.5rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidenav-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.sidenav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.sidenav-logo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: #f0f3ff;
  white-space: nowrap;
}

.sidenav-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidenav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #b3c2ff;
  transition: all 0.25s ease;
  position: relative;
}

.sidenav-link:hover,
.sidenav-link.active {
  background: rgba(94, 234, 212, 0.1);
  color: #5eead4;
}

.sidenav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3454d9;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.sidenav-link.active .sidenav-dot,
.sidenav-link:hover .sidenav-dot {
  background: #5eead4;
  box-shadow: 0 0 8px rgba(94, 234, 212, 0.6);
  transform: scale(1.3);
}

.sidenav-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(94, 234, 212, 0.15);
}

.sidenav-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(94, 234, 212, 0.12);
  color: #5eead4;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.sidenav-cta-btn:hover {
  background: rgba(94, 234, 212, 0.22);
  transform: translateY(-1px);
}

/* ── Menu Toggle (mobile) ── */
.menu-toggle {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.3);
  transition: all 0.3s ease;
}

.menu-toggle:hover { transform: scale(1.05); }

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 90;
  backdrop-filter: blur(4px);
}

/* ── Main Content ── */
.main-content {
  margin-left: 260px;
  min-height: 100vh;
}

.section {
  padding: 6rem 0;
  position: relative;
}

/* ── Section Shared ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  background: rgba(94, 234, 212, 0.12);
  color: #0d9488;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.texto-section {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #3454d9;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  background: #0f172a;
  color: #f0f3ff;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid #0f172a;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #182c8d;
  border-color: #182c8d;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  background: transparent;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid rgba(15, 23, 42, 0.2);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
  transform: translateY(-2px);
}

/* ── Hero ── */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 4rem;
  padding: 4rem 4rem 4rem 2rem;
  background: linear-gradient(135deg, #f0fdf9 0%, #f0f3ff 50%, #ccfbf1 100%);
  position: relative;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(94, 234, 212, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(66, 104, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5eead4;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #3454d9;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-stat { display: flex; flex-direction: column; gap: 0.25rem; }

.hero-stat-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  color: #0f172a;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: #6886ff;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(15, 23, 42, 0.12);
}

/* Hero Image Stack */
.hero-image-col {
  position: relative;
  height: 100%;
  min-height: 520px;
}

.hero-image-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-img {
  position: absolute;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-img-primary {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero-img-secondary {
  width: 65%;
  height: 60%;
  bottom: 5%;
  left: -15%;
  border: 4px solid rgba(240, 253, 249, 0.8);
}

.hero-img:hover { transform: translateY(-4px); }

.hero-float-card {
  position: absolute;
  bottom: 25%;
  right: -10%;
  background: #0f172a;
  color: #f0f3ff;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.25);
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #6886ff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce-hint 2s ease-in-out infinite;
}

@keyframes bounce-hint {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Nosotros ── */
.nosotros-section { background: #f0fdf9; }

.nosotros-images {
  position: relative;
  height: 500px;
}

.nosotros-img-main {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

.nosotros-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.nosotros-img-main:hover img { transform: scale(1.03); }

.nosotros-img-float {
  position: absolute;
  bottom: -30px;
  right: -30px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  border: 4px solid #f0fdf9;
}

.nosotros-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nosotros-img-float-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.8));
  color: #f0f3ff;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nosotros-content { max-width: 520px; }

.nosotros-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3454d9;
  margin-bottom: 1rem;
}

.nosotros-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.nosotros-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.nosotros-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(94, 234, 212, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nosotros-feature-title {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.nosotros-feature-desc {
  font-size: 0.9rem;
  color: #6886ff;
  line-height: 1.6;
}

/* ── Carta ── */
.carta-section {
  background: linear-gradient(180deg, #f0f3ff 0%, #f0fdf9 100%);
}

.carta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.carta-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.4s ease;
}

.carta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.carta-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.carta-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carta-card:hover .carta-card-img img { transform: scale(1.06); }

.carta-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.875rem;
  border-radius: 100px;
  background: #0f172a;
  color: #5eead4;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.carta-card-body { padding: 1.5rem; }

.carta-card-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.35rem;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.carta-card-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #3454d9;
  margin-bottom: 1.25rem;
}

.carta-card-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.carta-item {
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: #f0fdf9;
  color: #0d9488;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(94, 234, 212, 0.2);
}

/* ── Ambiente ── */
.ambiente-section { background: #f0fdf9; }

.ambiente-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3454d9;
  margin-bottom: 1rem;
}

.ambiente-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.ambiente-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  transition: all 0.3s ease;
}

.ambiente-highlight:hover {
  border-color: rgba(94, 234, 212, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.ambiente-img-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ambiente-img-grid img {
  border-radius: 18px;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  transition: transform 0.4s ease;
}

.ambiente-img-grid img:hover { transform: scale(1.02); }

.ambiente-img-1 { height: 260px; }
.ambiente-img-2 { height: 140px; }
.ambiente-img-3 { height: 140px; }

/* ── Horario ── */
.horario-section {
  background: linear-gradient(135deg, #0f172a 0%, #182c8d 100%);
  padding: 6rem 0;
}

.horario-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(94, 234, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.horario-grid {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(94, 234, 212, 0.12);
  border-radius: 20px;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

.horario-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(94, 234, 212, 0.08);
  transition: background 0.2s ease;
}

.horario-row:last-child { border-bottom: none; }
.horario-row:hover { background: rgba(94, 234, 212, 0.06); }

.horario-day {
  font-weight: 600;
  color: #d9e0ff;
  font-size: 0.95rem;
}

.horario-time {
  color: #5eead4;
  font-weight: 600;
  font-size: 0.95rem;
}

.horario-row-weekend .horario-day { color: #5eead4; }

.horario-note {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ── Contacto ── */
.contacto-section { background: #f0f3ff; }

.contacto-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contacto-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(94, 234, 212, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contacto-info-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6886ff;
  margin-bottom: 0.25rem;
}

.contacto-info-value {
  font-size: 0.95rem;
  color: #0f172a;
  line-height: 1.6;
}

/* Form */
.contacto-form {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  border: 2px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #0f172a;
  transition: all 0.25s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #5eead4;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder { color: #b3c2ff; }

.form-textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.25);
  color: #0d9488;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #182c8d 60%, #0f172a 100%);
  padding: 7rem 0;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(94, 234, 212, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(66, 104, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: #f0f3ff;
  line-height: 1.15;
}

.cta-text {
  font-size: 1.1rem;
  color: #b3c2ff;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ── Footer ── */
.footer {
  background: #0a0f1e;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-desc { line-height: 1.7; }

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5eead4;
  margin-bottom: 1.25rem;
}

.footer-ul { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-link {
  font-size: 0.9rem;
  color: #b3c2ff;
  transition: color 0.2s ease;
}

.footer-link:hover { color: #5eead4; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(94, 234, 212, 0.1);
  text-align: center;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sidenav {
    transform: translateX(-100%);
  }

  .sidenav.open {
    transform: translateX(0);
  }

  .menu-toggle { display: flex; }
  .menu-toggle .menu-icon-close { display: none; }
  .menu-toggle.menu-open .menu-icon-open { display: none; }
  .menu-toggle.menu-open .menu-icon-close { display: block; }

  .main-content { margin-left: 0; }

  .hero-section {
    grid-template-columns: 1fr;
    padding: 7rem 2rem 4rem;
    text-align: center;
  }

  .hero-image-col { display: none; }

  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .nosotros-images { height: 350px; }
  .nosotros-img-float { right: -10px; bottom: -20px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

  .hero-section { padding: 6rem 1.25rem 3rem; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; justify-content: center; }

  .nosotros-images { height: 280px; }
  .nosotros-img-float { right: 0; bottom: -15px; }

  .ambiente-highlights { grid-template-columns: 1fr; }

  .contacto-form { padding: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .horario-row { padding: 0.875rem 1.25rem; }
}
