
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            background: #f8f8f8;
        }

        header {
            background: white;
            padding: 20px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 24px;
            font-weight: bold;
            color: #333;
        }

        .logo-icon {
            width: 50px;
            height: 50px;
            background: #666;
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
        }

        nav {
            display: flex;
            gap: 30px;
        }

        nav a {
            color: #555;
            text-decoration: none;
            font-size: 16px;
            transition: color 0.3s;
            padding-bottom: 5px;
        }

        nav a:hover, nav a.active {
            color: #000;
            border-bottom: 2px solid #000;
        }

    .hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  max-width: 800px;
}

/* Texto principal */
.hero h1 {
  font-size: clamp(28px, 6vw, 56px); /* escala automática */
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.hero p {
  font-size: clamp(16px, 3vw, 22px);
  margin-bottom: 40px;
  color: #eee;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Botón */
.cta-button {
  background: linear-gradient(90deg, #000, #444);
  color: #fff;
  padding: 16px 32px;
  font-size: clamp(14px, 2.5vw, 20px);
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 80px 20px;
  }

  .hero-content {
    padding: 40px 20px;
  }

  .cta-button {
    width: 100%; /* botón ocupa todo el ancho en móviles */
  }
}
.promo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  gap: 20px;
  max-width: 600px;
  margin: 40px auto;
}

.promo-logo {
  width: 80px;
  height: auto;
}

.promo-text h2 {
  font-size: 32px;
  margin: 0;
  color: #fff;
}

.promo-text p {
  font-size: 20px;
  margin: 5px 0 0;
  color: #ccc;
}

        .form-section {
            display: flex;
            gap: 40px;
            padding: 60px 50px;
            background: white;
        }

        .form-container {
            flex: 1;
            background: #fafafa;
            padding: 40px;
            border-radius: 5px;
            border: 1px solid #ddd;
        }

        .calculator {
            flex: 1;
            background: #fafafa;
            padding: 40px;
            border-radius: 5px;
            border: 1px solid #ddd;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
            font-size: 15px;
        }

        .form-group input, .form-group select, .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 3px;
            font-size: 15px;
            background: white;
        }

        .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
            outline: none;
            border-color: #666;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        .radio-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .radio-option {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .radio-option input[type="radio"] {
            width: auto;
        }

        .submit-btn {
            width: 100%;
            background: #000;
            color: white;
            padding: 15px;
            border: none;
            border-radius: 3px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }

        .submit-btn:hover {
            background: #333;
        }

        .calc-result {
            background: #444;
            color: white;
            padding: 30px;
            border-radius: 5px;
            margin-top: 20px;
            text-align: center;
        }

        .calc-result h3 {
            font-size: 16px;
            margin-bottom: 10px;
            font-weight: normal;
        }

        .calc-result .amount {
            font-size: 42px;
            font-weight: bold;
            margin: 15px 0;
        }

        .calc-details {
            background: white;
            color: #333;
            padding: 25px;
            border-radius: 5px;
            margin-top: 20px;
            border: 1px solid #ddd;
        }

        .calc-row {
            display: flex;
            justify-content: space-between;
            padding: 15px 0;
            border-bottom: 1px solid #eee;
        }

        .calc-row:last-child {
            border-bottom: none;
            font-weight: bold;
            font-size: 18px;
        }

        .info-section {
            padding: 80px 50px;
            background: #f8f8f8;
        }

        .info-section h2 {
            text-align: center;
            font-size: 42px;
            margin-bottom: 50px;
            color: #222;
        }

        .info-content {
            display: flex;
            gap: 60px;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }

        .info-image {
            flex: 1;
        }

        .info-image img {
            width: 100%;
            height: auto;
            border-radius: 5px;
        }

        .image-placeholder {
            width: 100%;
            height: 400px;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 400"><rect fill="%23e8e8e8" width="600" height="400"/><g transform="translate(50,50)"><rect width="120" height="300" fill="%23d5d5d5"/><rect x="140" width="120" height="300" fill="%23c8c8c8"/><rect x="280" width="120" height="300" fill="%23d0d0d0"/><rect x="420" width="80" height="300" fill="%23cccccc"/><circle cx="60" cy="150" r="30" fill="white" opacity="0.7"/><circle cx="200" cy="180" r="30" fill="white" opacity="0.7"/><circle cx="340" cy="120" r="30" fill="white" opacity="0.7"/><circle cx="460" cy="160" r="25" fill="white" opacity="0.7"/></g></svg>') center/cover;
            border-radius: 5px;
            border: 1px solid #ddd;
        }

        .info-text {
            flex: 1;
        }

        .info-text p {
            font-size: 17px;
            line-height: 1.8;
            color: #555;
            margin-bottom: 20px;
        }

        .services-section {
            padding: 80px 50px;
            background: white;
        }

        .services-section h2 {
            text-align: center;
            font-size: 42px;
            margin-bottom: 20px;
            color: #222;
        }

        .services-image {
            text-align: center;
            margin-bottom: 50px;
        }

        .market-image {
            width: 100%;
            max-width: 800px;
            height: 400px;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><rect fill="%23d8d8d8" width="800" height="400"/><rect x="100" y="50" width="600" height="250" fill="%23c0c0c0" rx="10"/><rect x="120" y="80" width="120" height="180" fill="%23a8a8a8"/><rect x="260" y="80" width="120" height="180" fill="%23b0b0b0"/><rect x="400" y="80" width="120" height="180" fill="%23a0a0a0"/><rect x="540" y="80" width="120" height="180" fill="%23b8b8b8"/><circle cx="180" cy="170" r="20" fill="white" opacity="0.6"/><circle cx="320" cy="170" r="20" fill="white" opacity="0.6"/><circle cx="460" cy="170" r="20" fill="white" opacity="0.6"/><circle cx="600" cy="170" r="20" fill="white" opacity="0.6"/><rect x="150" y="320" width="500" height="30" fill="%23888" opacity="0.4"/></svg>') center/cover;
            border-radius: 5px;
            margin: 0 auto;
            border: 1px solid #ccc;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .service-card {
            background: #fafafa;
            padding: 35px;
            border-radius: 5px;
            border: 1px solid #ddd;
        }

        .service-card h3 {
            color: #333;
            font-size: 22px;
            margin-bottom: 15px;
        }

        .service-card p {
            color: #666;
            line-height: 1.7;
            font-size: 16px;
        }

        .rates-section {
            padding: 80px 50px;
            background: #f8f8f8;
        }

        .rates-section h2 {
            text-align: center;
            font-size: 42px;
            margin-bottom: 50px;
            color: #222;
        }

        table {
            width: 100%;
            max-width: 900px;
            margin: 0 auto;
            border-collapse: collapse;
            background: white;
            border: 1px solid #ddd;
            border-radius: 5px;
            overflow: hidden;
        }

        thead {
            background: #444;
            color: white;
        }

        th, td {
            padding: 18px;
            text-align: center;
            font-size: 16px;
        }

        tbody tr {
            border-bottom: 1px solid #eee;
        }

        tbody tr:last-child {
            border-bottom: none;
        }

        .disclaimer {
            text-align: center;
            max-width: 900px;
            margin: 30px auto 0;
            color: #666;
            font-size: 14px;
            line-height: 1.6;
        }

        footer {
            background: #222;
            color: white;
            padding: 50px 50px 30px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: start;
            max-width: 1200px;
            margin: 0 auto 30px;
        }

        .footer-logo {
            font-size: 24px;
            font-weight: bold;
        }

        .footer-badges {
            display: flex;
            gap: 20px;
        }

        .badge {
            width: 100px;
            height: 100px;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23444" width="100" height="100" rx="5"/><text x="50" y="35" text-anchor="middle" fill="white" font-size="12" font-weight="bold">CONFIANZA</text><circle cx="50" cy="65" r="15" fill="none" stroke="white" stroke-width="2"/><path d="M 45 65 L 48 68 L 55 61" fill="none" stroke="white" stroke-width="2"/></svg>') center/contain no-repeat;
        }

        .badge:nth-child(2) {
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23444" width="100" height="100" rx="5"/><text x="50" y="35" text-anchor="middle" fill="white" font-size="12" font-weight="bold">SEGURO</text><rect x="35" y="45" width="30" height="35" fill="none" stroke="white" stroke-width="2" rx="2"/><path d="M 40 45 V 40 A 10 10 0 0 1 60 40 V 45" fill="none" stroke="white" stroke-width="2"/></svg>') center/contain no-repeat;
        }

        .footer-info p {
            margin: 8px 0;
            font-size: 15px;
            color: #ccc;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #444;
            color: #999;
            font-size: 14px;
        }
