/* VARIABLES GLOBALES */
:root {
    --morado: #6a1b9a;      /* Color de tu Logo */
    --verde-wa: #25D366;    /* Verde WhatsApp */
    --turquesa: #00bcd4;    /* Color de acento */
    --oscuro: #333333;
    --gris-fondo: #f8f9fa;
    --blanco: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: var(--gris-fondo);
    color: var(--oscuro);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER Y LOGO */
header {
    background: var(--blanco);
    padding: 20px 0;
    border-bottom: 4px solid var(--morado);
    text-align: center;
}

.logo-img {
    height: 110px;
    width: auto;
    display: block;
    margin: 0 auto 10px;
}

.location-box {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

/* HERO SECTION (BOTONES) */
.hero {
    background: var(--blanco);
    text-align: center;
    padding: 60px 20px;
}

.hero h2 {
    color: var(--morado);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ESTILO DE BOTONES HERO */
.btn-primary, .btn-wa-hero {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--morado);
    color: white !important;
}

.btn-wa-hero {
    background: var(--verde-wa);
    color: white !important;
}

.btn-primary:hover, .btn-wa-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* GRID DE SERVICIOS (4 Columnas) */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin: 40px 0;
}

@media (min-width: 768px) { .servicios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .servicios-grid { grid-template-columns: repeat(4, 1fr); } }

/* TARJETAS DE SERVICIOS */
.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.card:hover { transform: translateY(-5px); }

.card-img {
    height: 180px;
    background: #e0e0e0; /* Gris si no hay imagen */
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body h3 {
    margin: 0 0 10px;
    color: var(--morado);
    font-size: 1.2rem;
}

.precios { margin: 10px 0; }

.p-regular {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.p-oferta {
    font-size: 1.5rem;
    color: var(--morado);
    font-weight: bold;
    display: block;
}

/* BOTÓN "CUPÓN DE DESCUENTO" */
.btn-pdf {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    border: 2px solid var(--morado);
    color: var(--morado);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-pdf:hover {
    background: var(--morado);
    color: white;
}

.timer {
    font-size: 0.8rem;
    color: #d32f2f;
    font-weight: bold;
    margin-top: 10px;
}

/* FOOTER */
footer {
    background: var(--oscuro);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}
/* ESTILOS PARA EL PANEL ADMIN */
.admin-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th {
    background: var(--morado);
    color: white;
    padding: 12px;
    text-align: left;
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.input-admin {
    width: 90%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-save {
    background: var(--verde-wa);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
/* ANUNCIO PROPIO (Crédito de venta) - VERSIÓN PEQUEÑA Y MORADA */
.promo-ventas-ampsie {
    background-color: var(--morado); /* Fondo Morado solicitado */
    color: white !important; /* Texto en blanco para contraste */
    max-width: 600px; /* Limitamos el ancho para que sea pequeño */
    margin: 30px auto; /* Centrado con espacio arriba y abajo */
    padding: 15px 25px; /* Padding ajustado */
    border-radius: 12px; /* Bordes redondeados premium */
    text-align: center;
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.2); /* Sombra suave morada */
    font-size: 0.9rem; /* Fuente un poco más pequeña */
}

.promo-ventas-ampsie h4 {
    margin: 0 0 5px 0;
    color: white; /* Aseguramos blanco */
    font-size: 1.1rem;
}

.promo-ventas-ampsie p {
    margin: 0 0 10px 0;
    opacity: 0.9;
}

.promo-ventas-ampsie a {
    color: var(--verde-wa) !important; /* Resaltamos el link en verde */
    font-weight: bold;
    text-decoration: underline;
    font-size: 1rem;
}

.promo-ventas-ampsie a:hover {
    color: white !important;
    text-decoration: none;
}
/* FORZAR MAPA A ANCHO COMPLETO */
.map-container iframe {
    width: 100% !important;
    height: 450px !important; /* Altura ideal */
    border: 0;
}