:root {
  --primary: #ff007f;
  --primary-dark: #c60063;
  --secondary: #10d0d8;
  --accent: #ffb400;
  --bg: #fff8fb;
  --text: #2b1d24;
  --muted: #6c5a64;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(149, 37, 92, 0.15);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff8fb 0%, #ffffff 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.hero {
  min-height: 100vh;
  position: relative;
  background: url('../img/portada.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,0,127,.70), rgba(31,23,52,.72));
  z-index: -1;
}
.nav {
  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);
  font-weight: 800;
  letter-spacing: .04em;
}
.brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.brand small { font-size: .74rem; font-weight: 600; opacity: .9; }
.nav-links { display: flex; gap: 1.1rem; align-items: center; }
.nav-links a {
  color: var(--white);
  font-weight: 600;
  padding: .6rem .9rem;
  border-radius: 999px;
  transition: .25s ease;
}
.nav-links a:hover { background: rgba(255,255,255,.16); }
.menu-toggle {
  display: none;
  background: rgba(255,255,255,.16);
  border: 0; color: var(--white);
  padding: .6rem .9rem; border-radius: 12px;
}
.hero-content {
  flex: 1;
  display: grid;
  align-content: center;
  padding: 4rem 0 6rem;
  color: var(--white);
}
.badge {
  display: inline-flex;
  width: fit-content;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: .96;
  margin: 0 0 1rem;
  max-width: 820px;
}
.hero p {
  max-width: 680px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  margin: 0 0 1.8rem;
  color: rgba(255,255,255,.92);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: .95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #2e2330; box-shadow: var(--shadow); }
.btn-secondary { background: rgba(255,255,255,.16); color: var(--white); border: 1px solid rgba(255,255,255,.3); }
.btn-full { width: 100%; }
.section { padding: 6rem 0; }
.section-alt { background: linear-gradient(180deg, #fff6fb 0%, #ffffff 100%); }
.section-kicker {
  color: var(--primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .8rem;
}
.section-heading { margin-bottom: 2rem; }
.section-heading.center { text-align: center; }
.section h2, .section-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin: .55rem 0 1rem;
}
.section p, .section-heading p { color: var(--muted); line-height: 1.8; font-size: 1.02rem; }
.intro-strip {
  margin-top: -52px;
  position: relative;
  z-index: 3;
}
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.intro-grid article {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 1.4rem;
}
.intro-grid strong, .intro-grid a, .intro-grid span { display: block; }
.intro-grid strong { color: var(--primary-dark); margin-bottom: .55rem; }
.about-grid, .video-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
}
.feature-list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feature-card, .contact-card, .social-card, .about-image-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feature-card { padding: 1.2rem; }
.feature-card h3 { margin-top: 0; margin-bottom: .6rem; font-size: 1rem; }
.feature-card p { margin: 0; font-size: .95rem; }
.about-image-card { position: relative; }
.about-image-card img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.floating-info {
  position: absolute;
  left: 1.2rem; right: 1.2rem; bottom: 1.2rem;
  background: rgba(255,255,255,.92);
  padding: 1rem 1.1rem;
  border-radius: 18px;
  backdrop-filter: blur(8px);
}
.floating-info span { display: block; color: var(--primary-dark); font-size: .85rem; margin-bottom: .35rem; font-weight: 700; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  border: 0;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.video-frame, .map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-frame iframe { width: 100%; min-height: 520px; border: 0; }
.map-frame iframe { width: 100%; min-height: 320px; border: 0; }
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.social-card {
  padding: 1.5rem;
  transition: transform .25s ease;
  border: 1px solid rgba(255,0,127,.08);
}
.social-card:hover { transform: translateY(-5px); }
.social-card h3 { margin: 1rem 0 .6rem; }
.social-card p { margin: 0 0 1rem; }
.social-card span { color: var(--primary-dark); font-weight: 700; }
.social-icon {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white); font-size: 1.6rem; font-weight: 800;
}
.contact-card { padding: 1.6rem; }
.contact-list { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: grid; gap: .8rem; }
.contact-list a { color: var(--primary-dark); font-weight: 600; }
.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .45rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid #ead3df;
  border-radius: 16px;
  padding: .95rem 1rem;
  background: #fffafd;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(255,0,127,.18); border-color: var(--primary); }
.form-note { margin: 0; font-size: .92rem; }
.site-footer {
  background: #23141d;
  color: rgba(255,255,255,.85);
  padding: 1.5rem 0;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-content a { color: #fff; }
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  box-shadow: 0 18px 35px rgba(37, 211, 102, .35);
  z-index: 40;
}
.whatsapp-float svg { width: 34px; fill: #fff; }
.lightbox {
  position: fixed; inset: 0;
  background: rgba(16, 8, 15, .88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 100;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 88vh; border-radius: 22px; }
.lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  border: 0; background: rgba(255,255,255,.16); color: #fff;
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.8rem; cursor: pointer;
}
@media (max-width: 980px) {
  .intro-grid, .about-grid, .video-grid, .contact-grid, .social-grid, .gallery-grid, .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid, .video-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: relative; }
  .nav-links {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    background: rgba(32, 18, 33, .96);
    border-radius: 18px;
    padding: .8rem;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero { min-height: 88vh; }
  .section { padding: 4.5rem 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .intro-grid, .gallery-grid, .social-grid, .feature-list { grid-template-columns: 1fr; }
  .about-image-card img { min-height: 340px; }
  .video-frame iframe { min-height: 340px; }
  .footer-content { flex-direction: column; }
}
