
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f6f3ec;
  color: #333;
  line-height: 1.6;
}

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

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

header {
  position: relative;
  min-height: 80vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/portada_izcalli_masaje.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  z-index: -2;
}

header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 128, 96, 0.75), rgba(225, 180, 90, 0.7));
  mix-blend-mode: multiply;
  z-index: -1;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 243, 236, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand img {
  width: 40px;
  height: 40px;
}

.navbar-title {
  font-weight: 600;
  color: #2f3b3a;
  font-size: 0.9rem;
  line-height: 1.1;
}

.navbar span.alt {
  font-weight: 700;
  color: #0d8a5a;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #2f3b3a;
  padding-bottom: 0.1rem;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-color: #0d8a5a;
}

.hero-content {
  padding: 7rem 1.5rem 3rem;
  max-width: 1080px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.hero-tag span.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffd447;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-primary,
.btn-outline,
.btn-ghost {
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #0d8a5a;
  color: #fff;
  border-color: #0d8a5a;
}

.btn-primary:hover {
  background: #0b6c47;
  border-color: #0b6c47;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(0,0,0,0.15);
}

.hero-badge {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

.section {
  padding: 4rem 1.5rem;
}

.section:nth-of-type(even) {
  background: #fff;
}

.section:nth-of-type(odd) {
  background: #f6f3ec;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  color: #23413e;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #666;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

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

.about-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: #0d8a5a;
}

.about-card p {
  font-size: 0.8rem;
  color: #555;
}

.about-image {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
  border: 6px solid rgba(246, 243, 236, 0.9);
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: 1.4rem;
  padding: 1.3rem 1.2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border: 1px solid #f0e1d0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}

.service-title {
  font-size: 1.05rem;
  color: #23413e;
  font-weight: 600;
}

.service-desc {
  font-size: 0.88rem;
  color: #555;
}

.service-badge {
  margin-top: auto;
  font-size: 0.8rem;
  color: #0d8a5a;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item::after {
  content: "Ver más";
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.85);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */

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

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Video + Social */

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  border: 6px solid rgba(246,243,236,0.9);
}

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

.social-card {
  background: #fff;
  border-radius: 1.4rem;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border: 1px solid #f0e1d0;
}

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

.social-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.9rem;
  background: #f8f2ea;
  font-size: 0.9rem;
}

.social-badge {
  font-size: 0.8rem;
  color: #777;
  margin-top: 0.5rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
}

.contact-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border: 1px solid #f0e1d0;
}

.contact-card h3 {
  margin-bottom: 0.75rem;
  color: #23413e;
}

.contact-details {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.contact-details p {
  margin-bottom: 0.3rem;
}

.contact-details span.label {
  font-weight: 600;
  color: #0d8a5a;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

form {
  display: grid;
  gap: 0.75rem;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #d9c9b7;
  font-size: 0.9rem;
  background: #fdfaf7;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #0d8a5a;
  box-shadow: 0 0 0 1px rgba(13, 138, 90, 0.15);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.map-card {
  background: #f5efe6;
  border-radius: 1.5rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid #eadac7;
}

.map-card h3 {
  margin-bottom: 0.7rem;
  color: #23413e;
}

.map-card p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* Footer */

footer {
  background: #2c2521;
  color: #f7f2eb;
  padding: 1.3rem 1.5rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

footer a {
  color: #ffd88a;
}

.footer-copy {
  font-size: 0.78rem;
  color: #d2c4b8;
}

/* WhatsApp Floating Button */

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1500;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.whatsapp-float a:hover {
  transform: translateY(-2px);
}

/* Responsive */

@media (max-width: 900px) {
  .about-grid,
  .media-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding-inline: 1rem;
  }

  .nav-links {
    display: none;
  }

  header {
    min-height: 70vh;
  }

  .hero-content {
    padding-top: 6rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .service-card {
    padding: 1.1rem 1rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
