:root {
    --font-base: 'Manrope', 'Segoe UI', sans-serif;
    --font-heading: 'Archivo', 'Segoe UI', sans-serif;
    --color-bg: #f2f6fa;
    --color-surface: #ffffff;
    --color-text: #102233;
    --color-muted: #50657a;
    --color-primary: #0a3a5f;
    --color-primary-strong: #062742;
    --color-secondary: #127f75;
    --color-border: #d7e0e8;
    --color-accent-soft: #e7f2ff;
    --shadow-soft: 0 16px 40px rgba(6, 39, 66, 0.08);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: linear-gradient(180deg, #f8fbff 0%, #eef3f8 60%, #f6f9fc 100%);
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: var(--color-primary-strong);
}

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

h1,
h2,
h3 {
    margin: 0 0 12px;
    line-height: 1.2;
    color: #0b2238;
    font-family: var(--font-heading);
}

p {
    margin: 0 0 14px;
    color: var(--color-muted);
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.section {
    padding: 64px 0;
}

.section-accent {
    background: radial-gradient(circle at 15% 15%, #d8ebff 0%, #f2f8ff 55%, #edf5ff 100%);
}

.section-soft {
    background: linear-gradient(180deg, #eef4fb 0%, #f7fbff 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    backdrop-filter: blur(8px);
    background: rgba(247, 251, 255, 0.92);
    border-bottom: 1px solid rgba(11, 34, 56, 0.1);
}

.topbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    width: clamp(150px, 23vw, 230px);
    object-fit: contain;
}

.main-nav {
    display: none;
    align-items: center;
    gap: 18px;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #20405a;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.94rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0a3a5f 0%, #0f608d 100%);
    box-shadow: 0 10px 24px rgba(9, 66, 104, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, #072b46 0%, #0b4c72 100%);
}

.btn-secondary {
    color: #0a3a5f;
    background: #fff;
    border: 1px solid #c5d5e2;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    color: #082e4b;
    border-color: #9bb7cc;
}

.btn-outline {
    color: #0a3a5f;
    background: transparent;
    border: 1px solid #9bb7cc;
}

.hero {
    position: relative;
    min-height: min(86vh, 820px);
    overflow: clip;
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}

.hero-slider {
    position: relative;
    width: 100%;
    min-height: inherit;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

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

.hero-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(6, 29, 49, 0.58) 0%, rgba(8, 48, 79, 0.42) 42%, rgba(8, 48, 79, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(680px, 100%);
    padding: 98px 0 98px;
}

.hero h1,
.hero h2 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4.6vw, 3.5rem);
    color: #ffffff;
    text-shadow: 0 4px 26px rgba(5, 25, 41, 0.45);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
}

.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 3;
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hero-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(6, 39, 66, 0.45);
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hero-nav-btn:hover,
.hero-nav-btn:focus-visible {
    background: rgba(6, 39, 66, 0.78);
    border-color: rgba(255, 255, 255, 0.9);
}

.hero-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-dot.is-active {
    background: #ffffff;
    transform: scale(1.25);
}

.grid {
    display: grid;
    gap: 18px;
}

.cards-4 {
    grid-template-columns: 1fr;
    margin-top: 22px;
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 22px;
}

.benefit-card {
    min-height: 110px;
    display: flex;
    align-items: center;
}

.benefit-card h3 {
    margin: 0;
    font-size: 1.08rem;
}

.gallery-3 {
    margin-top: 24px;
    grid-template-columns: 1fr;
}

.media-card {
    padding: 0;
    overflow: hidden;
}

.media-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.media-card figcaption {
    padding: 14px 16px;
    font-size: 0.94rem;
    font-weight: 600;
    color: #22425b;
}

.products-section {
    background: linear-gradient(180deg, #f9fcff 0%, #edf5fc 100%);
}

.products-heading {
    max-width: 980px;
    margin: 0 auto 8px;
    text-align: center;
}

.products-heading #productos-title {
    margin-bottom: 14px;
    letter-spacing: 0.03em;
}

.products-heading .section-lead {
    max-width: 78ch;
    margin: 0 auto 12px;
    font-size: clamp(1.02rem, 1.45vw, 1.16rem);
    font-weight: 650;
    color: #193852;
}

.products-heading .section-copy {
    max-width: 84ch;
    margin-left: auto;
    margin-right: auto;
}

.products-section .gallery-3 {
    margin-top: 24px;
}

.products-section .product-media-card {
    margin: 0;
    display: grid;
    gap: 10px;
}

.products-section .product-media-card img {
    aspect-ratio: 5 / 4;
    border-radius: 14px;
    border: 1px solid #cadeec;
    box-shadow: 0 10px 24px rgba(8, 48, 79, 0.08);
}

.products-section .product-media-card figcaption {
    padding: 0;
    font-weight: 700;
    text-align: center;
    color: #183d5b;
}

.split {
    display: grid;
    gap: 22px;
}

.check-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    color: #1f3a52;
    font-weight: 500;
}

.check-list li::before {
    content: 'v';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--color-secondary);
    font-weight: 800;
}

.cta-box {
    background: linear-gradient(155deg, #0a3a5f 0%, #0f5f8d 100%);
    color: #fff;
    align-self: start;
}

.cta-box h3,
.cta-box p {
    color: #fff;
}

.cta-box p {
    opacity: 0.95;
}

.process-section {
    background:
        radial-gradient(circle at 86% 22%, rgba(41, 142, 216, 0.14) 0%, rgba(41, 142, 216, 0) 42%),
        linear-gradient(180deg, #f8fcff 0%, #edf5fb 100%);
}

.process-heading {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.process-heading h2 {
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.process-lead {
    max-width: 72ch;
    margin: 0 auto;
    font-size: clamp(1.02rem, 1.45vw, 1.14rem);
    color: #21425d;
}

.steps {
    margin-top: 26px;
    gap: 20px;
}

.step-card {
    position: relative;
    min-height: 230px;
    padding: 22px 18px 18px;
    border-color: #bdd2e3;
    background: linear-gradient(180deg, #ffffff 0%, #f2f8fd 100%);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.step-card::before {
    content: attr(data-step);
    position: absolute;
    right: 12px;
    top: 8px;
    font-family: var(--font-heading);
    font-size: 3.4rem;
    line-height: 1;
    font-weight: 700;
    color: rgba(10, 58, 95, 0.08);
}

.step-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #0f5f8d 0%, #17a27f 100%);
}

.step-card h3 {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: 1.08rem;
    color: #15344f;
    max-width: 26ch;
}

.step-card p {
    margin: 0;
    color: #4b647a;
    font-size: 0.95rem;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(8, 48, 79, 0.14);
    border-color: #95bbd3;
}

.process-cta {
    margin-top: 24px;
    text-align: center;
}

.faq-grid {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: #0f2f4a;
    padding: 16px 20px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    float: right;
    font-weight: 800;
    color: #0a3a5f;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    border-top: 1px solid #dde7ef;
    margin: 0;
    padding: 14px 20px 18px;
}

.contact-wrap {
    align-items: start;
    gap: 20px;
}

.contact-section {
    background:
        radial-gradient(circle at 12% 18%, #d9ebfb 0%, rgba(217, 235, 251, 0) 46%),
        linear-gradient(180deg, #f2f8ff 0%, #eef5fb 100%);
}

.contact-info {
    background: linear-gradient(155deg, #0a3a5f 0%, #0f567f 100%);
    color: #e8f4ff;
    border-radius: 20px;
    padding: clamp(20px, 2.8vw, 34px);
    box-shadow: 0 20px 36px rgba(7, 38, 62, 0.2);
}

.contact-kicker {
    margin: 0 0 10px;
    color: #9dd8ff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.contact-info h2 {
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-intro {
    color: #cfe6f9;
    margin-bottom: 18px;
}

.contact-list {
    display: grid;
    gap: 10px;
}

.contact-list li {
    color: #f0f7ff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 12px;
}

.contact-list strong {
    color: #9dd8ff;
}

.contact-list a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.contact-form {
    display: grid;
    gap: 15px;
    border-radius: 20px;
    border: 1px solid #c9dcec;
    box-shadow: 0 20px 36px rgba(7, 38, 62, 0.12);
    padding: clamp(20px, 2.6vw, 30px);
}

.field-group {
    display: grid;
    gap: 8px;
}

.field-group label {
    font-weight: 700;
    color: #15324a;
}

.field-group input,
.field-group textarea {
    width: 100%;
    border: 1px solid #b8cedf;
    border-radius: var(--radius-sm);
    padding: 12px 13px;
    font: inherit;
    color: #12344f;
    background: #f9fcff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-group input:focus,
.field-group textarea:focus {
    outline: none;
    border-color: #0b5f90;
    box-shadow: 0 0 0 4px rgba(11, 95, 144, 0.14);
    background: #ffffff;
}

.contact-form textarea {
    min-height: 148px;
    resize: vertical;
}

.field-error {
    min-height: 17px;
    display: block;
    color: #b03232;
    font-size: 0.84rem;
}

.field-group input.error,
.field-group textarea.error {
    border-color: #b03232;
}

.hp-field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.form-note {
    margin: 0;
    font-size: 0.88rem;
    color: #4b647b;
}

.form-message {
    min-height: 22px;
    margin: 0;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 10px;
    padding: 8px 10px;
    display: none;
}

.form-message:not(:empty) {
    display: block;
}

.form-message.success {
    color: #12683f;
    background: #e8f7ee;
    border: 1px solid #abdac0;
}

.form-message.error {
    color: #a32f2f;
    background: #fdeeee;
    border: 1px solid #efc7c7;
}

#contact-submit {
    width: 100%;
    min-height: 48px;
}

.site-footer {
    background: #071f33;
    color: #d5e3ef;
    margin-top: 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 50px 0 36px;
}

.site-footer h3 {
    color: #f8fbff;
    margin-bottom: 10px;
    font-size: 1.04rem;
}

.site-footer a {
    color: #dbeaff;
}

.site-footer li + li {
    margin-top: 6px;
}

.subfooter {
    border-top: 1px solid rgba(210, 230, 247, 0.17);
    padding: 16px;
    text-align: center;
}

.subfooter p {
    margin: 0;
    color: #c4d5e5;
    font-size: 0.86rem;
}

.subfooter p + p {
    margin-top: 7px;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.hide-mobile {
    display: none !important;
}

.show-mobile {
    display: inline-flex !important;
}

@media (min-width: 561px) {
    .hide-mobile {
        display: inline-flex !important;
    }

    .show-mobile {
        display: none !important;
    }
}

@media (min-width: 760px) {
    .cards-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .split {
        grid-template-columns: 1.25fr 0.95fr;
    }

    .contact-wrap {
        grid-template-columns: 0.95fr 1.05fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .main-nav {
        display: flex;
    }

    .steps {
        position: relative;
    }

    .steps::after {
        content: '';
        position: absolute;
        left: 32px;
        right: 32px;
        top: 58px;
        height: 2px;
        background: linear-gradient(90deg, rgba(15, 95, 141, 0.4), rgba(23, 162, 127, 0.42));
        z-index: 0;
    }

    .step-card {
        z-index: 1;
    }

    .cards-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .section {
        padding: 80px 0;
    }
}


