/* Global box-sizing to avoid input overflow */
*, *::before, *::after { box-sizing: border-box; }

/* style.css */



/* ================================
   Variables y sistema base
   ================================ */
:root {
  /* Colores de marca */
  --brand-1: #FE5B90;
  --brand-2: #073544;
  --brand-3: #FFF4ED;
  --brand-4: #FFFFFF;
  --brand-5: #000000;

  /* Tipografía */
  --font-family-base: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Escala tipográfica (mobile-first) */
  --font-size-base: 1rem; /* 16px */
  --scale-step: 1.25;

  --radius: 12px;
  --transition: 0.25s ease-in-out;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --max-width: 1200px;
}

/* Tipografía fluida mínima: se usan rems y se ajustan en media queries */
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: 1.5;
  background-color: var(--brand-4);
  color: var(--brand-2);
}

/* Utility */
.container {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 var(--space-md);
  margin: 0 auto;
}

/* Visually hidden (accesibilidad) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}



/* ================================
   Floating WhatsApp
   ================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: var(--brand-4);
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 28px var(--brand-2);
  z-index: 1100;
  transition: transform var(--transition);
}

.whatsapp-icon{
    width: 35px;
    height: 35px;
    margin-top: 5px;
    margin-left: 2px;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  background-color:#25d366;
  box-shadow: 0 12px 28px #25d366;
}

.whatsapp-inner svg {
  display: block;
}



/* ================================
   Header
   ================================ */
.site-header {
  position: sticky; /* requerido: debe verse en todo momento */
  top: 0;
  z-index: 1000;
  background: var(--brand-2);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content:space-between;
  gap: var(--space-md);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-lg);
  padding: 0;
  margin: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-4);
  position: relative;
  padding: 4px 2px;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--brand-1);
}



/* ================================
   WhatsApp Botton header
   ================================ */
.whatsapp-header {
  display: inline-flex;              /* compacto, no estira como space-between */
  align-items: center;              /* centra verticalmente texto e ícono */
  gap: 0.75rem;                     /* separación controlada */
  background-color: var(--brand-4);        /* fondo blanco como en diseño */
  border-radius: 12px;
  padding: 0.50rem 1.25rem;         /* alto cómodo y espacio lateral */
  text-decoration: none;
  font-weight: 800;                 /* ExtraBold / Black */
  font-size: 1rem;                 /* tamaño legible (equivale a ~16px) */
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brand-2);
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-header:hover,
.whatsapp-header:focus-visible {
  background-color:#25d366;
  box-shadow: 0 1px 10px #25d366;
}



/* ================================
   Hero
   ================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh; /* 👈 Asegura que tenga altura completa */
  padding: var(--space-xl) 0;
  background-image: url('img//Background/Nevado_del_Tolima.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 5rem); /* aproximación a H0 grande */
  font-weight: 900; /* Black */
  max-width: 800px;
  margin: 0 0 var(--space-sm);
  line-height: 1.1;
  margin-top: 10px;
  margin-bottom: 25px;
  color: var(--brand-4);
}

.eyebrow {
  font-size: 1.50rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--brand-4);
}

.hero-subtitle {
  font-size: 1rem;
  margin: 0 0 var(--space-md);
  max-width: 800px;
  color: var(--brand-4);
}

.btn-primary {
  display: inline-flex; 
  align-items: center;  
  gap: 0.75rem;
  margin-top: 20px;
  background-color: var(--brand-4);
  border-radius: 12px;
  padding: 1.25rem 1.25rem;
  text-decoration: none;
  font-weight: 800;                
  font-size: 1rem;              
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brand-2);
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary:hover {
  background-color: var(--brand-1);
  color: var(--brand-2);
}



/* ================================
   ¿Por qué elegir Miverne?
   ================================ */
.why-us {
  background: var(--brand-4);
  padding: var(--space-xl) 0;
  margin-top: 100px;
  margin-bottom: 150px;
}

.why-us .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow-why-us {
  font-size: 1.50rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--brand-2);
}

.why-us-title {
  font-size: 3rem;
  font-weight: 900; /* Black */
  max-width: 1000px;
  margin: 0 0 var(--space-sm);
  line-height: 1.1;
  margin-top: 10px;
  margin-bottom: 25px;
  color: var(--brand-1);
}

.features-grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.feature {
  margin-top: 50px;
}

.feature h4 {
  margin-top: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.feature p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}



