/* =========================================================
   DOMOLOCK — MAIN CSS
   Identidad:
   - Azul profundo:    #0B1F3A
   - Blanco no puro:   #F6F7F9
   - Verde esmeralda:  #1FA67A
========================================================= */

:root{
  --blue-900:#0B1F3A;
  --offwhite:#F6F7F9;
  --emerald:#1FA67A;
  --text:#0E1726;
  --muted:#5C667A;
  --card:#FFFFFF;
  --border:rgba(15,23,42,.10);
  --shadow: 0 18px 60px rgba(2,6,23,.12);
  --radius: 22px;
  --container: 1180px;
}

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

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--offwhite);
  color: var(--text);
  line-height: 1.5;
}

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

.container{
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* =========================================================
   BOTONES (global)
========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border:1px solid transparent;
  font-weight:700;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--emerald);
  color:#fff;
  box-shadow: 0 18px 45px rgba(31,166,122,.24);
}
.btn-primary:hover{ box-shadow: 0 24px 70px rgba(31,166,122,.30); }

.btn-secondary{
  background: rgba(255,255,255,.12);
  color:#fff;
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover{ box-shadow: 0 18px 50px rgba(0,0,0,.18); }

.btn-outline{
  background: transparent;
  border-color: rgba(11,31,58,.30);
  color: var(--blue-900);
}
.btn-outline:hover{ box-shadow: 0 18px 40px rgba(11,31,58,.12); }

/* =========================================================
   HEADER / NAV
========================================================= */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(246,247,249,.90);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  height: 78px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
}

.header-logo .custom-logo{
  height: 42px;
  width: auto;
}
.logo-fallback{ font-weight: 800; letter-spacing: .02em; }

.header-nav{ flex: 1; display:flex; justify-content:center; }
.nav-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap: 22px;
  align-items:center;
}
.nav-menu li a{
  font-weight: 600;
  color: rgba(14,23,38,.82);
  padding: 10px 12px;
  border-radius: 999px;
}
.nav-menu li a:hover{ background: rgba(11,31,58,.06); }

.header-cta{ display:flex; align-items:center; gap:12px; }
.btn-cta{
  background: var(--blue-900);
  color:#fff;
}
.btn-cta:hover{ box-shadow: 0 14px 40px rgba(11,31,58,.22); }

.nav-toggle{
  display:none;
  height:46px;
  padding:0 14px;
  border-radius: 999px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
}

/* Mobile nav */
.mobile-nav{
  border-top:1px solid var(--border);
  padding: 14px 0 18px;
  background: rgba(246,247,249,.98);
}
.mobile-menu{
  list-style:none;
  margin: 0;
  padding: 0 24px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.mobile-menu a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
}
.mobile-cta{
  margin: 12px 24px 0;
  width: calc(100% - 48px);
}

/* =========================================================
   HERO (FULL WIDTH + BG IMAGE)
========================================================= */
.hero{
  position:relative;
  width:100%;
  min-height: 86vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}
.hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(11,31,58,.86) 0%,
    rgba(11,31,58,.58) 52%,
    rgba(11,31,58,.35) 100%
  );
}

.hero-inner{
  position:relative;
  z-index: 2;
  padding: 84px 0;
}
.hero-content{
  max-width: 620px;
  color:#fff;
}
.hero-kicker{
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  margin:0 0 12px;
}
.hero-title{
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1.06;
  margin: 0 0 14px;
}
.hero-subtitle{
  margin:0 0 24px;
  color: rgba(255,255,255,.85);
  font-size: 17px;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
}

/* =========================================================
   SECCIONES (General)
========================================================= */
.section{ padding: 72px 0; }

.section-alt{
  background: #EFF2F6;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head h2{
  margin:0 0 8px;
  font-size: 34px;
  line-height:1.12;
}
.section-head p{
  margin:0 0 22px;
  color: var(--muted);
  max-width: 70ch;
}

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

/* =========================================================
   CATEGORÍAS (Cards)
========================================================= */
.cards .card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.cards .card:hover{ transform: translateY(-3px); }

.card-img{
  height: 190px;
  background-size: cover;
  background-position: center;
}
.card-body{ padding: 18px 18px 20px; }
.card-body h3{ margin:0 0 6px; font-size: 18px; }
.card-body p{ margin:0; color: var(--muted); }

