* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

body {
    background: #f5f6f8;
    color: #333;
}

/* HERO */
.hero h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.hero {
    position: relative;
    background-image: url("../img/inicio.jpg");
    background-repeat: no-repeat;
    background-size: 99%;
    background-position: center bottom;
    min-height: 30vh;
    color: white;
    padding: 180px 50px 70px;
}

.hero-line {
    width: 90px;
    height: 3px;
    margin: 18px 0 22px;
    background: linear-gradient(90deg, #f2b705, #b71c1c);
    border-radius: 3px;
}


/* DEGRADADO */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* degradado de izquierda a derecha */
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgb(0, 0, 0) 40%,
        rgba(0, 0, 0, 0.05) 70%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* PARA QUE EL TEXTO QUEDE ARRIBA DEL DEGRADADO */
.hero-content {
    position: relative;
    z-index: 1;
}


/* BUTTONS */
.btn i {
    margin-right: 8px;
    font-size: 16px;
}

.btn {
    padding: 14px 26px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

/* BOTÓN PRINCIPAL */
.primary {
    background: linear-gradient(135deg, #f2b705, #e0a800);
    color: #000;
    box-shadow: 0 6px 15px rgba(242, 183, 5, 0.4);
}

.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(242, 183, 5, 0.6);
}

/* BOTÓN SECUNDARIO */
.secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(6px);
}

.secondary:hover {
    background: rgba(255,255,255,0.3);
}

/* WHATSAPP */
.whatsapp {
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    color: white;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp:hover {
    transform: translateY(-2px);
}


/* SECTIONS */
.section {
    padding: 60px 40px;
    background: white;
}

.gray {
    background: #eef1f5;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 30px 25px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}


.card img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}


/* ======================
   MAPA ESTÁTICO PRO
====================== */

.map-container {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}

/* IMAGEN */
.map-container img {
    width: 100%;
    display: block;
}

/* OVERLAY OSCURO */
.map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.45)
    );
    z-index: 1;
}
.address {
    margin-top: 15px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    text-align: center;
}
/* PIN ROJO (AJUSTE EXACTO) */
.map-pin {
    position: absolute;
    top: 46%;   /* AJUSTA ESTO */
    left: 54%;  /* AJUSTA ESTO */
    transform: translate(-50%, -100%);
    z-index: 3;
    color: #e53935;
    font-size: 42px;
    text-shadow: 0 6px 14px rgba(0,0,0,0.6);
    animation: pinBounce 1.6s infinite;
    pointer-events: none;
}

/* BOTÓN CÓMO LLEGAR */
.map-btn {
    position: absolute;
    bottom: 22px;
    right: 22px;
    z-index: 4;
    padding: 14px 26px;
    border-radius: 30px;
    font-size: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    animation: pulse 2.2s infinite;
}

/* ANIMACIÓN PIN */
@keyframes pinBounce {
    0%, 100% {
        transform: translate(-50%, -100%);
    }
    50% {
        transform: translate(-50%, -118%);
    }
}

/* ANIMACIÓN BOTÓN */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(0,0,0,0.4);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 22px rgba(229,57,53,0.7);
    }
    100% {
        transform: scale(1);
    }
}

/* ======================
   WHATSAPP FLOTANTE
====================== */

.whatsapp-float {
    position: fixed;
    bottom: 22px;
    left: 22px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    font-size: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 14px 35px rgba(0,0,0,0.6);
}

/* ======================
   SERVICIOS CON ICONOS
====================== */

.services {
    margin-top: 40px;
}

.service-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 16px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card i {
    font-size: 46px;
    color: #17598c;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.15);
}

/* ======================
   PROCESO MEJORADO
====================== */

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
}

/* LÍNEA QUE CONECTA LOS PASOS */
.process-steps::before {
    content: "";
    position: absolute;
    top: 58px;
    left: 5%;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #b71c1c, #8e0000);
    border-radius: 10px;
    z-index: 0;
    transition: width 1.2s ease;
}

/* SE ACTIVA CON JS */
.process-steps.animate-line::before {
    width: 90%;
}

.process-card {
    background: #ffffff;
    padding: 45px 30px;
    border-radius: 18px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;

    /* ANIMACIÓN SCROLL */
    opacity: 0;
    transform: translateY(40px);
    z-index: 1;
}

.process-card.show {
    opacity: 1;
    transform: translateY(0);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.18);
}

/* ICONO CIRCULAR */
.icon-circle {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, #17598c, #17598c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: white;
    font-size: 30px;
}

/* TITULOS */
.process-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #123b6d;
}

/* TEXTO */
.process-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* NUMERO GRANDE */
.step-number {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(18, 59, 109, 0.08);
    pointer-events: none;
}

.contact-section {
    padding: 90px 20px;
    background: linear-gradient(135deg, #f8f9fb, #eef2f7);
    text-align: center;
}

.section-title {
    font-size: 32px;
    color: #123b6d;
    margin-bottom: 10px;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 50px;
    color: #555;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: center;
}

/* =========================
   CONTACTO
========================= */
.contact-section {
    padding: 90px 40px;
    background: #f5f6f8;
    text-align: center;
}

.contact-section h2 {
    font-size: 32px;
    color: #123b6d;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: #555;
    margin-bottom: 45px;
    font-size: 15px;
}

/* CAJA ANCHA */
.contact-box {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
    padding: 55px 60px;
    border-radius: 25px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* COLUMNAS */
.contact-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 45px;
    text-align: left;
}

/* COLUMNAS INDIVIDUALES */
.contact-col h3 {
    font-size: 18px;
    color: #123b6d;
    margin-bottom: 18px;
}

.contact-col p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* COLUMNA CENTRAL */
.center-col {
    text-align: center;
}

/* ITEMS CONTACTO */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 19px;
    justify-content: center;
}

