/* index.css — Hero Slider + secciones home */

/* ══════════════════════════════════════
   HERO SLIDER
══════════════════════════════════════ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--green-dark);
}

/* SLIDES */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  will-change: opacity;
}
.slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* IMAGE */
.slide-bg { position: absolute; inset: 0; }
.slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 6s ease;
}
.slide--active .slide-img { transform: scale(1.04); }

/* ── OVERLAYS (3 versiones) ── */
.slide-overlay {
  position: absolute;
  inset: 0;
}
/* Slide 1 — oscuro centrado */
.slide-overlay--center-dark {
  background: linear-gradient(
    to bottom,
    rgba(5,20,10,0.35) 0%,
    rgba(5,20,10,0.55) 40%,
    rgba(5,20,10,0.7)  100%
  );
}
/* Slide 2 — lateral izquierdo verde/dorado */
.slide-overlay--left-fade {
  background: linear-gradient(
    105deg,
    rgba(13,43,26,0.88) 0%,
    rgba(13,43,26,0.70) 40%,
    rgba(13,43,26,0.15) 70%,
    transparent 100%
  );
}
/* Slide 3 — panel derecho semitransparente */
.slide-overlay--right-panel {
  background: linear-gradient(
    to left,
    rgba(5,20,10,0.0)  0%,
    rgba(5,20,10,0.15) 35%,
    rgba(5,20,10,0.50) 60%,
    rgba(5,20,10,0.20) 100%
  );
}

/* ── CONTENT POSITIONS ── */
.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
  padding: calc(var(--nav-h) + 20px) 6vw 100px;
}

/* Centro */
.slide-content--center {
  justify-content: center;
  text-align: center;
}
.slide-content--center .slide-inner {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Izquierda inferior */
.slide-content--bottom-left {
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: 120px;
}
.slide-content--bottom-left .slide-inner {
  max-width: 600px;
  text-align: left;
}

/* Derecha */
.slide-content--right {
  justify-content: flex-end;
  text-align: left;
}
.slide-content--right .slide-inner {
  max-width: 520px;
}

/* ── CARD (slide 3) ── */
.slide-inner--card {
  background: rgba(10, 30, 18, 0.78);
  border: 1px solid rgba(184,134,11,0.35);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

/* ── TYPOGRAPHY ── */
.slide-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.85;
}
.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(184,134,11,0.15);
  border: 1px solid rgba(184,134,11,0.35);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 20px;
}
.slide-badge--gold {
  background: rgba(184,134,11,0.2);
  border-color: rgba(184,134,11,0.5);
}

.slide-title {
  font-family: var(--serif);
  font-size: clamp(44px, 7.5vw, 88px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.slide-title--left  { font-size: clamp(40px, 6vw, 74px); text-align: left; }
.slide-title--right { font-size: clamp(36px, 4.5vw, 58px); letter-spacing: -1px; }

.st-1 { color: #fff; }
.st-2 { color: var(--gold-light); }
.st-3 { font-style: italic; font-weight: 400; font-size: 0.72em; color: rgba(255,255,255,0.55); }
.st-accent { color: var(--gold-light); }
.st-sub { font-style: italic; font-weight: 400; font-size: 0.7em; color: rgba(255,255,255,0.6); }

.slide-slogan {
  font-family: var(--serif);
  font-size: clamp(15px, 2vw, 21px);
  font-style: italic;
  color: var(--gold-pale);
  margin-bottom: 18px;
  opacity: 0.9;
}
.slide-location {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold-light);
  opacity: 0.65;
  margin-bottom: 14px;
}
.slide-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 560px;
}
.slide-desc--left { max-width: 480px; }
.slide-desc--dark { color: rgba(255,255,255,0.8); font-size: 13.5px; margin-bottom: 20px; }

.slide-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.slide-content--center .slide-actions { justify-content: center; }

/* Mini stats (slide 3) */
.slide-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(184,134,11,0.2);
  border-bottom: 1px solid rgba(184,134,11,0.2);
}
.ss-item { text-align: center; padding: 0 16px; }
.ss-n { display: block; font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--gold-light); line-height: 1; margin-bottom: 3px; }
.ss-l { font-size: 9px; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase; }
.ss-div { width: 1px; height: 28px; background: rgba(184,134,11,0.25); }

