/* La fuente Manrope se carga con <link> en el <head> de cada página. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gray-dark:  #2b2b2b;
  --gray-mid:   #3d3d3d;
  --gray-light: #f4f4f4;
  --orange:     #e85d04;
  --orange-dark:#c44e00;
  --white:      #ffffff;
  --text-muted: #888;
  --font-head: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}

/* Las animaciones de entrada desplazan elementos ±32px en horizontal.
   `clip` recorta ese desborde sin romper el nav sticky (a diferencia de `hidden`). */
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--white);
  color: var(--gray-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, .nav-logo, .stat-num, .section-label, .rubro-num, .hero-badge, .btn {
  font-family: var(--font-head);
}

/* ── NAVBAR ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--gray-dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.nav-logo {
  font-size: 1.5rem; font-weight: 800;
  color: var(--white); letter-spacing: .5px;
  text-decoration: none;
}
.nav-logo span { color: var(--orange); }

nav ul { list-style: none; display: flex; gap: 1.8rem; }

nav ul a {
  color: #ccc; text-decoration: none;
  font-size: .9rem; font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
nav ul a:hover  { color: var(--white); }
nav ul a.active { color: var(--orange); border-bottom-color: var(--orange); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.8rem; border-radius: 6px;
  font-size: .95rem; font-weight: 700;
  text-decoration: none; border: 2px solid transparent;
  transition: background .2s, transform .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }

.btn-outline-dark  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline-dark:hover  { background: rgba(255,255,255,.08); border-color: var(--white); }

.btn-outline-light { background: transparent; color: var(--gray-dark); border-color: rgba(0,0,0,.2); }
.btn-outline-light:hover { background: var(--gray-light); }

/* ── COMMON ── */
section { padding: 5rem 1.5rem; }

.section-label {
  display: block; color: var(--orange);
  font-size: .75rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: .5rem;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800; color: var(--gray-dark); margin-bottom: 1rem;
}

.section-intro { color: #555; max-width: 580px; margin-bottom: 2.5rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; }
.tag-list li {
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
  font-size: .75rem; font-weight: 600;
  padding: .25rem .7rem; border-radius: 100px;
}
.tag-list.dark li { background: var(--gray-light); color: var(--gray-mid); }

/* ── MAIN HERO (index) ── */
.hero {
  background: linear-gradient(135deg, var(--gray-dark) 55%, var(--gray-mid) 100%);
  color: var(--white);
  text-align: center; padding: 1.6rem 1.5rem 1.5rem;
  position: relative; overflow: hidden; z-index: 1;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(232,93,4,.04) 40px, rgba(232,93,4,.04) 80px);
}
.hero-badge {
  display: inline-block; background: var(--orange); color: var(--white);
  font-size: .75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 100px; margin-bottom: .4rem; position: relative;
}
.hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 900; line-height: 1.1;
  margin-bottom: .5rem; position: relative;
}
.hero h1 span { color: var(--orange); }
.hero .hero-desc {
  font-size: clamp(.85rem, 1.8vw, 1rem); color: #ccc;
  max-width: 1100px; margin: 0 auto .85rem; position: relative;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--gray-dark); padding: 4rem 1.5rem 3.5rem;
  position: relative; overflow: hidden; z-index: 1;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(232,93,4,.04) 40px, rgba(232,93,4,.04) 80px);
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }

.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1.2rem; font-size: .85rem;
  position: relative; z-index: 1;
}
.breadcrumb a { color: #888; text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: #555; }
.breadcrumb .current { color: var(--orange); font-weight: 600; }

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900;
  color: var(--white); margin-bottom: .8rem; line-height: 1.1;
}
.page-hero h1 span { color: var(--orange); }
.page-hero .hero-desc { color: #bfbfbf; font-size: 1.05rem; max-width: 600px; margin-bottom: 1.8rem; }
.page-hero .hero-ctas { justify-content: flex-start; }

/* ── RUBROS SPLIT (homepage) ── */
.rubros-split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 52vh;
  padding: 0;
}

