:root {
  --bg: #fff8fb;
  --surface: rgba(255,255,255,0.84);
  --surface-strong: #ffffff;
  --text: #2f2230;
  --muted: #6f5b67;
  --primary: #ec4f8a;
  --primary-dark: #cc2f6d;
  --accent: #1fa8a2;
  --line: rgba(70, 33, 52, 0.1);
  --shadow: 0 24px 60px rgba(101, 35, 65, 0.14);
  --radius: 24px;
  --container: min(1140px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(236,79,138,0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(31,168,162,0.16), transparent 25%),
    var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
.skip-link {
  position: absolute; left: -999px; top: auto;
}
.skip-link:focus {
  left: 12px; top: 12px; z-index: 3000; background: #000; color: #fff; padding: 10px 14px; border-radius: 10px;
}

.hero {
  min-height: 100vh;
  position: relative;
  background: url('assets/portada.jpg') center/cover no-repeat;
  isolation: isolate;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(35,16,26,0.72), rgba(35,16,26,0.38) 45%, rgba(18,16,22,0.5));
  z-index: -1;
}
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand {
  display: flex; gap: 14px; align-items: center;
  color: #fff;
}
.brand img {
  width: 58px; height: 58px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.6);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.brand strong { display: block; font-size: 1.02rem; }
.brand small { color: rgba(255,255,255,0.78); }
.nav-actions {
  display: flex; align-items: center; gap: 16px;
}
.nav-actions a {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  position: relative;
}
.nav-actions a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: #fff; transition: width .25s ease;
}
.nav-actions a:hover::after { width: 100%; }
.lang-toggle, .menu-toggle {
  border: 0; background: rgba(255,255,255,0.18); color: #fff; cursor: pointer;
  border-radius: 999px; padding: 10px 14px; font-weight: 700; backdrop-filter: blur(10px);
}
.menu-toggle { display: none; }
.hero-inner {
  display: grid; grid-template-columns: 1.35fr 0.8fr; gap: 32px;
  align-items: end; padding: 70px 0 90px;
}
.hero-copy h1, .section h2 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.02em;
}
.hero-copy h1 {
  color: #fff; font-size: clamp(2.5rem, 5vw, 4.75rem); line-height: 0.95; margin: 10px 0 18px;
  max-width: 11ch;
}
.hero-copy p {
  color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 60ch; line-height: 1.7;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.14); color: #fff; backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18); font-weight: 700; font-size: 0.85rem;
}
.section .eyebrow { color: var(--primary-dark); background: rgba(236,79,138,0.1); border-color: rgba(236,79,138,0.18); }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; border-radius: 999px; padding: 0 22px; font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff7aa8);
  color: #fff; box-shadow: 0 18px 38px rgba(236,79,138,0.32);
}
.btn-secondary {
  background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.24); backdrop-filter: blur(10px);
}
.full { width: 100%; }
.hero-panel {
  background: rgba(255,255,255,0.92); padding: 28px; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.6);
}
.hero-panel h2 { margin-top: 0; font-size: 1.65rem; }
.hero-panel ul, .contact-list { list-style: none; padding: 0; margin: 0; }
.hero-panel li, .contact-list li {
  padding: 14px 0; border-bottom: 1px solid var(--line); line-height: 1.6;
}
.hero-panel li:last-child, .contact-list li:last-child { border-bottom: 0; }

.section { padding: 92px 0; }
.two-col {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center;
}
.copy h2, .section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 16px; }
.copy p, .section-head p, .contact-card p { color: var(--muted); line-height: 1.8; }
.feature-grid, .stat-grid, .social-grid {
  display: grid; gap: 18px;
}
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px;
}
.feature-grid article, .stat-card, .social-card, .contact-form, .contact-card, .promo-card, .video-frame {
  background: var(--surface); border: 1px solid rgba(255,255,255,0.7); backdrop-filter: blur(16px);
  box-shadow: var(--shadow); border-radius: var(--radius);
}
.feature-grid article, .stat-card, .social-card { padding: 22px; }
.feature-grid h3, .stat-card strong, .social-card h3 { font-size: 1.05rem; }
.feature-grid p, .stat-card p, .social-card p { color: var(--muted); margin-bottom: 0; line-height: 1.7; }
.promo-card { overflow: hidden; }
.promo-card img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }

