/* ============================================
   X-CORE PRO — Landing Page Styles
   ============================================ */

:root {
  /* Colors — sampled from brand assets */
  --navy: #05070d;
  --navy-2: #0b1220;
  --cream: #f6efec;
  --ink: #14161c;
  --ink-soft: #4a4d57;
  --teal: #17636f;
  --teal-bright: #2ed3c6;
  --pink: #d035b2;
  --blue: #6396f1;
  --purple: #8b3fe0;

  --gradient-x: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%);
  --gradient-cta: linear-gradient(90deg, #9143e6 0%, #4fa6f2 100%);
  --gradient-usage: linear-gradient(90deg, #20f2f2 0%, #8b3fe0 50%, #f03993 100%);

  --font-display: 'Archivo Black', sans-serif;
  /*--font-display: 'Archivo Black', 'Arial Black', sans-serif;*/
  --font-body: 'Archivo', sans-serif;
  /*--font-body: 'Poppins', 'Segoe UI', sans-serif;*/

  --container-width: 1180px;
  --radius: 14px;
  --shadow-soft: 0 12px 30px rgba(5, 7, 13, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  /* background: var(--cream); */
  background: white;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container-width);
  margin-inline: auto;
  /*padding-inline: 24px;*/
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 3px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-cta {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 8px 20px rgba(145, 67, 230, 0.35);
}

.btn-cta:hover, .btn-cta:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 26px rgba(145, 67, 230, 0.45);
}

/* ============ Logo ============ */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.logo-x {
  background: var(--gradient-x);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.7rem;
}

.logo-text { color: currentColor; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
}

.main-nav a {
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.main-nav a:hover, .main-nav a:focus-visible { opacity: 1; }

.header-cta { padding: 10px 20px; font-size: 0.85rem; white-space: nowrap; }

@media (max-width: 720px) {
  .main-nav { display: none; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  display: block;
  width: 100%;
  line-height: 0;
}

.hero-bg img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-inner { position: relative; }

/* ============ Product strip ============ */
.product-strip {
  background: var(--cream);
  /*padding-block: 48px;*/
  padding-top: 20px;
  padding-bottom: 20px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr auto 1fr auto;
  align-items: center;
  /*gap: 32px;*/
}

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  background: linear-gradient(90deg, var(--teal-bright), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.product-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.product-copy h2 strong { display: inline; }
.product-copy .thin { font-weight: 400; font-size: 0.65em; }

.product-copy{
  display: flex;
  justify-content: center;
}

.macros { display: flex; gap: 12px; }

.macro-pill {
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 8px 14px;
  text-align: center;
  min-width: 76px;
}

.macro-value { display: block; font-weight: 800; font-size: 1.3rem; }
.macro-label { display: block; font-size: 0.65rem; line-height: 1.2; }

.product-image { display: flex; justify-content: center; }
.product-image img { max-width: 200px; }

.product-checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.product-checklist li {
  position: relative;
  padding-left: 28px;
  font-weight: 500;
  font-size: 0.95rem;
}

.product-checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--teal-bright);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3 3 7-7' fill='none' stroke='%2317636f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 60%;
}

.invima {
  margin-top: 18px;
  font-size: 0.7rem;
  color: var(--ink-soft);
  max-width: 220px;
}

.product-order {
  text-align: center;
  display: grid;
  gap: 20px;
  justify-items: right;
  align-self: center;
  width: 80%;
}

/* 1. Remove the grid styles from the section */
.use-section {
  display: block; /* Or simply remove display: grid, grid-template-columns, and gap */
}

/* 2. Apply the grid styles to the actual content wrapper */
.div-modo-uso {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 1070px) {
  .div-modo-uso {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.order-label {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.1rem;
  line-height: 1.15;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "copy image"
      "checklist checklist"
      "order order";
  }
  .product-copy { grid-area: copy; }
  .product-image { grid-area: image; }
  .product-checklist {
    /*grid-area: checklist;*/
    display: contents;
  }

  /* .product-order { grid-area: order; } */

  .invima{
    max-width: auto;
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "copy"
      "checklist"
      "order";
    text-align: center;
  }
  .macros { justify-content: center; }
  .product-checklist ul { justify-items: center; }
  .product-checklist li { display: inline-block; text-align: left; }
  .product-order{
    justify-items: center;
    justify-self: center;
  }
}

/* ============ Why choose ============ */
.why-choose {
  background: #fff;
  padding-block: 60px 20px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  /*align-items: start;*/
}

/* .why-copy{
  display: grid;
  align-items: center;
  justify-content: center;
  background-color: var(--cream);
  border-radius: 25px;
  padding: 20px 60px;
} */

.why-copy {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra todo verticalmente */
  align-items: center;     /* Centra el título y la línea horizontalmente */
  
  background-color: var(--cream);
  border-radius: 25px;
  padding: 40px 60px;      /* Ajusta el padding para que tenga buen espacio interno */
}

/* Alinea la lista hacia la izquierda para legibilidad */
.why-copy .why-list {
  text-align: left;
  width: 100%;             /* Asegura que tome el ancho necesario del contenedor */
}

/* Centra el título y el párrafo final */
.why-copy h2, 
.why-copy p {
  text-align: center;
}


.why-copy h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.3;
  margin: 0 0 14px;
  text-align: center;
}

.why-underline {
  width: 40%;
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  margin-bottom: 26px;
  justify-self: center;
}

.why-list {
  list-style: none;
  margin: 0 0 24px;
  /*padding: 0;*/
  display: grid;
  gap: 18px;
}

.why-list strong {
  display: block;
  color: var(--teal);
  margin-bottom: 2px;
}

.why-tagline {
  font-weight: 600;
  /*font-size: 1.05rem;*/
  text-align: center;
}

.why-photo img {
  /*border-radius: var(--radius);*/
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* @media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-photo { max-width: 420px; margin-inline: auto; }
} */

@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-photo { max-width: 420px; margin-inline: auto; }
  .why-copy { padding: 32px 28px; }
}

@media (max-width: 560px) {
  .why-copy { padding: 24px 18px; border-radius: 16px; }
  .why-copy h2 { font-size: 1.3rem; }
}

/* ============ Benefit cards1 ============ */
/* .benefit-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-block: 40px 60px;
}

.benefit-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.benefit-card img { width: 48px; height: 48px; }

.benefit-card p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
} */

/* ============ Benefit cards 2 ============ */
.benefit-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  /* Increased top margin to give space for the overlapping icons */
  margin-block: 65px 60px; 
}

