:root {
  --primary: #f34d8f;
  --primary-dark: #d63b7a;
  --secondary: #ffd44c;
  --accent: #19b6d6;
  --text: #25233a;
  --muted: #69677c;
  --bg: #fffafc;
  --white: #ffffff;
  --card: rgba(255,255,255,0.82);
  --shadow: 0 20px 50px rgba(31, 34, 70, 0.14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff8fb 0%, #ffffff 35%, #f8fcff 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: url('assets/portada.jpg') center/cover no-repeat;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(26, 18, 44, 0.72), rgba(243, 77, 143, 0.35) 45%, rgba(8, 164, 199, 0.22));
  z-index: -1;
}

.navbar {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  color: var(--white);
}
.brand img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.85);
  box-shadow: var(--shadow);
}
.brand strong { display:block; font-size: 1rem; }
.brand small { opacity: .88; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-links a {
  color: var(--white);
  font-weight: 600;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.menu-toggle {
  display: none;
  border: 0;
  background: rgba(255,255,255,0.16);
  color: var(--white);
  border-radius: 12px;
  width: 46px;
  height: 46px;
}

.hero-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 2rem;
  padding: 3rem 0 4rem;
}
.hero-copy { color: var(--white); }
.pill, .eyebrow {
  display: inline-block;
  padding: .6rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.eyebrow {
  background: rgba(243, 77, 143, 0.1);
  border-color: rgba(243, 77, 143, 0.18);
  color: var(--primary-dark);
}
.hero h1, .section h2 {
  font-family: 'Playfair Display', serif;
  line-height: 1.05;
  margin: 1rem 0;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.hero p {
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 680px;
}
.hero-actions, .btn {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.45rem;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}
.btn-secondary {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.26);
  backdrop-filter: blur(8px);
}
.btn.full { width: 100%; }

.hero-card, .promo-card, .info-card, .contact-card, .contact-form, .social-card, .video-frame {
  background: var(--card);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 1.6rem;
  color: var(--text);
}
.hero-card h3, .contact-form h3 { margin-top: 0; }
.hero-card ul, .contact-list {
  margin: 0;
  padding-left: 1rem;
  line-height: 1.8;
}
.hero-card a, .contact-list a { color: var(--primary-dark); font-weight: 700; }

.section {
  padding: 5rem 0;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}
.section-copy p {
  color: var(--muted);
  line-height: 1.8;
}
.features {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.features article, .info-card {
  padding: 1.4rem;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(243,77,143,.08);
  box-shadow: 0 14px 28px rgba(40, 44, 88, 0.08);
}
.features h3, .info-card h3 { margin-top: 0; }
.promo-card {
  overflow: hidden;
}
.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}
.section-head p { color: var(--muted); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.gallery-item {
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.2rem;
}
.social-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.social-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
}
.video-frame {
  overflow: hidden;
  padding: .75rem;
}
.video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 18px;
}
.contact-layout { align-items: start; }
.contact-card, .contact-form { padding: 1.7rem; }
.contact-form {
  background: linear-gradient(180deg, #ffffff, #fff8fc);
}
.contact-form label {
  display: grid;
  gap: .45rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(38,40,74,.12);
  border-radius: 16px;
  padding: .95rem 1rem;
  background: var(--white);
}
.contact-form small {
  display: block;
  margin-top: .8rem;
  color: var(--muted);
  line-height: 1.6;
}
.site-footer {
  padding: 1.6rem 0 2.4rem;
  background: #1f1730;
  color: rgba(255,255,255,.82);
}
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer a { color: #ffd44c; }

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: grid;
  gap: .75rem;
}
.float-btn {
  min-width: 148px;
  padding: .95rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: var(--white);
  font-weight: 800;
  text-align: center;
}
.float-btn.whatsapp { background: linear-gradient(135deg, #20c55a, #159947); }
.float-btn.call { background: linear-gradient(135deg, #ff8c1a, #ff5a36); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(9, 10, 18, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 100;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 88vh;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

@media (max-width: 960px) {
  .hero-content, .grid-2, .cards-grid, .gallery-grid, .social-grid {
    grid-template-columns: 1fr;
  }
  .navbar {
    position: relative;
  }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + .5rem);
    background: rgba(31, 23, 48, 0.96);
    border-radius: 18px;
    padding: 1rem;
    width: min(240px, 80vw);
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .hero {
    min-height: auto;
  }
  .hero-content {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2.4rem; }
  .section { padding: 4rem 0; }
  .gallery-item img { min-height: 180px; }
  .floating-actions {
    left: 1rem;
    right: 1rem;
  }
  .float-btn { min-width: auto; }
}
