/* ============================================================
   RESET & VARIABLES
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #F8FAFB;
  --bg2: #FFFFFF;
  --bg3: #F0F4F8;
  --text: #1A2332;
  --text-muted: #5A6B7D;
  --accent: #00A8A8;
  --accent-dark: #007F7F;
  --accent-light: #E6F9F9;
  --border: #DDE5ED;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  display: flex;
  align-items: center;
}

.logo::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), #00D4D4);
  border-radius: 6px;
  margin-right: 12px;
}

.nav-primary {
  display: flex;
  gap: 40px;
}

.nav-primary a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}

.nav-primary a:hover {
  color: var(--accent);
}

.nav-primary a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-primary a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--accent-light) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 168, 168, 0.1), transparent);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 20px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  color: var(--text);
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-main {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--white);
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-main:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 168, 168, 0.3);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.btn-large {
  padding: 16px 48px;
  font-size: 16px;
}

.btn-plan {
  display: block;
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  margin-top: 20px;
}

.btn-plan:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.btn-plan.btn-main {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ============================================================
   STATS SECTION (Unused in new design)
   ============================================================ */
.stats-section {
  display: none;
}

/* ============================================================
   ESTRATEGIA SECTION (Not used)
   ============================================================ */
.estrategia {
  display: none;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
  letter-spacing: -0.5px;
  color: var(--text);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

/* ============================================================
   SERVICIOS SECTION
   ============================================================ */
.servicios {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.servicios-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.servicio-item {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s;
}

.servicio-item:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 168, 168, 0.12);
}

.servicio-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: inline-block;
}

.servicio-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 600;
}

.servicio-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.link-consultar {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
}

.link-consultar:hover {
  transform: translateX(4px);
}

/* ============================================================
   PROCESS VERTICAL SECTION
   ============================================================ */
.instalacion {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  background: var(--accent-light);
}

.process-vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 32px;
  padding: 40px 0;
  align-items: flex-start;
  border-bottom: 1px solid rgba(0, 168, 168, 0.2);
  position: relative;
}

.process-step:last-child {
  border-bottom: none;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.step-content h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 600;
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-connector {
  display: none;
}

/* ============================================================
   CASOS SECTION (Not used)
   ============================================================ */
.casos {
  display: none;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.preguntas {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  padding: 32px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 168, 168, 0.1);
}

.faq-item h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 600;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   TESTIMONIOS SECTION (Not used)
   ============================================================ */
.testimonios {
  display: none;
}

/* ============================================================
   PLANES SECTION (Not used)
   ============================================================ */
.planes {
  display: none;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent), #00D4D4);
  border: none;
  border-radius: 0;
  margin: 0;
  text-align: center;
  color: var(--white);
}

.cta-inner {
  padding: 40px;
}

.cta-final h2 {
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--white);
  font-weight: 700;
}

.cta-final p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.cta-final .btn-main {
  background: var(--white);
  color: var(--accent);
  font-weight: 600;
}

.cta-final .btn-main:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   CONTACTO SECTION
   ============================================================ */
.contacto {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.contacto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.contacto-info {
  padding: 32px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s;
}

.contacto-info:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 168, 168, 0.1);
}

.contacto-info h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.contacto-info p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
}

.contacto-note {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  margin-top: 12px !important;
}

.contacto-info a {
  color: var(--accent);
  font-weight: 600;
  transition: all 0.3s;
}

.contacto-info a:hover {
  text-decoration: underline;
}

.contacto-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacto-form input,
.contacto-form textarea {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--accent-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin-bottom: 40px;
}

.footer-content h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
}

.footer-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-content ul {
  list-style: none;
}

.footer-content ul li {
  margin-bottom: 8px;
}

.footer-content a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-content a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    padding: 20px;
    z-index: 50;
    border-bottom: 1px solid var(--border);
  }

  .nav-primary.open {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .contacto-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-main,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .process-step {
    gap: 20px;
    padding: 32px 0;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .servicios-list {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }
}
