/* VARIABLES DE DISEÑO */
:root {
    --primary-color: #0057B8; /* Azul ingeniero - color principal */
    --primary-hover: #004A9E; /* Azul ingeniero oscuro para hover */
    --accent-color: #F5820B; /* Naranja corporativo */
    --secondary-color: #F5820B; /* Naranja corporativo del logo */
    --dark-color: #1F2B57; /* Azul marino corporativo del logo */
    --dark-hover: #172044; /* Azul marino oscuro para hover */
    --light-color: #F4F6F8; /* Gris claro técnico */
    --border-color: #DCE3EA; /* Gris suave para bordes */
    --muted-color: #AAB4C0; /* Gris secundario */
    --whatsapp-color: #25D366; /* Verde oficial WhatsApp */
    --text-color: #4B5563; /* Gris para texto corrido */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ESTILOS GENERALES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* BOTONES */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--dark-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--dark-hover);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1ebd54;
    transform: translateY(-2px);
}

/* CABECERA (NAVBAR) */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    margin-right: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-color);
}

/* PRINCIPAL / HERO */
.hero {
    background: linear-gradient(135deg, #f4f6f8 0%, #eaf1f8 100%);
    padding: 90px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    background-color: rgba(0, 87, 184, 0.10);
    color: var(--primary-color);
    border: 1px solid rgba(0, 87, 184, 0.15);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--dark-color);
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 680px;
}

.hero-content p {
    font-size: 1.08rem;
    margin-bottom: 30px;
    max-width: 620px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background-color: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 999px;
    color: var(--dark-color);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(31, 43, 87, 0.06);
}

.hero-highlight i {
    color: var(--primary-color);
}

.hero-image {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(31, 43, 87, 0.14);
    background-color: #ffffff;
}

.hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.hero-image-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background-color: rgba(31, 43, 87, 0.92);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* SECCIÓN TÍTULOS */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* SERVICIOS */
.servicios {
    padding: 90px 0;
    background-color: #ffffff;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
    min-height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(31, 43, 87, 0.10);
    border-color: rgba(0, 87, 184, 0.35);
}

.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 16px;
    background-color: #ffffff;
    border: 1px solid #dbe4ee;
    box-shadow: 0 8px 20px rgba(31, 43, 87, 0.06);
}

.service-icon-image img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: invert(24%) sepia(99%) saturate(1914%) hue-rotate(198deg) brightness(83%) contrast(103%);
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 1.18rem;
    line-height: 1.3;
}

.service-card p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.65;
}

@media (max-width: 980px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}



/* SOLUCIONES PARA PROFESIONALES */
.profesionales {
    padding: 90px 0;
    background: linear-gradient(180deg, var(--light-color) 0%, #ffffff 100%);
}

.profesionales-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.profesional-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 10px 26px rgba(31, 43, 87, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.profesional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(31, 43, 87, 0.12);
    border-color: rgba(0, 87, 184, 0.35);
}

.profesional-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 87, 184, 0.08);
    color: var(--primary-color);
    font-size: 1.55rem;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--accent-color);
}

.profesional-card h3 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 1.18rem;
}

.profesional-card p {
    margin: 0;
    line-height: 1.65;
}

.profesionales-cta {
    margin-top: 34px;
    text-align: center;
}

@media (max-width: 980px) {
    .profesionales-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .profesionales {
        padding: 70px 0;
    }

    .profesionales-grid {
        grid-template-columns: 1fr;
    }
}

/* TESTIMONIOS / OPINIONES */
.testimonios {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--light-color) 100%);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonio-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 34px 28px 28px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(31, 43, 87, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(31, 43, 87, 0.12);
    border-color: rgba(0, 87, 184, 0.35);
}

.testimonio-foto {
    width: 118px;
    height: 118px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.12), 0 10px 24px rgba(31, 43, 87, 0.12);
    margin-bottom: 20px;
}

