/*
Theme Name: New Skin Academy Theme
Theme URI: https://newskin.com.co
Author: Tu Nombre / Paula Melo
Description: Tema personalizado a medida para New Skin Academy.
Version: 1.0
Text Domain: newskin-theme
*/

:root {
  --brown: #44261d;
  --coffee: #6b4a39;
  --gold: #c9a35f;
  --gold-soft: #ead6ad;
  --cream: #fffaf3;
  --rose: #f3e4e8;
  --rose-strong: #e7cfd6;
  --ink: #2c211d;
  --muted: #756964;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(68, 38, 29, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(68, 38, 29, 0.08);
  backdrop-filter: blur(12px);
}

.top-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px;
  color: var(--muted);
  font-size: 12px;
}

.social-links { display: flex; gap: 14px; }

.navbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-main {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0;
}
.brand-sub {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 10px;
  color: var(--coffee);
  margin-left: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  position: relative;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--brown);
  border-left: 1px solid #f2e8df;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 10px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a.active,
.nav-links a:hover { color: var(--gold); }

.nav-links a:hover,
.nav-links a.tab-opening { transform: translateY(-2px); }

.nav-links a.active::after,
.nav-links a:hover::after,
.nav-links a.tab-opening::after { transform: scaleX(1); }

.nav-links a.tab-opening { animation: tabOpen 0.42s ease; }

.menu-toggle {
  display: none;
  border: 0;
  background: var(--brown);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  padding: 11px;
  flex-direction: column;
  gap: 5px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 999px;
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.menu-toggle:hover { background: var(--gold); transform: rotate(3deg) scale(1.04); }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@keyframes tabOpen {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-3px) scale(1.04); }
  100% { transform: translateY(-2px) scale(1); }
}
.hero {
  min-height: 650px;
  background:
    linear-gradient(90deg, rgba(255,250,243,1) 0%, rgba(255,250,243,0.85) 45%, rgba(255,250,243,0) 75%),
    url("https://newskin.com.co/wp-content/uploads/2026/07/ChatGPT-Image-13-jul-2026-03_47_25-p.m.png") right center / cover no-repeat;
}

.hero-slider {
  position: relative;
  min-height: 650px;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  user-select: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 80px 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(44px) scale(0.985);
  transition:
    opacity 0.9s cubic-bezier(.22,1,.36,1),
    transform 0.9s cubic-bezier(.22,1,.36,1);
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.hero-slide.is-leaving {
  opacity: 0;
  transform: translateX(-44px) scale(0.985);
  z-index: 1;
}

.hero-slide.from-left {
  transform: translateX(-44px) scale(0.985);
}

.hero-slide.active.from-left {
  transform: translateX(0) scale(1);
}

.hero-copy { max-width: 690px; }

.hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
}

.hero-slide.active .hero-copy > * {
  animation: heroContentIn 0.78s cubic-bezier(.22,1,.36,1) both;
}

.hero-slide.active .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-slide.active .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-slide.active .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero h1, .page-hero h1, .detail-hero h1, .contact-hero h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.02;
  margin: 0 0 22px;
  color: var(--coffee);
  font-weight: 400;
  letter-spacing: 0;
}

.hero p, .page-hero p, .detail-hero p, .contact-hero p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  padding: 0 22px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn.primary { background: var(--gold); color: var(--white); }
.btn.ghost { background: transparent; border-color: var(--gold); color: var(--brown); }

.carousel-dots {
  position: absolute;
  left: 20px;
  bottom: 34px;
  display: flex;
  gap: 10px;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: var(--gold-soft);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.carousel-dots button.active {
  width: 34px;
  background: var(--gold);
}

.carousel-dots button:hover { transform: translateY(-2px); }

@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.section, .lead-section, .map-section {
  padding: 88px 20px;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 52px;
  align-items: center;
}

.split.about-block { grid-template-columns: 1fr 1fr; }
.split.about-block img { border-radius: 8px; box-shadow: var(--shadow); height: 560px; width: 100%; object-fit: cover; }

h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  color: var(--brown);
  margin: 0 0 18px;
}

