/* =========================================================
   JV AGRO — CSS LIMPIO (reemplazo completo)
   ========================================================= */

/* -------------------------
   1) VARIABLES / TIPOGRAFÍA
-------------------------- */
:root{
  --brand: #006132;
  --brand-600: #006132;

  --text: #111;
  --text-soft: #54576F;
  --bg-soft: #F9FAFB;

  --card-bd: rgba(0,0,0,.08);
  --shadow-sm: 0 6px 18px rgba(0,0,0,.05);

  --radius: 16px;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans",
               sans-serif, "Apple Color Emoji", "Segoe UI Emoji";

  --font-heading: "Satoshi", system-ui, -apple-system, "Segoe UI",
                  Roboto, "Helvetica Neue", Arial, "Noto Sans",
                  "Liberation Sans", sans-serif;
}

/* -------------------------
   2) BASE / RESET SUAVE
-------------------------- */
html{ font-variation-settings: normal; }
body{
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-soft);
}

p{
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 1rem;
}

a{ color: inherit; }

/* Bootstrap: setea body font */
:root{
  --bs-body-font-family: var(--font-sans);
}

/* -------------------------
   3) TÍTULOS / UTILIDADES
-------------------------- */
h1,h2,h3,h4,h5,h6,
.section-title,
.custom-title{
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: .005em;
}

.section-title{
  color: var(--brand);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.12;
}

.custom-title{
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1.08;
  text-shadow: 0 1px 2px rgba(0,0,0,.10);
}

.heading-satoshi{ font-family: var(--font-heading) !important; }

.italic{ font-style: italic; }
.no-italic{ font-style: normal; }

.fw-200{ font-weight:200; }
.fw-300{ font-weight:300; }
.fw-400{ font-weight:400; }
.fw-500{ font-weight:500; }
.fw-600{ font-weight:600; }
.fw-700{ font-weight:700; }
.fw-800{ font-weight:800; }
.fw-900{ font-weight:900; }

.fs-18{ font-size: 1.125rem; }
.fs-25{ font-size: 1.5625rem; }

.lh-tight{ line-height:1.05; }