/* ── SLIDER CONTROLS ── */
.slider-controls {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.slider-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.25);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(6px);
}
.slider-arrow:hover {
  border-color: var(--gold-light);
  background: rgba(184,134,11,0.2);
  color: var(--gold-light);
}

.slider-dots { display: flex; gap: 8px; align-items: center; }
.sdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.sdot--active {
  background: var(--gold-light);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(184,134,11,0.5);
}

/* ── PROGRESS BAR ── */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.12);
  z-index: 10;
}
.slider-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0%;
  transition: width 0.1s linear;
}

/* ── SCROLL INDICATOR ── */
.hero-scroll {
  position: absolute;
  bottom: 52px;
  right: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 10;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
  animation: sp 2s ease-in-out infinite;
}
@keyframes sp { 0%,100%{opacity:1}50%{opacity:.3} }
.scroll-label { font-size: 9px; letter-spacing: 2px; color: var(--gold-light); opacity: 0.5; text-transform: uppercase; writing-mode: vertical-rl; }

/* ══════════════════════════════════════
   STATS BAND
══════════════════════════════════════ */
.stats-band {
  background: var(--green-dark);
  border-bottom: 1px solid rgba(184,134,11,0.2);
  padding: 28px 32px;
}
.stats-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.sband-item { text-align: center; padding: 8px 36px; }
.sband-n { display: block; font-family: var(--serif); font-size: clamp(28px,4vw,40px); font-weight: 700; color: var(--gold-light); line-height: 1; margin-bottom: 5px; }
.sband-l { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; }
.sband-sep { width: 1px; height: 44px; background: rgba(184,134,11,0.2); }

/* GUARANTEE */
.guarantee-banner { background: linear-gradient(135deg, var(--gold), var(--gold-light)); padding: 18px 32px; }
.gb-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 14px; justify-content: center; text-align: center; }
.gb-icon { font-size: 18px; flex-shrink: 0; color: var(--green-dark); }
.gb-inner p { font-size: 14px; color: var(--green-dark); font-weight: 500; }

/* PREVIEW */
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.preview-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-card { background: #fff; border: 1px solid var(--border2); border-radius: var(--radius-lg); padding: 18px 16px; display: flex; align-items: flex-start; gap: 12px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mc-icon { font-size: 24px; flex-shrink: 0; }
.mc-title { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--green-dark); margin-bottom: 4px; }
.mc-desc { font-size: 12px; color: var(--text2); line-height: 1.6; }

/* CATS STRIP */
.cats-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cs-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 20px; min-width: 130px; background: rgba(255,255,255,.05); border: 1px solid rgba(184,134,11,.18); border-radius: var(--radius-lg); text-decoration: none; color: rgba(255,255,255,.8); font-size: 12px; font-weight: 500; text-align: center; transition: background .2s, border-color .2s, transform .2s; letter-spacing: .3px; }
.cs-item span { font-size: 28px; }
.cs-item:hover { background: rgba(184,134,11,.1); border-color: rgba(184,134,11,.4); transform: translateY(-3px); color: var(--gold-light); }