/* =========================================================
   PRODUCTOS (6)
========================================================= */
.products .product-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.product-img{
  height: 210px;
  background-size: cover;
  background-position: center;
}
.product-body{ padding: 18px 18px 20px; }
.product-body h3{ margin:0 0 6px; font-size:18px; }
.product-body p{ margin:0 0 10px; color: var(--muted); }
.link{ color: var(--blue-900); font-weight:700; }
.link:hover{ text-decoration: underline; }

.center-cta{
  display:flex;
  justify-content:center;
  margin-top: 26px;
}

/* =========================================================
   ¿POR QUÉ ELEGIRNOS? (Why)
   - Spacing simétrico (arriba/abajo)
   - Cards más altas y consistentes
   - Texto limitado a 2 líneas (clamp)
========================================================= */

.why{
  /* Ajuste fino de aire general (más simétrico que 72px) */
  padding: 64px 0;

  /* Fondo suave institucional (opcional, podés quitarlo) */
  background:
    radial-gradient(900px 420px at 15% 15%, rgba(11,31,58,.06), transparent 55%),
    radial-gradient(900px 420px at 85% 0%, rgba(31,166,122,.06), transparent 55%);
}

.why .section-head h2{
  margin: 0 0 8px;
  font-size: 36px;       /* alineado con el resto del sitio */
  line-height: 1.12;
}

.why .section-head p{
  margin: 0;
  color: var(--muted);
  max-width: 76ch;
}

/* Separación controlada entre intro y cards (sin “caída” visual) */
.why__intro{
  margin-bottom: 18px;
}

/* Grid de cards */
.why__cards{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  /* Este pequeño margen ayuda a “cerrar” la sección visualmente */
  margin-bottom: 6px;
}

/* Card (dark premium) */
.why-card{
  position: relative;
  border-radius: 22px;
  padding: 20px 20px 18px;
  min-height: 170px; /* clave para que no parezcan banners */
  border: 1px solid rgba(11,31,58,.10);
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(31,166,122,.14), transparent 55%),
    linear-gradient(180deg, rgba(11,31,58,.96), rgba(11,31,58,.90));
  box-shadow: 0 18px 60px rgba(2,6,23,.18);
  color: rgba(255,255,255,.92);
  overflow: hidden;
}

/* Ícono */
.why-card__icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  margin-bottom: 12px;
}

.why-card__icon svg{
  width: 18px;
  height: 18px;
  display: block;
  color: rgba(31,166,122,.95);
}

/* Título */
.why-card__title{
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  color: rgba(255,255,255,.95);
}

/* Texto (clamp para que todas queden iguales) */
.why-card__text{
  margin: 0;
  color: rgba(255,255,255,.86);
  line-height: 1.55;

  display: -webkit-box;
  -webkit-line-clamp: 2;          /* poné 3 si querés un poco más */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hover sutil */
.why-card:hover{
  transform: translateY(-2px);
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 26px 80px rgba(2,6,23,.22);
}

/* Responsive */
@media (max-width: 980px){
  .why{
    padding: 56px 0;
  }

  .why__cards{
    grid-template-columns: 1fr;
  }

  .why-card{
    min-height: 160px;
  }
}


/* =========================================================
   NOSOTROS — V2 (simetría + imagen vertical + spacing)
   Pegarlo AL FINAL de main.css
========================================================= */

.about-modern{
  padding: 72px 0;
  background:
    radial-gradient(900px 420px at 15% 8%, rgba(11,31,58,.06), transparent 56%),
    radial-gradient(900px 420px at 85% 0%, rgba(31,166,122,.06), transparent 56%);
}

/* Head: 2 columnas, mismo alto visual */
.about-modern__head{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: stretch;            /* clave para simetría */
  margin-bottom: 22px;             /* más parejo con las reviews */
}

.about-modern__copy{
  display: flex;
  flex-direction: column;
  min-height: 520px;               /* “altura objetivo” para empatar imagen */
}

.about-modern__copy h2{
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.about-modern__copy p{
  margin: 0 0 12px;
  color: rgba(14,23,38,.86);
  max-width: 72ch;
}

.about-modern__copy p + p{
  color: var(--muted);
}

/* Bullets: más compactos y “premium” */
.about-modern__bullets{
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 12px;
}

.about-modern__bullets li{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 34px rgba(2,6,23,.06);
}

.about-modern__bullets li::before{
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 999px;
  background: rgba(31,166,122,.95);
  box-shadow: 0 0 0 4px rgba(31,166,122,.14);
  flex: 0 0 auto;
}

.about-modern__bullets strong{
  color: rgba(14,23,38,.92);
  font-weight: 800;
}

.about-modern__bullets span{
  color: rgba(92,102,122,.92);
}

/* CTA: lo empujamos hacia abajo para empatar altura con la imagen */
.about-modern__cta{
  margin-top: auto;                /* clave: baja el botón */
  padding-top: 18px;
}

/* Media (imagen derecha) */
.about-modern__media{
  display: flex;
  align-items: stretch;
}

.about-modern__image{
  position: relative;
  width: 100%;
  height: 520px;                   /* igual que min-height del copy */
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 18px 60px rgba(2,6,23,.10);
}

.about-modern__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;               /* evita deformación */
  object-position: center;
  display: block;
}

/* overlay suave para integrarla */
.about-modern__image::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(31,166,122,.10), transparent 55%),
    linear-gradient(180deg, rgba(11,31,58,.05), rgba(11,31,58,0));
  pointer-events:none;
}

