*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --azul: #1a3a5c; --azul-claro: #2c5282; --dorado: #d97706;
  --dorado-hover: #b45309; --verde: #16a34a; --gris-claro: #f1f5f9;
  --gris: #64748b; --texto: #1e293b; --blanco: #ffffff;
  --sombra: 0 4px 20px rgba(0,0,0,0.12); --radio: 10px;
}
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; color: var(--texto); background: var(--blanco); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Topbar ── */
.topbar { background: var(--azul); color: #cbd5e1; font-size: 0.82rem; padding: 6px 1rem; text-align: center; }
.topbar strong { color: var(--blanco); }

/* ── Header / Nav ── */
header { position: sticky; top: 0; z-index: 1000; background: var(--blanco); box-shadow: 0 2px 12px rgba(0,0,0,0.12); }
.header-inner { max-width: 1100px; margin: 0 auto; padding: 0.85rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { font-size: 1.45rem; font-weight: 800; color: var(--azul); letter-spacing: -0.5px; }
.logo span { color: var(--dorado); }
nav { display: flex; gap: 1.2rem; font-size: 0.85rem; flex-wrap: wrap; }
nav a { color: var(--texto); font-weight: 500; transition: color .2s; }
nav a:hover { color: var(--dorado); }
.btn-llamar { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--dorado); color: var(--blanco); font-weight: 700; font-size: 1.05rem; padding: 0.55rem 1.25rem; border-radius: var(--radio); transition: background .2s; white-space: nowrap; }
.btn-llamar:hover { background: var(--dorado-hover); }
.btn-llamar svg { width: 18px; height: 18px; fill: currentColor; }

/* ── Nav dropdowns ── */
.nav-dropdown { position: relative; }
.nav-drop-btn { background: none; border: none; cursor: pointer; font-family: inherit; font-size: 0.85rem; font-weight: 500; color: var(--texto); display: flex; align-items: center; gap: 0.25rem; padding: 0; transition: color .2s; }
.nav-drop-btn:hover { color: var(--dorado); }
.drop-arrow { font-size: 0.7rem; transition: transform .2s; }
.nav-dropdown.open .drop-arrow { transform: rotate(180deg); }
.drop-menu { display: none; position: absolute; top: calc(100% + 10px); left: 0; background: var(--blanco); border: 1px solid #e2e8f0; border-radius: var(--radio); box-shadow: 0 8px 30px rgba(0,0,0,0.12); min-width: 220px; z-index: 2000; list-style: none; padding: 0.5rem 0; }
.drop-menu--wide { min-width: 220px; columns: 2; column-gap: 0; }
.nav-dropdown.open .drop-menu { display: block; }
.drop-menu li a { display: block; padding: 0.45rem 1.1rem; font-size: 0.88rem; color: var(--texto); font-weight: 500; white-space: nowrap; transition: background .15s, color .15s; }
.drop-menu li a:hover { background: var(--gris-claro); color: var(--dorado); }
.drop-menu .drop-all a { border-top: 1px solid #e2e8f0; margin-top: 0.25rem; padding-top: 0.6rem; font-weight: 700; color: var(--azul); }
.drop-menu--wide li { break-inside: avoid; }
.drop-group-label { column-span: all; padding: 0.55rem 1.1rem 0.2rem; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--azul); pointer-events: none; }
.drop-group-label + li { border-top: none; }
.drop-group-sep { column-span: all; border-top: 1px solid #e2e8f0; margin: 0.3rem 0 0; }

/* ── Breadcrumb ── */
.breadcrumb { background: var(--gris-claro); padding: 0.6rem 1.5rem; font-size: 0.82rem; color: var(--gris); }
.breadcrumb .container { max-width: 1100px; margin: 0 auto; }
.breadcrumb a { color: var(--azul); }
.breadcrumb span { margin: 0 0.4rem; }

/* ── Hero ── */
.hero { background: linear-gradient(135deg, var(--azul) 0%, var(--azul-claro) 60%, #1e40af 100%); color: var(--blanco); padding: 3.5rem 1.5rem 4rem; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; font-size: 0.82rem; padding: 0.3rem 0.9rem; margin-bottom: 1rem; font-weight: 600; }
.hero-badge::before { content: "●"; color: #4ade80; font-size: 0.6rem; }
.hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 900; line-height: 1.15; margin-bottom: 1rem; }
.hero h1 span { color: #fcd34d; }
.hero p { font-size: 1.05rem; max-width: 620px; margin: 0 auto 2rem; opacity: 0.92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ── Buttons ── */
.btn-urgencia { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--dorado); color: var(--blanco); font-weight: 800; font-size: 1.1rem; padding: 0.8rem 2rem; border-radius: var(--radio); box-shadow: 0 4px 20px rgba(217,119,6,0.5); transition: transform .15s, background .2s; }
.btn-urgencia:hover { background: var(--dorado-hover); transform: translateY(-2px); }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 0.5rem; background: #16a34a; color: var(--blanco); font-weight: 700; font-size: 1rem; padding: 0.8rem 1.75rem; border-radius: var(--radio); transition: transform .15s, background .2s; }
.btn-whatsapp:hover { background: #15803d; transform: translateY(-2px); }
.btn-urgencia svg, .btn-whatsapp svg { width: 20px; height: 20px; fill: currentColor; }

/* ── Sections ── */
section { padding: 3.5rem 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 0.5rem; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; color: var(--azul); }
.section-sub { text-align: center; color: var(--gris); margin-bottom: 2.5rem; font-size: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── Content ── */
.content-block { max-width: 820px; margin: 0 auto; }
.content-block h2 { font-size: 1.35rem; font-weight: 800; color: var(--azul); margin: 2rem 0 0.75rem; }
.content-block p { color: var(--gris); margin-bottom: 1rem; line-height: 1.75; }
.price-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: #f0fdf4; color: var(--verde); font-weight: 700; font-size: 1rem; padding: 0.4rem 1rem; border-radius: 50px; border: 1px solid #bbf7d0; margin-bottom: 1.5rem; }
.bg-grey { background: var(--gris-claro); }

/* ── FAQ ── */
.faq-lista { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--blanco); border: 1px solid #e2e8f0; border-radius: var(--radio); margin-bottom: 0.75rem; overflow: hidden; }
.faq-pregunta { width: 100%; background: none; border: none; padding: 1.1rem 1.5rem; text-align: left; font-size: 1rem; font-weight: 700; color: var(--azul); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-pregunta::after { content: "+"; font-size: 1.4rem; font-weight: 300; color: var(--dorado); transition: transform .2s; flex-shrink: 0; }
.faq-item.abierto .faq-pregunta::after { content: "−"; }
.faq-respuesta { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.abierto .faq-respuesta { max-height: 300px; }
.faq-respuesta-inner { padding: 0 1.5rem 1.25rem; font-size: 0.95rem; color: var(--gris); }

/* ── Link cards ── */
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; }
.link-card { display: flex; align-items: center; gap: 0.5rem; background: var(--blanco); border: 1px solid #e2e8f0; border-radius: var(--radio); padding: 0.75rem 1rem; font-size: 0.9rem; font-weight: 600; color: var(--azul); transition: border-color .2s, box-shadow .2s; }
.link-card:hover { border-color: var(--dorado); box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.link-card .lc-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ── CTA band ── */
.cta-band { background: var(--azul); color: var(--blanco); text-align: center; padding: 3rem 1.5rem; }
.cta-band h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.5rem; }
.cta-band p { opacity: 0.85; margin-bottom: 1.75rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ── Footer ── */
footer { background: #0f172a; color: #94a3b8; padding: 2.5rem 1.5rem 1.5rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-logo { font-size: 1.3rem; font-weight: 800; color: var(--blanco); margin-bottom: 0.75rem; }
.footer-logo span { color: var(--dorado); }
footer p, footer li { font-size: 0.88rem; line-height: 1.7; }
footer h4 { color: var(--blanco); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.6rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.35rem; }
footer ul li a { color: #94a3b8; transition: color .2s; }
footer ul li a:hover { color: var(--blanco); }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid #1e293b; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; font-size: 0.82rem; }
.footer-bottom a { color: #64748b; transition: color .2s; }

/* ── WhatsApp FAB ── */
.whatsapp-fab { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999; background: #25d366; color: var(--blanco); width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.5); transition: transform .2s; }
.whatsapp-fab:hover { transform: scale(1.1); }
.whatsapp-fab svg { width: 30px; height: 30px; fill: currentColor; }

/* ── Mobile CTA bar ── */
.mobile-cta-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1100; height: 64px; box-shadow: 0 -3px 16px rgba(0,0,0,0.18); }
.mobile-cta-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 800; font-size: 1rem; color: var(--blanco); transition: filter .15s; }
.mobile-cta-bar a:active { filter: brightness(0.9); }
.mobile-cta-bar .mcta-llamar { background: var(--dorado); }
.mobile-cta-bar .mcta-whatsapp { background: #16a34a; }
.mobile-cta-bar svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

/* ── Homepage extras ── */
.trust-bar { background: var(--gris-claro); padding: 1.5rem; }
.trust-bar .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 3rem; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--texto); }
.trust-item .ti-icon { font-size: 1.4rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card { display: block; background: var(--blanco); border: 1px solid #e2e8f0; border-radius: var(--radio); padding: 1.5rem; transition: box-shadow .2s, transform .15s; }
.service-card:hover { box-shadow: var(--sombra); transform: translateY(-3px); border-color: var(--dorado); }
.sc-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.sc-title { font-size: 1.1rem; font-weight: 800; color: var(--azul); margin-bottom: 0.35rem; }
.sc-desc { font-size: 0.88rem; color: var(--gris); margin-bottom: 0.75rem; }
.sc-price { font-size: 0.82rem; font-weight: 700; color: var(--verde); }
.review-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }
.review-card { background: var(--blanco); border: 1px solid #e2e8f0; border-radius: var(--radio); padding: 1.25rem; }
.rc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; }
.rc-name { font-weight: 700; font-size: 0.95rem; }
.rc-date { font-size: 0.78rem; color: var(--gris); }
.rc-text { font-size: 0.9rem; color: var(--gris); font-style: italic; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.rating-box { display: flex; align-items: center; gap: 2rem; background: var(--blanco); border: 1px solid #e2e8f0; border-radius: var(--radio); padding: 1.5rem 2rem; max-width: 480px; margin: 0 auto 2.5rem; }
.rb-score { font-size: 3rem; font-weight: 900; color: var(--azul); line-height: 1; }
.rb-info { font-size: 0.88rem; color: var(--gris); margin-top: 0.25rem; }
.zonas-lista { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.zona-item { background: var(--gris-claro); border-radius: 50px; padding: 0.4rem 1rem; font-size: 0.85rem; font-weight: 600; color: var(--azul); border: 1px solid #e2e8f0; transition: background .2s, border-color .2s; }
.zona-item:hover { background: var(--blanco); border-color: var(--dorado); }

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 72px; }
  .whatsapp-fab { display: none; }
  .mobile-cta-bar { display: flex; }
  .rating-box { flex-direction: column; gap: 0.75rem; text-align: center; }
}
/* ── Homepage: Hero stats ── */
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; font-weight: 900; color: #fcd34d; }
.stat span { font-size: 0.85rem; opacity: 0.85; }

/* ── Homepage: Urgencia banner ── */
.urgencia-banner { background: #fef3c7; border-top: 4px solid var(--dorado); border-bottom: 4px solid var(--dorado); padding: 1.25rem 1.5rem; text-align: center; font-size: 1.05rem; }
.urgencia-banner strong { color: var(--dorado-hover); }

/* ── Homepage: Servicios grid ── */
.servicios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.servicio-card { display: block; background: var(--blanco); border: 1px solid #e2e8f0; border-radius: var(--radio); padding: 1.75rem 1.5rem; box-shadow: var(--sombra); transition: transform .2s, box-shadow .2s; }
.servicio-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.servicio-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--azul), var(--azul-claro)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.servicio-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--azul); }
.servicio-card p { font-size: 0.9rem; color: var(--gris); }
.servicio-card .precio-desde { display: inline-block; margin-top: 0.75rem; background: #f0fdf4; color: var(--verde); font-weight: 700; font-size: 0.85rem; padding: 0.2rem 0.7rem; border-radius: 50px; border: 1px solid #bbf7d0; }

/* ── Homepage: Por qué elegirnos ── */
.porque-bg { background: var(--gris-claro); }
.ventajas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.ventaja { text-align: center; padding: 1.5rem 1rem; background: var(--blanco); border-radius: var(--radio); box-shadow: var(--sombra); }
.ventaja .ico { font-size: 2.2rem; margin-bottom: 0.6rem; }
.ventaja h3 { font-size: 1rem; font-weight: 700; color: var(--azul); margin-bottom: 0.3rem; }
.ventaja p { font-size: 0.88rem; color: var(--gris); }
.marcas-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; padding-top: 1.5rem; border-top: 1px solid #e2e8f0; }
.marcas-row span { font-weight: 700; font-size: 0.9rem; color: var(--gris); letter-spacing: 1px; text-transform: uppercase; }

/* ── Homepage: Testimonios ── */
.testimonios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonio { background: var(--blanco); border: 1px solid #e2e8f0; border-radius: var(--radio); padding: 1.5rem; }
.estrellas { color: #f59e0b; font-size: 1.1rem; margin-bottom: 0.6rem; }
.testimonio blockquote { font-size: 0.95rem; color: var(--texto); margin-bottom: 0.75rem; font-style: italic; }
.testimonio cite { font-size: 0.85rem; color: var(--gris); font-style: normal; font-weight: 600; }
.testimonio .fecha { font-size: 0.78rem; color: #94a3b8; }

/* ── Homepage: Precios ── */
.precios-bg { background: var(--azul); color: var(--blanco); }
.precios-bg .section-title { color: var(--blanco); }
.precios-bg .section-sub { color: #94a3b8; }
.precios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.precio-item { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radio); padding: 1.25rem 1rem; text-align: center; }
.precio-item .serv { font-size: 0.9rem; color: #94a3b8; margin-bottom: 0.3rem; }
.precio-item .tarifa { font-size: 1.6rem; font-weight: 900; color: #fcd34d; }
.precio-item .nota { font-size: 0.78rem; color: #64748b; margin-top: 0.2rem; }
.precios-disclaimer { text-align: center; font-size: 0.85rem; color: #64748b; margin-top: 1rem; }

/* ── Homepage: Zonas tag ── */
.zona-tag { background: var(--gris-claro); border: 1px solid #e2e8f0; border-radius: 50px; padding: 0.3rem 0.9rem; font-size: 0.88rem; color: var(--texto); font-weight: 500; transition: border-color .2s, background .2s; }
a.zona-tag:hover { border-color: var(--dorado); background: #fff8eb; color: var(--dorado-hover); }

/* ── Homepage: FAQ ── */
.faq-bg { background: var(--gris-claro); }

/* ── Homepage: Contacto ── */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contacto-info h3 { font-size: 1.3rem; font-weight: 800; color: var(--azul); margin-bottom: 1rem; }
.contacto-dato { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.contacto-dato .ico-c { width: 40px; height: 40px; flex-shrink: 0; background: linear-gradient(135deg, var(--azul), var(--azul-claro)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.contacto-dato div strong { display: block; font-size: 0.85rem; color: var(--gris); margin-bottom: 0.1rem; }
.contacto-dato div a { font-size: 1.1rem; font-weight: 700; color: var(--azul); }
.contacto-form { background: var(--gris-claro); border-radius: var(--radio); padding: 1.75rem; }
.contacto-form h3 { font-size: 1.1rem; font-weight: 700; color: var(--azul); margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--texto); margin-bottom: 0.3rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.65rem 0.9rem; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 0.95rem; font-family: inherit; background: var(--blanco); color: var(--texto); transition: border-color .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--azul); }
.btn-enviar { width: 100%; background: var(--azul); color: var(--blanco); font-weight: 700; font-size: 1rem; padding: 0.75rem; border: none; border-radius: 8px; cursor: pointer; transition: background .2s; }
.btn-enviar:hover { background: var(--azul-claro); }
.mapa-wrapper { border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); height: 320px; background: #e2e8f0; display: flex; align-items: center; justify-content: center; color: var(--gris); font-size: 0.9rem; margin-top: 1.5rem; }
.mapa-wrapper iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 768px) {
  .contacto-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .header-inner { padding: 0.75rem 1rem; }
  .logo { font-size: 1.15rem; }
  .btn-llamar { font-size: 0.9rem; padding: 0.5rem 1rem; }
  section { padding: 2.5rem 1rem; }
}