/* 📌 Ajustes generales para tablets */
@media (max-width: 1024px) {

    header {
        padding: 20px 30px;
    }

    nav {
        gap: 20px;
    }

    .form-section {
        flex-direction: column;
        padding: 40px 30px;
    }

    .info-content {
        flex-direction: column;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 14px;
    }
}

/* 📌 Ajustes fuertes para móviles */
@media (max-width: 768px) {

    /* HEADER */
    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    /* HERO */
    .hero {
        padding: 120px 20px;
        height: auto;
    }

    .cta-button {
        width: 100%;
    }

    /* FORMULARIO */
    .form-section {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }

    .form-container,
    .calculator {
        padding: 25px;
    }

    /* INFO */
    .info-content {
        flex-direction: column;
        gap: 30px;
    }

    .info-image img,
    .image-placeholder {
        height: auto;
    }

    /* SERVICES */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .market-image {
        height: 250px;
    }

    /* TABLE */
    table th, table td {
        padding: 12px;
        font-size: 14px;
    }

    /* FOOTER */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-badges {
        justify-content: center;
    }
}

/* 📌 Extra pequeño (móviles < 480px) */
@media (max-width: 480px) {

    .logo {
        font-size: 20px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .promo-box {
        flex-direction: column;
        text-align: center;
    }

    .promo-logo {
        width: 60px;
    }

    .services-section h2,
    .info-section h2,
    .rates-section h2 {
        font-size: 32px;
    }

    .service-card {
        padding: 25px;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
.image-container {
  display: flex;
  justify-content: center; /* centra horizontalmente */
  align-items: center;     /* centra verticalmente */
  height: 300px;           /* altura del contenedor */
  background-color: #f5f5f5; /* color de fondo opcional */
}

.image-container img {
  max-width: 100%;
  height: auto;
}
.image-container {
  display: flex;
  justify-content: center;   /* centra horizontalmente */
  align-items: center;       /* centra verticalmente */
  padding: 20px;
  background-color: #f5f5f5; /* opcional */
}

.image-container img {
  max-width: 100%;   /* la imagen se adapta al ancho disponible */
  height: auto;      /* mantiene proporción */
  border-radius: 8px; /* opcional, esquinas redondeadas */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* opcional, sombra */
}