/* ===================================================================
   INDEX.CSS — HERBOSALUD — Homepage
   Mobile-First • 100dvh Hero • Responsive Completo
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900&family=Poppins:wght@300;400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

/* ===== RESET ===== */
*,
*::before,
*::after {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   -webkit-text-size-adjust: 100%;
}

body {
   font-family: 'Lato', sans-serif;
   font-size: 16px;
   line-height: 1.6;
   color: #333;
   background: #fff;
   overflow-x: hidden;
}

img {
   max-width: 100%;
   height: auto;
   display: block;
}

/* ===== VARIABLES ===== */
:root {
   --herbosalud-primary: #0ead63;
   --herbosalud-primary-dark: #0a8f52;
   --herbosalud-primary-light: #12c972;
   --herbosalud-text: #000000;
   --herbosalud-text-secondary: #474646;
   --herbosalud-text-light: #555555;
   --herbosalud-background: #ffffff;
   --herbosalud-light: #f8f9fa;
   --herbosalud-border: #e0e0e0;
   --herbosalud-accent: #e8f5e9;
   --herbosalud-whatsapp: #25D366;

   --font-primary: 'Lato', sans-serif;
   --font-secondary: 'Poppins', sans-serif;
   --font-accent: 'Quicksand', sans-serif;

   --transition: 0.4s ease;
   --transition-fast: 0.25s ease;
   --border-radius: 12px;
   --shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
   --shadow-hover: 0 12px 32px rgba(14, 173, 99, 0.15);

   --section-padding: 3rem 1rem;
   --container-max: 1200px;
   --navbar-height: 65px;
}


/* =====================================================================
   HERO SLIDER — 100dvh, MOBILE FIRST
   ===================================================================== */

.hero-slider-section {
   position: relative;
   width: 100%;
   height: 100vh;
   height: 100dvh;
   overflow: hidden;
   background: #111;
   /* Compensar navbar fijo */
   margin-top: 0;
}

.hero-slider-container {
   position: relative;
   width: 100%;
   height: 100%;
}

.hero-slider-wrapper {
   position: relative;
   width: 100%;
   height: 100%;
   touch-action: pan-y pinch-zoom;
}

/* ── Slides ── */
.hero-slide {
   position: absolute;
   inset: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   background-size: cover !important;
   background-position: center !important;
   background-repeat: no-repeat !important;
   opacity: 0;
   visibility: hidden;
   z-index: 1;
   will-change: transform, opacity;
}

.hero-slide.active {
   opacity: 1;
   visibility: visible;
   z-index: 2;
}

/* ── Transiciones de slide ── */
.hero-slide.incoming {
   opacity: 1;
   visibility: visible;
   z-index: 3;
   animation-duration: 0.7s;
   animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
   animation-fill-mode: forwards;
}

.hero-slide.incoming.from-right {
   animation-name: slideInFromRight;
}

.hero-slide.incoming.from-left {
   animation-name: slideInFromLeft;
}

.hero-slide.outgoing {
   z-index: 2;
   animation-duration: 0.7s;
   animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
   animation-fill-mode: forwards;
}

.hero-slide.outgoing.to-left {
   animation-name: slideOutToLeft;
}

.hero-slide.outgoing.to-right {
   animation-name: slideOutToRight;
}

@keyframes slideInFromRight {
   from {
      transform: translateX(100%);
      opacity: 0.5;
   }

   to {
      transform: translateX(0);
      opacity: 1;
   }
}

@keyframes slideInFromLeft {
   from {
      transform: translateX(-100%);
      opacity: 0.5;
   }

   to {
      transform: translateX(0);
      opacity: 1;
   }
}

@keyframes slideOutToLeft {
   from {
      transform: translateX(0);
      opacity: 1;
   }

   to {
      transform: translateX(-30%);
      opacity: 0;
   }
}

@keyframes slideOutToRight {
   from {
      transform: translateX(0);
      opacity: 1;
   }

   to {
      transform: translateX(30%);
      opacity: 0;
   }
}

/* ── Contenido del slide ── */
.hero-slide-content {
   text-align: center;
   max-width: 90%;
   padding: calc(var(--navbar-height) + 1.5rem) 1rem 5rem;
   z-index: 3;
}