/* ================================
   Personas / Cards
   ================================ */
.personas {
  padding: var(--space-xl) 0;
  margin-top: 100px;
  margin-bottom: 150px;
}

.personas .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow-fragancias {
  font-size: 1.50rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--brand-1)
}

.fragancias-title {
  font-size: 3rem;
  font-weight: 900; /* Black */
  max-width: 1200px;
  margin: 0 0 var(--space-sm);
  line-height: 1.1;
  margin-top: 10px;
  margin-bottom: 25px;
  color: var(--brand-2);
}

.persona-group {
  margin-top: 100px;
}

.persona-header-hombre h4 {
  font-size: 2.75rem; /* H3 */
  font-weight: 700;
  margin: 0;
  color: var(--brand-2);
}

.persona-header-hombre p {
  margin: 4px 0 var(--space-md);
  font-size: 0.95rem;
  color: var(--brand-2);
}

.persona-header-mujer h4 {
  font-size: 2.75rem; /* H3 */
  font-weight: 700;
  margin: 0;
  color: var(--brand-1);
}

.persona-header-mujer p {
  margin: 4px 0 var(--space-md);
  font-size: 0.95rem;
  color: var(--brand-2);
}



/* Botones de navegación */
.btn-carrusel {
  background: var(--brand-4);
  color: var(--brand-2);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: background 0.3s ease;
}

.btn-carrusel:hover {
  transform: scale(110%);
}

.carrousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem var(--space-md);
  overflow: hidden;
}

.contenido-carrousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 100%);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  gap: 1.05rem;
  padding: 1rem 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.contenido-carrousel::-webkit-scrollbar {
  display: none;
}

.card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 250px;
  scroll-snap-align: start;
}

/* Colores según género */
.card.hombre {
  background: var(--brand-2);
}

.card.mujer {
  background: var(--brand-1);
}

.card-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 25px;
  padding: 20px;
}

.card-content-hombre {
  background: var(--brand-2); /* azul oscuro solo en la parte baja */
  padding: 1rem;
  text-align: center;
}

.card-content-mujer {
  background: var(--brand-1); /* azul oscuro solo en la parte baja */
  padding: 1rem;
  text-align: center;
}

.card-content-mujer h5 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-4);
}

.card-content-mujer p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--brand-4);
}

.card-content-hombre h5 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-4);
}

.card-content-hombre p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--brand-4);
}



/* ================================
   Contacto
   ================================ */
.contact {
  padding: var(--space-xl) 0;
  background: var(--brand-1);
  margin-top: 100px;
  margin-bottom: 0px;
}

.contact-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

.contact-data dt {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-data dd {
  margin: 0 0 var(--space-sm) 0;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info {
  background: var(--brand-1);
  padding: var(--space-lg);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg); /* aumenta separación entre bloques */
  color: var(--brand-4);
  line-height: 1.6; /* mejora la legibilidad en párrafos */
}

.contact-info p {
  margin: 0;
  font-size: 1rem;
  line-height: 1; /* mejora el espaciado entre líneas */
}

.contact-info h3 {
  margin: 0 0 4px;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: var(--space-sm); /* separa los bloques */
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-form {
  width: 100%;
  box-sizing: border-box;
  background: var(--brand-4);
  padding: var(--space-lg);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-md);
}

.form-group label {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-family-base);
  resize: vertical;

  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: block;
}

.form-group textarea {
  min-height: 120px;
}

.form-actions {
  margin-top: var(--space-sm);
}

.btn {
  cursor: pointer;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-family: var(--font-family-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

/* Variantes de botón */
.btn.secondary {
  background: var(--brand-2);
  color: var(--brand-4);
}

.btn.secondary:hover {
  background-color: var(--brand-1);
  color: var(--brand-2);
}



/* ================================
   Redes Sociales
   ================================ */
.redes-sociales {
  text-align: center;
  padding: var(--space-xl) 0;
}

.redes-sociales h1 {
  font-size: 3rem;
  font-weight: 1000;
  color: var(--brand-2);
  margin-bottom: var(--space-md);
}

.redes-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
}

.redes-icons a:hover img {
  transform: scale(1.1);
}



/* ================================
   Footer
   ================================ */
.site-footer {
  background: var(--brand-2);
  color: var(--brand-4);
  padding: var(--space-xl) 0 var(--space-md);
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-sm);
  font-size: 0.75rem;
}

