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

:root {
  --bg: #FFFFFF;
  --bg2: #F8F9FA;
  --bg3: #F0F2F5;
  --text: #1A202C;
  --text-light: #4A5568;
  --primary: #FF6B35;
  --primary-dark: #E55A24;
  --accent: #0EA5E9;
  --border: #E2E8F0;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
}

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

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

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.navbar-links {
  display: flex;
  gap: 32px;
}

.navbar-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  transition: color 0.3s;
  position: relative;
}

.navbar-links a:hover {
  color: var(--primary);
}

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

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  cursor: pointer;
  position: relative;
}

.navbar-toggle::before,
.navbar-toggle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

.navbar-toggle::before {
  top: 6px;
}

.navbar-toggle::after {
  bottom: 6px;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 100px 40px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(14, 165, 233, 0.06) 100%);
  min-height: 600px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-headline {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-headline span {
  color: var(--primary);
}

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

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

.hero-visual {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(14, 165, 233, 0.15));
  border-radius: 16px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-favicon {
  width: 480px;
  height: 480px;
  object-fit: contain;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 24px 60px rgba(255, 107, 53, 0.4));
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-align: center;
}

.btn-fill {
  background: var(--primary);
  color: white;
}

.btn-fill:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 107, 53, 0.05);
}

.btn-block {
  width: 100%;
}

/* ============================================================
   SECTIONS GENERIC
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* ============================================================
   PROPUESTA SECTION
   ============================================================ */
.propuesta {
  padding: 100px 40px;
  background: var(--bg2);
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.valor-item {
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
}

.valor-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.valor-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.valor-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

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

/* ============================================================
   SERVICIOS SHOWCASE
   ============================================================ */
.servicios-showcase {
  padding: 100px 40px;
}

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

.showcase-item {
  padding: 36px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 12px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.showcase-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.showcase-item:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(14, 165, 233, 0.15));
  transform: translateY(-6px);
}

.showcase-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 700;
}

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

/* ============================================================
   CASOS SECTION
   ============================================================ */
.casos-section {
  padding: 100px 40px;
  background: var(--bg2);
}

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

.caso {
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
}

.caso:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.caso-stat {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.caso-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================================
   PLANES SECTION
   ============================================================ */
.planes-section {
  padding: 100px 40px;
}

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

.plan-item {
  padding: 40px;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
  position: relative;
}

.plan-item:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.plan-featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 107, 53, 0.03));
  transform: scale(1.02);
}

.plan-label {
  position: absolute;
  top: -12px;
  left: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 4px;
}

.plan-item h3 {
  font-size: 20px;
  margin-bottom: 16px;
  margin-top: 4px;
}

.plan-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}

.plan-price span {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 600;
}

.plan-features {
  margin-bottom: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.plan-features p {
  font-size: 13px;
  color: var(--text-light);
  padding: 8px 0;
}

.plan-features p::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 8px;
}

/* ============================================================
   TESTIMONIOS SECTION
   ============================================================ */
.testimonios-section {
  padding: 100px 40px;
  background: var(--bg2);
}

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

.testimonial {
  padding: 40px;
  background: var(--bg);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  transition: all 0.3s;
}

.testimonial:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.testimonial p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.7;
}

.testimonial footer {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 600;
}

/* ============================================================
   CONTACTO SECTION
   ============================================================ */
.contacto-section {
  padding: 100px 40px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(14, 165, 233, 0.08));
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.form-wrapper h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.form-wrapper > p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 40px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* ============================================================
   INFO SECTION
   ============================================================ */
.info-section {
  padding: 80px 40px;
  background: var(--bg2);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

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

.info-box p {
  font-size: 16px;
}

.info-box a {
  color: var(--primary);
  font-weight: 600;
  transition: color 0.3s;
}

.info-box a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px 40px 30px;
  background: var(--text);
  color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-col p {
  font-size: 13px;
  line-height: 1.7;
}

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

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

.footer-col a {
  font-size: 13px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

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

  .navbar-links.open {
    display: flex;
  }

  .navbar-toggle {
    display: block;
  }

  .hero-banner {
    grid-template-columns: 1fr;
    padding: 60px 40px;
    gap: 40px;
  }

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

  .section-header h2 {
    font-size: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

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

  .btn {
    width: 100%;
  }

  .plan-featured {
    transform: scale(1);
  }
}