.stats { padding-top: 0; }
.stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-card strong { display: block; margin-bottom: 10px; }

.gallery-grid {
  display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0,1fr));
  margin-top: 34px;
}
.gallery-item {
  border: 0; padding: 0; overflow: hidden; border-radius: 22px; background: #fff; cursor: pointer;
  box-shadow: 0 16px 36px rgba(76, 30, 53, 0.1);
}
.gallery-item img {
  width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1.08); }

.video-grid { align-items: stretch; }
.video-frame { padding: 18px; }
.video-frame iframe {
  width: 100%; min-height: 520px; border: 0; border-radius: 18px;
}

.social-grid { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 30px; }
.social-card { display: flex; align-items: center; gap: 16px; }
.social-card:hover { transform: translateY(-4px); }
.social-mark {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(135deg, rgba(236,79,138,0.18), rgba(31,168,162,0.18)); color: var(--primary-dark);
}

.contact-grid { align-items: start; }
.contact-card, .contact-form { padding: 30px; }
.contact-form h3 { margin-top: 0; font-size: 1.5rem; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 14px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid rgba(100,70,84,0.15); background: rgba(255,255,255,0.8);
  border-radius: 16px; padding: 14px 16px; outline: none; color: var(--text);
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: rgba(236,79,138,0.45); box-shadow: 0 0 0 4px rgba(236,79,138,0.12);
}
.contact-form small { color: var(--muted); display: block; margin-top: 12px; line-height: 1.6; }
.map-frame { margin-top: 24px; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; min-height: 320px; border: 0; }

.site-footer {
  padding: 28px 0 42px; border-top: 1px solid rgba(76, 30, 53, 0.08);
  background: rgba(255,255,255,0.55);
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap;
}
.footer-inner p { margin: 0; color: var(--muted); line-height: 1.6; }
.footer-inner a { color: var(--primary-dark); font-weight: 700; }

.floating-actions {
  position: fixed; right: 18px; bottom: 18px; z-index: 2500; display: grid; gap: 12px;
}
.float-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 999px;
  color: #fff; box-shadow: 0 18px 40px rgba(0,0,0,0.18); font-weight: 800;
}
.float-btn.call { background: linear-gradient(135deg, var(--primary), #ff7aa8); }
.float-btn.whatsapp { background: linear-gradient(135deg, #15b66d, #24d366); }
.float-btn .icon { font-size: 1rem; }

.lightbox {
  position: fixed; inset: 0; background: rgba(20, 10, 15, 0.88); display: none;
  align-items: center; justify-content: center; padding: 24px; z-index: 2800;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(100%, 1100px); max-height: 88vh; border-radius: 24px; box-shadow: 0 26px 70px rgba(0,0,0,0.4); }
.lightbox-close {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,0.16); color: #fff; font-size: 1.9rem; cursor: pointer;
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav-actions {
    position: absolute; top: calc(100% + 10px); right: 16px; width: min(280px, calc(100% - 32px));
    padding: 16px; flex-direction: column; align-items: stretch; background: rgba(34,21,28,0.94);
    border-radius: 22px; box-shadow: var(--shadow); display: none;
  }
  .nav-actions.open { display: flex; }
  .hero-inner, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .feature-grid, .stat-grid, .social-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-copy h1 { max-width: 12ch; }
}

@media (max-width: 720px) {
  .section { padding: 74px 0; }
  .hero-inner { padding: 44px 0 76px; }
  .hero-copy h1 { font-size: clamp(2.2rem, 13vw, 3.5rem); }
  .feature-grid, .stat-grid, .social-grid, .gallery-grid { grid-template-columns: 1fr; }
  .promo-card img { min-height: 300px; }
  .video-frame iframe { min-height: 360px; }
  .floating-actions { right: 14px; bottom: 14px; }
  .float-btn span:not(.icon) { display: none; }
  .float-btn { padding: 15px; }
}