.testimonio-estrellas {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.testimonio-card h3 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.testimonio-card p {
    color: var(--text-color);
    line-height: 1.75;
    font-size: 0.98rem;
}

.testimonio-aviso {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.76rem;
    color: #94a3b8;
}

/* CÓMO TRABAJAMOS */
.pasos {
    background-color: var(--light-color);
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--muted-color);
    line-height: 1;
}

.step-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    margin-top: 10px;
}

/* CONTACTO */
.contacto {
    padding: 80px 0;
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h3 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.contacto-mapa {
    background-color: #EAF0F6;
    border-radius: 12px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    padding: 40px;
}

.map-placeholder i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.map-placeholder h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.map-placeholder p {
    margin-bottom: 20px;
}

/* FOOTER */
.footer {
    background-color: var(--dark-color);
    color: #C3CAD6;
    padding: 40px 0;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.footer-content p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* ADAPTACIÓN MÓVIL (RESPONSIVE) */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .nav {
        margin-bottom: 5px;
    }
    .nav a {
        margin: 0 10px;
    }
    .hero-container, .contacto-wrapper {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-highlights {
        gap: 10px;
    }

    .hero-highlight {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-image img {
        min-height: 280px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 26px;
    }
    .logo img {
        width: 220px;
    }
    .nav-btn {
        display: none; /* Oculta botón extra en móvil para limpiar diseño */
    }

    .testimonios-grid {
        grid-template-columns: 1fr;
    }

    .testimonio-card {
        padding: 30px 22px 24px;
    }
}

/* LLAMADA A PRESUPUESTO */
.presupuesto-cta {
    padding: 24px 0 80px;
}

.presupuesto-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
    padding: 38px 42px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--dark-color) 0%, #263a72 100%);
    box-shadow: 0 18px 40px rgba(31, 43, 87, 0.16);
}

.presupuesto-cta-texto h2 {
    color: #ffffff;
    font-size: 2rem;
    line-height: 1.2;
    margin: 8px 0 12px;
}

.presupuesto-cta-texto p {
    color: #d9e1ef;
    max-width: 760px;
}

.presupuesto-kicker {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
}

.btn-presupuesto {
    background-color: var(--accent-color, #F5820B);
    color: #ffffff;
    white-space: nowrap;
    padding: 14px 22px;
}

.btn-presupuesto:hover {
    background-color: #d96f00;
    transform: translateY(-2px);
}

/* PÁGINA DE PRESUPUESTO */
.presupuesto-page {
    background: linear-gradient(135deg, #f4f6f8 0%, #eef3f8 100%);
    min-height: calc(100vh - 160px);
    padding: 70px 0 90px;
}

.presupuesto-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 42px;
    align-items: start;
}

.presupuesto-intro {
    position: sticky;
    top: 115px;
}

.presupuesto-intro h1 {
    color: var(--dark-color);
    font-size: 2.6rem;
    line-height: 1.15;
    margin: 14px 0 18px;
}

.presupuesto-intro > p {
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.presupuesto-ventajas {
    display: grid;
    gap: 12px;
}

.presupuesto-ventaja {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    background: rgba(255,255,255,0.8);
    color: var(--dark-color);
    font-weight: 600;
}

.presupuesto-ventaja i {
    width: 22px;
    text-align: center;
    color: var(--primary-color);
}

.presupuesto-form-card {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(31, 43, 87, 0.10);
    padding: 34px;
}

.presupuesto-form-card h2 {
    color: var(--dark-color);
    font-size: 1.65rem;
    margin-bottom: 8px;
}

.presupuesto-form-card .form-intro {
    margin-bottom: 26px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #cfd9e4;
    border-radius: 9px;
    padding: 12px 13px;
    font: inherit;
    color: var(--text-color);
    background: #ffffff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.10);
}

.form-help {
    font-size: 0.86rem;
    color: #667085;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 18px;
    font-size: 0.92rem;
}

.form-check input {
    margin-top: 4px;
}

.form-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    font-size: 1rem;
}

.form-note {
    margin-top: 14px;
    font-size: 0.86rem;
    color: #667085;
    text-align: center;
}

@media (max-width: 768px) {
    .presupuesto-cta {
        padding: 10px 0 60px;
    }

    .presupuesto-cta-inner,
    .presupuesto-layout {
        grid-template-columns: 1fr;
    }

    .presupuesto-cta-inner {
        padding: 30px 24px;
        text-align: center;
    }

    .btn-presupuesto {
        justify-content: center;
        width: 100%;
    }

    .presupuesto-page {
        padding: 45px 0 70px;
    }

    .presupuesto-intro {
        position: static;
    }

    .presupuesto-intro h1 {
        font-size: 2rem;
    }

    .presupuesto-form-card {
        padding: 24px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}


/* PIE LEGAL */
.footer-legal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 16px;
}

.footer-legal a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* PÁGINAS LEGALES */
.legal-page {
    padding: 65px 0 85px;
    background: #ffffff;
}

.legal-container {
    max-width: 900px;
}

.legal-container h1 {
    color: var(--dark-color);
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.legal-updated {
    color: #6b7280;
    margin-bottom: 36px;
    font-size: 0.92rem;
}

.legal-container h2 {
    color: var(--dark-color);
    font-size: 1.35rem;
    margin: 30px 0 10px;
}

.legal-container p,
.legal-container li {
    line-height: 1.75;
}

.legal-container ul {
    padding-left: 22px;
    margin-top: 10px;
}

.legal-container a {
    color: var(--primary-color);
}

.form-check a {
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 40px 0 60px;
    }

    .legal-container h1 {
        font-size: 2rem;
    }
}

/* GESTIÓN DE COOKIES */
.cookie-banner[hidden],
.cookie-settings[hidden] {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 4000;
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(31, 43, 87, 0.22);
}

.cookie-banner-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner-copy {
    max-width: 760px;
}

.cookie-banner-copy strong {
    display: block;
    color: var(--dark-color);
    font-size: 1.08rem;
    margin-bottom: 5px;
}

.cookie-banner-copy p {
    margin: 0 0 5px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.cookie-banner-copy a,
.footer-cookie-settings {
    color: var(--primary-color);
    font-weight: 600;
}

.cookie-banner-actions,
.cookie-settings-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    appearance: none;
    border-radius: 7px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn-primary {
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
}

.cookie-btn-outline {
    border: 1px solid #9fb0c4;
    background: #ffffff;
    color: var(--dark-color);
}

.cookie-settings {
    position: fixed;
    inset: 0;
    z-index: 4100;
    display: grid;
    place-items: center;
    padding: 20px;
}

.cookie-settings-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
}

.cookie-settings-dialog {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    max-height: min(760px, calc(100vh - 40px));
    overflow: auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.28);
}

.cookie-settings-dialog h2 {
    color: var(--dark-color);
    margin: 0 38px 8px 0;
}

.cookie-settings-dialog > p {
    margin-bottom: 20px;
}

.cookie-settings-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: transparent;
    color: var(--dark-color);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-top: 1px solid #e2e8f0;
}