.rubro-panel {
  display: flex; align-items: flex-end;
  padding: 2.25rem 2.5rem; text-decoration: none;
  position: relative; overflow: hidden; z-index: 1;
  transition: filter .25s;
}
.rubro-panel::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: transparent; transition: background .25s;
}
.rubro-panel:hover::after { background: rgba(232,93,4,.06); }

.rubro-cortinas  { background: var(--gray-dark); }
.rubro-acrilicos { background: var(--gray-mid); }

.rubro-panel-inner { position: relative; z-index: 1; }

.rubro-num {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); margin-bottom: .4rem;
}

.rubro-panel h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; line-height: 1.1; margin-bottom: .8rem;
}

.rubro-panel > .rubro-panel-inner > p {
  color: #bfbfbf; font-size: .93rem; max-width: 820px; margin-bottom: 1.2rem;
}

.rubro-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--orange); font-weight: 700; font-size: .95rem;
  margin-top: 1.2rem; transition: gap .2s;
}
.rubro-panel:hover .rubro-arrow { gap: .9rem; }

/* ── PRODUCTS GRID ── */
.products { background: var(--gray-dark); }
.products-inner { max-width: 1100px; margin: 0 auto; }
.products .section-intro { color: rgba(255,255,255,.65); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem; margin-top: 3rem;
}

.product-card {
  background: var(--gray-mid); border-radius: 14px; padding: 2rem;
  border: 1px solid rgba(232,93,4,.22);
  display: flex; flex-direction: column;
  text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .25s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
  border-color: var(--orange);
}

.card-icon {
  width: 48px; height: 48px; background: rgba(232,93,4,.15);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 24px; height: 24px; fill: var(--orange); }

.product-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: .5rem; }
.product-card p  { color: rgba(255,255,255,.62); font-size: .92rem; flex: 1; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  padding: 4.5rem 1.5rem; text-align: center; color: var(--white);
}
.cta-band h2 { color: var(--white); margin-bottom: .6rem; }
.cta-band p  { color: rgba(255,255,255,.85); max-width: 480px; margin: 0 auto 2rem; }

/* ── CONTACT ── */
.contact { background: var(--gray-dark); color: var(--white); }
.contact-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.contact h2 { color: var(--white); }
.contact .section-intro { color: #bfbfbf; }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.5rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.c-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  background: rgba(232,93,4,.15); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.c-icon svg { width: 20px; height: 20px; fill: var(--orange); }
.contact-list strong {
  display: block; font-size: .78rem; color: var(--orange);
  font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: .15rem;
}
.contact-list span, .contact-list a { color: #ddd; font-size: .93rem; text-decoration: none; }
.contact-list a:hover { color: var(--orange); }

.hours-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 2rem;
}
.hours-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.2rem; color: var(--white); }
.hours-row {
  display: flex; justify-content: space-between;
  padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .92rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day  { color: #bfbfbf; }
.hours-row .time { color: var(--white); font-weight: 600; }
.hours-row .closed { color: var(--text-muted); }

.social-links { display: flex; gap: 1rem; margin-top: 1.8rem; }
.social-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1.1rem; border-radius: 6px;
  font-size: .85rem; font-weight: 700; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.2); color: #ddd;
  transition: background .2s, border-color .2s, color .2s;
}
.social-btn svg { width: 18px; height: 18px; fill: currentColor; }
.social-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* ── MAP ── */
.map-wrap {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  filter: grayscale(30%);
}

/* ── FOOTER ── */
footer {
  background: #1a1a1a; color: #9a9a9a;
  font-size: .9rem;
}
footer span { color: var(--orange); }

