:root {
  --bg: #f7efe6;
  --bg-soft: #fff8f1;
  --text: #3b1f1a;
  --primary: #ef2a7b;
  --secondary: #ff9f1c;
  --green: #49a942;
  --purple: #7b2cbf;
  --dark: #26120f;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(59, 31, 26, 0.16);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

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

.hero {
  min-height: 100vh;
  position: relative;
  background:
    linear-gradient(rgba(38,18,15,.45), rgba(38,18,15,.55)),
    url('assets/portada.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239,42,123,.18), rgba(255,159,28,.14) 45%, rgba(73,169,66,.18));
}
.nav, .hero-content { position: relative; z-index: 2; }
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}
.brand img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow);
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.nav-links a {
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.hero-content {
  flex: 1;
  display: grid;
  align-items: center;
  padding: 24px 0 60px;
}
.hero-card {
  max-width: 650px;
  background: rgba(255, 248, 241, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.logo-main {
  width: min(340px, 100%);
  border-radius: 20px;
  margin-bottom: 18px;
}
.tag, .section-kicker {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.hero-card h1 {
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 1.02;
  margin: 14px 0;
}
.hero-card p {
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0 0 22px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .25s ease, opacity .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(90deg, var(--primary), #ff5ca0);
  color: var(--white);
}
.btn-secondary {
  background: linear-gradient(90deg, var(--green), #65c35e);
  color: var(--white);
}
.full { width: 100%; border: 0; cursor: pointer; }

.section {
  padding: 78px 0;
}
.center { text-align: center; }
.grid-two, .contact-grid, .social-grid {
  display: grid;
  gap: 28px;
}
.grid-two { grid-template-columns: 1.08fr .92fr; align-items: center; }
.intro-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.section h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  margin: 14px 0 18px;
}
.section p {
  line-height: 1.75;
  font-size: 1.03rem;
}
.info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.info-pills span {
  background: var(--bg-soft);
  border: 1px solid rgba(123,44,191,.15);
  color: var(--purple);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
}
.promos {
  background: linear-gradient(180deg, #fff7ee, #fdf1e7);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.card, .social-card, .contact-form, .contact-copy {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(59,31,26,.08);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3, .social-card h3, .contact-form h3 { margin-top: 0; }
.card:nth-child(2), .card:nth-child(5) { background: rgba(255,243,232,.95); }
.card:nth-child(3), .card:nth-child(6) { background: rgba(245,255,243,.95); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.gallery-item {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, filter .25s ease;
}
.gallery-item:hover img {
  transform: translateY(-4px) scale(1.02);
  filter: saturate(1.03);
}
.social-grid { grid-template-columns: repeat(2, 1fr); }
.social-card {
  background: linear-gradient(135deg, rgba(239,42,123,.08), rgba(255,159,28,.08));
}
.video-wrap {
  width: 100%;
  max-width: 920px;
  margin: 34px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; }
.contact-grid {
  grid-template-columns: 1.05fr .95fr;
  align-items: start;
}
.contact-copy a { color: var(--primary); font-weight: 700; }
.contact-form {
  display: grid;
  gap: 10px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(59,31,26,.15);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: #fffdfb;
}
.map-wrap {
  margin-top: 22px;
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 320px; border: 0; }
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.88);
  padding: 26px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer a { color: #ffb4d2; }
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  background: linear-gradient(90deg, #1fbf5b, #25D366);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 18px 35px rgba(37, 211, 102, .35);
  font-weight: 700;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 30;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: min(920px, 100%);
  max-height: 85vh;
  border-radius: 20px;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .grid-two, .contact-grid, .social-grid, .cards, .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links { gap: 12px; }
  .grid-two, .social-grid, .cards, .gallery {
    grid-template-columns: 1fr;
  }
  .hero-card { padding: 22px; }
  .hero-card h1 { font-size: 2.15rem; }
  .section { padding: 58px 0; }
  .footer-inner { flex-direction: column; }
}
