/* Variables */
:root {
  --primary: #1B263B;    /* Azul Media Noche */
  --accent: #F3722C;     /* Naranja Solución */
  --success: #25D366;    /* Verde WhatsApp */
  --bg-light: #F8F9FA;   /* Blanco Humo */
  --bg-dark: #121212;
  --text-main: #2D3436;  /* Gris Carbón */
  --text-light: #666;
  --white: #ffffff;
  --border: #e1e1e1;
  --radius: 8px;
  --shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Reset & Global */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--white);
  scroll-behavior: smooth;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--bg-dark); }
.bg-primary { background: var(--primary); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, opacity 0.2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); background: transparent; }
.btn-dark { background: var(--bg-dark); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-whatsapp { background: var(--success); color: var(--white); }
.full-width { width: 100%; }

/* Navbar */
.navbar {
  background: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.logo span { color: var(--accent); }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--text-main); font-size: 0.9rem; }
.nav-links a:hover { opacity: .75; }

/* Hero */
/* Hero */
.hero {
  padding: 100px 0 60px;
  background:
    linear-gradient(rgba(27,38,59,0.75), rgba(27,38,59,0.75)),
    url('./imagen-principal.jpg') no-repeat center center / cover;
  color: var(--white);
}
.badge {
  background: rgba(255,255,255,0.1);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 20px;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 { font-size: 3rem; margin-bottom: 20px; line-height: 1.1; }
.hero .lead { font-size: 1.25rem; margin-bottom: 30px; max-width: 640px; opacity: 0.9; }
.hero-actions { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; }
.hero-meta { font-size: 0.9rem; opacity: 0.7; }

/* SLA Block */
.sla-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: -50px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-left: 5px solid var(--accent);
}
.sla-icon { font-size: 2.5rem; }
.sla-text h3 { margin-bottom: 5px; color: var(--primary); }

/* Titles */
.section-title { text-align: center; font-size: 2rem; margin-bottom: 50px; }

/* Grids */
.steps-grid, .services-grid, .zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Steps */
/* Steps (paneles) */
.steps-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.step{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: left;
  box-shadow: var(--shadow);
}

.step h4{
  margin: 10px 0 6px;
}

.step p{
  color: var(--text-light);
  font-size: 0.95rem;
}

/* circulito número arriba */
.step-num{
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1024px){
  .steps-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px){
  .steps-grid{ grid-template-columns: 1fr; }
  .step{ text-align: left; }
}

/* Services */
/* Services (cards + imagen grande tipo banner) */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.service-card{
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 26px;
  box-shadow: var(--shadow);
}

/* contenedor de imagen: ocupa el ancho del panel */
.service-icon{
  width: 100%;
  height: 190px;          /* <-- sube/baja esto (170-240) */
  margin: 0 0 18px 0;
  display: block;
}

/* imagen grande, recortada prolija */
.service-icon img{
  width: 100%;
  height: 100%;
  object-fit: cover;      /* importante: llena el panel */
  display: block;
  border-radius: 12px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.10));
}

/* texto */
.service-card h3{
  margin-bottom: 10px;
}

.service-card ul{ list-style: none; margin-top: 12px; }
.service-card li{ margin-bottom: 10px; font-size: 1rem; color: var(--text-light); }
.service-card li::before{ content: "•"; color: var(--accent); font-weight: bold; margin-right: 10px; }

/* Responsive */
@media (max-width: 1024px){
  .services-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-icon{ height: 180px; }
}

@media (max-width: 640px){
  .services-grid{ grid-template-columns: 1fr; }
  .service-icon{ height: 200px; }
  .service-card{ padding: 22px; }
}

/* Pricing Table */
.table-responsive { overflow-x: auto; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: var(--white);
}
.pricing-table th, .pricing-table td {
  padding: 15px;
  border: 1px solid var(--border);
  text-align: left;
}
.pricing-table th { background: var(--bg-light); }
.disclaimer { font-size: 0.85rem; color: var(--text-light); font-style: italic; }

/* No-Scope */
.no-scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}
.no-scope-item { padding: 10px; opacity: 0.85; }

/* Warranty */
.warranty-box {
  background: #eef4ff;
  border: 2px dashed var(--primary);
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
}
.warranty-badge {
  background: var(--primary);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 15px;
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
details {
  background: var(--bg-light);
  padding: 15px;
  border-radius: var(--radius);
  margin-bottom: 10px;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,.04);
}
summary { font-weight: 600; outline: none; }
details p { margin-top: 10px; color: var(--text-light); }

/* Contact CTA */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
}
.form-group textarea { resize: vertical; }

/* Footer */
footer {
  padding: 50px 0 100px;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-logo { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-light); font-size: 0.85rem; text-decoration: none; }
.footer-links a:hover { opacity: .75; }
.copyright { text-align: center; font-size: 0.8rem; color: var(--text-light); }

/* Sticky CTA Mobile */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 999;
  display: none;
}
.btn-whatsapp-full {
  background: var(--success);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  width: 100%;
  text-decoration: none;
  padding: 18px;
  border-radius: 50px;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .sla-card { flex-direction: column; text-align: center; margin-top: -30px; }
  .cta-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
  .section { padding: 60px 0; }
  .footer-content { flex-direction: column; text-align: center; }
}
