/* Reset mínimo */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji','Segoe UI Emoji', 'Segoe UI Symbol'; line-height: 1.5; color: #0f172a; background: #fff; }

/* Utilidades */
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section.alt { background: #f1f5f9; }
h1, h2, h3 { line-height: 1.2; margin-bottom: 12px; }
p { margin: 10px 0; }

/* Header */
.site-header { position: sticky; top: 0; background: #0f172a; color: #fff; z-index: 50; border-bottom: 1px solid #1f2a44; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; }
.menu { display: flex; gap: 16px; align-items: center; }
.menu a { color: #fff; text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.menu a:hover { background: #111827; }
.menu .cta { background: #16a34a; }
.menu .cta:hover { background: #15803d; }

/* Burger (mobile) */
.burger { display: none; background: none; border: none; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 10% 10%, #0b1224, #0f172a); color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center; padding: 48px 0; }
.hero-copy h1 { font-size: clamp(28px, 5vw, 44px); }
.hero .actions { display: flex; gap: 12px; margin-top: 16px; }
.badges { display: flex; gap: 16px; margin-top: 12px; list-style: none; flex-wrap: wrap; }
.accent { color: #22d3ee; }

/* Buttons */
.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; border: 1px solid #0f172a; text-decoration: none; color: #0f172a; background: #fff; }
.btn.primary { background: #16a34a; color: #fff; border-color: #16a34a; }
.btn.primary:hover { filter: brightness(0.95); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) ); gap: 16px; margin-top: 16px; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; box-shadow: 0 2px 6px rgba(0,0,0,.03); }
.card h3 { margin-bottom: 6px; }

/* Checks */
.checks { display: grid; gap: 10px; list-style: none; }
.checks li::before { content: "✔ "; color: #16a34a; }

/* Gallery */
.gallery { margin-top: 16px; display: grid; grid-template-columns: repeat( auto-fit, minmax(240px, 1fr) ); gap: 16px; }
.gallery img { width: 100%; height: auto; border-radius: 12px; border: 1px solid #e5e7eb; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.form input, .form textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid #cbd5e1; margin-bottom: 10px; }
.form button { width: 100%; }
.map-wrap { margin-top: 10px; aspect-ratio: 16/9; border: 0; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }

/* Footer */
.site-footer { background: #0f172a; color: #cbd5e1; }
.foot { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.backtop { color: #cbd5e1; text-decoration: none; }

/* Responsive */
@media (max-width: 840px) {
  .menu { display: none; position: absolute; top: 64px; right: 16px; background: #0f172a; padding: 12px; border: 1px solid #1f2a44; border-radius: 10px; flex-direction: column; }
  .burger { display: inline-block; }
  .hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Pricing */
.price-cards .price { display:flex; flex-direction:column; gap:10px; }
.price-tag { font-weight: 800; font-size: 22px; }
.small-note { margin-top: 10px; color: #475569; font-size: 14px; }
.checkline { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 10px; font-size: 14px; }

/* Clientes / Testimonios */
.logos { display:flex; flex-wrap:wrap; gap:20px; justify-content:center; margin:20px 0; }
.logos img { height:60px; object-fit:contain; filter: grayscale(100%); opacity:0.8; }
.testimonios { display:grid; gap:20px; margin-top:20px; }
.testimonios blockquote { background:#f8fafc; border-left:4px solid #16a34a; padding:12px 16px; border-radius:8px; font-style:italic; }
.testimonios footer { font-style:normal; font-weight:600; margin-top:6px; color:#0f172a; }

/* FAQ */
.faq-list { display:grid; gap:12px; margin-top:20px; }
.faq-list details { border:1px solid #e2e8f0; border-radius:8px; padding:10px 14px; background:#fff; }
.faq-list summary { cursor:pointer; font-weight:600; }
.faq-list p { margin-top:8px; }

/* Logos */
.logos { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; align-items: center; }
.logos img { width: 100%; height: auto; filter: grayscale(1); opacity: .85; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; background: #fff; }

/* Testimonios */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 12px; }
.testi blockquote { font-size: 16px; }
.testi figcaption { color: #475569; margin-top: 8px; font-size: 14px; }

/* FAQ */
.faq details { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin-top: 8px; }

/* Cobertura */
.coverage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 16px; margin: 16px 0; }
.coverage-grid ul { list-style: disc; padding-left: 20px; }
.coverage-grid li { margin: 4px 0; }

/* Botón de llamada flotante */
.call-btn { position: fixed; bottom: 20px; right: 20px; background: #16a34a; color: #fff; font-size: 28px; padding: 12px 16px; border-radius: 50%; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.25); z-index: 100; }
.call-btn:hover { filter: brightness(0.9); }
@media (min-width: 841px) {
  .call-btn { display: none; }
}

/* Table */
.table-wrap { width: 100%; overflow-x: auto; margin-top: 12px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; }
.table thead th { background: #f8fafc; }

/* Bigger map variant */
.map-wrap.big { margin-top: 16px; aspect-ratio: 16/9; }
.map-wrap.big iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }

/* Call Floating Action Button */
.call-fab {
  position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px;
  display: grid; place-items: center; text-decoration: none; font-size: 24px;
  background: #16a34a; color: #fff; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,.25);
  z-index: 100;
}
.call-fab:hover { filter: brightness(0.95); }
@media (min-width: 960px) { .call-fab { bottom: 24px; right: 24px; } }

.price-controls { display:flex; gap:12px; align-items:center; margin: 8px 0 14px; flex-wrap: wrap; }
.price-controls input, .price-controls select { padding: 6px 8px; border-radius: 8px; border: 1px solid #cbd5e1; }

.blog-list { margin-top: 10px; }
.blog-list li { margin: 6px 0; }

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #0f172a; color: #fff; padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  z-index: 200;
}
.cookie-banner a { color: #22d3ee; }

/* Cookie Banner (informativo) */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  background: #0f172a; color: #fff; border: 1px solid #1f2a44; border-radius: 12px;
  padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.cookie-bar p { margin: 0; font-size: 14px; color: #e2e8f0; }
.cookie-bar .btn { background: #16a34a; color: #fff; border-color: #16a34a; }
@media (min-width: 960px){ .cookie-bar { left: auto; right: 24px; width: 520px; } }

/* Mobile enhancements */
@media (max-width: 600px) {
  body { padding-bottom: 72px; } /* room for mobile cta bar */
  .nav { height: 60px; }
  .menu a { padding: 12px 14px; } /* bigger tap targets */
  .btn { padding: 12px 16px; }    /* bigger buttons */
  input, textarea, select { font-size: 16px; } /* avoid iOS zoom */
  .section { padding: 48px 0; }
}
/* Sticky mobile CTA bar */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: none; gap: 12px; padding: 10px 16px;
  background: rgba(255,255,255,.96); border-top: 1px solid #e5e7eb;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.mobile-cta .btn { flex: 1; text-align: center; }
@media (max-width: 840px) {
  .mobile-cta { display: flex; }
  .call-fab { display: none; } /* no duplicate CTAs on mobile */
}
