:root {
  --mint: #90d9d4;
  --mint-soft: #e4f7f5;
  --dark: #363636;
  --gray: #777777;
  --bg: #ffffff;
  --accent: #f4e7da;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

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




/* HEADER */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--mint-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text .name {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.brand-text .subtitle {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}


.whatsapp-floating {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: #25d366;
  background-image: url("images/whatsapp-icon.png"); /* ruta a tu icono */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;       /* tamaño del icono dentro del círculo */
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 9999;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-floating:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 26px rgba(0,0,0,0.30);
}


.contact-whatsapp-box {
  background: rgba(255, 255, 255, 0.97);
  padding: 1.8rem 1.6rem;
  border-radius: 1.3rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

.contact-whatsapp-box h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.contact-whatsapp-box p {
  font-size: 0.94rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.whatsapp-btn {
  background: #25d366;           /* Verde WhatsApp */
  color: #ffffff;
}

.whatsapp-btn:hover {
  filter: brightness(0.95);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

nav li a {
  position: relative;
  padding-bottom: 0.25rem;
}

nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--mint);
  transition: width 0.25s ease;
}

nav li a:hover::after,
nav li a.active::after {
  width: 100%;
}

/* Botón hamburguesa (móvil) */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  margin: 4px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links.open {
  position: absolute;
  right: 1.5rem;
  top: 60px;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  padding: 1rem 1.3rem;
  flex-direction: column;
  gap: 0.9rem;
}

/* HERO */

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transform: scale(1.03) translateZ(0);
  -webkit-transform: scale(1.03) translateZ(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.55), rgba(0,0,0,0.25));
  z-index: -1;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 6rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 3.2vw + 1rem, 3.5rem);
  margin-bottom: 0.4rem;
}

.hero-content h2 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--mint-soft);
  margin-bottom: 1.4rem;
}

.hero-content p {
  font-size: 1rem;
  max-width: 30rem;
  color: #f2f2f2;
  margin-bottom: 1.6rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.2);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--mint);
  color: #133131;
  box-shadow: 0 10px 25px rgba(0,0,0,0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.3);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.7);
  color: #ffffff;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
}

.hero-side {
  justify-self: center;
}

.hero-card {
  background: rgba(255,255,255,0.95);
  color: var(--dark);
  padding: 1.7rem 1.8rem;
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  max-width: 320px;
}

.hero-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.hero-card p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0.6rem;
}

.hero-card .quote {
  font-size: 0.9rem;
  font-style: italic;
  border-left: 3px solid var(--mint);
  padding-left: 0.7rem;
  margin-top: 0.7rem;
}

/* SECCIONES GENERALES */

section {
  padding: 5rem 1.5rem;
}

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

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gray);
  margin-bottom: 2.7rem;
}

/* SOBRE MÍ */

.about {
  background: #ffffff;
}

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

.about-text p {
  margin-bottom: 1rem;
  color: var(--gray);
  font-size: 0.98rem;
}

