/* ===== HERO ===== */
#inicio {
  position: relative; min-height: 720px; height: 100vh;
  padding: 78px 0 0; display: block; overflow: hidden; isolation: isolate;
}
#heroCanvas { display: none !important; }
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background-image: url('../hero-fercogan-nelore.png');
  background-size: cover; background-position: center center;
  transform: scale(1.025);
  animation: heroKenBurns 20s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg,rgba(255,244,211,.84) 0%,rgba(255,236,192,.52) 26%,rgba(10,31,19,.04) 60%),
    linear-gradient(180deg,rgba(4,29,15,.18) 0%,transparent 42%,rgba(4,29,15,.18) 72%,rgba(4,29,15,.66) 100%);
  pointer-events: none;
}
.hero-shell {
  position: relative; width: min(1380px,100%); height: 100%;
  margin: 0 auto; padding: clamp(4rem,10vh,7.5rem) clamp(1.5rem,6vw,6rem) 7.3rem;
  display: flex; align-items: flex-start;
}
.hero-content {
  position: relative; z-index: 2; max-width: 650px;
  padding: 0; text-align: left; color: var(--verde-o);
}
.hero-badge {
  display: inline-block; margin: 0 0 .85rem; padding: 0;
  border: 0; background: transparent; color: var(--verde-o);
  font-size: .76rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}