h3 { color: var(--brown); margin: 0 0 12px; }
p { line-height: 1.75; }

.info-form {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.info-form label {
  display: grid;
  gap: 8px;
  color: var(--brown);
  font-weight: 700;
  font-size: 14px;
}

.info-form input,
.info-form select,
.info-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #eadcd3;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  background: #fffdfb;
}

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

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.tinted {
  max-width: none;
  background:
    linear-gradient(rgba(243,228,232,0.9), rgba(243,228,232,0.9)),
    repeating-linear-gradient(135deg, transparent 0 80px, rgba(68,38,29,0.035) 80px 160px);
}

.cards {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.six { grid-template-columns: repeat(3, 1fr); }

.card, .mini-card, .schedule-grid article, .module-list article {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 10px 35px rgba(68, 38, 29, 0.08);
}

.card-icon {
  display: inline-flex;
  color: var(--gold);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 18px;
}

.schedule-grid, .module-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.schedule-grid a { color: var(--gold); font-weight: 800; }
.module-list { grid-template-columns: repeat(4, 1fr); }
.module-list span { color: var(--gold); font-weight: 800; }

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
details {
  background: white;
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 8px 24px rgba(68,38,29,0.08);
}
summary { cursor: pointer; font-weight: 800; color: var(--brown); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-grid img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.03);
}

/* ==========================================================================
   CARRUSEL DE ALIADOS (SCROLL INFINITO SIN BUGS)
   ========================================================================== */
.logo-carousel {
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
}

.logo-track {
  display: flex;
  width: max-content;
  /* El tiempo (25s) lo puedes subir o bajar si lo quieres más lento o rápido */
  animation: floatLogos 25s linear infinite;
}

.logo-track span {
  min-width: 230px;
  background: white;
  border-radius: 8px;
  padding: 24px;
  margin-right: 18px; /* Usamos margen en lugar de gap para el cálculo matemático exacto */
  text-align: center;
  color: var(--brown);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(68,38,29,0.08);
}

/* Al llegar al 50% (donde termina el grupo 1), salta a 0% sutilmente */
@keyframes floatLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.certifications {
  background: var(--brown);
  color: white;
  padding: 58px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.certifications > * { max-width: 580px; justify-self: center; }
.certifications h2 { color: white; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
.cert-grid span {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 22px;
  text-align: center;
  background: rgba(255,255,255,0.08);
  font-weight: 800;
}

.map-card {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  background: white;
  padding: 26px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.map-card iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 8px;
}
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.site-footer {
  background: var(--gold-soft);
  color: var(--brown);
  padding: 58px 20px 24px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1fr;
  gap: 44px;
}
.footer-inner a { display: block; margin: 8px 0; }
.footer-brand .brand-main { font-size: 54px; }
.copyright {
  max-width: 1180px;
  margin: 34px auto 0;
  border-top: 1px solid rgba(68,38,29,0.18);
  padding-top: 18px;
}

.page-hero, .detail-hero, .contact-hero {
  padding: 110px 20px;
  background:
    linear-gradient(90deg, rgba(255,250,243,0.94), rgba(255,250,243,0.74)),
    url("https://newskin.com.co/wp-content/uploads/2026/07/ChatGPT-Image-13-jul-2026-05_05_11-p.m.png") center / cover no-repeat;
  text-align: center;
}

.page-hero > *, .detail-hero > *, .contact-hero > * { max-width: 920px; margin-left: auto; margin-right: auto; }

.programs-hero {
  background:
    linear-gradient(90deg, rgba(255,250,243,0.96), rgba(255,250,243,0.72)),
    url("https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?auto=format&fit=crop&w=1800&q=85") center / cover no-repeat;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
}
.program-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}
.program-card div { padding: 24px; }
.program-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(44, 33, 29, 0.66);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal.open { display: flex; animation: modalFade 0.25s ease both; }
.modal-panel {
  max-width: 620px;
  width: 100%;
  background: white;
  border-radius: 8px;
  padding: 34px;
  position: relative;
  box-shadow: var(--shadow);
  animation: modalPop 0.32s cubic-bezier(.2,.8,.2,1) both;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--rose);
  color: var(--brown);
  font-size: 24px;
  cursor: pointer;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 12, 9, 0.86);
}