.hero-slide-badge {
   display: inline-block;
   font-family: var(--font-accent);
   font-size: 0.7rem;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 3px;
   color: var(--herbosalud-primary-light);
   background: rgba(14, 173, 99, 0.15);
   border: 1px solid rgba(14, 173, 99, 0.3);
   padding: 0.35rem 1rem;
   border-radius: 50px;
   margin-bottom: 0.75rem;
}

.hero-slide-subtitle {
   font-family: var(--font-secondary);
   font-size: 1.2rem;
   font-weight: 600;
   color: #ffffff;
   text-transform: uppercase;
   letter-spacing: 2px;
   margin-bottom: 0.5rem;
   text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-slide-title {
   font-family: var(--font-primary);
   font-size: 2rem;
   font-weight: 900;
   color: #ffffff;
   line-height: 1.1;
   margin-bottom: 1rem;
   text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-divider {
   width: 60px;
   height: 3px;
   background: var(--herbosalud-primary);
   margin: 1rem auto;
   border-radius: 2px;
}

.hero-cta-container {
   margin-top: 1rem;
}

.hero-cta-btn {
   display: inline-flex;
   align-items: center;
   gap: 0.75rem;
   padding: 0.9rem 1.75rem;
   background: var(--herbosalud-primary);
   color: white;
   font-family: var(--font-primary);
   font-size: 0.9rem;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   border-radius: 50px;
   text-decoration: none;
   transition: all var(--transition);
   border: 2px solid transparent;
   box-shadow: 0 4px 16px rgba(14, 173, 99, 0.3);
   -webkit-tap-highlight-color: transparent;
}

.hero-cta-btn:hover {
   background: white;
   color: var(--herbosalud-primary);
   border-color: var(--herbosalud-primary);
   transform: translateY(-3px);
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-cta-btn i {
   font-size: 0.85rem;
   transition: transform 0.3s ease;
}

.hero-cta-btn:hover i {
   transform: translateX(4px);
}

/* ── Flechas de navegación ── */
.hero-arrow {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   z-index: 10;
   width: 40px;
   height: 40px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.15);
   backdrop-filter: blur(8px);
   -webkit-backdrop-filter: blur(8px);
   border: 1px solid rgba(255, 255, 255, 0.25);
   color: white;
   font-size: 0.85rem;
   cursor: pointer;
   transition: all var(--transition);
   display: flex;
   align-items: center;
   justify-content: center;
   -webkit-tap-highlight-color: transparent;
}

.hero-arrow:hover {
   background: var(--herbosalud-primary);
   border-color: var(--herbosalud-primary);
   transform: translateY(-50%) scale(1.1);
}

.hero-arrow-prev {
   left: 0.75rem;
}

.hero-arrow-next {
   right: 0.75rem;
}

/* ── Navegación dots ── */
.hero-slider-nav {
   position: absolute;
   bottom: 1.25rem;
   left: 0;
   right: 0;
   z-index: 10;
   padding: 0 1rem;
}

.hero-nav-controls {
   display: flex;
   justify-content: center;
   gap: 0.5rem;
   max-width: var(--container-max);
   margin: 0 auto;
   flex-wrap: wrap;
}

.hero-nav-dot {
   display: flex;
   align-items: center;
   gap: 0.4rem;
   cursor: pointer;
   opacity: 0.6;
   transition: opacity var(--transition-fast);
   padding: 0.35rem 0;
   -webkit-tap-highlight-color: transparent;
   min-height: 44px;
}

.hero-nav-dot:hover,
.hero-nav-dot.active {
   opacity: 1;
}

.hero-progress-indicator {
   width: 28px;
   height: 3px;
   background: rgba(255, 255, 255, 0.3);
   border-radius: 2px;
   overflow: hidden;
   position: relative;
   flex-shrink: 0;
}

.hero-progress-bar {
   position: absolute;
   left: 0;
   top: 0;
   height: 100%;
   width: 0;
   background: var(--herbosalud-primary);
   border-radius: 2px;
}

@keyframes heroProgressFill {
   from {
      width: 0;
   }

   to {
      width: 100%;
   }
}

.hero-nav-number {
   font-size: 0.65rem;
   font-weight: 700;
   color: rgba(255, 255, 255, 0.8);
   text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
   display: none;
}

.hero-nav-label {
   font-size: 0.6rem;
   font-weight: 600;
   color: white;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
   display: none;
}


/* =====================================================================
   SECCIÓN PILARES
   ===================================================================== */

.section-pilares {
   padding: var(--section-padding);
   background: var(--herbosalud-background);
   opacity: 0;
   transform: translateY(30px);
   transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-pilares.visible {
   opacity: 1;
   transform: translateY(0);
}

.pilares-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 2rem;
   max-width: var(--container-max);
   margin: 0 auto;
   align-items: center;
}

.pilares-img {
   border-radius: var(--border-radius);
   overflow: hidden;
   box-shadow: var(--shadow);
}

.pilares-img img {
   width: 100%;
   height: 250px;
   object-fit: cover;
}

.pilares-title {
   font-family: var(--font-secondary);
   color: var(--herbosalud-text-secondary);
   font-size: 1.5rem;
   font-weight: 700;
   line-height: 1.25;
   margin-bottom: 1.5rem;
   text-align: center;
}

.pilares-cards {
   display: grid;
   grid-template-columns: 1fr;
   gap: 0.75rem;
}

.pilar-card {
   background: var(--herbosalud-primary);
   padding: 1rem 1.25rem;
   border-radius: 8px;
   display: flex;
   align-items: center;
   gap: 0.75rem;
   transition: transform var(--transition), box-shadow var(--transition);
}

.pilar-card:hover {
   transform: translateY(-3px);
   box-shadow: var(--shadow-hover);
}

.pilar-icon {
   color: white;
   font-size: 1.25rem;
   flex-shrink: 0;
   width: 24px;
   text-align: center;
}

.pilar-card p {
   color: white;
   font-weight: 600;
   font-size: 0.875rem;
   line-height: 1.4;
}


/* =====================================================================
   SECCIÓN ATRIBUTOS
   ===================================================================== */

.section-atributos {
   padding: var(--section-padding);
   background: var(--herbosalud-light);
   opacity: 0;
   transform: translateY(30px);
   transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.section-atributos.visible {
   opacity: 1;
   transform: translateY(0);
}

.atributos-title {
   font-family: var(--font-secondary);
   color: var(--herbosalud-text-secondary);
   font-size: 1.5rem;
   font-weight: 700;
   text-align: center;
   margin-bottom: 2rem;
}

.atributos-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 1.5rem;
   max-width: var(--container-max);
   margin: 0 auto;
}

.atributo-card {
   border-radius: var(--border-radius);
   overflow: hidden;
   box-shadow: var(--shadow);
   transition: transform var(--transition), box-shadow var(--transition);
   display: flex;
   flex-direction: column;
   background: white;
}

.atributo-card:hover {
   transform: translateY(-6px);
   box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.atributo-img-wrapper {
   overflow: hidden;
}

.atributo-img-wrapper img {
   width: 100%;
   height: 200px;
   object-fit: cover;
   transition: transform 0.5s ease;
}

.atributo-card:hover .atributo-img-wrapper img {
   transform: scale(1.05);
}

.atributo-content {
   padding: 1.25rem;
   flex-grow: 1;
   background: var(--herbosalud-primary);
}

.atributo-content h3 {
   color: white;
   font-family: var(--font-secondary);
   font-size: 1.2rem;
   font-weight: 700;
   margin-bottom: 0.5rem;
   line-height: 1.2;
}

.atributo-content p {
   color: rgba(255, 255, 255, 0.92);
   font-size: 0.875rem;
   line-height: 1.55;
}


/* =====================================================================
   SECCIÓN NEWSLETTER
   ===================================================================== */

.section-newsletter {
   padding: 2rem 1rem;
   opacity: 0;
   transform: translateY(30px);
   transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.section-newsletter.visible {
   opacity: 1;
   transform: translateY(0);
}

.newsletter-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 1.5rem;
   max-width: var(--container-max);
   margin: 0 auto;
   background: var(--herbosalud-primary);
   border-radius: var(--border-radius);
   padding: 1.5rem;
   align-items: center;
}

.newsletter-img img {
   width: 100%;
   height: 200px;
   object-fit: cover;
   border-radius: 8px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-info h2 {
   color: white;
   font-family: var(--font-secondary);
   font-size: 1.3rem;
   line-height: 1.25;
   margin-bottom: 1rem;
   font-weight: 700;
}

.newsletter-features {
   display: grid;
   grid-template-columns: 1fr;
   gap: 0.25rem;
}

.newsletter-feature-col ul {
   list-style: none;
}

.newsletter-feature-col li {
   color: white;
   font-size: 0.95rem;
   padding: 0.35rem 0;
   display: flex;
   align-items: center;
   gap: 0.6rem;
}

.newsletter-feature-col i {
   color: white;
   font-size: 0.35rem;
   flex-shrink: 0;
}

.newsletter-form-wrapper {
   background: white;
   padding: 1.5rem;
   border-radius: var(--border-radius);
   box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-form-wrapper p {
   color: var(--herbosalud-text-secondary);
   font-size: 1rem;
   font-weight: 600;
   margin-bottom: 1rem;
   line-height: 1.35;
}

.newsletter-form {
   display: flex;
   flex-direction: column;
   gap: 0.75rem;
}

.newsletter-form input {
   padding: 0.85rem 1rem;
   border: 2px solid var(--herbosalud-border);
   border-radius: 8px;
   font-size: 1rem;
   /* 16px — evita zoom en iOS */
   font-family: var(--font-primary);
   transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
   -webkit-appearance: none;
   appearance: none;
}

.newsletter-form input:focus {
   outline: none;
   border-color: var(--herbosalud-primary);
   box-shadow: 0 0 0 3px rgba(14, 173, 99, 0.15);
}

.newsletter-form button {
   padding: 0.85rem 1.5rem;
   background: var(--herbosalud-primary);
   color: white;
   border: 2px solid transparent;
   border-radius: 8px;
   font-weight: 700;
   font-size: 0.95rem;
   font-family: var(--font-primary);
   text-transform: uppercase;
   letter-spacing: 0.5px;
   cursor: pointer;
   transition: all var(--transition);
   min-height: 44px;
   -webkit-tap-highlight-color: transparent;
}

.newsletter-form button:hover {
   background: var(--herbosalud-text-secondary);
   transform: translateY(-2px);
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.privacy-link {
   display: block;
   color: var(--herbosalud-text-light);
   text-align: center;
   margin-top: 1rem;
   font-size: 0.8rem;
   text-decoration: underline;
   text-underline-offset: 2px;
   transition: color var(--transition-fast);
}

.privacy-link:hover {
   color: var(--herbosalud-primary);
}


/* =====================================================================
   BREAKPOINTS — MOBILE FIRST
   ===================================================================== */

/* ── 480px+ ── */
@media (min-width: 480px) {
   :root {
      --section-padding: 3.5rem 1.5rem;
      --navbar-height: 68px;
   }

   .hero-slide-title {
      font-size: 2.5rem;
   }

   .hero-slide-subtitle {
      font-size: 1.3rem;
   }

   .hero-divider {
      width: 80px;
   }

   .hero-nav-number {
      display: inline;
   }

   .hero-progress-indicator {
      width: 40px;
   }

   .hero-nav-controls {
      gap: 0.75rem;
   }

   .pilares-img img {
      height: 300px;
   }

   .pilares-cards {
      grid-template-columns: 1fr 1fr;
   }

   .atributo-img-wrapper img {
      height: 220px;
   }

   .newsletter-features {
      grid-template-columns: 1fr 1fr;
   }
}

/* ── 768px+ ── */
@media (min-width: 768px) {
   :root {
      --section-padding: 4rem 2rem;
      --navbar-height: 72px;
   }

   .hero-slide-content {
      max-width: 80%;
   }

   .hero-slide-title {
      font-size: 3rem;
   }

   .hero-slide-subtitle {
      font-size: 1.5rem;
      letter-spacing: 3px;
   }

   .hero-slide-badge {
      font-size: 0.75rem;
   }

   .hero-divider {
      width: 100px;
      margin: 1.5rem auto;
   }

   .hero-cta-btn {
      padding: 1rem 2.25rem;
      font-size: 1rem;
   }

   .hero-arrow {
      width: 48px;
      height: 48px;
      font-size: 1rem;
   }

   .hero-arrow-prev {
      left: 1.5rem;
   }

   .hero-arrow-next {
      right: 1.5rem;
   }

   .hero-slider-nav {
      bottom: 2rem;
   }

   .hero-nav-label {
      display: inline;
   }

   .hero-nav-number {
      font-size: 0.75rem;
   }

   .hero-nav-label {
      font-size: 0.7rem;
   }

   .hero-progress-indicator {
      width: 55px;
   }

   .hero-nav-controls {
      gap: 1rem;
   }

   /* Pilares */
   .pilares-grid {
      grid-template-columns: 1fr 1fr;
      gap: 2.5rem;
   }

   .pilares-img img {
      height: 100%;
      min-height: 350px;
   }

   .pilares-title {
      font-size: 1.75rem;
      text-align: left;
   }

   /* Atributos */
   .atributos-grid {
      grid-template-columns: 1fr 1fr;
   }

   .atributos-title {
      font-size: 1.85rem;
   }

   /* Newsletter */
   .newsletter-grid {
      grid-template-columns: 1fr 1fr;
      padding: 2rem;
      gap: 2rem;
   }

   .newsletter-form-wrapper {
      grid-column: 1 / -1;
   }

   .newsletter-info h2 {
      font-size: 1.5rem;
   }
}

/* ── 1024px+ ── */
@media (min-width: 1024px) {
   :root {
      --section-padding: 5rem 2rem;
      --navbar-height: 76px;
   }

   .hero-slide-content {
      max-width: 900px;
      padding: calc(var(--navbar-height) + 2rem) 2rem 6rem;
   }

   .hero-slide-title {
      font-size: 3.8rem;
   }

   .hero-slide-subtitle {
      font-size: 1.7rem;
      letter-spacing: 4px;
   }

   .hero-slide-badge {
      font-size: 0.8rem;
      margin-bottom: 1rem;
   }

   .hero-divider {
      width: 120px;
      margin: 2rem auto;
   }

   .hero-cta-btn {
      padding: 1.15rem 2.5rem;
      font-size: 1.05rem;
   }

   .hero-arrow {
      width: 52px;
      height: 52px;
      font-size: 1.1rem;
   }

   .hero-arrow-prev {
      left: 2rem;
   }

   .hero-arrow-next {
      right: 2rem;
   }

   .hero-slider-nav {
      bottom: 2.5rem;
      padding: 0 2rem;
   }

   .hero-nav-controls {
      gap: 1.5rem;
   }

   .hero-nav-dot {
      flex-direction: column;
      align-items: center;
      min-width: 100px;
   }

   .hero-progress-indicator {
      width: 80px;
      height: 3px;
      margin-bottom: 6px;
   }

   .hero-nav-number {
      font-size: 0.8rem;
      margin-bottom: 3px;
   }

   .hero-nav-label {
      font-size: 0.75rem;
      letter-spacing: 1px;
   }

   /* Pilares */
   .pilares-grid {
      gap: 3rem;
   }

   .pilares-title {
      font-size: 2rem;
   }

   .pilar-card {
      padding: 1.25rem 1.5rem;
   }

   .pilar-card p {
      font-size: 0.95rem;
   }

   /* Atributos */
   .atributos-grid {
      grid-template-columns: repeat(3, 1fr);
   }

   .atributos-title {
      font-size: 2.2rem;
      margin-bottom: 2.5rem;
   }

   .atributo-img-wrapper img {
      height: 240px;
   }

   .atributo-content {
      padding: 1.5rem;
   }

   .atributo-content h3 {
      font-size: 1.4rem;
   }

   .atributo-content p {
      font-size: 0.925rem;
   }

   /* Newsletter */
   .newsletter-grid {
      grid-template-columns: 1fr 1.2fr 1fr;
      padding: 2.5rem;
      gap: 2rem;
   }

   .newsletter-form-wrapper {
      grid-column: auto;
   }

   .newsletter-img img {
      height: 260px;
   }

   .newsletter-info h2 {
      font-size: 1.6rem;
   }
}

/* ── 1200px+ ── */
@media (min-width: 1200px) {
   .hero-slide-title {
      font-size: 4.2rem;
   }

   .hero-slide-subtitle {
      font-size: 1.8rem;
   }

   .hero-nav-controls {
      gap: 2rem;
   }

   .hero-nav-dot {
      min-width: 120px;
   }

   .hero-progress-indicator {
      width: 100px;
   }

   .hero-nav-number {
      font-size: 0.85rem;
   }

   .hero-nav-label {
      font-size: 0.8rem;
   }

   .pilares-title {
      font-size: 2.3rem;
   }

   .atributos-title {
      font-size: 2.4rem;
   }

   .newsletter-grid {
      padding: 3rem;
   }

   .newsletter-info h2 {
      font-size: 1.8rem;
   }
}

/* ── 1400px+ ── */
@media (min-width: 1400px) {
   .hero-slide-title {
      font-size: 4.5rem;
   }

   .hero-nav-dot {
      min-width: 140px;
   }

   .hero-progress-indicator {
      width: 120px;
   }

   .pilares-title {
      font-size: 2.5rem;
   }

   .pilares-img img {
      min-height: 450px;
   }

   .atributo-img-wrapper img {
      height: 260px;
   }

   .atributo-content h3 {
      font-size: 1.6rem;
   }
}


/* =====================================================================
   AJUSTES MAX-WIDTH PARA VIEWPORTS PEQUEÑOS
   ===================================================================== */

/* ── ≤375px — iPhone SE, Galaxy S ── */
@media (max-width: 375px) {
   :root {
      --section-padding: 2rem 0.75rem;
   }

   .hero-slide-title {
      font-size: 1.6rem;
   }

   .hero-slide-subtitle {
      font-size: 1rem;
      letter-spacing: 1px;
   }

   .hero-slide-badge {
      font-size: 0.6rem;
      padding: 0.25rem 0.75rem;
   }

   .hero-cta-btn {
      padding: 0.75rem 1.25rem;
      font-size: 0.8rem;
   }

   .hero-arrow {
      width: 34px;
      height: 34px;
      font-size: 0.75rem;
   }

   .hero-arrow-prev {
      left: 0.5rem;
   }

   .hero-arrow-next {
      right: 0.5rem;
   }

   .hero-nav-controls {
      gap: 0.3rem;
   }

   .hero-progress-indicator {
      width: 22px;
   }

   .pilares-title {
      font-size: 1.25rem;
   }

   .pilar-card p {
      font-size: 0.8rem;
   }

   .atributos-title {
      font-size: 1.25rem;
   }

   .atributo-content h3 {
      font-size: 1.05rem;
   }

   .atributo-content p {
      font-size: 0.8rem;
   }

   .newsletter-grid {
      padding: 1rem;
   }

   .newsletter-info h2 {
      font-size: 1.1rem;
   }

   .newsletter-form-wrapper {
      padding: 1rem;
   }
}

/* ── ≤320px — iPhone 5/SE gen1 ── */
@media (max-width: 320px) {
   .hero-slide-title {
      font-size: 1.35rem;
   }

   .hero-slide-subtitle {
      font-size: 0.85rem;
   }

   .hero-slide-badge {
      display: none;
   }

   .hero-divider {
      width: 40px;
   }

   .hero-cta-btn {
      padding: 0.65rem 1rem;
      font-size: 0.75rem;
   }

   .hero-arrow {
      width: 30px;
      height: 30px;
   }

   .pilares-title,
   .atributos-title {
      font-size: 1.15rem;
   }
}


/* =====================================================================
   ACCESIBILIDAD Y PERFORMANCE
   ===================================================================== */

/* Evitar zoom en inputs iOS */
@media screen and (max-width: 767px) {

   input,
   select,
   textarea {
      font-size: 16px !important;
   }
}

/* Focus visible */
.hero-cta-btn:focus-visible,
.hero-arrow:focus-visible,
.hero-nav-dot:focus-visible,
.newsletter-form button:focus-visible {
   outline: 3px solid var(--herbosalud-primary);
   outline-offset: 2px;
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {

   *,
   *::before,
   *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
   }

   .hero-slide.incoming,
   .hero-slide.outgoing {
      animation: none !important;
   }

   .hero-slide {
      transition: none;
   }

   .section-pilares,
   .section-atributos,
   .section-newsletter {
      opacity: 1;
      transform: none;
   }
}