/* Reviews */
.reviews{
  margin-top: 18px;                /* más “pegadas” al bloque de arriba */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card{
  border-radius: 22px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(11,31,58,.10);
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(31,166,122,.14), transparent 55%),
    linear-gradient(180deg, rgba(11,31,58,.96), rgba(11,31,58,.90));
  box-shadow: 0 18px 60px rgba(2,6,23,.18);
  color: rgba(255,255,255,.92);
}

.review-card__stars{
  font-size: 14px;
  letter-spacing: 2px;
  color: rgba(31,166,122,.95);
  margin-bottom: 10px;
}

.review-card__text{
  margin: 0 0 14px;
  color: rgba(255,255,255,.88);
  line-height: 1.55;
}

.review-card__meta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}

.review-card__name{
  font-weight: 800;
  color: rgba(255,255,255,.94);
}

.review-card__tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
}

/* Responsive */
@media (max-width: 980px){
  .about-modern__head{
    grid-template-columns: 1fr;
  }

  .about-modern__copy{
    min-height: unset;
  }

  .about-modern__image{
    height: 360px;                 /* más razonable en mobile/tablet */
  }

  .reviews{
    grid-template-columns: 1fr;
  }
}



/* =========================================================
   CONTACTO (Info + Form)
========================================================= */
.contact{
  background: var(--blue-900);
  color:#fff;
}
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items:start;
}
.contact-info h2{ margin:0 0 8px; font-size:34px; }
.contact-info p{ margin:0 0 16px; color: rgba(255,255,255,.86); }

.contact-box{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 14px 14px 12px;
  margin: 12px 0;
}
.contact-box h3{ margin:0 0 8px; font-size: 16px; }

.wa, .mail{
  color: rgba(255,255,255,.92);
  font-weight: 700;
}
.wa:hover, .mail:hover{ text-decoration: underline; }

.notice{
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
}
.notice.success{ background: rgba(31,166,122,.18); }
.notice.error{ background: rgba(255,80,80,.18); }

.contact-form{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 18px;
}
.contact-form h3{ margin:0 0 12px; }

.form{ display:grid; gap: 12px; }
.form label{
  display:grid;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.86);
}
.form input, .form select, .form textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
  color:#fff;
  outline:none;
}
.form input:focus, .form select:focus, .form textarea:focus{
  border-color: rgba(31,166,122,.75);
  box-shadow: 0 0 0 4px rgba(31,166,122,.18);
}
.form button{ width: 100%; }

/* =========================================================
   CONTACTO — listas + redes
========================================================= */

.contact-list{
  display: grid;
  gap: 10px;
}