.hero-line { width: 38px; height: 3px; margin-bottom: 1.55rem; border-radius: 3px; background: var(--amarillo); }
.hero-content h1 {
  margin: 0; color: var(--verde-o);
  font-size: clamp(2.6rem,5vw,5.15rem); font-weight: 900;
  line-height: .98; letter-spacing: -.045em; text-transform: uppercase;
  text-shadow: 0 2px 1px rgba(255,255,255,.48),0 12px 32px rgba(255,245,220,.24);
    font-family: 'Montserrat', sans-serif;
}
.hero-content p {
  max-width: 540px; margin: 1.55rem 0 2rem; color: #263d30;
  font-size: clamp(.98rem,1.35vw,1.14rem); line-height: 1.65;
  text-shadow: 0 1px 12px rgba(255,255,255,.55);
}
.hero-btns { display: flex; justify-content: flex-start; gap: .8rem; flex-wrap: wrap; }
.btn-y {
  min-height: 52px; padding: .85rem 1.45rem; border-radius: 7px;
  font-size: .84rem; font-weight: 800; text-transform: uppercase; letter-spacing: .2px;
  background: var(--amarillo); color: var(--verde-o); border: none; cursor: pointer;
  box-shadow: 0 10px 28px rgba(245,196,0,.28); transition: all .2s;
}
.btn-y:hover { background: var(--amarillo-h); transform: translateY(-2px); }
.btn-w {
  min-height: 52px; padding: .85rem 1.45rem; border-radius: 7px;
  font-size: .84rem; font-weight: 800; text-transform: uppercase; letter-spacing: .2px;
  border: 1.5px solid var(--verde-o); color: var(--verde-o);
  background: rgba(255,255,255,.14); backdrop-filter: blur(6px); cursor: pointer; transition: all .2s;
}
.btn-w:hover { background: var(--verde-o); border-color: var(--verde-o); color: #fff; }
.hero-values {
  position: absolute; left: clamp(1rem,5vw,5rem); right: clamp(1rem,5vw,5rem);
  bottom: 1.35rem; min-height: 86px;
  display: grid; grid-template-columns: repeat(4,1fr);
  align-items: center; padding: 1rem 1.2rem;
  color: #fff; border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px; background: rgba(5,52,26,.82);
  box-shadow: 0 20px 45px rgba(0,0,0,.22); backdrop-filter: blur(10px);
}
.hero-value { display: flex; align-items: center; gap: .85rem; min-width: 0; padding: .1rem 1.2rem; border-right: 1px solid rgba(255,255,255,.15); }
.hero-value:last-child { border-right: 0; }
.hero-value-icon {
  flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center;
  border: 2px solid var(--amarillo); border-radius: 12px; color: var(--amarillo); font-size: 1.25rem;
}
.hero-value strong { display: block; margin-bottom: .2rem; color: #fff; font-size: .79rem; text-transform: uppercase; letter-spacing: .5px; }
.hero-value small { display: block; color: rgba(255,255,255,.76); font-size: .75rem; line-height: 1.3; }
@keyframes heroKenBurns {
  from { transform: scale(1.025) translate3d(0,0,0); }
  to   { transform: scale(1.075) translate3d(-.7%,.3%,0); }
}

/* ===== QUIÉNES SOMOS ===== */
#quienes { background: var(--gris-c); }
.q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.q-texto h2 { font-size: 1.9rem; font-weight: 800; color: var(--verde-o); margin-bottom: 1rem; }
.q-texto p { color: var(--gris-t); line-height: 1.8; margin-bottom: 1.1rem; }
.valores { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 1.4rem; }
.vc { background: #fff; border: 1px solid var(--borde); border-left: 4px solid var(--verde); border-radius: 8px; padding: .85rem 1rem; }
.vc strong { display: block; color: var(--verde-o); font-size: .86rem; font-weight: 700; margin-bottom: .2rem; }
.vc span { color: var(--gris-t); font-size: .83rem; line-height: 1.5; }
.q-vis { background: linear-gradient(145deg,var(--verde-o),var(--verde)); border-radius: 16px; padding: 2rem; color: #fff; text-align: center; }
.sg { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.2rem; }
.si { background: rgba(255,255,255,.1); border-radius: 10px; padding: 1.1rem; }
.si .n { font-size: 2rem; font-weight: 900; color: var(--amarillo); display: block; }
.si .l { font-size: .8rem; color: rgba(255,255,255,.75); line-height: 1.4; margin-top: .3rem; }

/* ===== DIVISIONES ===== */
#divisiones {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 8% 12%,rgba(245,196,0,.08),transparent 24%),
    radial-gradient(circle at 92% 88%,rgba(26,122,60,.09),transparent 26%),
    linear-gradient(180deg,#ffffff 0%,#fbfcfa 100%);
}
.dg { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; align-items: stretch; }
.dc {
  position: relative; display: flex; flex-direction: column; min-height: 430px;
  overflow: hidden; border: 1px solid rgba(18,78,42,.12); border-radius: 24px;
  background: rgba(255,255,255,.82); box-shadow: 0 16px 45px rgba(19,90,44,.08);
  backdrop-filter: blur(10px); transition: transform .35s ease, box-shadow .35s ease;
}
.dc:hover { transform: translateY(-10px); box-shadow: 0 26px 65px rgba(19,90,44,.16); }
.dc::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg,var(--card-a),var(--card-b)); }
.dc:nth-child(1) { --card-a:#0f4d2a; --card-b:#3b7a57; --card-glow:rgba(26,122,60,.18); }
.dc:nth-child(2) { --card-a:#d4a900; --card-b:#ffd84a; --card-glow:rgba(245,196,0,.21); }
.dc:nth-child(3) { --card-a:#1a5a7a; --card-b:#63a9c9; --card-glow:rgba(26,90,122,.18); }
.dc-h { position: relative; padding: 2rem 1.6rem 1.15rem; text-align: left; }
.di { width: 66px; height: 66px; margin: 0 0 1.1rem; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; color: #fff; transform: rotate(-3deg); transition: transform .35s ease; }
.dc:hover .di { transform: rotate(0deg) scale(1.06); }
.di.e { background: linear-gradient(145deg,#155f35,#08351c); }
.di.c { background: linear-gradient(145deg,#ffd329,#d2a800); }
.di.v { background: linear-gradient(145deg,#267da7,#0c425e); }
.dc h3 { font-size: 1.28rem; font-weight: 700; line-height: 1.25; color: #08351c; margin: 0; }
.dt { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .8rem; padding: .32rem .72rem; border-radius: 999px; font-size: .67rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.dt.e { background: #e7f0ea; color: #0f4d2a; }
.dt.c { background: #fff6cc; color: #8a6900; }
.dt.v { background: #e9f3f8; color: #195a78; }
.dc-b { position: relative; padding: 0 1.6rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.dc-b p { min-height: 55px; margin-bottom: 1.1rem; color: #5d6861; font-size: .93rem; line-height: 1.75; }
.dc-b ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(18,78,42,.09); }
.dc-b li { position: relative; padding-left: 1.7rem; color: #39433d; font-size: .88rem; line-height: 1.45; }
.dc-b li::before { content: ''; position: absolute; left: 0; top: .16rem; width: 17px; height: 17px; border-radius: 50%; background: linear-gradient(145deg,var(--card-a),var(--card-b)); }
.dc-b li::after { content: '✓'; position: absolute; left: 4px; top: .02rem; color: #fff; font-size: .72rem; font-weight: 800; }

/* ===== PUBLICIDAD ===== */
.ads-section {
  position: relative; overflow: hidden; padding: 4.7rem 1.5rem;
  background: radial-gradient(circle at 5% 15%,rgba(245,196,0,.08),transparent 22%),
    radial-gradient(circle at 95% 85%,rgba(15,77,42,.09),transparent 24%), #f7f8f5;
}
.ads-section .container { max-width: 1180px; }
.ads-head { text-align: center; max-width: 680px; margin: 0 auto 2.3rem; }
.ads-head span { display: inline-block; margin-bottom: .65rem; padding: .35rem .9rem; border-radius: 999px; background: #e7f0ea; color: var(--verde-o); font-size: .68rem; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; }
.ads-head h2 { color: var(--verde-o); font-size: clamp(1.8rem,3.5vw,2.75rem); line-height: 1.1; margin-bottom: .65rem; }
.ads-head p { color: #626b65; line-height: 1.7; }
.ads-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem; }
.ad-card {
  position: relative; min-height: 240px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.45rem; border-radius: 22px; border: 1px solid rgba(8,53,28,.12);
  background: linear-gradient(145deg,rgba(8,53,28,.94),rgba(15,77,42,.84)),#0f4d2a;
  color: #fff; box-shadow: 0 18px 45px rgba(8,53,28,.12); transition: transform .28s ease, box-shadow .28s ease;
}
.ad-card::before { content: 'PUBLICIDAD'; position: absolute; top: 1rem; left: 1rem; padding: .24rem .55rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: rgba(255,255,255,.78); font-size: .58rem; font-weight: 800; letter-spacing: 1.5px; }
.ad-card:hover { transform: translateY(-7px); box-shadow: 0 28px 60px rgba(8,53,28,.2); }
.ad-card.featured { min-height: 360px; grid-row: span 2; background: linear-gradient(180deg,rgba(4,24,13,.1),rgba(4,24,13,.88)), linear-gradient(135deg,#0f4d2a,#08351c); }
.ad-icon { position: relative; z-index: 1; width: 58px; height: 58px; margin-bottom: 1rem; display: grid; place-items: center; border-radius: 17px; color: var(--amarillo); font-size: 1.55rem; border: 1px solid rgba(245,196,0,.38); background: rgba(245,196,0,.1); }
.ad-card h3 { position: relative; z-index: 1; margin-bottom: .5rem; color: #fff; font-size: 1.32rem; }
.ad-card p { position: relative; z-index: 1; color: rgba(255,255,255,.72); font-size: .87rem; line-height: 1.6; }
.ad-cta { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .45rem; width: max-content; margin-top: 1rem; padding: .55rem .85rem; border-radius: 9px; background: var(--amarillo); color: var(--verde-o); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .35px; }
.ad-horizontal { margin-top: 1.3rem; min-height: 130px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.3rem; padding: 1.4rem 1.6rem; border-radius: 20px; color: #fff; background: linear-gradient(90deg,rgba(8,53,28,.98),rgba(15,77,42,.9)),#08351c; box-shadow: 0 18px 40px rgba(8,53,28,.15); }
.ad-horizontal .ad-icon { margin: 0; }
.ad-horizontal h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.ad-horizontal p { font-size: .85rem; color: rgba(255,255,255,.7); }
.ad-horizontal .ad-cta { margin: 0; white-space: nowrap; }

/* ===== CONTACTO ===== */
#contacto { background: var(--gris-c); }
.cgrid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.ci h3 { font-size: 1.2rem; font-weight: 700; color: var(--verde-o); margin-bottom: 1.1rem; }
.citem { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.1rem; }
.cico { width: 40px; height: 40px; border-radius: 9px; background: var(--verde-c); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ctxt strong { display: block; font-size: .82rem; font-weight: 700; color: var(--verde); text-transform: uppercase; margin-bottom: .15rem; }
.ctxt span { color: var(--gris-t); font-size: .92rem; line-height: 1.5; }
.cform { background: #fff; border: 1px solid var(--borde); border-radius: 16px; padding: 1.8rem; }
.cform h3 { font-size: 1.15rem; font-weight: 700; color: var(--verde-o); margin-bottom: 1.3rem; }
.btn-send { width: 100%; background: var(--verde); color: #fff; font-weight: 700; font-size: .97rem; padding: .8rem; border-radius: 8px; border: none; cursor: pointer; margin-top: .3rem; }
.btn-send:hover { background: var(--verde-o); }
.fok { display: none; text-align: center; padding: 2rem; color: var(--verde); }

/* ===== BILLBOARD / PRÓXIMOS REMATES ===== */
#calendario {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 10% 20%,rgba(245,196,0,.09),transparent 22%),
    radial-gradient(circle at 90% 80%,rgba(15,77,42,.10),transparent 24%),
    linear-gradient(180deg,#f6f8f5 0%,#ffffff 100%);
}
#calendario .container { max-width: 1220px; }
.billboard-wrap { position: relative; padding: 0 3.4rem; }
.billboard-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px,340px); gap: 1.2rem; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .5rem .2rem 1.4rem; }
.billboard-track::-webkit-scrollbar { display: none; }
.billboard-card { position: relative; min-height: 460px; overflow: hidden; scroll-snap-align: start; border-radius: 24px; background: #0a1a10; box-shadow: 0 22px 55px rgba(8,53,28,.18); border: 1px solid rgba(8,53,28,.12); transition: transform .28s ease; }
.billboard-card:hover { transform: translateY(-8px); box-shadow: 0 32px 70px rgba(8,53,28,.25); }
.billboard-poster { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.04) 20%,rgba(3,16,9,.88) 78%,#07140c 100%), var(--poster,linear-gradient(135deg,#0f4d2a,#08351c)); background-size: cover; background-position: center; }
.billboard-badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .7rem; border-radius: 999px; background: var(--amarillo); color: var(--verde-o); font-size: .65rem; font-weight: 900; letter-spacing: 1.1px; text-transform: uppercase; }
.billboard-date { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 64px; min-height: 68px; display: grid; place-items: center; padding: .45rem; border-radius: 16px; color: #fff; text-align: center; background: rgba(5,35,18,.82); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.billboard-date strong { display: block; font-size: 1.55rem; line-height: 1; }
.billboard-date span { font-size: .62rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.75); }
.billboard-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.5rem; color: #fff; }
.billboard-content h3 { margin-bottom: .55rem; font-size: 1.45rem; line-height: 1.15; }
.billboard-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: .85rem; }
.billboard-meta span { padding: .3rem .55rem; border-radius: 999px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.8); font-size: .68rem; }
.billboard-content p { margin-bottom: 1rem; color: rgba(255,255,255,.72); font-size: .82rem; line-height: 1.55; }
.billboard-actions { display: flex; gap: .65rem; }
.billboard-actions a, .billboard-actions button { flex: 1; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; border: 0; cursor: pointer; text-decoration: none; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.billboard-actions .primary { background: var(--amarillo); color: var(--verde-o); }
.billboard-actions .secondary { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.billboard-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; background: rgba(8,53,28,.92); box-shadow: 0 12px 25px rgba(8,53,28,.24); cursor: pointer; transition: all .2s; }
.billboard-nav:hover { background: var(--amarillo); color: var(--verde-o); transform: translateY(-50%) scale(1.08); }
.billboard-prev { left: .1rem; }
.billboard-next { right: .1rem; }
.billboard-empty { min-height: 360px; display: grid; place-items: center; padding: 2rem; text-align: center; border-radius: 22px; color: #68716b; background: #fff; border: 1px solid rgba(8,53,28,.1); }
.billboard-empty strong { display: block; color: var(--verde-o); font-size: 1.2rem; margin-bottom: .5rem; }

@media(max-width:1050px) {
  .hero-values { grid-template-columns: repeat(2,1fr); }
  .hero-value:nth-child(2) { border-right: 0; }
  .hero-value:nth-child(-n+2) { padding-bottom: .7rem; margin-bottom: .7rem; border-bottom: 1px solid rgba(255,255,255,.12); }
  #inicio { min-height: 820px; }
}
@media(max-width:900px) {
  .q-grid, .cgrid { grid-template-columns: 1fr; }
  .dg { grid-template-columns: 1fr; }
  .valores { grid-template-columns: 1fr 1fr; }
  .ads-grid { grid-template-columns: 1fr 1fr; }
  .ad-card.featured { grid-column: 1/-1; grid-row: auto; min-height: 300px; }
  .ad-horizontal { grid-template-columns: auto 1fr; }
}
@media(max-width:680px) {
  #inicio { padding-top: 66px; min-height: 830px; height: auto; }
  .hero-bg { background-position: 64% center; }
  .hero-shell { min-height: 764px; padding: 4rem 1.2rem 12rem; }
  .hero-content { max-width: 100%; }
  .hero-content h1 { font-size: clamp(2.3rem,12vw,3.6rem); }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .btn-y, .btn-w { width: 100%; max-width: 310px; }
  .hero-values { left: 1rem; right: 1rem; bottom: 1rem; grid-template-columns: 1fr 1fr; padding: .8rem .55rem; }
  .hero-value { padding: .5rem .6rem; gap: .55rem; }
  .valores { grid-template-columns: 1fr; }
  .ads-grid { grid-template-columns: 1fr; }
  .billboard-wrap { padding: 0 2.3rem; }
  .billboard-track { grid-auto-columns: minmax(250px,82vw); }
  .billboard-card { min-height: 430px; }
  .billboard-nav { width: 40px; height: 40px; }
}
@media(prefers-reduced-motion:reduce) { .hero-bg { animation: none; } }

/* ── Ítems de contacto clickeables ─────────────────────── */
.citem-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: background .18s, transform .18s;
  cursor: pointer;
  padding: .2rem .5rem .2rem 0;
  margin-left: -.5rem;
}
.citem-link:hover {
  background: var(--verde-c);
  transform: translateX(4px);
}
.citem-link:hover .cico {
  background: var(--verde);
  color: #fff;
}
.citem-link .cico {
  transition: background .18s, color .18s;
}
.citem-arrow {
  align-self: center;
  margin-left: auto;
  padding-left: .8rem;
  color: var(--verde);
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity .18s, transform .18s;
}
.citem-link:hover .citem-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* ── Redes sociales en footer ───────────────────────────── */
.fredes {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin: .9rem 0 .5rem;
}
.fred {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .9rem;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  transition: background .18s, color .18s, transform .18s;
}
.fred:hover {
  background: var(--amarillo);
  border-color: var(--amarillo);
  color: var(--verde-o);
  transform: translateY(-2px);
}
.fred-icon { font-size: 1rem; }