.cookie-category strong {
    color: var(--dark-color);
}

.cookie-category p {
    margin: 4px 0 0;
    font-size: 0.92rem;
}

.cookie-required {
    white-space: nowrap;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.cookie-category-toggle {
    cursor: pointer;
}

.cookie-switch {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
}

.cookie-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cookie-switch span {
    width: 48px;
    height: 27px;
    border-radius: 999px;
    background: #cbd5e1;
    position: relative;
    transition: background-color 0.2s ease;
}

.cookie-switch span::after {
    content: "";
    position: absolute;
    width: 21px;
    height: 21px;
    top: 3px;
    left: 3px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.cookie-switch input:checked + span {
    background: var(--primary-color);
}

.cookie-switch input:checked + span::after {
    transform: translateX(21px);
}

.cookie-switch input:focus-visible + span {
    outline: 3px solid rgba(0, 87, 184, 0.25);
    outline-offset: 2px;
}

.cookie-settings-actions {
    justify-content: flex-end;
    margin-top: 20px;
}

.cookie-modal-open {
    overflow: hidden;
}

.footer-cookie-settings {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cookie-banner-content {
        align-items: stretch;
        flex-direction: column;
        padding: 18px;
        gap: 14px;
    }

    .cookie-banner-actions,
    .cookie-settings-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-settings-dialog {
        padding: 24px 18px;
    }

    .cookie-category {
        align-items: flex-start;
    }
}


/* CTA INTERMEDIA: PRESUPUESTO + WHATSAPP */
.presupuesto-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-whatsapp-cta {
    background: var(--whatsapp-color);
    color: #ffffff;
    white-space: nowrap;
    padding: 14px 22px;
}

.btn-whatsapp-cta:hover {
    background: #1ebd54;
    transform: translateY(-2px);
}

/* BLOQUE DE CONFIANZA */
.confianza {
    padding: 85px 0;
    background: #ffffff;
}

.confianza-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.confianza-card {
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--light-color);
}

.confianza-card i {
    font-size: 1.7rem;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.confianza-card h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.12rem;
}

.confianza-card p {
    margin: 0;
    line-height: 1.65;
}

/* CONTACTO MEJORADO */
.contacto {
    background: linear-gradient(180deg, var(--light-color) 0%, #ffffff 100%);
}

.contacto-info {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(31, 43, 87, 0.07);
}

.contacto-mapa {
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 30px rgba(31, 43, 87, 0.07);
}

.contacto-acciones {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.contacto-accion {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    background: #ffffff;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 13px;
    padding: 16px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.contacto-accion:hover {
    transform: translateY(-3px);
    border-color: rgba(0,87,184,.35);
    box-shadow: 0 10px 24px rgba(31,43,87,.08);
}

.contacto-accion > i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffffff;
    background: var(--primary-color);
    flex-shrink: 0;
}

.contacto-accion:nth-child(2) > i {
    background: var(--whatsapp-color);
}

.contacto-accion span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contacto-accion strong {
    color: var(--dark-color);
}

.contacto-accion small {
    font-size: .82rem;
    color: #667085;
    overflow-wrap: anywhere;
}

/* WHATSAPP FLOTANTE */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 950;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 18px;
    border-radius: 999px;
    background: var(--whatsapp-color);
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0,0,0,.20);
    transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float i {
    font-size: 1.35rem;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0,0,0,.24);
}

@media (max-width: 980px) {
    .confianza-grid,
    .contacto-acciones {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .presupuesto-cta-actions {
        justify-content: stretch;
    }

    .presupuesto-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .confianza {
        padding: 65px 0;
    }

    .confianza-grid,
    .contacto-acciones {
        grid-template-columns: 1fr;
    }

    .contacto-info {
        padding: 24px 20px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 54px;
        height: 54px;
        padding: 0;
        justify-content: center;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float i {
        font-size: 1.55rem;
    }
}


/* FORMULARIO DE PRESUPUESTO: SEGURIDAD Y RESULTADO */
.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-result-page {
    min-height: 65vh;
    display: flex;
    align-items: center;
    padding: 70px 0;
    background: linear-gradient(135deg, #f4f6f8 0%, #eaf1f8 100%);
}

.form-result-card {
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 42px;
    box-shadow: 0 18px 45px rgba(31, 43, 87, 0.10);
    text-align: center;
}

.form-result-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 87, 184, 0.10);
    color: var(--primary-color);
    font-size: 2rem;
}

.form-result-card h1 {
    color: var(--dark-color);
    margin-bottom: 14px;
}

.form-result-card p {
    margin-bottom: 22px;
}

.form-result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.form-error-list {
    text-align: left;
    max-width: 620px;
    margin: 0 auto 24px;
    padding-left: 22px;
}

@media (max-width: 768px) {
    .form-result-card {
        padding: 30px 20px;
    }

    .form-result-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
