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

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

  --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: 800;
  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 */
.jv-agro{
  background-image: url(../img/jv-agro/banner-jvagro.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;
  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__content{
  padding: 90px 72px;
  flex-direction: column;
}
.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; }

.contacto__media{
  
  overflow:hidden;
}
.contacto__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* -------------------------
   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
-------------------------- */
.soft-swiper{
  width:100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
}
.soft-swiper .swiper-slide{ width:100%; height:100%; }
.soft-swiper img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

/* Carrusel continuo */
.auto-carousel{
  height: clamp(220px, 28vw, 340px);
  width: 100%;
  overflow: hidden;
  padding-inline: 12px;
}
.auto-carousel .swiper-wrapper{
  transition-timing-function: linear !important;
  will-change: transform;
  transform: translateZ(0);
}
.auto-carousel img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  border-radius: 0;
}
@media (max-width: 575.98px){
  .auto-carousel .swiper-slide{ width: 88%; }
}
@media (min-width: 576px) and (max-width: 991.98px){
  .auto-carousel .swiper-slide{ width: calc(50% - 12px); }
}
@media (min-width: 992px){
  .auto-carousel .swiper-slide{ width: calc(33.333% - 16px); }
}

/* Full bleed utility */
.full-bleed{
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* -------------------------
   17) ACCESIBILIDAD / MOTION
-------------------------- */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; }
  .logo-box, .logo-box img,
  .btn-hero, .wapp-float,
  .auto-carousel .swiper-wrapper{
    transition: none !important;
    transform: none !important;
  }
}

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

  .contacto__wrap{
    grid-template-columns: 1fr;
    min-height:auto;
  }
  .contacto__media{
    border-left: 0;
    border-top: 2px solid var(--brand);
    height: 320px;
  }
  .contacto__content{ padding: 40px 20px; }
  .contacto__title{ font-size: 38px; }

  .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; }
}
.perso{
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 20px;
  margin: 0px;
  padding: 0px;
  
}

.perso li{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: Plus Jakarta Sans;
font-weight: 600;
font-style: SemiBold;
font-size: 18px;

line-height: 100%;
letter-spacing: 0%;
color: #004E91;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
