/*
 * Infrico Buffet — Configurador 3D Landing Page
 * Versión: 1.0
 * Descripción: Estilos para la landing page del configurador 3D 
 */

/* ─── RESET SCOPE ─── */
.infrico-landing * { box-sizing: border-box; }
.infrico-landing, .infrico-landing *::before, .infrico-landing *::after { margin: 0; padding: 0; }

/* ─── VARIABLES ─── */
.infrico-landing {
  --il-green: #006039;
  --il-green-dark: #004a2c;
  --il-green-light: #007a4a;
  --il-cream: #F4F3EB;
  --il-gold: #C5952B;
  --il-gold-dark: #a67d22;
  --il-white: #F6F5F3;
  --il-black: #222225;
  --il-gray: #6b6b6e;
  --il-gray-light: #e8e7df;
  /* font-family: 'DM Sans', sans-serif; */
  background: #fff;
  color: var(--il-black);
  overflow-x: hidden;
}

/* ─── NAV ─── */
.il-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(0,96,57,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.il-nav.scrolled {
  height: 60px;
  background: rgba(0, 60, 35, 0.99);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.il-nav-logo img { height: 36px; }
.il-nav-links {
  display: flex; gap: 32px; align-items: center;
  list-style: none;
}
.il-nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.il-nav-links a:hover { color: var(--il-gold); }
.il-nav-cta { display: flex; gap: 12px; }

/* ─── BUTTONS ─── */
.il-btn-primary {
  background: var(--il-gold);
  color: var(--il-white) !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 14px; font-weight: 600;
  text-decoration: none !important; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block; white-space: nowrap;
}
.il-btn-primary:hover { background: var(--il-gold-dark); transform: translateY(-1px); }
.il-btn-outline-white {
  background: transparent;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 14px; font-weight: 600;
  text-decoration: none !important; border: 2px solid rgba(255,255,255,0.5); cursor: pointer;
  transition: all 0.2s;
  display: inline-block; white-space: nowrap;
}
.il-btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.il-btn-hero-primary {
  background: var(--il-gold);
  color: var(--il-white) !important;
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 16px; font-weight: 600;
  text-decoration: none !important; border: none; cursor: pointer;
  transition: all 0.2s; display: inline-block;
}
.il-btn-hero-primary:hover { background: var(--il-gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(197,149,43,0.35); }
.il-btn-hero-outline {
  background: transparent; color: #fff !important;
  padding: 16px 36px; border-radius: 4px;
  font-size: 16px; font-weight: 600;
  text-decoration: none !important; border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer; transition: all 0.2s; display: inline-block;
}
.il-btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.il-btn-cta-lg {
  background: var(--il-gold); color: var(--il-white) !important;
  padding: 18px 44px; border-radius: 4px;
  font-size: 17px; font-weight: 600;
  text-decoration: none !important; border: none; cursor: pointer;
  transition: all 0.2s; text-align: center; display: block;
}
.il-btn-cta-lg:hover { background: var(--il-gold-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.il-btn-cta-outline-lg {
  background: transparent; color: #fff !important;
  padding: 18px 44px; border-radius: 4px;
  font-size: 17px; font-weight: 600;
  text-decoration: none !important; border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer; transition: all 0.2s; text-align: center; display: block;
}
.il-btn-cta-outline-lg:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ─── HERO ─── */
.il-hero {
  min-height: 100vh;
  background: var(--il-green-dark);
  position: relative;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 120px 10vw 80px;
  overflow: hidden;
}
.il-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.il-hero-title {
  position: relative; z-index: 1;
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 5.5vw, 82px); font-weight: 900;
  color: #fff; line-height: 1.05;
  max-width: 700px; margin-bottom: 24px;
  text-wrap: pretty;
}
.il-hero-title span { color: var(--il-gold); }
.il-hero-sub {
  position: relative; z-index: 1;
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(255,255,255,0.78);
  max-width: 520px; line-height: 1.65;
  margin-bottom: 44px; font-weight: 300; text-wrap: pretty;
}
.il-hero-ctas {
  position: relative; z-index: 1;
  display: flex; gap: 16px; flex-wrap: wrap;
}
.il-hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.il-hero-scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: il-scrollBounce 1.8s ease-in-out infinite;
}
@keyframes il-scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50% { transform: rotate(45deg) translateY(5px); opacity: 0.9; }
}
.il-hero-stats {
  position: absolute; bottom: 0; right: 0; z-index: 2;
  display: flex;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.il-hero-stat {
  padding: 24px 40px;
  border-left: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.il-hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 700; color: var(--il-gold);
  display: block; line-height: 1;
}
.il-hero-stat-label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-top: 6px; display: block;
}

/* ─── INTRO STRIP ─── */
.il-intro-strip {
  background: var(--il-cream);
  padding: 64px 10vw;
  display: flex; align-items: center; gap: 80px;
}
.il-intro-strip-text { flex: 1; }
.il-intro-strip-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 2.8vw, 40px); font-weight: 700;
  color: var(--il-green); margin-bottom: 16px; text-wrap: pretty;
}
.il-intro-strip-text p {
  font-size: 17px; line-height: 1.7; color: var(--il-gray);
  max-width: 520px; text-wrap: pretty;
}
.il-intro-strip-divider {
  width: 1px; height: 120px; background: var(--il-green); opacity: 0.2; flex-shrink: 0;
}
.il-intro-strip-features { display: flex; flex-direction: column; gap: 20px; flex: 0 0 auto; }
.il-intro-feat { display: flex; align-items: flex-start; gap: 14px; }
.il-intro-feat-icon {
  width: 36px; height: 36px; border-radius: 4px;
  background: var(--il-green); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.il-intro-feat-icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }
.il-intro-feat-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--il-black); }
.il-intro-feat-text span { font-size: 13px; color: var(--il-gray); }

/* ─── SECTION COMMON ─── */
.il-section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--il-gold); margin-bottom: 16px;
}
.il-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3vw, 48px); font-weight: 700;
  color: var(--il-black); margin-bottom: 10px;
  max-width: 560px; text-wrap: pretty;
}

/* ─── FEATURES ─── */
.il-features { background: var(--il-white); padding: 96px 10vw; }
.il-features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--il-gray-light);
  border: 2px solid var(--il-gray-light); border-radius: 8px; overflow: hidden;
}
.il-feature-card { background: var(--il-white); padding: 44px 36px; transition: background 0.25s; }
.il-feature-card:hover { background: var(--il-cream); }
.il-feature-card-icon {
  width: 48px; height: 48px; border-radius: 6px;
  background: var(--il-green); display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.il-feature-card-icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.8; }
.il-feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 600; color: var(--il-black); margin-bottom: 12px;
}
.il-feature-card p { font-size: 15px; line-height: 1.7; color: var(--il-gray); }

/* ─── CONFIGURATOR PREVIEW ─── */
.il-configurator-preview { background: var(--il-black); padding: 42px 0; overflow: hidden; }
.il-configurator-preview-inner { padding: 0 10vw; }
.il-configurator-preview .il-section-label { color: var(--il-gold); }
.il-configurator-preview .il-section-title { color: #fff; }
.il-screenshots-carousel { position: relative; margin-top: 28px; padding: 0 10vw; }
.il-screenshots-track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-top: 10px;
}
.il-screenshots-track::-webkit-scrollbar { display: none; }
.il-screenshot-slide {
  flex-shrink: 0; width: 72vw; max-width: 920px;
  scroll-snap-align: start; border-radius: 8px; overflow: hidden;
  position: relative; cursor: pointer;
  border: 2px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s, transform 0.3s;
}
.il-screenshot-slide:hover { border-color: var(--il-gold); transform: translateY(-4px); }
.il-screenshot-slide img { width: 100%; display: block; }
.il-screenshot-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 40px 28px 20px; color: #fff; font-size: 14px; font-weight: 500;
}
.il-screenshot-caption strong { display: block; font-size: 17px; margin-bottom: 4px; }
.il-carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.il-carousel-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.2); cursor: pointer;
  transition: all 0.3s; border: none;
  padding: 0;
  margin: 0;
  min-width: auto;
  min-height: auto;
}
.il-carousel-dot.active { background: var(--il-gold); width: 34px; border-radius: 4px; }

/* ─── HOW IT WORKS ─── */
.il-how-it-works { background: var(--il-cream); padding: 96px 10vw; }
.il-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 60px; position: relative;
}
.il-steps::before {
  content: ''; position: absolute;
  top: 28px; left: 56px; right: 56px;
  height: 2px; background: var(--il-green); opacity: 0.15;
}
.il-step { text-align: center; padding: 0 24px; position: relative; }
.il-step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--il-green); color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; position: relative; z-index: 1;
}
.il-step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 600; color: var(--il-black); margin-bottom: 12px;
}
.il-step p { font-size: 15px; line-height: 1.65; color: var(--il-gray); }