.gallery-modal.open {
  display: flex;
  animation: modalFade 0.25s ease both;
}

.gallery-modal-panel {
  position: relative;
  width: min(980px, 100%);
  min-height: 620px;
  display: grid;
  place-items: center;
  animation: modalPop 0.32s cubic-bezier(.2,.8,.2,1) both;
}

.gallery-modal figure {
  margin: 0;
  width: 100%;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(0,0,0,0.38);
}

.gallery-modal img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: #111;
}

.gallery-modal figcaption {
  padding: 16px 20px;
  color: white;
  background: #111;
  font-weight: 700;
}

.gallery-close,
.gallery-nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  color: white;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.gallery-close {
  top: -12px;
  right: -12px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  z-index: 2;
}

.gallery-nav {
  top: 50%;
  width: 50px;
  height: 50px;
  font-size: 42px;
  transform: translateY(-50%);
  z-index: 2;
}

.gallery-nav.prev { left: -18px; }
.gallery-nav.next { right: -18px; }
.gallery-close:hover,
.gallery-nav:hover { background: var(--gold); transform: translateY(-50%) scale(1.06); }
.gallery-close:hover { transform: scale(1.06); }

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.detail-hero {
  text-align: left;
  background:
    linear-gradient(90deg, rgba(68,38,29,0.9), rgba(68,38,29,0.62)),
    url("https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?auto=format&fit=crop&w=1800&q=85") center / cover no-repeat;
}
.detail-hero h1, .detail-hero p { color: white; }
.detail-hero .eyebrow { color: var(--gold-soft); }
.program-facts {
  display: grid;
  gap: 14px;
}
.program-facts div {
  background: white;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 8px 24px rgba(68,38,29,0.08);
}
.program-facts strong { color: var(--brown); }

/* ==========================================================================
   SECCIÓN CONTACTO (DISEÑO CENTRADO Y CONTROLADO)
   ========================================================================== */
..contact-hero {
  min-height: 550px;
  padding: 80px 20px;
  background: 
    linear-gradient(90deg, rgba(255,250,243,0.95) 0%, rgba(255,250,243,0.85) 50%, rgba(255,250,243,0.3) 100%),
    url("https://newskin.com.co/wp-content/uploads/2026/07/ChatGPT-Image-13-jul-2026-04_46_25-p.m.-2.png") center / cover no-repeat;
  text-align: center;
}

/* Centramos los textos */
.contact-hero > div {
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Evitamos que el formulario se estire por toda la pantalla */
.info-form {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(68,38,29,0.08);
}
  /* MAGIA DEL DISEÑO: Esto centra el contenido y evita que se estire al infinito */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px; /* Este es el tope máximo de ancho */
  margin: 0 auto; /* Lo centra en la pantalla */
  gap: 40px;
}

/* Controlamos la caja del texto */
.contact-hero > div {
  flex: 1;
  min-width: 320px;
}

/* Controlamos el formulario y le damos estilo de tarjeta */
.info-form {
  flex: 1;
  max-width: 500px;
  min-width: 320px;
  background: #ffffff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(68,38,29,0.08);
}