.logo-footer {
  margin-top: 100px;
}

/* ================================
   Responsive / Breakpoints
   ================================ */
/* Mobile-first: por defecto ya aplica para 320px en adelante */

@media (max-width: 640px) {
  .contenido-carrousel {
    grid-auto-columns: 100%;
  }

  .card {
    width: 100%;
  }
}


/* Tablet y pantallas medianas (>=640px) */
@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contenido-carrousel {
    grid-auto-columns: minmax(250px, 50%);
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }
  .hero-image {
    flex: 1;
  }
  .hero-content {
    flex: 1;
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop (>=1024px) */
@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contenido-carrousel {
    grid-auto-columns: minmax(250px, 33.33%);
  }
  .hero-title {
    font-size: 4rem;
  }
  .section-title {
    font-size: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    align-items: start;
  }

  .persona-header-hombre h4,
  .persona-header-mujer h4 {
  font-size: 2.75rem;
  }

  .contact-form {
  width: 100%;
  box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }
  
}

/* Grande (>=1440px) */
@media (min-width: 1440px) {
  :root {
    --font-size-base: 1.0625rem; /* Slightly larger on very wide */
  }
  .hero-title {
    font-size: 5rem;
  }
}


.btn-carrusel:focus-visible {
  outline: 3px solid var(--brand-1);
  outline-offset: 4px;
}





/* ================================
   Notas / Supuestos
   ================================
   - Espaciados y jerarquía visual se aproximaron porque no se extrajo medida exacta del PDF. Ajustar con el diseño final si se requiere pixel-perfect.
   - La fuente DM Sans se carga desde Google Fonts para acelerar, pero en producción se recomienda self-hosting para performance y privacidad.
   - El botón de WhatsApp es fijo y visible siempre; el header es sticky para cumplir el requerimiento de visibilidad continua.
   - Tamaños de tipografía usan clamp y rem para escalabilidad y accesibilidad.
   - Se asumió que el catálogo es un PDF descargable vinculado en botones; reemplazar href por archivo real.
*/


/* AJUSTE RESPONSIVE LOGOS */
.logo img,
.logo-footer img {
  max-width: 100%;
  height: auto;
}

/* AJUSTE RESPONSIVE MENU */
.menu-toggle {
  display: none;
  background: var(--brand-4);
  border: none;
  font-size: 2rem;
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--brand-2);
    flex-direction: column;
    width: 200px;
    padding: 1rem;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav a {
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
    color: var(--brand-2);
  }
}

/* AJUSTE RESPONSIVE WHATSAPP FLOAT */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 0.75rem;
    right: 0.75rem;
  }
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}


/* AJUSTE RESPONSIVE TEXTOS Y FORMULARIO */

/* Escala fluida de títulos */
h1, .hero-title, .why-us-title, .fragancias-title {
  font-size: clamp(1.5rem, 5vw, 3rem);
  word-break: break-word;
}

h2, .eyebrow, .eyebrow-why-us, .eyebrow-fragancias {
  font-size: clamp(1.25rem, 4vw, 2rem);
  word-break: break-word;
}

h3 {
  font-size: clamp(1.2rem, 3.5vw, 1.75rem);
}

/* Párrafos y textos generales */
p, .hero-subtitle, .feature p, .persona-header-hombre p, .persona-header-mujer p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Formularios */
.contact-form {
  width: 100%;
  box-sizing: border-box;
  padding: var(--space-md);
}

.form-group input,
.form-group textarea {
  font-size: 1rem;
  width: 100%;

  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: block;
}

.form-group label {
  font-size: 0.9rem;
}

.btn {
  font-size: 1rem;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 480px) {
  .contact-info h3 {
    font-size: 1.5rem;
  }
  .contact-info p {
    font-size: 0.9rem;
  }
  .form-group input,
  .form-group textarea {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: block;
}
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .why-us, .personas, .contact {
    margin-top: 50px;
    margin-bottom: 50px;
    padding: var(--space-lg) 0;
  }
}


/* Siempre, en todos los tamaños */
.contact-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: flex-start;
}

.contact-form {
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

/* Solo en móvil */
@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 0 var(--space-md);
  }

  .contact-info,
  .contact-form {
  width: 100%;
  box-sizing: border-box;
    padding: var(--space-md);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: var(--brand-4);
  }

  .contact-info {
    background: var(--brand-1);
    color: var(--brand-4);
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: var(--space-sm);
  }
}