.contact-item i {
    font-size: 25px;
    color: #7f6924;
    margin-top: 30px;
}

.contact-item h4 {
    font-size: 15px;
    color: #123b6d;
    margin-bottom: 3px;
}

.contact-item p {
    font-size: 14px;
}

/* AVISO */
.notice-list {
    padding-left: 18px;
    margin-bottom: 15px;
}

.notice-list li {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    list-style: disc;
}

.notice-small {
    font-size: 13px;
    color: #777;
}

/* BOTÓN WHATSAPP */
.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    transition: transform .3s ease, box-shadow .3s ease;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.65);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-box {
        padding: 45px 30px;
    }

    .contact-columns {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }
}



/* BOTÓN */
.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 26px;
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    transition: transform .3s ease, box-shadow .3s ease;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,0,0,.6); }
    70% { box-shadow: 0 0 0 18px rgba(255,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,0,0,0); }
}

/* BOTÓN MAPA */
.map-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #b71c1c;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    z-index: 2;
    transition: transform .3s ease, background .3s ease;
}

.map-btn:hover {
    background: #8e0000;
    transform: translateX(-50%) scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.footer {
    background: linear-gradient(135deg, #0e2e55, #123b6d);
    color: #ffffff;
    text-align: center;
    padding: 22px 15px;
    font-size: 14px;
    letter-spacing: 0.6px;
    border-top: 4px solid #7f6924;
    box-shadow: 0 -6px 18px rgba(0,0,0,0.15);
}

/* TEXTO */
.footer span {
    font-weight: 600;
}

/* OPCIONAL: efecto suave */
.footer {
    opacity: 0.95;
}

/* =====================================
   RESPONSIVE GENERAL
===================================== */

/* -------- TABLET -------- */
@media (max-width: 1024px) {

    .header {
        padding: 16px 30px;
    }

    nav a {
        margin-left: 18px;
        font-size: 14px;
    }

    .hero {
        padding: 150px 40px 60px;
        background-size: cover;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 55px 30px;
    }

    .contact-box {
        padding: 45px 40px;
    }

    .map-container {
        max-width: 100%;
    }

    .process-steps::before {
        display: none; /* línea se oculta en tablet */
    }
}


/* -------- MÓVIL -------- */
@media (max-width: 768px) {

    /* HEADER */
    .header {
        flex-direction: column;
        gap: 12px;
        padding: 15px 20px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    nav a {
        margin: 0;
        font-size: 14px;
    }

    /* HERO */
    .hero {
        padding: 120px 20px 50px;
        text-align: center;
        background-position: center;
    }

    .hero::before {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,.75),
            rgba(0,0,0,.45)
        );
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 15px;
    }

    .buttons {
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }

    /* SECCIONES */
    .section {
        padding: 45px 20px;
    }

    .section h2 {
        font-size: 24px;
    }

    /* SERVICIOS */
    .service-card {
        padding: 35px 20px;
    }

    .service-card i {
        font-size: 40px;
    }

    /* PROCESO */
    .process-steps {
        gap: 25px;
    }

    .process-card {
        padding: 40px 25px;
    }

    .step-number {
        font-size: 40px;
    }

    /* MAPA */
    .map-pin {
        font-size: 34px;
    }

    .map-btn {
        font-size: 14px;
        padding: 12px 22px;
    }

    /* CONTACTO */
    .contact-box {
        padding: 40px 25px;
        border-radius: 18px;
    }

    .contact-columns {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }

    .contact-item i {
        margin-top: 0;
    }

    /* FOOTER */
    .footer {
        font-size: 13px;
        padding: 18px 12px;
    }

    /* WHATSAPP FLOAT */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 26px;
        bottom: 16px;
        left: 16px;
    }
}


/* -------- MÓVIL MUY PEQUEÑO -------- */
@media (max-width: 480px) {

    .hero h1 {
        font-size: 22px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 14px;
    }

    .contact-box {
        padding: 35px 20px;
    }
}


/* HEADER PRO */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 55px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e1e4e8;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO */
.header {
    padding: 15px 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* espacio entre imagen y texto */
}

.logo img {
    width: 45px;   /* ajusta según tu logo */
    height: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.1;
}

.logo-text p {
    font-size: 12px; /* texto pequeño debajo */
    font-weight: normal;
    margin: 0;
    color: #555;
}


/* NAV */
.nav a {
    margin-left: 26px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    position: relative;
    transition: color 0.3s ease;
}

/* LINEA INFERIOR */
.nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #ad8a1f;
    left: 0;
    bottom: -6px;
    transition: width 0.3s ease;
}

.nav a:hover {
    color: #ad8a1f;
}

.nav a:hover::after {
    width: 100%;
}

.nav a.active::after {
    width: 100%;
}

/* BOTÓN CONTACTO */
.nav-btn {
    background: linear-gradient(135deg, #ad8a1f, #ad8a1f);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    margin-left: 30px;
    box-shadow: 0 6px 18px #123b6d;
}

.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px #123b6d;
}