.about-highlight {
  background: var(--mint-soft);
  border-left: 4px solid var(--mint);
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.about-meta {
  margin-top: 1.4rem;
  font-size: 0.88rem;
  color: var(--gray);
}

.about-meta strong {
  color: var(--dark);
}

.about-photo {
  position: relative;
}

.about-photo img {
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}

.about-photo::before {
  content: "";
  position: absolute;
  inset: 14% -12% -12% 12%;
  border-radius: 2rem;
  background: radial-gradient(circle at top left, var(--mint-soft), transparent 60%);
  z-index: -1;
}





/* ====== TRATAMIENTOS ====== */

.treatments {
  padding: 4rem 0 5rem;         /* extra abajo por el botón de WhatsApp */
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

/* Tarjetas */
.card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.card-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card-body {
  padding: 1.75rem 1.75rem 1.5rem;
}

/* Responsivo: tablet */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Responsivo: móvil */
@media (max-width: 720px) {
  .cards-grid {
    grid-template-columns: 1fr;    /* UNA columna en móvil */
  }

  .card {
    max-width: 420px;
    margin: 0 auto 1.75rem;       /* centradas y separadas */
  }
}


/* TRATAMIENTOS */

.treatments {
  background: #fafafa;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.card {
  background: #ffffff;
  border-radius: 1.3rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}

.card-image {
  height: 190px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.3rem 1.4rem 1.4rem;
}

.card-body h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0.8rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: var(--mint-soft);
  color: #205a58;
}

.treatments-note {
  margin-top: 2rem;
  font-size: 0.86rem;
  color: var(--gray);
  text-align: center;
}

.parallax {
  position: relative;
  overflow: hidden;
  background: #fff; /* Seguridad, evita parpadeos blancos */
}

.parallax-wrap {
  position: relative;
  height: 420px; /* FIJO para Safari */
  width: 100%;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background-image: url("images/parallax-masaje.jpg"); 
  background-size: cover;
  background-position: center;

  transform: translate3d(0,0,0);
  will-change: transform;
  z-index: 1; /* Debe ir detrás, pero no más */
}

.parallax-inner {
  position: relative;
  z-index: 2;
  padding-top: 140px; /* Para centrar el texto */
  text-align: center;
}

/* ===========================
   SECCIONES CATÁLOGO - V2
=========================== */

.catalog-section {
  padding: 60px 16px 40px;
  background: #f7f7f9;
}

.catalog-section .section-title {
  font-size: 2rem;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 26px;
  color: #222;
}

/* Centrar contenido dentro del ancho de la web */
.catalog-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Grid de productos */
.catalog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

/* En escritorio: dos columnas */
@media (min-width: 900px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tarjeta de producto */
.catalog-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  background: linear-gradient(135deg, #fff8f3, #ffffff);
  border-radius: 22px;
  padding: 14px 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
  align-items: stretch;
}

/* En móvil la imagen pasa arriba */
@media (max-width: 640px) {
  .catalog-item {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Imagen */
.catalog-img {
  border-radius: 18px;
  overflow: hidden;
}

.catalog-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Contenido */
.catalog-info {
  display: flex;
  flex-direction: column;
}

/* Cabecera: título + precio */
.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.catalog-header h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.catalog-price {
  font-weight: 700;
  font-size: 1rem;
  color: #3a9c88;
}

/* Frase corta visible */
.catalog-short {
  font-size: 0.97rem;
  line-height: 1.5;
  margin: 0 0 6px;
  color: #444;
}

/* Details (texto extendido) */
.catalog-details {
  font-size: 0.9rem;
  color: #555;
}

.catalog-details[open] {
  margin-top: 4px;
}

.catalog-details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: #3a9c88;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Quitar triángulo por defecto */
.catalog-details summary::-webkit-details-marker {
  display: none;
}

/* Iconito + */
.catalog-details summary::after {
  content: "＋";
  font-size: 0.8rem;
}

.catalog-details[open] summary::after {
  content: "－";
}

.catalog-details p {
  margin: 6px 0 4px;
}

.catalog-list {
  margin: 4px 0 0 16px;
  padding: 0;
}

.catalog-list li {
  margin-bottom: 3px;
}

/* Modo oscuro opcional */
@media (prefers-color-scheme: dark) {
  .catalog-section {
    background: #050505;
  }
  .catalog-item {
    background: linear-gradient(135deg, #151515, #111111);
    border-color: rgba(255, 255, 255, 0.05);
  }
  .catalog-section .section-title,
  .catalog-header h3,
  .catalog-short,
  .catalog-details {
    color: #f5f5f5;
  }
}

/* ==================================
   BLOQUES DE SERVICIOS - ICONO CÍRCULO
================================== */

.section-services {
  padding: 70px 16px;
  background: #f7f8fa;
}

.section-services-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-services-title {
  font-size: 2rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #333;
}

.section-services-subtitle {
  font-size: 0.95rem;
  margin-bottom: 35px;
  color: #777;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px 60px;
}

/* Tablet: 2 columnas */
@media (min-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop: 3 columnas */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tarjeta */
.service-card {
  max-width: 320px;
  margin: 0 auto;
}

/* Círculo con icono/foto */
.service-card-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
   background: var(--mint); 
  border: 4px solid #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--mint, #90d9d4);
  border: 4px solid #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;          /* recorta en círculo */
}

.service-card-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;        /* la propia imagen también es redonda */
  object-fit: cover;         /* rellena el círculo sin deformarse */
  display: block;
}


/* Título y texto */
.service-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

.service-card-price {
  font-weight: 700;
  color:var(--mint); 
  margin-bottom: 8px;
}

.service-card-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #666;
}


/* Ancho del grid cuando solo hay un servicio (ya lo tenías) */
.section-services--single .services-grid {
  display: flex;          /* en lugar de grid */
  justify-content: center;
  align-items: flex-start;
  max-width: 100%;
  margin: 0 auto;
}

/* 👉 Haz la tarjeta más ancha en esas secciones */
.section-services--single .service-card {
  max-width: 520px;      /* antes 320px */
   margin: 0 auto;
}

/* limitar solo el texto para que no toque los bordes */
.section-services--single .service-card-text {
  max-width: 480px;
  margin: 0 auto;
}

/* Si quieres incluso más ancho en escritorio: */
@media (min-width: 1024px) {
  .section-services--single .service-card {
    max-width: 620px;
  }
}


.section-services {
  padding: 70px 16px;
}

/* Si una sección viene justo debajo de otra, menos padding arriba */
.section-services + .section-services {
  padding-top: 35px;
}

/* EL ESPACIO */

.space {
  background: #ffffff;
}

.space-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.8rem;
  align-items: center;
}

.space-text p {
  margin-bottom: 1rem;
  color: var(--gray);
  font-size: 0.95rem;
}

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

.space-photo img {
  border-radius: 1.2rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  height: 100%;
  object-fit: cover;
}

@supports (-webkit-touch-callout: none) {
  .space-photo img {
    height: auto !important;
    width: 100% !important;
  }
}

/* CONTACTO */

.contact {
  background: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-info p {
  margin-bottom: 1rem;
  color: var(--dark);
}

.contact-info ul {
  list-style: none;
  margin-bottom: 1rem;
}

.contact-info li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.contact-social a {
  text-decoration: underline;
}

.contact-form {
  background: rgba(255,255,255,0.97);
  padding: 1.8rem 1.6rem;
  border-radius: 1.3rem;
  box-shadow: 0 16px 34px rgba(0,0,0,0.14);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  border-radius: 0.7rem;
  border: 1px solid #e0e0e0;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(144,217,212,0.25);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.form-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--gray);
}

/* FOOTER */

footer {
  background: #111111;    /* Fondo oscuro */
  color: #ffffff;         /* Texto blanco */
  padding: 2.2rem 1.5rem;
  text-align: center;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-logo {
  display: block;
  margin: 0 auto 1.2rem;
  width: 240px;                 /* tamaño perfecto para footer */
  max-width: 85%;
  
}


/* RESPONSIVE */

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

  .hero-side {
    order: -1;
  }

  .about-grid,
  .space-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* HERO en móvil: que crezca todo lo que necesite
   y deje ver la tarjeta debajo del texto */
@media (max-width: 720px) {
  .hero {
    height: auto;        /* ya NO forzamos 100vh */
    min-height: 0;
    overflow: visible;   /* que no corte el contenido */
    align-items: flex-start;
    padding-top: 6.5rem;  /* para que no lo tape el header fijo */
    padding-bottom: 2.5rem;
  }

  .hero-inner {
    display: block;      /* apilamos contenido en columna */
    padding-top: 0;
  }

  .hero-content {
    margin-bottom: 2rem; /* separación antes del cuadro blanco */
  }

  .hero-side {
    width: 100%;
  }

  .hero-card {
    margin: 0 auto;
    max-width: 360px;
  }

  /* Tratamientos en UNA columna en móvil */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .card {
    max-width: 420px;
    margin: 0 auto 1.75rem;   /* centradas y separadas */
  }


  .parallax-wrap{
    height: 360px !important;
  }
  .parallax-inner{
    padding-top: 110px;
    padding-left: 15px;
    padding-right: 15px;
  }


  /* Botón flotante de WhatsApp un poco más separado
     y usando la clase correcta */
  .whatsapp-floating {
    bottom: 20px;
    right: 20px;
  }
}


/* --- FIX SAFARI iPhone --- */



/* 2. Arreglar imágenes que se parten */
@supports (-webkit-touch-callout: none) {
  .card-image img {
    height: auto !important;
    max-height: 200px;
  }
}

/* Forzar grid a alinearse bien */
.cards-grid {
  align-items: start !important;
}

/* 3. Evitar que WhatsApp invada tarjetas */
.whatsapp-floating {
  z-index: 999999 !important;
}
.card,

.hero-card,
.section-inner {
  position: relative;
  z-index: 1;
}

/* 4. Arreglar recorte de Safari */
.card-image,
.hero-card {
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}


/* --- FIX MENÚ MÓVIL SAFARI / MÓVIL EN GENERAL --- */
@media (max-width: 900px) {

  /* Mostrar botón hamburguesa */
  .nav-toggle {
    display: block !important;
    position: relative;
    z-index: 100000 !important; 
  }

  /* Ocultar menú de escritorio */
  nav ul {
    display: none !important;
  }

  header {
    position: fixed !important;
    z-index: 99999 !important;
  }

  .nav-links {
    display: none !important;
    position: absolute;
    right: 1.5rem;
    top: 65px;
    background: #ffffff;
    border-radius: 1.2rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
    padding: 1rem 1.3rem;
    flex-direction: column;
    gap: 1rem;
    z-index: 999999 !important;
  }

  .nav-links.open {
    display: flex !important;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Texto del hero primero */
  .hero-content {
    order: 1;
  }

  /* Tarjeta blanca después del texto */
  .hero-side {
    order: 2;
  }

  .about-grid,
  .space-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* OJO: aquí ya NO tocamos .cards-grid.
     Así dejamos que en móvil (<720px) gane la regla
     de 1 columna del bloque anterior. */
}

/* ==========================
   RESEÑAS (TESTIMONIALS)
========================== */

.testimonials {
  background: #f7f8fa;
  padding: 70px 16px;
}

.testimonials .section-inner {
  max-width: 1000px;
}

/* Contenedor del slider */
.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 24px auto 0;
  overflow: hidden;
}

/* Pista que se mueve */
.testimonials-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

/* Cada reseña ocupa todo el ancho del slider */
.testimonial-card {
  min-width: 100%;
  box-sizing: border-box;
  position: relative;
  background: #ffffff;
  border-radius: 22px;
  padding: 1.8rem 1.9rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
  text-align: left;
  overflow: hidden;
}

/* franja de color lateral suave */
.testimonial-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: var(--mint);
  opacity: 0.65;
}

/* comillas grandes decorativas */
.testimonial-card::after {
  content: "“";
  position: absolute;
  right: 20px;
  top: -10px;
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  color: rgba(144, 217, 212, 0.25);
}

.testimonial-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.testimonial-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #555;
}

/* Flechas del slider */
.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #555;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.testimonial-nav:hover {
  transform: translateY(-50%) scale(1.03);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.testimonial-nav.prev {
  left: -4px;
}

.testimonial-nav.next {
  right: -4px;
}

/* Puntos inferiores */
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.testimonials-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--mint);
  background: transparent;
  cursor: pointer;
  padding: 0;
  outline: none;
}