.contact-item{
  display:flex;
  align-items:baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

.contact-label{
  font-size: 13px;
  color: rgba(255,255,255,.72);
  font-weight: 600;
  white-space: nowrap;
}

.contact-social{
  margin-top: 16px;
}

.contact-social__title{
  margin: 0 0 10px;
  color: rgba(255,255,255,.82);
  font-weight: 700;
}

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

.social-link{
  width: 44px;
  height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.social-link:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

/* Left info: menos cajoso */
.contact-box{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 16px;
  margin: 14px 0;
}

.contact-list{
  display:grid;
  gap: 10px;
  margin-top: 10px;
}

.contact-item{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.contact-item:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
}

.contact-label{
  font-size: 13px;
  color: rgba(255,255,255,.70);
  font-weight: 700;
}

.contact-value{
  font-weight: 800;
  color: rgba(255,255,255,.92);
}

.contact-item a{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  width:100%;
}

/* Redes un poco más arriba y alineadas */
.contact-social{ margin-top: 14px; }

/* =========================================================
   CONTACTO — versión más premium (menos cajoso)
========================================================= */

/* Mantén la sección igual */
.contact{
  background: var(--blue-900);
  color:#fff;
}

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items:start;
}

/* CTA principal arriba: más sobrio */
.contact-info .btn-primary{
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(31,166,122,.20);
}

/* En vez de 2-3 cards grandes, una “card stack” minimal */
.contact-stack{
  display:grid;
  gap: 14px;
  margin-top: 14px;
}

.contact-panel{
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  box-shadow: 0 24px 80px rgba(0,0,0,.18);
}

.contact-panel h3{
  margin:0 0 12px;
  font-size: 16px;
  letter-spacing: .01em;
}

/* Lista sin sub-cards */
.contact-list{
  display:grid;
  gap: 10px;
}

.contact-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.contact-row:last-child{ border-bottom: 0; padding-bottom: 0; }

.contact-left{
  display:grid;
  gap: 2px;
}

.contact-label{
  font-size: 12px;
  color: rgba(255,255,255,.70);
  font-weight: 700;
}

.contact-hint{
  font-size: 12px;
  color: rgba(255,255,255,.55);
}

.contact-action{
  font-weight: 800;
  color: rgba(255,255,255,.92);
  display:inline-flex;
  align-items:center;
  gap: 8px;
}

.contact-action:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Chips para diferenciar ventas/soporte */
.badge{
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.82);
}

.badge--emerald{
  border-color: rgba(31,166,122,.35);
  background: rgba(31,166,122,.14);
  color: rgba(255,255,255,.92);
}

/* Redes: íconos “limpios”, sin círculos grandes */
.contact-social{
  margin-top: 14px;
}

.contact-social h4{
  margin: 0 0 10px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  letter-spacing: .06em;
  text-transform: uppercase;
}

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

.social-links a{
  color: rgba(255,255,255,.88);
  font-size: 18px;
  opacity: .9;
}
.social-links a:hover{ opacity: 1; transform: translateY(-1px); }

/* Form: que sea la única card “pesada” */
.contact-form{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 24px 90px rgba(0,0,0,.22);
}

/* Responsive */
@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   CONTACTO — layout simétrico (titulo arriba)
========================================================= */

.contact-head{
  margin-bottom: 22px;
  max-width: 78ch;
}

.contact-head h2{
  margin: 0 0 8px;
  font-size: 34px;
}

.contact-head p{
  margin: 0;
  color: rgba(255,255,255,.86);
}

/* Grid principal */
.contact-main{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch; /* clave: iguala alturas */
}

/* Columna izquierda: 2 cajas que llenan altura del form */
.contact-left{
  display:grid;
  grid-template-rows: 1fr 1fr; /* ambas se reparten la altura */
  gap: 16px;
  min-height: 100%;
}

/* Panel (caja) */
.contact-panel{
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  box-shadow: 0 24px 80px rgba(0,0,0,.18);
  display:flex;
  flex-direction: column;
}

.contact-panel h3{
  margin:0 0 12px;
  font-size: 16px;
}

/* Lista */
.contact-list{
  display:grid;
  gap: 10px;
}

