:root {
    --bg: #edf1f4;
    --surface: #ffffff;
    --ink: #132632;
    --ink-soft: #4e6474;
    --line: #d4dde5;
    --dark: #111a24;
    --dark-2: #1c2b38;
    --accent: #ff7b2f;
    --whatsapp: #25d366;
    --whatsapp-dark: #129a45;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Sora', sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container { width: min(1180px, 92%); margin-inline: auto; }

h1, h2, h3, h4, .brand {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.5px;
    margin: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: linear-gradient(180deg, rgba(10, 16, 22, 0.98), rgba(17, 29, 39, 0.95));
    border-bottom: 2px solid rgba(255, 123, 47, 0.45);
    box-shadow: 0 10px 25px rgba(7, 12, 18, 0.35);
    backdrop-filter: blur(6px);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand img {
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.25));
}

.menu { display: none; gap: 8px; }

.menu a {
    color: #f5fbff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid transparent;
    min-height: 44px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
}

.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: #ec6a1d; }

.btn-outline {
    background: rgba(12, 19, 26, 0.34);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.75);
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.16); }

.hero-slide {
    min-height: 78vh;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(8, 14, 20, 0.82), rgba(8, 14, 20, 0.45)),
        radial-gradient(900px 380px at 12% 85%, rgba(255, 123, 47, 0.22), transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 90px 0 90px;
}

.hero-panel {
    max-width: 670px;
    background: linear-gradient(140deg, rgba(8, 15, 20, 0.68), rgba(28, 43, 56, 0.64));
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.hero-kicker {
    margin: 0 0 8px;
    text-transform: uppercase;
    font-size: 0.84rem;
    letter-spacing: 1.2px;
    color: #ffd8bf;
}

h1, .hero h2 {
    font-size: clamp(2.15rem, 6vw, 4.2rem);
    line-height: 1.04;
    margin-bottom: 10px;
}

.hero-cta {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-controls {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 18px;
    display: flex;
    gap: 8px;
}

.hero-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(12, 20, 28, 0.45);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-nav:hover,
.hero-nav:focus-visible {
    background: rgba(255, 123, 47, 0.95);
    border-color: rgba(255, 123, 47, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    outline: none;
}

.swiper-pagination {
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto !important;
    max-width: calc(100% - 150px);
    text-align: left;
    left: 22px !important;
    right: auto !important;
    bottom: 22px !important;
}

.swiper-pagination-bullet { width: 24px; height: 6px; border-radius: 999px; opacity: 1; background: rgba(255,255,255,0.45); }
.swiper-pagination-bullet-active { background: #ffffff; }

.section { padding: 68px 0; }
.section-soft { background: linear-gradient(180deg, #f8fafb, #eef3f7); }
.section-dark {
    color: #edf4f9;
    background: linear-gradient(180deg, rgba(28, 43, 56, 0.96), rgba(17, 29, 39, 0.98));
}
.section-contact { background: #e5edf2; }

.section-title { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; margin-bottom: 10px; }
.section-subtitle { margin-top: 0; color: var(--ink-soft); }

.grid { display: grid; gap: 15px; }
.cols-2, .cols-3 { grid-template-columns: 1fr; }

.card, .faq-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
}

.card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #d8e0e7;
    margin-bottom: 10px;
    background: #f3f6f8;
}

.card h3, .faq-card h3 { font-size: 1.65rem; margin-bottom: 8px; }
.card ul { margin: 0; padding-left: 18px; }
.card li, .benefits-list li { margin-bottom: 7px; }

.app-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.app-item {
    background: #ffffff;
    border: 1px solid #dde4ea;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-item:hover {
    border-color: #c7d2dc;
    box-shadow: 0 8px 18px rgba(16, 29, 40, 0.06);
}

.app-item h3 {
    font-size: 1.18rem;
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.15;
}

.benefits-list { margin: 16px 0 0; padding-left: 20px; }
.section-dark .txt-link { color: #ffba8c; }

.section#faq {
    background: #f7f9fb;
}

.section#faq .section-title {
    margin-bottom: 14px;
}

.section#faq .grid.cols-2 {
    gap: 10px;
}

.section#faq .faq-card {
    position: relative;
    border-radius: 10px;
    border: 1px solid #d9e1e8;
    background: #ffffff;
    padding: 14px 14px 14px 16px;
    box-shadow: 0 4px 12px rgba(16, 29, 40, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.section#faq .faq-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 4px;
    background: #d8e2ea;
}

.section#faq .faq-card:hover {
    border-color: #c8d3dd;
    box-shadow: 0 10px 20px rgba(16, 29, 40, 0.07);
    transform: translateY(-1px);
}

.section#faq .faq-card h3 {
    font-size: 1.28rem;
    margin: 0 0 6px;
    letter-spacing: 0.2px;
    line-height: 1.18;
}

.section#faq .faq-card p {
    margin: 0;
    color: #5a6f7d;
    font-size: 0.93rem;
    line-height: 1.45;
}

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.contact-box, .contact-form {
    background: #ffffff;
    border: 1px solid #d5dde3;
    border-radius: 14px;
    padding: 18px;
}
.contact-list { list-style: none; margin: 0 0 12px; padding: 0; }
.contact-list li { margin-bottom: 8px; }
.map { width: 100%; min-height: 280px; border: 0; border-radius: 12px; }

.contact-form label { display: block; margin: 9px 0 6px; font-size: 0.92rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
    width: 100%; border: 1px solid #c8d4dd; border-radius: 10px; padding: 12px; font: inherit; background: #fff;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.btn:focus-visible,
a:focus-visible { outline: 3px solid #2f8dd9; outline-offset: 2px; }

.form-response { min-height: 24px; margin: 12px 0 0; font-weight: 600; }
.form-response.success { color: #0f7d36; }
.form-response.error { color: #a42525; }

.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.footer { background: #0c1821; color: #d8e4eb; padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.footer h4 { font-size: 1.45rem; margin-bottom: 8px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; }
.subfooter { margin: 0; padding: 12px 12px 24px; text-align: center; font-size: 0.9rem; }

.whatsapp-float {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 70;
    min-width: 58px;
    height: 58px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--whatsapp);
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 12px 24px rgba(10, 86, 39, 0.36);
    font-weight: 700;
}

.whatsapp-float::after {
    content: 'Cotiza por WhatsApp';
    position: absolute;
    right: 0;
    bottom: 66px;
    background: #0f1720;
    color: #fff;
    font-size: 0.75rem;
    border-radius: 8px;
    padding: 5px 9px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.whatsapp-float:hover { background: var(--whatsapp-dark); }
.whatsapp-float:hover::after { opacity: 1; }

.show-mobile { display: none; }

@media (min-width: 768px) {
    .menu { display: flex; }
    .cols-2 { grid-template-columns: repeat(2, 1fr); }
    .cols-3 { grid-template-columns: repeat(3, 1fr); }
    .app-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1080px) {
    .app-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 560px) {
    .hide-mobile { display: none !important; }
    .show-mobile { display: initial !important; }
    .hero-controls { display: none; }
    .whatsapp-float { width: 58px; padding: 0; border-radius: 50%; }
    .whatsapp-float span, .whatsapp-float::after { display: none; }
}
