*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #333;
  background-color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f0f0f0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
}

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

.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.logo-text h1 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 700;
}

.logo-text p {
  margin: 0;
  font-size: 0.8rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.main-nav a:hover {
  background: #ffe6f2;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero */

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: #222;
  background-image: url("../img/fondo_confeti.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 230, 250, 0.9));
}

.hero-content {
  position: relative;
  padding: 4rem 1.25rem;
  text-align: left;
}

.hero h2 {
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.hero p {
  margin: 0 0 1.25rem;
  max-width: 30rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: #ff4fa3;
  color: #fff;
  box-shadow: 0 6px 14px rgba(255, 79, 163, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255, 79, 163, 0.5);
}

.btn-secondary {
  background: #fff;
  color: #ff4fa3;
  border: 2px solid #ffb3d7;
}

.btn-secondary:hover {
  background: #ffe6f2;
}

.hero-phone a {
  font-weight: 600;
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-alt {
  background: #fff7fd;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 1.25rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  margin: 0 0 2rem;
  color: #555;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: #fff;
  padding: 1.1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid #ffe0f3;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  border-radius: 0.75rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: #fff;
  border-radius: 999px;
  border: none;
  padding: 0.2rem 0.8rem;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Video */

.video-container {
  text-align: center;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Redes sociales */

.social-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-facebook {
  background: #1877f2;
  color: #fff;
}

.btn-instagram {
  background: #ff5f6d;
  color: #fff;
}

.fb-embed-wrapper {
  display: flex;
  justify-content: center;
}

/* Contacto */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr;
  gap: 2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.contact-list li {
  margin-bottom: 0.35rem;
}

.map-note {
  font-size: 0.85rem;
  color: #666;
}

.form-wrapper {
  background: #fff7fd;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #ffe0f3;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  font: inherit;
  padding: 0.5rem 0.65rem;
  border-radius: 0.6rem;
  border: 1px solid #ddd;
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #ff4fa3;
  box-shadow: 0 0 0 3px rgba(255,79,163,0.2);
}

/* WhatsApp float */

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 80;
}

.whatsapp-icon {
  font-size: 1.6rem;
}

/* Footer */

.site-footer {
  background: #222;
  color: #fff;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  text-align: center;
}

.site-footer a {
  color: #ffb3d7;
}

/* Responsive */

@media (max-width: 900px) {
  .services-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .social-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .social-grid {
    text-align: center;
  }

  .fb-embed-wrapper {
    order: -1;
  }
}

@media (max-width: 720px) {
  .header-content {
    align-items: center;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    background: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0 0 0 1rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav-toggle {
    display: block;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 55vh;
  }

  .hero h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 3rem 1.25rem;
  }
}