.text-blue-custom{ color: var(--brand) !important; }
.texto{ font-size: 1rem; color: #000; }
.texto-rojo{ color: #c11414; font-weight: 900; }

.margen-5{ margin-top: 30px; }
.primer-seccion{ background-color: var(--bg-soft); }

.full{ width:100%; max-width:100%; }
.no-padding{ padding:0 !important; margin:0 !important; }
.object-fit-cover{ object-fit:cover; }

/* Secciones */
.section{ padding: clamp(64px, 6vw, 112px) 0; }
.fondo-custom{ background-color:#FAFAFA !important; }

/* -------------------------
   4) WHATSAPP FLOTANTE
-------------------------- */
.wapp-float{
  position: fixed;
  right: 1rem;
  bottom: 45px;          /* mejor que top fijo */
  width: 56px;
  height: 56px;
  z-index: 9999;
  
}
.wapp-float img, .wapp-float svg{
  width: 100%;
  height: 100%;
  display: block;
}
.wapp-float:hover{
  transform: translateY(4px) scale(1.03);
  box-shadow: none;
  filter: saturate(1.1);
}
@media (max-width: 576px){
  .wapp-float{
    right: 1rem;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }
}

/* -------------------------
   5) NAVBAR (TRANS + SCROLLED)
-------------------------- */
#navbar{
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
#navbar .nav-link{ color:#fff; padding: .5rem 1rem; }
#navbar .nav-link.active{ color:#fff; opacity:.85; }

#navbar.scrolled{
  background:#fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
#navbar.scrolled .nav-link{ color:#111; }
#navbar.scrolled .nav-link.active{ color:#111; opacity:1; }

@media (max-width: 991.98px){
  #navbar,
  #navbar.scrolled,
  #navContent.show{ background:#fff; }
  #navContent.show .nav-link{ color:#111; }
}

/* -------------------------
   6) HERO (fondo + overlay)
-------------------------- */
.hero{
  min-height: 88vh;
  position:relative;
  z-index: 1;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.30);
  z-index: 1;
}

.hero > .container{ position: relative; z-index: 2; }

/* Usá esta clase en el header */
.gepian{
  background-image: url(../img/Gepian/banner-gepian.png);
  background-size: cover;
  background-position: center;
  position: relative;
}

/* -------------------------
   7) BOTONES
-------------------------- */
.btn-hero{
  --hero-border: #fff;
  color: #fff;
  background: transparent;
  border-color: var(--hero-border);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn-hero:hover,
.btn-hero:focus{
  background:#fff;
  color: var(--brand);
  border-color:#fff;
  text-decoration:none;
  transform: translateY(-1px);
}
.btn-hero:active{
  transform: translateY(0);
}

/* Bootstrap brand */
.btn-primary{
  --bs-btn-bg:var(--brand);
  --bs-btn-border-color:var(--brand);
  --bs-btn-hover-bg:var(--brand-600);
  --bs-btn-hover-border-color:var(--brand-600);
}
.link-primary{ color:var(--brand); }
.text-primary{ color:var(--brand) !important; }

/* -------------------------
   8) CARDS / COMPONENTES
-------------------------- */

/* Partner cards (¿Qué hacemos?) */
.partner-card{
  background:#fff;
  border-radius:.75rem;
  padding:1rem;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  height:100%;
  display:flex;
  align-items:flex-start;
  flex-direction: column;
  gap:16px;
}

/* Icon pill genérico (para íconos dentro de cards) */
.icon-pill{
  width:48px;
  height:48px;
  border-radius: 12px;
  background: var(--brand);
  display:grid;
  place-items:center;
}
.icon-pill img{ width:18px; height:18px; object-fit:contain; }
#que-hacemos .icon-pill{ background: var(--brand); }

/* -------------------------
   9) EMPRESAS (logo-box)
-------------------------- */
.company-item{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.logo-box{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:180px;
  background:#fff;
  border-radius: 0 0 16px 16px;
  padding:18px;
  text-decoration:none;
  overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
  box-shadow: var(--shadow-sm);
}

/* topline fija */
.logo-box .topline{
  position:absolute;
  top:0; left:0; right:0;
  height:6px;
  background: var(--brand);
}

.logo-box:hover,
.logo-box:focus-visible{
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
  outline:none;
}

.logo-box img{
  max-width: 30%;
  height:auto;
  object-fit:contain;
  transition: transform .25s ease;
}
.logo-box:hover img{ transform: scale(1.03); }

.company-body{
  padding-top: 14px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.company-body h5{
  font-size: 1.4rem;
  color: #000 !important;
  font-weight: 600;
}
.company-body p{
  color: #000 !important;
  font-size: 1.1rem;
  font-weight: 400;
}
.company-body a{
  color: #000 !important;
  font-size: 1.1rem;
  font-weight: 700;
  text-align:center;
  text-decoration:none;
}
.company-body a:hover{ text-decoration: underline; }

/* -------------------------
   10) UBICACIÓN / MAPA
-------------------------- */
.location-badge{
  background: #FFE8E6;
  color: var(--brand);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-weight: 600;
  line-height: 1;
}

.map-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  overflow:hidden;
}
.map-card .ratio{ border-radius:16px; }

/* -------------------------
   11) RECURSOS (derecha)
-------------------------- */
#recursos .resource-list{ display:flex; flex-direction:column; gap:12px; }

#recursos .resource-item{
  background:#EAF6FF;
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(0,78,145,0.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
}
#recursos .resource-title{
  color: var(--brand);
  font-weight: 600;
}

#recursos .resource-btn{
  background: transparent;
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: 8px;
  padding: .25rem .65rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.35rem;
}

.resource-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border:1px solid var(--brand);
  color: var(--brand);
  border-radius:8px;
  background: transparent;
  font-size: 1rem;
  transition: transform .15s ease;
}
.resource-arrow:hover{ transform: translateX(2px); }
.resource-arrow i{ font-size:1rem; }

#recursos .resource-item.resource-large{ background:#DFF2FF; }
#recursos .resource-item.resource-large h5{ color: var(--brand); font-weight:600; }
#recursos .resource-item.resource-large a{ color: var(--brand); text-decoration:none; font-weight:600; }

.resource-item,
.resource-large li > div{ width:100%; }

.resource-large li > div{
  display:grid;
  grid-template-columns: 1fr auto;
  align-items:center;
}

/* -------------------------
   12) CONTACTO (Figma)
-------------------------- */
.contacto{
  background:#fff;
}
.contacto__wrap{
  display:grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.contacto__title{
  margin: 0 0 14px 0;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--brand);
  font-family: var(--font-heading);
}
.contacto__lead{
  margin: 0 0 36px 0;
  color: #2f3640;
  font-size: 14px;
}
.contacto__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:22px;
}
.contacto__item{
  display:flex;
  gap:16px;
}
.contacto__icon{
  width:44px;
  height:44px;
  background:var(--brand);
  border-radius:8px;
  display:grid;
  place-items:center;
  flex-shrink:0;
}
.contacto__icon i{
  color:#fff;
  font-size:20px;
}
.contacto__label{
  font-weight:700;
  font-size:14px;
  color:#3f4a5a;
  margin-bottom:2px;
}
.contacto__value{
  font-size:14px;
  color: #5f6b7a;
  text-decoration:none;
  line-height:1.4;
  display:block;
}
a.contacto__value:hover{ text-decoration: underline; }