.footer-grid {
  max-width: 1100px; margin: 0 auto;
  padding: 3rem 1.5rem 2.2rem;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.15fr;
  gap: 2.2rem;
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.35rem; letter-spacing: 1px;
  color: var(--white); text-decoration: none;
}
.footer-logo span { color: var(--orange); }
.footer-brand p { margin: .9rem 0 0; max-width: 280px; line-height: 1.55; }
.footer-brand .social-links { margin-top: 1.2rem; }
.footer-col h4 { color: var(--white); font-size: .95rem; margin-bottom: .9rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.footer-col a { color: #9a9a9a; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: .55rem; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 4px; fill: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center; padding: 1.2rem 1.5rem;
  font-size: .82rem; color: #8f8f8f;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── WA FAB ── */
.wa-fab {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 200;
  width: 58px; height: 58px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45); text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.55); }
.wa-fab svg { width: 32px; height: 32px; fill: #fff; }

/* ── GALLERY ── */
.gallery { background: var(--white); }
.gallery-inner { max-width: 1100px; margin: 0 auto; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 1rem;
  margin-top: 2.5rem;
}

.photo-ph {
  background: #e4e4e4;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  position: relative;
  overflow: hidden;
  /* replace background with img tag or background-image when ready */
}

.photo-ph::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 8px,
    rgba(0,0,0,.04) 8px, rgba(0,0,0,.04) 9px
  );
}