/* Ajustes para celulares (Todo se apila al centro) */
@media (max-width: 860px) {
  .contact-hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
.contact-hero > * { max-width: none; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: stretch; justify-content: center; }
  .navbar { flex-wrap: wrap; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border-top: 1px solid #f2e8df;
    overflow: hidden;
  }
  .nav-links.open { display: flex; animation: mobileMenuOpen 0.28s ease both; }
  .nav-links a { border-left: 0; border-bottom: 1px solid #f2e8df; }
  .split, .split.about-block, .map-card, .contact-hero, .certifications { grid-template-columns: 1fr; }
  .cards.three, .cards.six, .schedule-grid, .module-list, .gallery-grid, .program-grid, .footer-inner { grid-template-columns: 1fr 1fr; }
}

@keyframes mobileMenuOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .top-strip, .social-links { display: none; }
  .brand-main { font-size: 34px; }
  .hero, .hero-slider, .hero-slide { min-height: 620px; }
  .hero { background-position: 62% center; }
  .section, .lead-section, .map-section { padding: 60px 16px; }
  .cards.three, .cards.six, .schedule-grid, .module-list, .gallery-grid, .program-grid, .footer-inner, .cert-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 220px; }
  .gallery-modal-panel { min-height: 420px; }
  .gallery-nav.prev { left: 8px; }
  .gallery-nav.next { right: 8px; }
  .gallery-close { right: 8px; top: 8px; }
  .certifications { padding: 46px 16px; }
  .page-hero, .detail-hero, .contact-hero { padding: 74px 16px; }
}
/* Corrección de alineación para la caja de datos del programa */
.program-facts div span {
  text-align: right;
  line-height: 1.4;
  max-width: 65%;
}

/* ==========================================================================
   DISEÑO DE MALLA CURRICULAR (TARJETAS HORIZONTALES)
   ========================================================================== */
.curriculum-grid {
  display: grid;
  /* Crea columnas automáticas que se adaptan al tamaño de la pantalla */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 42px;
  text-align: left;
}

.curriculum-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(68, 38, 29, 0.08);
  overflow: hidden;
}

.curriculum-header {
  background: var(--brown);
  color: var(--white);
  padding: 24px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
}

.curriculum-header span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--gold-soft);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.curriculum-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.curriculum-list li {
  padding: 16px 20px;
  border-bottom: 1px solid #f2e8df;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.curriculum-list li:last-child {
  border-bottom: none;
}

/* El chulito (check) automático para cada ítem */
.curriculum-list li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 12px;
  font-weight: bold;
}
/* ==========================================================================
   BOTONES FLOTANTES (WHATSAPP Y SCROLL)
   ========================================================================== */
.floating-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 99; /* Para que siempre estén por encima de todo */
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.18);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.float-btn:hover { transform: scale(1.12); color: white; }

/* Botón WhatsApp */
.whatsapp-btn { background: #25D366; }
.whatsapp-btn svg { width: 32px; height: 32px; }

/* Botón Subir */
.scroll-top {
  background: var(--gold);
  font-size: 24px;
  font-weight: bold;
  opacity: 0;           /* Oculto por defecto */
  visibility: hidden;
  pointer-events: none; /* Evita que estorbe cuando está oculto */
  transform: translateY(20px);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* ==========================================================================
   TAMAÑO DEL LOGO (CSS LIMPIO)
   ========================================================================== */
/* Logo del Menú Superior */
.site-header .brand img {
  width: 180px; 
  height: auto;
  object-fit: contain;
  display: block;
}

/* Logo del Pie de Página (Footer) */
.site-footer .brand img {
  width: 200px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Tamaño ajustado para celulares */
@media (max-width: 640px) {
  .site-header .brand img {
    width: 140px;
    height: auto;
  }
}

/* ==========================================================================
   CORRECCIÓN DEL HERO PARA CELULARES (TEXTO ABAJO)
   ========================================================================== */
@media (max-width: 640px) {
  .hero, .hero-slider, .hero-slide {
    min-height: 700px !important; 
  }
  
  .hero {
    /* Encuadramos a la chica arriba a la derecha para evitar el zoom masivo borroso */
    background-position: 80% 10% !important; 
  }

  .hero-slide {
    /* ¡La magia! Esto empuja la caja de texto hacia la parte de abajo de la pantalla */
    align-items: flex-end !important;
    padding-bottom: 30px !important;
  }
  
  .hero-copy {
    background: rgba(255, 250, 243, 0.95); /* Color casi sólido para máxima lectura */
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(68,38,29,0.1);
    width: 100%;
  }
}


}