/* -------------------------
   13) COMPROMISO (Figma)
-------------------------- */
.compromiso{
  background:#fff;
}
.compromiso__wrap{
  display:grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.compromiso__media{
  position:relative;
  overflow:hidden;
}
.compromiso__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.compromiso__content{
  padding: 72px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  max-width: 720px;
}
.compromiso__list{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top: 18px;
}
.compromiso__item{
  position:relative;
  display:flex;
  align-items:center;
  gap:16px;
  background:#EFF6FF;
  padding: 18px 18px 18px 40px;
  border-radius: 0;
  min-height: 64px;
  color: var(--brand);
}
.compromiso__item::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:4px;
  background: var(--brand);
}
.compromiso__icon{
  width:34px;
  height:34px;
  border-radius:999px;
  background: var(--brand);
  display:grid;
  place-items:center;
  flex:0 0 auto;
}
.compromiso__icon i{
  color:#fff;
  font-size:18px;
}
.compromiso__item strong{
  font-weight:700;
  font-size:18px;
}

/* -------------------------
   14) FORM CONTROLS
-------------------------- */
.form-control{
  border-radius: 12px;
  border-color: rgba(0,0,0,.14);
}
.form-control:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 .2rem rgba(0,78,145,.15);
}

/* -------------------------
   15) FOOTER / TO TOP
-------------------------- */
.footer{ background-color: var(--brand); }

.to-top{
  position:fixed;
  left:1rem;
  bottom:1rem;
  width:46px;
  height:46px;
  display:none;
  background-color: var(--brand);
}

/* -------------------------
   16) SWIPER / CAROUSEL
-------------------------- */
/* ===== Swiper loop continuo (GEPIAN) ===== */
.gepian-swiper{
  width: 100%;
  overflow: hidden;
}

.gepian-swiper .swiper-wrapper{
  transition-timing-function: linear !important; /* clave para que no frene */
}

.gepian-swiper .swiper-slide{
  width: 504px;          /* ajustá a tu Figma */
  height: 373px;         /* ajustá a tu Figma */
 
  overflow: hidden;
}

.gepian-swiper .swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -------------------------
   18) RESPONSIVE GLOBAL
-------------------------- */
@media (max-width: 991.98px){
  .hero{ min-height: 68vh; }

  .contacto__wrap{
    grid-template-columns: 1fr;
    min-height:auto;
  }

  

  .compromiso__wrap{
    grid-template-columns: 1fr;
    min-height:auto;
  }
  .compromiso__media{ height: 280px; }
  .compromiso__content{
    padding: 32px 20px;
    max-width:none;
  }
  .compromiso__item strong{ font-size: 16px; }

  .soft-swiper{ height: 240px; }
}

@media (min-width: 768px){
  .hero{ min-height: 80vh; }
  .soft-swiper{ height: 380px; }
}
.icon-pill img{
    width:32px;
    height:32px;    
}

/* === Catálogo tipo Figma === */
.catalogo__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom: 22px;
}

.catalogo__title{
  font-family: var(--font-heading, "Satoshi", sans-serif);
  font-weight: 800;
  color: #0B6B3A; /* verde del título (ajustalo si querés) */
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin:0;
}

