/* ============================================================
   VEXTO · Estilo compartido de las PÁGINAS POR CIUDAD (SEO local)
   Tema CLARO y cálido (jun. 2026) — mismas variables que el resto de la web.
   Lo usan: diseno-web-mollet/parets/sabadell/granollers/
            sant-cugat/cerdanyola/barbera/terrassa.html
   ============================================================ */

@font-face{font-family:'Fraunces';font-style:normal;font-weight:400;font-display:swap;src:url('Fonts/fraunces-v38-latin-regular.woff2') format('woff2');}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:500;font-display:swap;src:url('Fonts/fraunces-v38-latin-500.woff2') format('woff2');}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:600;font-display:swap;src:url('Fonts/fraunces-v38-latin-600.woff2') format('woff2');}

:root {
    --bg: #f7f3ec;                 /* crema cálido */
    --surface: #fffdf9;            /* tarjetas sólidas (sin cristal) */
    --surface-2: #fbf6ed;
    --text-main: #221d17;          /* tinta cálida */
    --text-muted: #6f6557;
    --accent-warm: #ff8c00;        /* naranja de marca */
    --accent-warm-2: #a8530a;      /* naranja oscuro para acentos/texto */
    --neon-violet: #a8530a;        /* (sin neón) reciclado a naranja */
    --neon-cyan: #b9760f;          /* (sin neón) reciclado a naranja */
    --border-light: #ece3d3;       /* borde cálido suave */
    --shadow-soft: 0 12px 30px rgba(70, 50, 25, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
/* Tipografía de marca: Fraunces en títulos, Inter en el cuerpo */
.hero h1, .section-title, .cta-final h2, .testimonial-quote, .trust-num { font-family: 'Fraunces', Georgia, serif; font-weight: 600; }

/* Fondo limpio (sin rejilla ni luces de colores) */
body::before, .bg-fx { display: none; }

/* NAV */
nav {
    position: fixed; top: 0; width: 100%; height: 70px;
    background: rgba(247, 243, 236, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    display: flex; justify-content: space-around; align-items: center; z-index: 1000;
    border-bottom: 1px solid var(--border-light); box-shadow: 0 1px 0 rgba(70, 50, 25, 0.06);
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--text-main); text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--accent-warm-2); }
.nav-links a { color: var(--text-muted); text-decoration: none; margin: 0 15px; font-size: 0.95rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-warm-2); }
.btn-contact {
    background: var(--accent-warm); color: #fff; padding: 10px 22px; border-radius: 20px;
    text-decoration: none; font-weight: 600; transition: transform 0.2s, box-shadow 0.3s, filter 0.3s; box-shadow: 0 6px 18px rgba(255, 140, 0, 0.28);
}
.btn-contact:hover { transform: scale(1.05); filter: brightness(1.05); box-shadow: 0 8px 24px rgba(255, 140, 0, 0.38); }
.btn-ghost {
    display: inline-block; background: transparent; color: var(--accent-warm-2); padding: 16px 36px; border-radius: 20px;
    text-decoration: none; font-weight: 600; font-size: 1.15rem; border: 1.5px solid rgba(255, 140, 0, 0.55);
    transition: background-color 0.25s, color 0.25s, transform 0.2s, box-shadow 0.3s;
}
.btn-ghost:hover { background: var(--accent-warm); color: #fff; transform: scale(1.05); box-shadow: 0 8px 24px rgba(255, 140, 0, 0.3); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* SECCIONES */
section { padding: 110px 20px 70px; max-width: 1100px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.6rem; margin-bottom: 18px; letter-spacing: -1px; color: var(--text-main); }
.section-subtitle { text-align: center; font-size: 1.15rem; color: var(--text-muted); max-width: 800px; margin: 0 auto 44px auto; }
.hero h1 span, .section-title span, .cta-final h2 span { color: var(--accent-warm-2); }

/* HERO */
.hero { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; position: relative; }
.hero h1 { font-size: 3.6rem; margin-bottom: 18px; line-height: 1.12; letter-spacing: -1.5px; color: var(--text-main); }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 680px; margin-bottom: 34px; }

/* Barra de confianza */
.trust-bar {
    position: relative; z-index: 2; max-width: 1000px; margin: -50px auto 0; display: flex; flex-wrap: wrap;
    justify-content: center; gap: 16px 30px; padding: 22px 24px; border-radius: 18px;
    background: var(--surface); border: 1px solid var(--border-light); box-shadow: var(--shadow-soft);
}
.trust-item { flex: 1 1 170px; min-width: 140px; text-align: center; }
.trust-num { font-size: 1.5rem; font-weight: 800; color: var(--accent-warm-2); line-height: 1.1; letter-spacing: -0.5px; }
.trust-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 5px; }

