/* ============================================
   YUREN ENERGÍA — styles.css
   Tipografía: Helvetica Neue / Inter fallback
   Color corporativo: #78BE00
   ============================================ */

/* ---- VARIABLES ---- */
:root {
  --brand: #78BE00;
  --brand-dark: #5a9200;
  --dark: #0c0c0c;
  --bg: #ffffff;
  --bg-alt: #f7f7f5;
  --line: rgba(0, 0, 0, 0.08);
  --t1: #0c0c0c;
  --t2: rgba(0, 0, 0, 0.5);
  --t3: rgba(0, 0, 0, 0.28);
  --font: "Neue Haas Grotesk Text", "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;
  --nav-h: 60px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--t1); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { cursor: pointer; font-family: var(--font); }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
.nav-logo-img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-size: 11px; color: var(--t3); text-decoration: none; letter-spacing: 0.04em; font-weight: 400; transition: color 0.15s; }
.nav-links a:hover { color: var(--brand); }
.nav-cta {
  background: var(--brand) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 2px;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--brand-dark) !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--t1); transition: transform 0.2s, opacity 0.2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MENÚ MÓVIL */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 99;
  flex-direction: column;
  padding: 16px 32px 24px;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nm-link { font-size: 15px; color: var(--t2); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.nm-link:last-of-type { border-bottom: none; }
.nm-cta { margin-top: 12px; background: var(--brand); color: #fff; padding: 13px 24px; border-radius: 2px; font-size: 13px; font-weight: 700; text-decoration: none; text-align: center; }

/* ---- HERO ---- */
.hero {
  background: #ffffff;
  min-height: 80vh;
  display: flex;
  align-items: center;
  margin-top: var(--nav-h);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--brand);
}
.hero-content { padding: 64px 48px 64px 52px; width: 100%; max-width: 900px; }
.hero-kicker { font-size: 10px; letter-spacing: 0.22em; color: var(--brand); margin-bottom: 24px; font-weight: 600; text-transform: uppercase; }
.hero-title { font-size: clamp(52px, 8vw, 88px); font-weight: 900; line-height: 0.92; color: var(--dark); letter-spacing: -0.04em; }
.hero-title .l2 { display: block; padding-left: clamp(20px, 3vw, 40px); }
.hero-title .l3 { display: block; padding-left: clamp(40px, 6vw, 80px); color: var(--brand); }
.hero-divider { width: 36px; height: 2px; background: var(--brand); margin: 28px 0; }
.hero-sub { font-size: 15px; color: var(--t2); max-width: 440px; line-height: 1.8; margin-bottom: 36px; font-weight: 300; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 10px; color: var(--t3); margin-top: 16px; letter-spacing: 0.08em; }

/* ---- BOTONES ---- */
.btn-primary {
  background: var(--brand);
  color: #fff;
  padding: 13px 26px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.03em;
  transition: background 0.15s, transform 0.1s;
  border: none;
  font-family: var(--font);
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost {
  border: 1px solid rgba(0,0,0,0.2);
  color: rgba(0,0,0,0.55);
  padding: 13px 26px;
  font-size: 12px;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 400;
  transition: border-color 0.15s, color 0.15s;
  letter-spacing: 0.03em;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-wa {
  background: #25D366;
  color: #fff;
  padding: 13px 24px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
  letter-spacing: 0.03em;
}
.btn-wa:hover { background: #1da851; }
.btn-tel {
  border: 1px solid rgba(0,0,0,0.18);
  color: rgba(0,0,0,0.55);
  padding: 13px 24px;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s, color 0.15s;
  letter-spacing: 0.03em;
}
.btn-tel:hover { border-color: var(--brand); color: var(--brand); }

/* ---- MARQUEE ---- */
.marquee-wrap {
  overflow: hidden;
  background: #efefef;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.marquee-inner {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.marquee-inner span { font-size: 10px; color: rgba(0,0,0,0.28); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.marquee-inner .acc { color: var(--brand); font-weight: 700; }
.marquee-inner .dot { color: rgba(0,0,0,0.15); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- SECCIONES ---- */
.sec {
  padding: 80px 48px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.sec-alt { background: var(--bg-alt); }
.sec-num {
  font-size: clamp(80px, 12vw, 120px);
  font-weight: 900;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  margin-bottom: -28px;
  letter-spacing: -0.05em;
  user-select: none;
}
.sec-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
  font-weight: 600;
}
.sec-title {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.sec-title .muted { color: rgba(0,0,0,0.22); }
.sec-body { font-size: 15px; color: var(--t2); line-height: 1.8; max-width: 520px; font-weight: 300; }

/* ---- STEPS ---- */
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  margin-top: 40px;
  border: 1px solid var(--line);
}
.step { background: var(--bg); padding: 28px 24px; }
.sec-alt .step { background: var(--bg-alt); }
.step-n {
  font-size: 42px;
  font-weight: 900;
  color: rgba(0,0,0,0.06);
  margin-bottom: 12px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.step-t { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.step-b { font-size: 13px; color: var(--t3); line-height: 1.65; font-weight: 300; }

/* ---- INCLUDES ---- */
.includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 36px;
}
.inc-item { background: var(--bg); padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; }
.inc-check { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.inc-text { font-size: 13px; color: var(--t2); line-height: 1.55; font-weight: 300; }

/* ---- DIFERENCIADORES ---- */
.diffs {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.diff-item { background: var(--bg); padding: 22px 24px; display: flex; gap: 20px; align-items: flex-start; }
.diff-icon { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.diff-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.diff-desc { font-size: 13px; color: var(--t3); line-height: 1.65; font-weight: 300; }

/* ---- GALERÍA ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 36px;
}
.gallery-item { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.04); }

/* ---- AYUDAS ---- */
.ayuda-box {
  margin-top: 36px;
  border: 1px solid rgba(120,190,0,0.3);
  border-radius: 2px;
  padding: 28px 32px;
  background: rgba(120,190,0,0.04);
}
.ayuda-tag {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.ayuda-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 10px; letter-spacing: -0.01em; }
.ayuda-body { font-size: 14px; color: var(--t2); line-height: 1.8; font-weight: 300; }
.ayuda-note {
  font-size: 12px;
  color: var(--t3);
  margin-top: 14px;
  font-style: italic;
  border-top: 1px solid rgba(120,190,0,0.2);
  padding-top: 14px;
  line-height: 1.7;
}

/* ---- RESEÑAS ---- */
.reviews {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.review { background: var(--bg-alt); padding: 26px 28px; }
.review-stars { color: var(--brand); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.review-text { font-size: 14px; color: var(--t1); line-height: 1.8; font-style: italic; margin-bottom: 16px; font-weight: 400; }
.review-footer { display: flex; justify-content: space-between; align-items: center; }
.review-name { font-size: 12px; font-weight: 700; color: var(--dark); }
.review-source { font-size: 10px; color: var(--t3); letter-spacing: 0.06em; }
.reviews-score {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.score-num { font-size: 44px; font-weight: 900; color: var(--brand); letter-spacing: -0.04em; line-height: 1; }
.score-stars { color: var(--brand); font-size: 15px; letter-spacing: 2px; margin-bottom: 4px; }
.score-label { font-size: 11px; color: var(--t3); font-weight: 300; }

/* ---- CONTACTO ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  margin-top: 40px;
  align-items: start;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--t3); font-weight: 600; }
.form-input {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--dark);
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.form-input:focus { border-color: var(--brand); }
.form-textarea {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--dark);
  background: #fff;
  outline: none;
  resize: vertical;
  min-height: 110px;
  transition: border-color 0.15s;
  width: 100%;
}
.form-textarea:focus { border-color: var(--brand); }
.form-submit {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.03em;
}
.form-submit:hover { background: var(--brand-dark); }
.form-submit:active { transform: scale(0.98); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-thanks {
  display: none;
  text-align: center;
  padding: 36px 24px;
  background: rgba(120,190,0,0.06);
  border: 1px solid rgba(120,190,0,0.25);
  border-radius: 2px;
  margin-top: 8px;
}
.form-thanks svg { color: var(--brand); margin: 0 auto 12px; }
.form-thanks p { font-size: 16px; color: var(--dark); font-weight: 700; margin-bottom: 6px; }
.form-thanks small { font-size: 13px; color: var(--t3); font-weight: 300; line-height: 1.6; }

.contact-info-col { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); }
.contact-info-block { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.contact-info-block:last-child { border-bottom: none; }
.ci-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--brand); font-weight: 600; margin-bottom: 4px; }
.ci-value { font-size: 13px; color: var(--dark); text-decoration: none; font-weight: 400; line-height: 1.5; display: block; }
.ci-value:hover { color: var(--brand); }
.ci-wa { color: #25D366; }
.ci-wa:hover { color: #1da851; }
.ci-addr { font-style: normal; }

.map-wrap {
  margin-top: 36px;
  border: 1px solid var(--line);
  overflow: hidden;
  height: 280px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ---- CTA FINAL ---- */
.cta-final {
  background: #f7f7f5;
  padding: 96px 48px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  color: var(--dark);
  max-width: 520px;
  margin: 0 auto 16px;
  line-height: 0.93;
  letter-spacing: -0.04em;
}
.cta-title em { font-style: normal; color: var(--brand); }
.cta-sub { font-size: 14px; color: var(--t2); margin-bottom: 40px; font-weight: 300; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.footer { background: #f7f7f5; padding: 56px 48px 24px; }
.footer-inner { display: flex; gap: 64px; margin-bottom: 48px; align-items: flex-start; }
.footer-brand { flex-shrink: 0; }
.footer-logo { height: 40px; width: auto; margin-bottom: 8px; }
.footer-tagline { font-size: 10px; color: rgba(0,0,0,0.35); letter-spacing: 0.1em; font-weight: 300; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; flex: 1; }
.footer-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--brand); margin-bottom: 10px; font-weight: 600; }
.footer-line { font-size: 12px; color: rgba(0,0,0,0.45); line-height: 2; font-weight: 300; }
.footer-line a { color: rgba(0,0,0,0.45); text-decoration: none; transition: color 0.15s; }
.footer-line a:hover { color: var(--brand); }
/* footer-bottom */
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 20px;
  font-size: 10px;
  color: rgba(0,0,0,0.3);
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.04em;
}
.footer-bottom a { color: rgba(0,0,0,0.35); text-decoration: none; }
.footer-bottom a:hover { color: var(--brand); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero-content { padding: 48px 24px 40px; }
  .sec { padding: 56px 24px; }
  .steps { grid-template-columns: 1fr; }
  .includes { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-col { order: -1; }
  .cta-final { padding: 64px 24px; }
  .footer { padding: 40px 24px 20px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 44px; }
  .gallery { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary, .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
}

/* ---- CORRECCIONES FOOTER BLANCO ---- */
.footer {
  background: #f7f7f5 !important;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.footer-line { color: rgba(0,0,0,0.45) !important; }
.footer-line a { color: rgba(0,0,0,0.45) !important; }
.footer-line a:hover { color: var(--brand) !important; }
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08) !important;
  color: rgba(0,0,0,0.3) !important;
}
.footer-bottom a { color: rgba(0,0,0,0.35) !important; }

/* ---- LOGO SIN FONDO NEGRO ---- */
.nav-logo-img { }
.footer-logo { }

/* ---- FAQ ---- */
.faq-list {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  background: #fff;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.15s;
  letter-spacing: -0.01em;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-q[aria-expanded="true"] { background: var(--bg-alt); color: var(--brand); }
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  position: relative;
  transition: border-color 0.15s, transform 0.2s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--t3);
  border-radius: 2px;
  transition: background 0.15s, transform 0.2s;
}
.faq-icon::before { width: 10px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 10px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-q[aria-expanded="true"] .faq-icon { border-color: var(--brand); }
.faq-q[aria-expanded="true"] .faq-icon::before { background: var(--brand); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  background: var(--bg-alt);
}
.faq-a.open { display: block; }
.faq-a p {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.8;
  font-weight: 300;
}

/* Schema FAQ en head — no necesita estilos */
