* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: #fafcff;
      color: #1a2c3e;
      scroll-behavior: smooth;
    }

    :root {
      --primary-dark: #0b2b5c;
      --primary: #1e4a76;
      --primary-light: #2e6a9e;
      --accent: #00a3b2;
      --gray-light: #f0f4f9;
      --gray-mid: #e2e8f0;
      --text-dark: #13294b;
      --text-soft: #2c3e50;
      --white: #ffffff;
    }

  
    .header {
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(8px);
      box-shadow: 0 2px 15px rgba(0,0,0,0.05);
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      padding: 0.8rem 5%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      transition: all 0.25s ease-in-out;
    }

    .header.scrolled {
      padding: 0.4rem 5%;
      background: rgba(255,255,255,0.98);
      box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .logo-container {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .logo-img {
      height: 55px;
      width: auto;
      display: block;
      transition: height 0.25s ease;
    }
    .header.scrolled .logo-img {
      height: 45px;
    }

    .logo-text {
      font-weight: 800;
      font-size: 1.4rem;
      background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      letter-spacing: -0.3px;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
    }

    .nav-links a {
      text-decoration: none;
      font-weight: 600;
      color: var(--text-dark);
      transition: 0.2s;
      font-size: 1rem;
      padding: 0.5rem 0;
      border-bottom: 2px solid transparent;
    }

    .nav-links a:hover, .nav-links a.active {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }

    main {
      padding-top: 80px;
    }

   
    .hero-interno {
      position: relative;
      background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
      padding: 5rem 2rem;
      text-align: center;
      color: white;
      overflow: hidden;
      isolation: isolate;
    }
  
    .hero-bg-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.25;
      z-index: 0;
      pointer-events: none;
    }
    .hero-interno::before {
      content: "";
      position: absolute;
      top: -50%;
      left: -20%;
      width: 140%;
      height: 140%;
      background: radial-gradient(circle, rgba(0,163,178,0.15) 0%, rgba(0,0,0,0) 70%);
      pointer-events: none;
      z-index: 0;
    }
    .hero-interno h1 {
      font-size: 3.5rem;
      font-weight: 800;
      margin-bottom: 1rem;
      position: relative;
      z-index: 2;
    }
    .hero-interno p {
      font-size: 1.2rem;
      max-width: 700px;
      margin: 0 auto;
      opacity: 0.95;
      position: relative;
      z-index: 2;
    }

    .container {
      max-width: 1300px;
      margin: 0 auto;
      padding: 4rem 2rem;
    }

   
    .mv-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      margin-bottom: 3rem;
    }
    .mv-card {
      flex: 1;
      background: white;
      border-radius: 32px;
      padding: 2rem;
      box-shadow: 0 20px 35px -12px rgba(0,0,0,0.08);
      transition: transform 0.3s, box-shadow 0.3s;
      border: 1px solid var(--gray-mid);
    }
    .mv-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 25px 40px -12px rgba(0,0,0,0.15);
    }
    .mv-icon {
      font-size: 3rem;
      color: var(--accent);
      margin-bottom: 1.2rem;
    }
    .mv-card h2 {
      font-size: 1.8rem;
      color: var(--primary-dark);
      margin-bottom: 1rem;
    }
    .mv-card p {
      line-height: 1.6;
      color: var(--text-soft);
    }

  
    .separator-center {
      width: 100px;
      height: 4px;
      background: var(--accent);
      margin: 2rem auto;
      border-radius: 4px;
    }

    
    .valores-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
      margin-top: 2rem;
    }
    .valor-item {
      background: var(--gray-light);
      border-radius: 24px;
      padding: 1.8rem;
      text-align: center;
      flex: 1;
      min-width: 180px;
      transition: all 0.3s;
      border-bottom: 3px solid transparent;
    }
    .valor-item:hover {
      background: white;
      border-bottom-color: var(--accent);
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    }
    .valor-icon {
      font-size: 2.5rem;
      color: var(--primary);
      margin-bottom: 1rem;
    }
    .valor-item h3 {
      font-size: 1.3rem;
      margin-bottom: 0.5rem;
      color: var(--primary-dark);
    }
    .valor-item p {
      font-size: 0.9rem;
      color: #4a627a;
    }


    .sucursales-preview {
      background: linear-gradient(120deg, #f1f9fe 0%, #ffffff 100%);
      border-radius: 48px;
      padding: 2rem;
      margin-top: 2rem;
    }
    .sucursales-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      justify-content: center;
      margin-top: 2rem;
    }
    .sucursal-card {
      background: white;
      border-radius: 24px;
      padding: 1.2rem 1.5rem;
      width: 200px;
      text-align: center;
      transition: 0.2s;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      border: 1px solid var(--gray-mid);
    }
    .sucursal-card:hover {
      transform: scale(1.02);
      border-color: var(--accent);
    }
    .sucursal-card i {
      font-size: 2rem;
      color: var(--accent);
      margin-bottom: 0.5rem;
    }
    .sucursal-card h4 {
      font-weight: 800;
      color: var(--primary-dark);
    }

  
    .cobertura-text {
      text-align: center;
      max-width: 800px;
      margin: 2rem auto;
      font-size: 1.1rem;
      line-height: 1.6;
    }

  
    .footer {
      background: #0e1f32;
      color: #cddfe7;
      padding: 3rem 5% 2rem;
      margin-top: 4rem;
      border-top-left-radius: 32px;
      border-top-right-radius: 32px;
    }
    .footer-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 2rem;
      margin-bottom: 2rem;
    }
    .footer-col {
      flex: 1;
      min-width: 180px;
    }
    .footer-logo-area {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 1rem;
    }
    .footer-logo-img {
      height: 46px;
      width: auto;
      display: block;
    }
    .footer-quote {
      font-style: italic;
      font-size: 0.9rem;
      margin-top: 0.8rem;
      opacity: 0.8;
      max-width: 220px;
    }
    .footer-col h4 {
      color: white;
      margin-bottom: 1rem;
      font-weight: 700;
      font-size: 1.2rem;
    }
    .footer-col ul {
      list-style: none;
    }
    .footer-col li, .footer-col a {
      color: #bdd4e2;
      text-decoration: none;
      line-height: 1.8;
      transition: 0.2s;
    }
    .footer-col a:hover {
      color: white;
      text-decoration: underline;
    }
    .copyright {
      border-top: 1px solid #2c445c;
      padding-top: 1.5rem;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      font-size: 0.8rem;
      color: #98b1c4;
    }
    .footer-bottom-copy {
      color: #98b1c4;
      text-align: left;
    }
    .footer-megaweb {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: rgba(205, 223, 231, 0.75);
      font-size: 0.85rem;
      transition: color 0.2s, opacity 0.2s;
      margin-left: auto;
    }
    .footer-megaweb:hover {
      color: var(--accent);
      opacity: 1;
    }
    .footer-megaweb-logo {
      height: 32px;
      width: auto;
      max-width: 110px;
      object-fit: contain;
      display: block;
    }

    @media (max-width: 800px) {
      .hero-interno h1 { font-size: 2.2rem; }
      .hero-interno { padding: 3rem 1.5rem; }
      .mv-card h2 { font-size: 1.5rem; }
      .nav-links { gap: 1rem; }
      .nav-links a { font-size: 0.85rem; }
      main { padding-top: 70px; }
      .container { padding: 2rem 1.5rem; }
    }
    @media (max-width: 640px) {
      .mv-grid { flex-direction: column; }
      .footer-grid { flex-direction: column; text-align: center; }
      .footer-logo-area { justify-content: center; }
      .footer-quote { margin-left: auto; margin-right: auto; text-align: center; }
      .copyright {
        flex-direction: column;
        justify-content: center;
        text-align: center;
      }
      .footer-bottom-copy { text-align: center; }
      .footer-megaweb { margin-left: 0; }
    }