.testimonials-dots .dot.active {
  background: var(--mint);
}

/* Móvil: un poco más compacto */
@media (max-width: 640px) {
  .testimonial-card {
    padding: 1.5rem 1.4rem;
  }

  .testimonial-card::after {
    font-size: 3rem;
    right: 12px;
    top: -6px;
  }

  .testimonial-nav {
    width: 30px;
    height: 30px;
    font-size: 1.3rem;
    top: auto;
    bottom: 8px;
    transform: none;
  }

  .testimonial-nav.prev {
    left: 10px;
  }

  .testimonial-nav.next {
    right: 10px;
  }

  .testimonial-nav:hover {
    transform: scale(1.03);
  }
}

/* Fix extra para Safari/iPhone (por si acaso con el overflow) */
@supports (-webkit-touch-callout: none) {
  .testimonials-track {
    will-change: auto;
  }
}

/* ==========================
   COLABORACIONES
========================== */

.collabs {
  background: #ffffff;
  padding: 70px 16px;
}

.collabs .section-inner {
  max-width: 1000px;
}

.collabs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

/* En escritorio, dos columnas */
@media (min-width: 800px) {
  .collabs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.collab-card {
  background: linear-gradient(135deg, #fff8f3, #ffffff);
  border-radius: 22px;
  padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
  text-align: center;
}


.collab-logo2 {
  width: 252px;	
  height: 300px;
  margin: 0 auto 0.9rem;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  padding: 10px;              /* deja aire alrededor del logo */
  overflow: hidden;           /* mantiene el círculo limpio */
}

.collab-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;        /* ⚠️ ahora NO recorta, encaja el logo */
  display: block;
}



.collab-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #333;
}

.collab-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .section-services--single .services-grid {
    flex-direction: column;   /* en vez de fila */
    align-items: center;      /* centradas */
  }

  .section-services--single .service-card {
    max-width: 420px;         /* ancho cómodo en móvil */
    margin-bottom: 24px;
  }
}

