
:root {
    --rojo-principal: #2fd394;
    --rojoB-principal:#42db49;
    --rojo-claro: hsl(160, 45%, 81%);
    --blanco: #FFFFFF;
    --rojo: #148f89;
    --texto-gris: #333333;
    --azul-pri: #6495ED;
    --radio-borde: 25px;
}

/* --- ESTILOS GENERALES --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--rojo-claro);
    color: var(--texto-gris);
}

.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: #666;
    text-align: center;
    line-height: 1.6;
}
.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 15px;
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
}

.contact-item {
    margin: 5px 10px;
}

h1, h2, h3 {
    color: var(--rojo-principal);
}

.header {
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.header h1 {
    color: var(--primary-color);
    margin: 0;
    font-size: 28px;
    letter-spacing: 1px;
}

.header h2 {
    color: var(--secondary-color);
    margin: 5px 0 0 0;
    font-size: 18px;
    font-weight: 500;
}

.section-title {
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 18px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
}

tr:hover {
    background-color: var(--bg-light);
}

.price {
    text-align: right;
    font-weight: bold;
    color: var(--primary-color);
    width: 120px;
}

.badge {
    background-color: #e1f5fe;
    color: #0288d1;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
}

.promo-card {
    background-color: #f0f7ff;
    border: 1px solid #b3d7ff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.promo-card h4 {
    margin: 0 0 5px 0;
    color: var(--primary-color);
}

.promo-card p {
    margin: 0;
    font-size: 14px;
    color: #555;
}



/* --- BARRA DE NAVEGACIÓN --- */
header {
    background-color: var(--blanco);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(64, 161, 161, 0.1);
    border-bottom-left-radius: var(--radio-borde);
    border-bottom-right-radius: var(--radio-borde);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--rojo-principal);
    border: 2px solid var(--rojo-principal);
    padding: 5px 15px;
    border-radius: 50px;
}

nav a {
    text-decoration: none;
    color: var(--texto-gris);
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--rojo-principal);
}

/* --- BOTONES --- */
.btn {
    background-color: var(--rojo-principal);
    color: var(--blanco);
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    display: inline-block;
}


.tablainput {
    background-color: var(--rojo-principal);
    color: var(--blanco);
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    display: inline-block;
    border-collapse: separate; /* Essential for border-radius to work on tables */
    border-spacing: 0; /* Optional: removes space between cells */
    border-radius: 10px; /* Adjust the value as desired */
    border: 1px solid #ccc;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--rojo-principal);
    color: var(--rojo-principal);
}

.btn-outline:hover {
    background-color: var(--rojo-principal);
    color: var(--blanco);
}

/* --- SECCIÓN HERO --- */
.hero {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--blanco);
    margin: 20px;
    border-radius: var(--radio-borde);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* --- CONTENEDOR GENERAL --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 20px;
}

/* --- SERVICIOS --- */
.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.card {
    background-color: var(--blanco);
    padding: 30px;
    border-radius: var(--radio-borde);
    border: 2px solid transparent;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.cardDatos {
    background-color: var(--rojo);
    padding: 30px;
    border-radius: var(--radio-borde);
    border: 2px solid transparent;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--rojo-principal);
    transform: translateY(-5px);
}

.icono-servicio {
    font-size: 3rem;
    color: var(--rojo-principal);
    margin-bottom: 15px;
    display: block;
}

/* --- NUEVO: TABLA DE PRECIOS --- */
.precios-section {
    text-align: center;
    margin-bottom: 60px;
}

.grid-precios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.precio-card {
    background-color: var(--blanco);
    padding: 40px;
    border-radius: var(--radio-borde);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
}

.precio-card2 {
    background-color: var(--blanco);
    padding: 40px;
    border-radius: var(--radio-borde);
    flex: 1;
    min-width: 250px;
    max-width: 500px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
}

/* Destacar la tarjeta del medio */
.precio-destacado {
    border: 2px solid var(--rojo-principal);
    transform: scale(1.05);
    z-index: 1;
}

.etiqueta-popular {
    background-color: var(--rojo-principal);
    color: var(--blanco);
    padding: 5px 15px;
    border-radius: 20px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: bold;
}

.etiqueta-popular2 {
    background-color: var(--rojo-principal);
    color: var(--blanco);
    padding: 5px 15px;
    border-radius: 20px;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: bold;
}

.precio-numero {
    font-size: 2.5rem;
    color: var(--rojo-principal);
    font-weight: bold;
    margin: 20px 0;
}

.precio-lista {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.precio-lista li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.precio-lista li::before {
    content: "✔";
    color: var(--rojo-principal);
    margin-right: 10px;
    font-weight: bold;
}

/* --- NUEVO: MAPA --- */
.mapa-section {
    background-color: var(--blanco);
    padding: 20px;
    border-radius: var(--radio-borde);
    margin-bottom: 60px;
    text-align: center;
}

.mapa-frame {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 20px; /* Bordes redondos para el mapa */
    margin-top: 20px;
}

/* --- CONTACTO --- */
.contacto {
    background-color: var(--rojo-principal);
    color: var(--blanco);
    padding: 40px;
    border-radius: var(--radio-borde);
    text-align: center;
}

.contacto h2 {
    color: var(--blanco);
}

input {
    /*padding: 15px;*/
    border-radius: 50px;
    border: 1px;
    width: 70%;
    margin-top: 15px;
    /*outline: none;*/
}

input.err {
    color: #444444;
    border: 2px solid #f23;
    font-size: 10px;
    width: 180px;
    height: 18px;
    padding-left: 5px;
    /*outline:none;*/
    /* background-image: url(../logos/error.png);*/
}
input.err:focus{
    color:rgb(107, 228, 96);
    font-weight: bold;
    border: 2px solid rgb(40, 163, 87);
}

inputmx {
    /*padding: 15px;*/
    border-radius: 50px;
    border: 1px;
    width: 100%;
    /*outline: none;*/
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 20px;
    color: var(--rojo-principal);
    font-size: 0.9rem;
    margin-top: 20px;
}


/* Botón flotante */
  .btn-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  }

  /* Efecto hover */
  .btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  }

  /* Tamaño del icono */
  .icono-wa {
    width: 32px;
    height: 32px;
  }