/* COUNTRIES */
.countries-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.countries-grid span { font-size: 13px; color: var(--text2); background: #fff; border: 1px solid var(--border2); padding: 6px 16px; border-radius: 100px; box-shadow: var(--shadow-sm); }

/* CTA SECTION */
.section--cta { background: var(--green-dark); padding: 80px 32px; }
.cta-box { max-width: 900px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 48px; background: rgba(255,255,255,.04); border: 1px solid rgba(184,134,11,.25); border-radius: var(--radius-xl); }
.cta-title { font-family: var(--serif); font-size: clamp(28px,4vw,40px); color: #fff; margin-bottom: 12px; }
.cta-desc { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.75; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.btn--wa { background: #25D366; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.btn--wa:hover { background: #1ebe5a; transform: translateY(-2px); }

/* ══════════════════════════════════════
   SLIDE ENTRANCE ANIMATION
══════════════════════════════════════ */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide--active .slide-eyebrow,
.slide--active .slide-badge    { animation: slideInUp .6s .1s ease both; }
.slide--active .slide-title    { animation: slideInUp .7s .2s ease both; }
.slide--active .slide-slogan   { animation: slideInUp .6s .35s ease both; }
.slide--active .slide-desc     { animation: slideInUp .6s .45s ease both; }
.slide--active .slide-stats    { animation: slideInUp .6s .5s ease both; }
.slide--active .slide-actions  { animation: slideInUp .6s .55s ease both; }
.slide--active .slide-location { animation: slideInUp .6s .3s ease both; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media(max-width:960px) {
  .preview-grid { grid-template-columns: 1fr; }
  .slide-content--right { justify-content: center; }
  .slide-inner--card { max-width: 480px; }
  .slide-content--bottom-left { padding-bottom: 110px; }
}
@media(max-width:768px) {
  .hero-slider { height: 100svh; }
  .slide-content { padding: calc(var(--nav-h) + 16px) 24px 100px; }
  .slide-title { font-size: clamp(36px,10vw,56px); }
  .slide-title--right { font-size: clamp(28px,8vw,44px); }
  .slide-content--right { align-items: flex-end; justify-content: center; }
  .slide-inner--card { padding: 24px 20px; }
  .stats-band-inner { gap: 0; }
  .sband-item { padding: 8px 20px; }
  .sband-sep { height: 32px; }
  .preview-cards { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .slider-controls { bottom: 32px; }
}
@media(max-width:540px) {
  .slide-content--bottom-left,
  .slide-content--right { justify-content: center; align-items: flex-end; }
  .slide-inner { max-width: 100% !important; }
  .slide-desc { font-size: 13px; }
  .slide-actions { flex-direction: column; }
  .slide-actions .btn { width: 100%; text-align: center; }
  .stats-band-inner { gap: 8px; }
  .sband-sep { display: none; }
  .sband-item { padding: 6px 16px; }
  .cta-box { flex-direction: column; text-align: center; padding: 28px 20px; }
  .cta-actions { justify-content: center; }
  .gb-inner { flex-direction: column; }
}

/* ══════════════════════════════════════
   CATEGORÍAS CON FOTO
══════════════════════════════════════ */
.section--grey { background: var(--cream2); }

.cat-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-photo-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  border: 1px solid var(--border2);
}
.cat-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.cpc-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.cpc-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
}
.cat-photo-card:hover .cpc-img-wrap img { transform: scale(1.07); }

.cpc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,43,26,0.55) 0%, transparent 55%);
  transition: opacity 0.3s;
}
.cat-photo-card:hover .cpc-overlay { opacity: 0.8; }

.cpc-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px 22px;
  flex: 1;
}
.cpc-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
}
.cpc-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 2px;
  transition: color 0.2s;
}
.cat-photo-card:hover .cpc-title { color: var(--green); }

.cpc-desc {
  font-size: 12.5px;
  color: var(--text2);
  line-height: 1.65;
  flex: 1;
}
.cpc-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.3px;
  margin-top: 6px;
  transition: color 0.2s, letter-spacing 0.2s;
  display: block;
}
.cat-photo-card:hover .cpc-link {
  color: var(--gold);
  letter-spacing: 0.8px;
}

/* ══════════════════════════════════════
   BANNER INFERIOR — CALIDAD
══════════════════════════════════════ */
.quality-banner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.qb-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.qb-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.qb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,43,26,0.92) 0%,
    rgba(13,43,26,0.78) 45%,
    rgba(13,43,26,0.30) 100%
  );
}

.qb-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 80px 6vw;
}
.qb-inner {
  max-width: 680px;
}

.qb-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  opacity: 0.85;
}
.qb-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.qb-title em {
  font-style: italic;
  color: var(--gold-light);
}
.qb-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 540px;
}
.qb-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.qb-cert {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 100px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(184,134,11,0.35);
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s;
}
.qb-cert:hover {
  background: rgba(184,134,11,0.15);
  border-color: var(--gold-light);
}

/* ── RESPONSIVE ── */
@media(max-width:1100px) {
  .cat-photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:640px) {
  .cat-photo-grid { grid-template-columns: 1fr; gap: 14px; }
  .cpc-img-wrap { height: 200px; }
  .quality-banner { min-height: 460px; }
  .qb-content { padding: 60px 24px; }
  .qb-title { letter-spacing: -0.5px; }
}
@media(max-width:440px) {
  .cat-photo-grid { grid-template-columns: 1fr; }
}