/* Chips de filtros */
.catalogo__filters{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.filter-chip{
  border: 1px solid rgba(11,107,58,.55);
  color: #0B6B3A;
  background: transparent;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}

.filter-chip:hover{
  transform: translateY(-1px);
  background: rgba(11,107,58,.08);
}

.filter-chip.is-active{
  background: rgba(11,107,58,.12);
}

/* Grid 3 columnas */
.catalogo__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* Card */
.product-card{
  border-radius: 16px;
  overflow: hidden;
  background:#fff;
}

.product-card__media{
  display:block;
  border-radius: 16px;
  overflow:hidden;
  background: #f2f3f5;
  border: 1px solid rgba(0,0,0,.08);
}

.product-card__media img{
  width:100%;
  height: 256px;         /* ajustá para que coincida con Figma */
  object-fit: cover;
  display:block;
}

/* “selección” azul como la captura */
.product-card.is-selected .product-card__media{
  
  box-shadow: 0 0 0 3px rgba(25,123,255,.10);
}

.product-card__body{
  padding: 12px 2px 0;
}

.product-card__title{
  margin: 8px 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: #0B6B3A;
}

.product-card__desc{
  margin:0;
  font-size: 14px;
  color: #6B7280;
}

/* Responsive */
@media (max-width: 991.98px){
  .catalogo__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px){
  .catalogo__head{ flex-direction:column; align-items:flex-start; }
  .catalogo__filters{ justify-content:flex-start; }
  .catalogo__grid{ grid-template-columns: 1fr; }
  .product-card__media img{ height: 200px; }
}
.index-custom{
  z-index: 99 !important;
  
}
.custom-width{
  max-width: 98%;
}   
.custom-overflow{
  overflow: hidden;
  padding-right: 0px;
}
.custom-padding{
  padding: 0px 90px;
}
/* ===== QUIÉNES SOMOS: slider full-right ===== */
.about{
  overflow: hidden; /* clave para que no aparezca scroll horizontal */
}

/* NO uses custom-width acá */
.custom-width{ max-width: none; } /* o directamente borrala */

/* columna del slider: la sacamos hacia la derecha */
.about__slider-col{
  padding-right: 0; /* que llegue al borde del container */
}

/* en desktop empujamos el carrusel hasta el borde de la pantalla */
@media (min-width: 992px){
  .about__slider-col .gepian-swiper{
    width: calc(50vw + (50vw - 50%)); 
    /* explicación práctica: ensancha la mitad derecha para llegar a 100vw */
    margin-left: auto;
  }
}
/* =========================
   CONTACTO – versión estable
========================= */

/* =========================
   CONTACTO – alineado + imagen full-bleed
========================= */

.contacto{
  background: #fff;
}

.contacto__row{
  min-height: 600px;
  align-items: stretch;
}

/* Izquierda: padding vertical, alineado al container */
.contacto__content{
  display: flex;
  align-items: center;
  padding: clamp(64px, 6vw, 112px) 0;
}

/* “inner” para controlar aire hacia la imagen sin romper container */
.contacto__inner{
  width: 100%;
  padding-right: clamp(24px, 3vw, 72px);
}

/* Derecha: la imagen ocupa toda la altura */



/* 🔥 Full-bleed SOLO en desktop:
   hacemos que esta columna mida 50vw y “salga” del container hacia la derecha */
@media (min-width: 992px){
 
}

/* Mobile: apila */
@media (max-width: 991.98px){
  .contacto__row{
    min-height: auto;
  }

  .contacto__content{
    padding: 40px 0;
  }

  .contacto__inner{
    padding-right: 0;
  }

  
}

/* =========================
   CONTACTO GEPIAN – estable (sin overflow)
========================= */

/* =========================
   CONTACTO GEPIAN – estable (sin overflow)
   (PEGAR AL FINAL DEL CSS)
========================= */

.contacto--gepian{
  position: relative;
  background: #fff;
  overflow-x: clip;        /* evita scroll horizontal por rounding */
  min-height: 600px;
}

.contacto--gepian .contacto__row{
  min-height: 600px;
}

/* Izquierda */
.contacto--gepian .contacto__content{
  display: flex;
  align-items: center;
  padding: clamp(64px, 6vw, 112px) 0;
}

.contacto--gepian .contacto__inner{
  width: 100%;
  padding-right: clamp(24px, 3vw, 72px);
}

/* Derecha: background full-bleed */
.contacto--gepian .contacto__media--gepian{
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100%;
  background-image: url("../img/Gepian/contacto.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Mobile */
@media (max-width: 991.98px){
  .contacto--gepian{
    min-height: auto;
  }

  .contacto--gepian .contacto__media--gepian{
    position: relative;
    width: 100%;
    height: 280px;
  }

  .contacto--gepian .contacto__content{
    padding: 40px 0;
  }

  .contacto--gepian .contacto__inner{
    padding-right: 0;
  }
}