.contact-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.contact-row:last-child{
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-leftmeta{
  display:grid;
  gap: 2px;
}

.contact-label{
  font-size: 12px;
  color: rgba(255,255,255,.75);
  font-weight: 700;
}

.contact-hint{
  font-size: 12px;
  color: rgba(255,255,255,.55);
}

.contact-action{
  font-weight: 800;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
}

.contact-action:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Form (derecha) */
.contact-form{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 24px 90px rgba(0,0,0,.22);
  height: 100%;
}

/* Redes debajo */
.contact-social{
  margin-top: 18px;
}

.contact-social h4{
  margin: 0 0 10px;
  font-size: 12px;
  color: rgba(255,255,255,.70);
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

.social-links a{
  color: rgba(255,255,255,.90);
  font-size: 18px;
  opacity: .9;
}

.social-links a:hover{
  opacity: 1;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 980px){
  .contact-main{
    grid-template-columns: 1fr;
  }
  .contact-left{
    grid-template-rows: auto;
  }
}



/* =========================================================
   FOOTER
========================================================= */
.site-footer{
  background: #07162B;
  color: rgba(255,255,255,.78);
  border-top: 1px solid rgba(255,255,255,.10);
}
.footer-inner{
  padding: 22px 0;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
}
.footer-left p{ margin: 6px 0 0; color: rgba(255,255,255,.68); }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 980px){
  .grid-3{ grid-template-columns: 1fr 1fr; }
  .about-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .header-nav{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

@media (max-width: 560px){
  .grid-3{ grid-template-columns: 1fr; }
  .container{ width: min(100% - 32px, var(--container)); }
  .hero{ min-height: 78vh; }
}


/* =========================================================
   PRODUCTOS (Catálogo + Detalle)
========================================================= */

.products-hero{
  padding: 76px 0 34px;
  background:
    radial-gradient(900px 340px at 15% 10%, rgba(11,31,58,.10), transparent 55%),
    radial-gradient(900px 340px at 85% 0%, rgba(31,166,122,.10), transparent 55%);
  border-bottom: 1px solid var(--border);
}

.products-hero__kicker{
  margin:0 0 10px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(14,23,38,.62);
}
.products-hero__title{
  margin:0 0 10px;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.08;
}
.products-hero__sub{
  margin:0 0 18px;
  color: var(--muted);
  max-width: 78ch;
}

.products-tools{
  display:grid;
  gap: 14px;
}

.products-search{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.products-search input{
  flex: 1 1 260px;
  height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  outline: none;
}
.products-search input:focus{
  border-color: rgba(31,166,122,.75);
  box-shadow: 0 0 0 4px rgba(31,166,122,.12);
}

.products-filters{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-pill{
  display:inline-flex;
  align-items:center;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.9);
  color: rgba(14,23,38,.78);
  font-weight: 700;
  font-size: 13px;
}
.filter-pill.is-active{
  background: var(--blue-900);
  color:#fff;
  border-color: rgba(11,31,58,.55);
}

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

.p-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.p-card:hover{ transform: translateY(-3px); }

.p-card__img{
  display:block;
  height: 220px;
  background-size: cover;
  background-position: center;
}
.p-card__body{
  padding: 18px 18px 20px;
}
.p-badge{
  display:inline-flex;
  align-items:center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(31,166,122,.12);
  color: rgba(11,31,58,.92);
  border: 1px solid rgba(31,166,122,.20);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 10px;
}
.p-card__title{
  margin:0 0 8px;
  font-size: 18px;
}
.p-card__title a{ color: rgba(14,23,38,.92); }
.p-card__desc{
  margin:0 0 10px;
  color: var(--muted);
}
.p-card__link{
  font-weight: 800;
  color: var(--blue-900);
}
.p-card__link:hover{ text-decoration: underline; }

.products-pagination{
  margin-top: 22px;
  display:flex;
  justify-content:center;
  gap: 10px;
}
.products-pagination .page-numbers{
  display:inline-flex;
  width: 42px;
  height: 42px;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background:#fff;
  font-weight: 800;
}
.products-pagination .current{
  background: var(--blue-900);
  color:#fff;
  border-color: rgba(11,31,58,.55);
}

.products-empty{
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

/* ====== Detalle producto ====== */
.product-detail{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.pd-main{
  height: 460px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.pd-thumbs{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pd-thumb{
  width: 86px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.pd-kicker{
  margin:0 0 10px;
  color: rgba(92,102,122,.92);
}
.pd-kicker a:hover{ text-decoration: underline; }

.pd-title{
  margin: 8px 0 12px;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.1;
}

.pd-desc{
  color: rgba(14,23,38,.88);
}
.pd-actions{
  margin-top: 16px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pd-notes{
  margin-top: 16px;
  display:grid;
  gap: 10px;
}
.pd-note{
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.7);
}
.pd-note p{
  margin: 6px 0 0;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 980px){
  .products-grid{ grid-template-columns: 1fr 1fr; }
  .product-detail{ grid-template-columns: 1fr; }
  .pd-main{ height: 380px; }
}
@media (max-width: 560px){
  .products-grid{ grid-template-columns: 1fr; }
  .pd-main{ height: 320px; }
}

/* =========================================================
   PRODUCTOS — Cards uniformes (imagen 1:1 + 3 líneas)
========================================================= */

/* Grid: hace que las cards estiren parejo */
.products-grid{
  align-items: stretch;
}

/* Card: layout interno para empujar el link abajo */
.p-card{
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Imagen cuadrada */
.p-card__img{
  height: auto;              /* anulamos altura fija anterior */
  aspect-ratio: 1 / 1;       /* 1:1 */
  background-size: contain;  /* si querés que NO recorte */
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;    /* fondo limpio si sobra espacio */
}

/* Si preferís que recorte y llene (más “premium”) cambia contain por cover */
 /* .p-card__img{ background-size: cover; } */

/* Cuerpo: que ocupe y permita “pegar” el CTA abajo */
.p-card__body{
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Título: opcional, limitar a 2 líneas para más prolijo */
.p-card__title{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Descripción: 3 líneas y puntos suspensivos */
.p-card__desc{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

/* Link siempre al fondo */
.p-card__link{
  margin-top: auto;
}


/* ===== Detalle producto: imagen principal prolija ===== */
.pd-main{
  height: 460px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px; /* marco blanco tipo “foto producto” */
}

.pd-main__img{
  width: 100%;
  height: 100%;
  object-fit: contain;   /* NO recorta */
  object-position: center;
}


/* =========================================================
   NOSOTROS — FIX REAL (desktop + mobile)
========================================================= */

.about-modern{
  background:
    radial-gradient(900px 420px at 15% 8%, rgba(11,31,58,.06), transparent 56%),
    radial-gradient(900px 420px at 85% 0%, rgba(31,166,122,.06), transparent 56%);
}

.about-modern__head{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 22px;
}

.about-modern__copy{
  display:flex;
  flex-direction:column;
}

.about-modern__copy h2{
  margin:0 0 10px;
  font-size: 34px; /* más alineado con tu sistema */
  line-height: 1.12;
}

.about-modern__lead{
  margin:0 0 12px;
  color: rgba(14,23,38,.86);
  font-size: 16px;
  max-width: 72ch;
}

.about-modern__sub{
  margin:0 0 10px;
  color: var(--muted);
  max-width: 76ch;
}

.about-modern__bullets{
  list-style:none;
  padding:0;
  margin: 12px 0 0;
  display:grid;
  gap: 12px;
}

.about-modern__bullets li{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 34px rgba(2,6,23,.06);
}

.about-modern__bullets li::before{
  content:"";
  width:10px; height:10px;
  margin-top:7px;
  border-radius:999px;
  background: rgba(31,166,122,.95);
  box-shadow: 0 0 0 4px rgba(31,166,122,.14);
  flex: 0 0 auto;
}

.about-modern__bullets strong{
  font-weight: 800;
  color: rgba(14,23,38,.92);
}

.about-modern__bullets span{
  color: rgba(92,102,122,.92);
}

.about-modern__cta{
  margin-top: auto;
  padding-top: 16px;
}

.about-modern__media{
  display:flex;
  align-items:stretch;
}

.about-modern__image{
  width:100%;
  height: 520px;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid var(--border);
  background:#fff;
  box-shadow: 0 18px 60px rgba(2,6,23,.10);
  position:relative;
}

.about-modern__image img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  display:block;
}

.about-modern__image::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(31,166,122,.10), transparent 55%),
    linear-gradient(180deg, rgba(11,31,58,.05), rgba(11,31,58,0));
  pointer-events:none;
}

/* Reviews */
.reviews{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Mobile */
@media (max-width: 980px){
  .about-modern__head{
    grid-template-columns: 1fr;
  }
  .about-modern__image{
    height: 360px;
  }
  .reviews{
    grid-template-columns: 1fr;
  }
}

/* =========================
   NOSOTROS — BULLETS (ROBUSTO)
   Funciona bien en desktop y mobile
========================= */

/* cubre ambos nombres por si usaste points o bullets */
.about-modern__points li,
.about-modern__bullets li{
  display: grid !important;
  grid-template-columns: 14px 1fr !important;
  column-gap: 12px;
  row-gap: 4px;
  align-items: start !important;

  padding: 14px 14px !important;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 12px 40px rgba(2,6,23,.06);
}

/* el punto verde: si usás .about-modern__dot */
.about-modern__points li .about-modern__dot,
.about-modern__bullets li .about-modern__dot{
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 7px;
  background: rgba(31,166,122,.92);
  box-shadow: 0 0 0 4px rgba(31,166,122,.12);
}

/* si NO usás .about-modern__dot y el primer hijo es el punto */
.about-modern__points li > :first-child:not(strong):not(span),
.about-modern__bullets li > :first-child:not(strong):not(span){
  grid-column: 1;
  grid-row: 1 / span 2;
}

/* título y texto SIEMPRE columna 2 */
.about-modern__points li strong,
.about-modern__bullets li strong{
  grid-column: 2;
  grid-row: 1;
  margin: 0 !important;
  font-weight: 800;
  color: rgba(14,23,38,.92);
  line-height: 1.25;
}

.about-modern__points li p,
.about-modern__bullets li p,
.about-modern__points li span,
.about-modern__bullets li span{
  grid-column: 2;
  grid-row: 2;
  margin: 0 !important;
  color: rgba(92,102,122,.92);
  line-height: 1.45;
}

/* mobile: un toque más compacto */
@media (max-width: 560px){
  .about-modern__points li,
  .about-modern__bullets li{
    padding: 12px 12px !important;
    column-gap: 10px;
  }
}


.section-head h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px 0;
  color: #0f172a; /* o tu variable */
}

@media (max-width: 768px) {
  .section-head h2 {
    font-size: 28px;
  }
}

html {
  scroll-behavior: smooth;
}

.footer-nav { margin-top: 8px; }

.footer-menu{
  display: flex;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-menu a{
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-weight: 500;
}

.footer-menu a:hover{
  color: rgba(255,255,255,.92);
}


/* =========================
   FOOTER — Mobile fix
========================= */
@media (max-width: 680px){
  .footer-inner{
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .footer-right{
    width: 100%;
  }

  .footer-right p{
    margin: 0;
    color: rgba(255,255,255,.72);
  }

  /* Menú en 1 o 2 líneas, horizontal */
  .footer-menu{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
  }

  .footer-menu li{
    margin: 0; /* por si WP agrega margen */
  }

  .footer-menu a{
    display: inline-block;
    padding: 6px 0;
  }
}


:root{
  --container: 1120px;

  --header-h-desktop: 72px;
  --header-h-mobile: 64px;

  --bg: #ffffff;
  --text: #0b1220;
  --muted: rgba(11,18,32,.70);

  --border: rgba(11,18,32,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.08);

  --cta-bg: #0b1b2f;
  --cta-text: #ffffff;

  --focus: rgba(20,110,255,.25);
}

body{ padding-top: var(--header-offset, 0px); }

.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h-mobile);
  background: var(--bg);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px){
  .site-header{ height: var(--header-h-desktop); }
}

.site-header.is-scrolled{ box-shadow: var(--shadow); }

/* ✅ 3 columnas: brand izquierda / menú centrado / acciones derecha */
.header-inner{
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.brand{
  justify-self: start;
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
}

.brand:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 10px;
}

/* NAV centrado en desktop */
.primary-nav{
  justify-self: center;
}

/* menu WP */
.menu{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.menu a{
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 2px;
  border-radius: 10px;
}

.menu a:hover{ color: var(--text); }
.menu a:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* acciones derecha */
.header-actions{
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* CTA */
.cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.cta:hover{ transform: translateY(-1px); }
.cta:active{ transform: translateY(0px); }
.cta:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* toggle */
.nav-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.nav-toggle__icon{
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
  border-radius: 2px;
}
.nav-toggle__icon::before,
.nav-toggle__icon::after{
  content:"";
  position:absolute;
  left:0;
  width:20px;
  height:2px;
  background: var(--text);
  border-radius:2px;
}
.nav-toggle__icon::before{ top:-6px; }
.nav-toggle__icon::after{ top:6px; }

/* ✅ Desktop: no hamburger */
@media (min-width: 1024px){
  .nav-toggle{ display: none; }
}

/* ✅ Mobile: menú desplegable, CTA queda afuera (en la barra) */
@media (max-width: 1023px){
  .header-inner{
    grid-template-columns: 1fr auto; /* brand + acciones */
  }

  .primary-nav{
    position: fixed;
    top: var(--header-h-mobile);
    left: 0; right: 0;

    background: #fff;
    border-bottom: 1px solid var(--border);

    padding: 14px 18px 18px 18px;

    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
  }

  .menu{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .menu a{
    width: 100%;
    padding: 10px 10px;
    font-size: 15px;
    color: var(--text);
  }

  .site-header.is-open .primary-nav{
    transform: translateY(0px);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-overlay{
    position: fixed;
    inset: 0;
    top: var(--header-h-mobile);
    background: rgba(0,0,0,.22);
    z-index: 0;
  }

  .site-header:not(.is-open) .nav-overlay{ display:none; }

  /* CTA más compacto en mobile para que conviva con el toggle */
  .header-cta{
    height: 40px;
    padding: 0 14px;
  }
}

@media (prefers-reduced-motion: reduce){
  .primary-nav, .cta{ transition:none !important; }
  .cta:hover{ transform:none; }
}

@media (max-width: 1023px){
  /* nav desplegable a ancho total ya lo tenés, reforzamos */
  .primary-nav{
    width: 100%;
  }

  /* ✅ la lista ocupa todo el ancho */
  .primary-nav .menu{
    width: 100%;
  }

  /* ✅ cada item ocupa todo el ancho */
  .primary-nav .menu > li{
    width: 100%;
  }

  /* ✅ el link ocupa todo el ancho (tappable area) */
  .primary-nav .menu > li > a{
    width: 100%;
    display: block;
  }
}

@media (max-width: 1023px){
  .primary-nav{
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .primary-nav .menu > li > a{
    border-radius: 14px;
  }

  .primary-nav .menu > li > a:hover{
    background: rgba(11,18,32,.04);
  }
}

/* =========================================
   Hero Motion — subtle (solo HERO con data-animate)
========================================= */
@media (prefers-reduced-motion: reduce){
  .hero [data-animate]{
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* estado inicial */
.hero [data-animate]{
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 1.2s cubic-bezier(.2,.7,.2,1),
    transform 1.2s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}

/* activo */
.hero [data-animate].is-in{
  opacity: 1;
  transform: none;
}

/* delays desde data-delay (ya los tenés en el HTML) */
.hero [data-delay="1"]{ transition-delay: .12s; }
.hero [data-delay="2"]{ transition-delay: .28s; }
.hero [data-delay="3"]{ transition-delay: .44s; }
.hero [data-delay="4"]{ transition-delay: .60s; }


.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  height: 52px;
  padding: 0 18px;
  border-radius: 999px;

  background: #25D366;
  color: #0B1B13;
  text-decoration: none;

  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.22);

  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

/* =========================
   WhatsApp Floating Button
========================= */

.wa-float{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  height: 54px;
  padding: 0 20px;

  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  text-decoration: none;

  font-weight: 700;
  font-size: 14px;
  letter-spacing: .01em;

  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.wa-float:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0,0,0,.32);
}

/* Icon */
.wa-float__icon{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px; /* tamaño perfecto del logo */
  line-height: 1;
}

/* Mobile: solo icono circular */
@media (max-width: 520px){
  .wa-float{
    width: 58px;
    height: 58px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .wa-float__text{
    display: none;
  }

  .wa-float__icon{
    font-size: 24px;
  }
}


/* =========================================================
   SINGLE PRODUCTO – hacer columna izquierda misma altura que derecha
   (layout simétrico)
========================================================= */

.product-detail,
.product-single,
.single-producto .product-layout,
.single-product .product-layout{
  align-items: stretch;
}

.product-media,
.product-image,
.product-gallery{
  height: 100%;
}

.product-media img,
.product-image img,
.product-gallery img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   STICKY FOOTER (evita espacio blanco debajo del footer)
========================================================= */

html, body{
  height: 100%;
}

body{
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* el contenedor principal debe ocupar el espacio disponible */
main{
  flex: 1 0 auto;
}

/* footer al final */
.site-footer, footer{
  margin-top: auto;
}

/* por si algún wrapper mete padding/margin */
.site, .site-content, .content, .page, #page{
  flex: 1 0 auto;
}

/* =========================================================
   SINGLE PRODUCTO — columnas misma altura (base)
========================================================= */

.product-detail{
  align-items: stretch;
}

.pd-media{
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pd-main{
  flex: 1;
  height: auto;       /* mata height fijo */
  min-height: 460px;  /* presencia */
}

/* default: imagen completa (no se corta) */
.pd-main__img{
  width: 100%;
  height: 100%;
  object-fit: contain;     /* clave: NO recorta */
  object-position: center;
  display: block;
  background: #fff;        /* para que el contain se vea prolijo en A */
}

@media (max-width: 980px){
  .pd-media{ height: auto; }
  .pd-main{ min-height: 360px; }
}
@media (max-width: 560px){
  .pd-main{ min-height: 300px; }
}