/* ─── TYPES ─── */
.il-types-section { background: var(--il-white); padding: 96px 10vw; }
.il-types-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 48px;
  background: var(--il-gray-light); border-radius: 8px; overflow: hidden;
}
.il-type-card { background: var(--il-white); overflow: hidden; transition: all 0.3s; }
.il-type-card:hover .il-type-card-img-wrap img { transform: scale(1.04); }
.il-type-card-img-wrap {
  height: 220px; overflow: hidden; position: relative; background: var(--il-cream);
}
.il-type-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.il-type-card-img-placeholder {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(-45deg, var(--il-cream) 0, var(--il-cream) 10px, var(--il-gray-light) 10px, var(--il-gray-light) 20px);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--il-gray); font-family: monospace; text-align: center; padding: 16px;
}
.il-type-card-body { padding: 28px 28px 32px; }
.il-type-card-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--il-gold); margin-bottom: 10px; display: block;
}
.il-type-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; color: var(--il-black); margin-bottom: 10px;
}
.il-type-card-body p { font-size: 15px; line-height: 1.65; color: var(--il-gray); }

/* ─── CTA FINAL ─── */
.il-cta-final {
  background: var(--il-green);
  padding: 120px 10vw;
  display: flex; align-items: center; justify-content: space-between;
  gap: 60px; position: relative; overflow: hidden;
  /* margin-bottom: 30px; */
}
.il-cta-final::before {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 600px; height: 600px; border-radius: 50%; background: rgba(255,255,255,0.03);
}
.il-cta-final-text { position: relative; z-index: 1; }
.il-cta-final-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 52px); font-weight: 700;
  color: #fff; margin-bottom: 16px; text-wrap: pretty;
}
.il-cta-final-text p {
  font-size: 18px; color: rgba(255,255,255,0.72);
  line-height: 1.65; max-width: 480px; text-wrap: pretty;
}
.il-cta-final-actions {
  display: flex; flex-direction: column; gap: 14px;
  flex-shrink: 0; position: relative; z-index: 1;
}


.il-advisory {
  background: var(--il-cream);
  border-top: 1px solid #e8ede9;
  padding: 56px 24px;
}

.il-advisory-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.il-advisory-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: #f0f6f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003c23;
}

.il-advisory-icon svg {
  width: 24px;
  height: 24px;
}

.il-advisory-text {
  flex: 1;
  min-width: 220px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.4;
}

.il-btn-advisory {
  flex-shrink: 0;
  display: inline-block;
  padding: 14px 32px;
  background: #005c36;
  color: #fff;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.il-btn-advisory:hover {
  background:  #003c23;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .il-advisory-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .il-advisory-text {
    min-width: unset;
  }
}

/* ─── FOOTER ─── */
.il-footer {
  background: var(--il-black); padding: 48px 10vw;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.il-footer img { height: 40px; opacity: 0.8; filter: brightness(0) invert(1); }
.il-footer p { font-size: 13px; color: rgba(255,255,255,0.3); }
.il-footer-links { display: flex; gap: 24px; }
.il-footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.il-footer-links a:hover { color: var(--il-gold); }

/* ─── ANIMATIONS ─── */
.il-fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.il-fade-up.visible { opacity: 1; transform: none; }


.il-screenshots-carousel { position: relative; }

.il-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-60%);
  z-index: 10;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--il-gold); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.il-carousel-arrow:hover { background: var(--il-gold-dark); transform: translateY(-60%) scale(1.08); }
.il-carousel-arrow svg { width: 22px; height: 22px; }
.il-carousel-prev { left: 16px; }
.il-carousel-next { right: 16px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .il-types-section { padding: 96px 6vw; }
  .il-carousel-arrow{ display: none;}
  .il-nav { padding: 0 24px; }
  .il-nav-links { display: none; }
  .il-hero { padding: 100px 6vw 80px; }
  .il-hero-stats { justify-content: center; border-left: none; position: static; margin-top: 40px; flex-wrap: wrap; background: rgba(0,0,0,0.6); }
  .il-intro-strip { flex-direction: column; gap: 40px; padding: 60px 6vw; }
  .il-intro-strip-divider { display: none; }
  .il-features { padding: 60px 6vw; }
  .il-features-grid { grid-template-columns: 1fr; }
  .il-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .il-steps::before { display: none; }
  .il-types-grid { grid-template-columns: 1fr; }
  .il-cta-final { flex-direction: column; align-items: flex-start; padding: 80px 6vw; }
  .il-cta-final-actions { width: 100%; }
  .il-btn-cta-lg, .il-btn-cta-outline-lg { text-align: center; }
  .il-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .il-screenshots-carousel { padding: 0 6vw; }
  .il-screenshot-slide { width: 85vw; }
}