.photo-ph svg { width: 36px; height: 36px; fill: #aaa; position: relative; }
.photo-ph span {
  font-size: .8rem; font-weight: 600;
  color: #999; letter-spacing: .5px;
  text-transform: uppercase; position: relative;
  text-align: center; padding: 0 1rem;
}

.photo-ph.large { grid-column: span 2; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .rubros-split { grid-template-columns: 1fr; min-height: auto; }
  .rubro-panel  { min-height: 50vh; align-items: flex-start; padding-top: 3rem; }
}

@media (max-width: 768px) {
  nav ul {
    display: none; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--gray-dark); padding: 1rem 2rem 1.5rem; gap: 1rem;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0,0,0,.5);
  }
  nav ul.open { display: flex; }
  .nav-toggle { display: block; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  section { padding: 3.5rem 1.2rem; }
  .page-hero .hero-ctas { justify-content: flex-start; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .photo-ph        { height: 160px; }
  .photo-ph.large  { grid-column: span 2; height: 200px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .photo-ph.large { grid-column: span 1; }
}

/* ── NOSOTROS ── */
.nosotros { background: var(--gray-light); }
.nosotros-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.nosotros-text p { color: #555; margin-bottom: 1rem; line-height: 1.7; }

.nosotros-datos { display: flex; flex-direction: column; gap: 1.2rem; }
.dato-card {
  background: var(--white); border-radius: 10px; padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--orange);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  display: flex; gap: 1rem; align-items: flex-start;
}
.dato-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  background: rgba(232,93,4,.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.dato-icon svg { width: 20px; height: 20px; fill: var(--orange); }
.dato-card h4 { font-size: .95rem; font-weight: 800; color: var(--gray-dark); margin-bottom: .25rem; }
.dato-card p  { color: #666; font-size: .88rem; line-height: 1.5; }

/* ── POR QUÉ ELEGIRNOS ── */
.por-que { background: var(--white); }
.por-que-inner { max-width: 1100px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.feature {
  background: var(--gray-light); border-radius: 12px; padding: 2rem;
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.feature-icon {
  width: 48px; height: 48px; background: rgba(232,93,4,.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon svg { width: 24px; height: 24px; fill: var(--orange); }
.feature h3 { font-size: 1.05rem; font-weight: 800; color: var(--gray-dark); margin-bottom: .5rem; }
.feature p  { color: #666; font-size: .9rem; line-height: 1.6; }

@media (max-width: 768px) {
  .nosotros-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── SCROLL REVEAL ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; opacity: 1; transform: none; }
}

/* ── PRODUCT PHOTO HERO ── */
.product-photo-hero {
  background: #3a3a3a;
  width: 100%; height: 380px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; overflow: hidden; position: relative;
}
.product-photo-hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 10px,
    rgba(0,0,0,.07) 10px, rgba(0,0,0,.07) 11px
  );
}
.product-photo-hero > svg  { width: 64px; height: 64px; fill: #666; position: relative; z-index: 1; }
.product-photo-hero > span {
  font-size: .8rem; font-weight: 600; color: #666;
  letter-spacing: 1px; text-transform: uppercase;
  position: relative; z-index: 1; text-align: center; padding: 0 2rem;
}

/* ── PRODUCT BODY (2 columnas) ── */
.product-body { background: var(--gray-light); }
.product-body-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid; grid-template-columns: 1fr 320px;
  gap: 3rem; align-items: start;
}

.pd-description h2         { margin-bottom: 1rem; }
.pd-description p          { color: #555; line-height: 1.75; margin-bottom: 1rem; }
.pd-description h3         { font-size: 1.1rem; font-weight: 800; color: var(--gray-dark); margin: 2rem 0 .8rem; }
.pd-description ul         { list-style: none; display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.5rem; }
.pd-description ul li      { font-size: .93rem; color: #555; padding-left: 1.3rem; position: relative; line-height: 1.5; }
.pd-description ul li::before {
  content: ''; position: absolute; left: 0; top: .6em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
}

.pd-sidebar { display: flex; flex-direction: column; gap: 1.4rem; }
.sidebar-box {
  background: var(--white); border-radius: 12px; padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  border-top: 4px solid var(--orange);
}
.sidebar-box h3 {
  font-size: .78rem; font-weight: 800; color: var(--orange);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: .9rem;
}
.sidebar-box ul            { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.sidebar-box ul li         { font-size: .9rem; color: #555; padding-left: 1rem; position: relative; line-height: 1.5; }
.sidebar-box ul li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
}
.sidebar-note { font-size: .82rem; color: #888; margin-top: .7rem; text-align: center; }

/* Pie "Ver detalles" dentro de la card */
.product-card-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.25rem; color: var(--orange);
  font-size: .88rem; font-weight: 700;
  transition: gap .2s;
}
.product-card:hover .product-card-link { gap: .75rem; }
.product-card-link svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

@media (max-width: 768px) {
  .product-body-inner { grid-template-columns: 1fr; }
  .product-photo-hero { height: 220px; }
}

/* ══════════════════════════════════════════════
   STATS — Números de impacto
══════════════════════════════════════════════ */
.stats { background: var(--gray-dark); padding: 3.5rem 1.5rem; }
.stats-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; justify-content: center; align-items: stretch;
}
.stat-item {
  flex: 1; text-align: center; padding: 1.5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  display: block;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 900; color: var(--orange);
  line-height: 1; letter-spacing: -2px;
}
.stat-label {
  display: block; margin-top: .55rem;
  font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.65);
  text-transform: uppercase; letter-spacing: 1.5px;
}
@media (max-width: 600px) {
  .stats-inner { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child { border-bottom: none; }
}

/* ══════════════════════════════════════════════
   REVIEWS — Reseñas de clientes (fondo oscuro)
══════════════════════════════════════════════ */
.reviews { background: var(--gray-dark); padding: 5rem 1.5rem; }
.reviews-inner { max-width: 1100px; margin: 0 auto; }
.reviews-inner .section-label,
.reviews-inner h2,
.reviews-inner .section-intro { text-align: center; }
.reviews-inner h2 { margin-bottom: .5rem; color: var(--white); }
.reviews-inner .section-intro { color: rgba(255,255,255,.55); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; margin-top: 2.5rem;
}
.review-card {
  background: var(--gray-mid); border-radius: 14px;
  padding: 1.8rem; display: flex; flex-direction: column;
  gap: .85rem;
  border: 1px solid rgba(232,93,4,.2);
  border-top: 3px solid var(--orange);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: pointer; text-decoration: none; color: inherit;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,.4);
  border-color: rgba(232,93,4,.5);
  border-top-color: var(--orange);
}
.review-stars { color: var(--orange); font-size: 1rem; letter-spacing: 3px; line-height: 1; }
.review-text {
  font-size: .93rem; color: rgba(255,255,255,.7); line-height: 1.75;
  font-style: italic; flex-grow: 1;
}
.review-author {
  display: flex; align-items: center; gap: .85rem;
  padding-top: .85rem; border-top: 1px solid rgba(255,255,255,.1);
}
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--orange); color: var(--white);
  font-weight: 900; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.review-meta { display: flex; flex-direction: column; gap: 3px; }
.review-name { font-weight: 800; font-size: .88rem; color: var(--white); }
.review-source {
  font-size: .72rem; color: rgba(255,255,255,.45);
  display: inline-flex; align-items: center; gap: 4px;
  text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: rgba(255,255,255,.18);
  transition: color .2s, text-decoration-color .2s;
}
.review-card:hover .review-source {
  color: rgba(255,255,255,.72);
  text-decoration-color: rgba(255,255,255,.4);
}
@media (max-width: 960px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ── PRESUPUESTADOR ── */
.presupuestador {
  background: var(--gray-dark);
  padding: 5rem 1.5rem;
}
.presupuestador-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.presupuestador-inner .section-label { color: var(--orange); }
.presupuestador-inner h2 { color: var(--white); margin-bottom: .75rem; }
.presupuestador-inner > p { color: rgba(255,255,255,.6); margin-bottom: 2.5rem; font-size: 1.05rem; }
.pres-form {
  background: var(--gray-mid);
  border-radius: 18px;
  padding: 2.5rem;
  display: grid;
  gap: 1.25rem;
  text-align: left;
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.pres-field { display: flex; flex-direction: column; gap: .45rem; }
.pres-field label {
  font-size: .8rem; font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: .06em; text-transform: uppercase;
}
.pres-field input,
.pres-field select {
  background: #1a1a1a;
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: var(--white);
  font-size: 1rem;
  padding: .85rem 1rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
  width: 100%; box-sizing: border-box;
  font-family: inherit;
}
.pres-field input:focus,
.pres-field select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,93,4,.15);
}
.pres-field input::placeholder { color: rgba(255,255,255,.25); }
.pres-field select option { background: #2b2b2b; color: #fff; }
.pres-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.pres-btn {
  background: var(--orange);
  color: var(--white);
  border: none; border-radius: 10px;
  font-size: 1.05rem; font-weight: 800;
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .65rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  margin-top: .25rem;
  width: 100%;
  font-family: inherit;
}
.pres-btn:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,93,4,.35); }
.pres-error {
  color: #ff6b6b; font-size: .85rem; font-weight: 700;
  display: none; margin-top: -.25rem;
  padding: .6rem .9rem; background: rgba(255,107,107,.1); border-radius: 8px;
}
.pres-error.visible { display: block; }
@media (max-width: 600px) {
  .pres-row { grid-template-columns: 1fr; }
  .pres-form { padding: 1.75rem 1.25rem; }
  .presupuestador { padding: 3.5rem 1.25rem; }
}
.pres-field textarea {
  background: #1a1a1a;
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: var(--white);
  font-size: .95rem;
  padding: .85rem 1rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%; box-sizing: border-box;
  font-family: inherit;
  resize: vertical;
  min-height: 88px;
}
.pres-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,93,4,.15);
}
.pres-field textarea::placeholder { color: rgba(255,255,255,.25); }
.pres-notice {
  display: flex; gap: .75rem; align-items: flex-start;
  background: rgba(232,93,4,.1);
  border: 1px solid rgba(232,93,4,.28);
  border-radius: 10px;
  padding: .9rem 1rem;
  color: rgba(255,255,255,.72);
  font-size: .88rem; line-height: 1.55;
}
.pres-notice svg { flex-shrink: 0; margin-top: 2px; color: var(--orange); }
.pres-items { display: grid; gap: 1rem; }
.pres-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 1.25rem;
  display: grid; gap: .85rem;
}
.pres-item-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: -.1rem;
}
.pres-item-header span {
  font-size: .8rem; font-weight: 800;
  color: var(--orange); text-transform: uppercase; letter-spacing: .07em;
}
.pres-remove-btn {
  background: rgba(255,107,107,.1);
  border: 1px solid rgba(255,107,107,.22);
  border-radius: 7px;
  color: #ff6b6b; font-size: .78rem; font-weight: 700;
  padding: .3rem .7rem; cursor: pointer;
  transition: background .2s; font-family: inherit;
}
.pres-remove-btn:hover { background: rgba(255,107,107,.22); }
.pres-add-btn {
  background: transparent;
  border: 1.5px dashed rgba(232,93,4,.4);
  border-radius: 10px;
  color: var(--orange); font-size: .95rem; font-weight: 700;
  padding: .8rem 1.25rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: background .2s, border-color .2s;
  width: 100%; font-family: inherit;
}
.pres-add-btn:hover { background: rgba(232,93,4,.08); border-color: var(--orange); }

/* ── POPUP DE WHATSAPP ── */
#wa-popup {
  position: fixed;
  bottom: 6.5rem; right: 1.5rem;
  z-index: 1200;
  width: 290px;
  background: #2b2b2b;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 1.5rem 1.25rem 1.25rem;
  box-shadow: 0 12px 48px rgba(0,0,0,.55);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  opacity: 0; transform: translateY(20px) scale(.95);
  transition: opacity .35s, transform .35s;
  pointer-events: none;
}
#wa-popup.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#wa-popup-close {
  position: absolute; top: .65rem; right: .65rem;
  background: rgba(255,255,255,.08); border: none; border-radius: 50%;
  width: 28px; height: 28px; color: rgba(255,255,255,.55);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s; padding: 0;
}
#wa-popup-close:hover { background: rgba(255,255,255,.18); color: var(--white); }
.wa-popup-icon {
  width: 54px; height: 54px;
  background: rgba(37,211,102,.14); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #25d166;
}
.wa-popup-msg {
  color: var(--white); font-size: .95rem; text-align: center; line-height: 1.55;
}
.wa-popup-btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--orange); color: var(--white);
  font-weight: 800; font-size: .95rem; text-decoration: none;
  padding: .8rem 1.25rem; border-radius: 10px;
  transition: background .2s, transform .15s; width: 100%;
}
.wa-popup-btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
@media (max-width: 420px) {
  #wa-popup { width: calc(100vw - 2rem); right: 1rem; bottom: 5.5rem; }
}

/* ── FAQ ACORDEÓN ── */
.faq-section {
  padding: 5rem 2rem;
  background: #f4f4f4;
}
.faq-inner { max-width: 780px; margin: 0 auto; }
.faq-list { margin-top: 2.5rem; display: grid; gap: .6rem; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px; overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item.open { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.faq-q {
  width: 100%; background: none; border: none;
  padding: 1.15rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 1rem; font-weight: 700; color: var(--gray-dark);
  cursor: pointer; text-align: left; font-family: inherit;
  transition: color .2s;
}
.faq-q:hover { color: var(--orange); }
.faq-q svg { flex-shrink: 0; transition: transform .3s; color: var(--orange); }
.faq-item.open .faq-q { color: var(--orange); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  padding: 0 1.4rem;
  color: #555; font-size: .95rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 220px; padding: 0 1.4rem 1.25rem; }
@media (max-width: 600px) {
  .faq-section { padding: 3.5rem 1.25rem; }
  .faq-q { font-size: .93rem; padding: 1rem 1.1rem; }
}