.benefit-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  /* Added more top padding so the text doesn't hit the overlapping icon */
  padding: 40px 14px 22px 14px; 
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  /* CRITICAL: Allows absolute positioning relative to this card */
  position: relative; 
}

.benefit-card img { 
  width: 56px;  /* Slightly larger to match the target image look */
  height: 56px; 
  
  /* CRITICAL: Lifts the icon up past the top edge */
  position: absolute;
  top: -28px;   /* Exactly half of the height to center it perfectly on the border */
  left: 50%;
  transform: translateX(-50%);
}

.benefit-card p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 720px) {
  .benefit-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Usage bar 1 ============ */
/* .usage-bar {
  background: var(--gradient-usage);
  color: #fff;
  padding-block: 22px;
}

.usage-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.usage-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

.usage-item svg {
  width: 34px;
  height: 34px;
  color: #fff;
  flex-shrink: 0;
}

.usage-item strong { font-weight: 800; }

.usage-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.5);
} */

/* ============ Usage bar 2 ============ */
.usage-bar {
  background: var(--gradient-usage);
  color: #fff;
  /* Reduced top/bottom padding to match the design height */
  padding-block: 14px; 
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(5,auto);
  gap: 18px;
  margin-block: 65px 60px ;
  align-items: center;
  justify-items: center;
  /*display: flex;
  align-items: center;*/
  /* Evenly distribute the items across the gradient bar width */
  justify-content: center;
}

.usage-item {
  display: flex;
  align-items: center;
  /*gap: 16px;*/ /* Spacing between the icon and the text block */
}

/* CRITICAL: Wraps the text inside the item into two stacked lines */
.usage-item p {
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 0.6;
  /*font-size: 0.9rem;*/
  font-weight: 600;
}

/* Make your SVGs larger to match the target graphic proportions */
.usage-item svg {
  width: 48px; 
  height: 48px;
  color: #fff;
  flex-shrink: 0;
}

.usage-item strong { 
  font-weight: 800; 
}

.usage-divider {
  width: 2.5px; /* Slightly thicker line */
  height: 42px; /* Taller divider line */
  background: white;
}

/* @media (max-width: 560px) {
  .usage-divider { display: none; }
  .usage-grid { gap: 18px; }
} */

@media (max-width: 560px) {
  .usage-divider { display: none; }
  .usage-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    margin-block: 30px 20px;
  }
  .usage-item p {
    line-height: 1.2;
  }
}

/* ============ FAQ ============ */
.faq {
  background: var(--cream);
  padding-block: 60px 70px;
}

.faq-heading {
  text-align: center;
  margin-bottom: 36px;
}

.faq-heading .eyebrow {
  margin-inline: auto;
}

.faq-heading h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 4px 0 14px;
}

.faq-heading .why-underline {
  margin-inline: auto;
}

.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(20, 22, 28, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item.is-open {
  border-color: var(--teal-bright);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  margin: 0;
  font-size: 1rem;
}

.faq-question button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-question button:hover { color: var(--teal); }

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--teal);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.faq-icon::before {
  width: 14px;
  height: 2.5px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer-content {
  overflow: hidden;
  min-height: 0;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p,
.faq-answer ul {
  margin: 0 0 12px;
  padding-inline: 22px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-answer p:first-child { padding-top: 2px; }
.faq-answer p:last-child,
.faq-answer ul:last-child { margin-bottom: 20px; }

.faq-answer ul { padding-left: 42px; list-style: disc; }
.faq-answer ul li { margin-bottom: 4px; }

@media (max-width: 560px) {
  .faq-question button { padding: 16px; font-size: 0.92rem; }
  .faq-answer p, .faq-answer ul { padding-inline: 16px; }
}

/* ============ Footer ============ */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding-block: 44px 20px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  text-align: left;
}

.footer-col h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  margin: 0 0 10px;
}

.footer-col p {
  margin: 4px 0;
  font-size: 0.9rem; 
  opacity: 0.9; 
  color: white; 
}

.footer-col a{
  color: white;
}

.footer-logo {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
 }

.footer-contact { text-align: left; }

.footer-contact a:hover { color: white; }

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  justify-content: start;
}

.social-links a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}

.social-links a:hover, .social-links a:focus-visible {
  background: var(--gradient-x);
}

.footer-bottom {
  text-align: center;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  opacity: 0.6;
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .footer-contact { text-align: center; }
  .social-links { justify-content: center; }
}

/* ============ Floating WhatsApp button ============ */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
  z-index: 200;
  transition: transform 0.2s ease;
}

.whatsapp-fab:hover, .whatsapp-fab:focus-visible {
  transform: scale(1.08);
}