/* Bloque "answer-first" (respuesta directa arriba) */
.answer { max-width: 820px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent-warm); border-radius: 16px; padding: 26px 30px; box-shadow: var(--shadow-soft); }
.answer p { font-size: 1.12rem; color: var(--text-main); margin: 0; }
.answer p + p { margin-top: 12px; color: var(--text-muted); font-size: 1.02rem; }

/* Tarjetas (servicios / motivos) */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.card {
    position: relative; background: var(--surface); padding: 34px 30px; border-radius: 22px; box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light); overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 42px rgba(70,50,25,0.14); border-color: rgba(255,140,0,0.3); }
.card h3 { font-size: 1.3rem; margin: 0 0 12px; color: var(--text-main); }
.card p { color: var(--text-muted); margin: 0; }
/* Icono de cada tarjeta (SVG de línea, color de marca) */
.card-icon, .service-icon { color: var(--accent-warm-2); margin-bottom: 14px; line-height: 0; }
.card-icon svg, .service-icon svg { width: 30px; height: 30px; }

/* Zonas / pobles propers */
.zonas-box { max-width: 900px; margin: 0 auto; text-align: center; }
.zonas-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.zonas-list span, .zonas-list a {
    display: inline-block; background: var(--surface-2); border: 1px solid var(--border-light); color: var(--text-muted);
    padding: 8px 16px; border-radius: 20px; font-size: 0.92rem; text-decoration: none; transition: color 0.25s, border-color 0.25s;
}
.zonas-list a:hover { color: var(--accent-warm); border-color: rgba(255,140,0,0.4); }

/* Testimonio */
.testimonial { text-align: center; }
.testimonial-card {
    position: relative; max-width: 720px; margin: 0 auto; padding: 44px 40px; border-radius: 24px;
    background: var(--surface); border: 1px solid var(--border-light); box-shadow: var(--shadow-soft);
}
.testimonial-stars { color: #ffb400; font-size: 1.3rem; letter-spacing: 4px; margin-bottom: 16px; }
.testimonial-quote { font-size: 1.3rem; color: var(--text-main); line-height: 1.55; margin: 0 0 20px; }
.testimonial-author { font-weight: 700; color: var(--text-main); }
.testimonial-role { color: var(--text-muted); font-size: 0.92rem; margin-top: 2px; }
.testimonial-role a { color: var(--accent-warm-2); }

/* CTA final */
.cta-final { text-align: center; padding-bottom: 90px; }
.cta-final h2 { font-size: 2.4rem; margin-bottom: 18px; color: var(--text-main); }
.cta-final p { font-size: 1.12rem; color: var(--text-muted); margin-bottom: 28px; }

/* FOOTER */
footer { background: transparent; text-align: center; color: var(--text-muted); padding: 36px 20px; border-top: 1px solid var(--border-light); font-size: 0.9rem; }
.footer-zonas { margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.footer-zonas a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; }
.footer-zonas a:hover { color: var(--accent-warm); }

/* WhatsApp flotante */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF;
    border-radius: 50px; text-align: center; box-shadow: 0 4px 18px rgba(37, 211, 102, 0.5); z-index: 1000;
    display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 34px; height: 34px; fill: white; }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Menú hamburguesa */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--text-main); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }

@media (max-width: 768px) {
    nav { flex-wrap: wrap; height: auto; justify-content: space-between; padding: 0 18px; }
    .logo { padding: 16px 0; }
    .nav-toggle { display: flex; }
    .nav-links { display: none; flex-direction: column; width: 100%; padding: 4px 0 10px; }
    nav.open .nav-links { display: flex; }
    .nav-links a { margin: 0; padding: 14px 4px; font-size: 1.05rem; border-top: 1px solid var(--border-light); }
    nav .btn-contact { display: none; width: 100%; text-align: center; margin: 4px 0 14px; }
    nav.open .btn-contact { display: block; }
    nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
    nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    section { padding: 96px 18px 50px; }
    .section-title { font-size: 1.9rem; }
    .hero h1 { font-size: 2.3rem; letter-spacing: -1px; }
    .hero p { font-size: 1.05rem; }
    .cta-final h2 { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; }
    .reveal { transition: none; opacity: 1; transform: none; }
}

/* Foco visible al nav