:root {
    --color-primary: #121a8f;
    --color-primary-dark: #07104c;
    --color-accent: #4fb7d8;
    --color-steel: #9ba3b1;
    --color-ink: #101522;
    --color-muted: #596273;
    --color-line: #e2e7ef;
    --color-bg: #f4f7fb;
    --color-surface: #ffffff;
    --shadow: 0 22px 70px rgba(12, 19, 38, 0.14);
    --shadow-soft: 0 12px 36px rgba(12, 19, 38, 0.08);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background:
        radial-gradient(circle at top left, rgba(79, 183, 216, 0.12), transparent 34rem),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    z-index: 1000;
    width: auto;
    height: auto;
    clip: auto;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: #ffffff;
    background: var(--color-primary);
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(226, 231, 239, 0.72);
    backdrop-filter: blur(18px);
}

.site-header.has-shadow {
    box-shadow: 0 10px 30px rgba(16, 19, 26, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    gap: 28px;
}

.brand img {
    width: 138px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 8px;
    border: 1px solid rgba(226, 231, 239, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 36px rgba(12, 19, 38, 0.05);
}

.main-nav a {
    padding: 10px 12px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--color-primary);
    background: #f0f4fb;
}

.nav-cta {
    padding: 11px 17px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--color-primary), #2435d1);
    box-shadow: 0 12px 28px rgba(18, 26, 143, 0.25);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-surface);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--color-ink);
}

.hero {
    position: relative;
    min-height: 720px;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #ffffff;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 16, 76, 0.92) 0%, rgba(7, 16, 76, 0.72) 46%, rgba(7, 16, 76, 0.18) 100%),
        url("../images/hero-galpon-industrial.jpg") center / cover no-repeat;
    transform: scale(1.01);
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 75%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 132px 0 52px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow,
.cta-section .eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 7px 11px;
    color: #eaf8ff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
    hyphens: none;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.12;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(2.35rem, 4.15vw, 4.15rem);
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(1.8rem, 2.85vw, 2.72rem);
    letter-spacing: 0;
}

h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.hero-copy {
    max-width: 660px;
    margin: 0 0 30px;
    color: #eef1f7;
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary), #2537d7);
}

.button-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 820px);
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
}

.hero-stats div {
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats div:last-child {
    border-right: 0;
}

.hero-stats dt {
    color: #cfd7ec;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-stats dd {
    margin: 6px 0 0;
    font-size: 1.45rem;
    font-weight: 900;
}

.section {
    padding: 104px 0;
}

.split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 72px;
    align-items: start;
}

.lead-block {
    color: var(--color-muted);
    font-size: 1.05rem;
}

.lead-block p {
    margin-top: 0;
}

.value-band {
    position: relative;
    background:
        linear-gradient(135deg, #f7faff 0%, #edf3fb 100%);
    overflow: hidden;
}

.value-band::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image: linear-gradient(120deg, transparent 0%, transparent 54%, rgba(18, 26, 143, 0.06) 54%, rgba(18, 26, 143, 0.06) 68%, transparent 68%);
    pointer-events: none;
}

.value-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 54px;
}

.value-grid > div:first-child p:last-child,
.section-heading p,
.process-grid p,
.contact-copy p {
    color: var(--color-muted);
}

.value-list {
    display: grid;
    gap: 16px;
}

.value-list article,
.service-card,
.project-card,
.contact-form {
    border: 1px solid rgba(226, 231, 239, 0.9);
    border-radius: var(--radius);
    background: var(--color-surface);
}

.value-list article {
    position: relative;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.value-list article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.value-list article::before {
    display: block;
    width: 44px;
    height: 4px;
    margin-bottom: 18px;
    content: "";
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.value-list p,
.service-card p,
.project-card p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

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

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 24px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(18, 26, 143, 0.95), rgba(79, 183, 216, 0.92));
    box-shadow: 0 16px 35px rgba(18, 26, 143, 0.2);
}

.service-icon svg {
    width: 27px;
    height: 27px;
    stroke: #ffffff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.service-card::after {
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 120px;
    height: 120px;
    content: "";
    border: 1px solid rgba(18, 26, 143, 0.08);
    border-radius: 50%;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(18, 26, 143, 0.22);
    box-shadow: var(--shadow);
}

.service-card ul {
    display: grid;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 18px;
    color: var(--color-ink);
    font-size: 0.94rem;
    font-weight: 700;
}

.service-card li::before {
    position: absolute;
    top: 0.6em;
    left: 0;
    width: 7px;
    height: 7px;
    content: "";
    border-radius: 50%;
    background: var(--color-primary);
}

.process {
    background: #ffffff;
}

.process-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 58px;
    align-items: center;
}

.process figure {
    margin: 0;
}

.process img {
    width: 100%;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.process figcaption {
    margin-top: 12px;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.process-button {
    margin-top: 12px;
}

.text-link {
    display: inline-flex;
    margin-top: 10px;
    color: var(--color-primary);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.projects {
    background:
        linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
}

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

.project-card {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    border: 0;
    border-radius: 24px;
    background: #070d28;
    box-shadow: 0 22px 70px rgba(12, 19, 38, 0.14);
    isolation: isolate;
    transform: translateZ(0);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
    appearance: none;
    padding: 0;
    color: inherit;
    cursor: pointer;
    perspective: 1100px;
    text-align: left;
}

.project-card:focus-visible {
    outline: 4px solid rgba(79, 183, 216, 0.34);
    outline-offset: 4px;
}

.project-card-inner {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card.is-flipped .project-card-inner {
    transform: rotateY(180deg);
}

.project-face {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 24px;
    backface-visibility: hidden;
}

.project-front::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background:
        linear-gradient(180deg, rgba(7, 16, 76, 0.04) 0%, rgba(7, 16, 76, 0.42) 42%, rgba(7, 16, 76, 0.9) 100%);
    transition: opacity 0.32s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 36px 90px rgba(12, 19, 38, 0.24);
}

.project-card img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.32s ease;
}

.project-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.05);
}

.project-content {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 24px;
    color: #ffffff;
    transform: translateY(18px);
    transition: transform 0.32s ease;
}

.project-card:hover .project-content {
    transform: translateY(0);
}

.project-tag {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 10px;
    color: #eaf8ff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.project-card h3 {
    margin-bottom: 8px;
}

.project-card p {
    color: #dbe4f5;
}

.project-hint {
    display: inline-flex;
    margin-top: 18px;
    color: #ffffff;
    font-weight: 900;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.project-card:hover .project-hint {
    opacity: 1;
    transform: translateY(0);
}

.project-back {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(7, 16, 76, 0.96), rgba(18, 26, 143, 0.88)),
        radial-gradient(circle at top right, rgba(79, 183, 216, 0.32), transparent 16rem);
    transform: rotateY(180deg);
}

.project-back h3 {
    margin-bottom: 12px;
}

.project-back p {
    color: #dbe4f5;
}

.project-back small {
    margin-top: 22px;
    color: #bfc9df;
    font-weight: 800;
}

.client-panel {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 28px;
    margin-top: 44px;
    padding: 28px;
    border: 1px solid rgba(226, 231, 239, 0.92);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.92));
    box-shadow: var(--shadow-soft);
}

.client-panel h3 {
    margin-bottom: 0;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
}

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

.client-grid span {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 12px;
    color: var(--color-muted);
    border: 1px solid rgba(226, 231, 239, 0.95);
    border-radius: 16px;
    background: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(12, 19, 38, 0.05);
}

.client-grid strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: #ffffff;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    font-size: 0.78rem;
    letter-spacing: 0;
}

.cta-section {
    padding: 82px 0;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(7, 16, 76, 0.94), rgba(18, 26, 143, 0.74)),
        url("../images/montaje-terreno.jpg") center / cover no-repeat;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.cta-inner h2 {
    max-width: 760px;
}

.cta-inner p:last-child {
    max-width: 690px;
    margin-bottom: 0;
    color: #edf0f6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 58px;
    align-items: start;
}

address {
    display: grid;
    gap: 10px;
    margin-top: 30px;
    font-style: normal;
}

address a {
    color: var(--color-primary);
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 28px;
    box-shadow: var(--shadow);
    border-radius: 22px;
}

.form-row {
    display: grid;
    gap: 8px;
}

.captcha-row {
    padding: 14px;
    border: 1px solid rgba(18, 26, 143, 0.12);
    border-radius: 16px;
    background: #f7f9fd;
}

label {
    color: var(--color-ink);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    padding: 13px 14px;
    color: var(--color-ink);
    background: #ffffff;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(17, 26, 134, 0.16);
    border-color: var(--color-primary);
}

.honeypot {
    display: none;
}

.form-status {
    min-height: 24px;
    margin: 0;
    color: var(--color-muted);
    font-weight: 700;
}

.form-status.is-success {
    color: #17633a;
}

.form-status.is-error {
    color: #a32929;
}

.site-footer {
    padding: 54px 0 24px;
    color: #dfe3ec;
    background:
        linear-gradient(135deg, #080b1b 0%, #111a48 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 42px;
}

.footer-grid img {
    width: 128px;
    margin-bottom: 18px;
}

.footer-grid p {
    max-width: 430px;
    color: #b5bdcc;
}

.footer-grid h2 {
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-grid a,
.footer-grid span {
    display: block;
    margin-bottom: 9px;
    color: #b5bdcc;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9aa4b5;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #ffffff;
    font-weight: 900;
}

.footer-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline: 3px;
    font-weight: 900;
    line-height: 1;
}

.footer-code {
    position: relative;
    width: 48px;
    height: 24px;
    padding: 0;
    overflow: hidden;
    color: #9cffb4;
    border: 1px solid rgba(156, 255, 180, 0.22);
    border-radius: 7px;
    background: rgba(8, 22, 18, 0.72);
    font-family: Consolas, "Courier New", monospace;
    text-shadow: 0 0 8px rgba(99, 212, 131, 0.78);
    animation: matrix-glow 1.8s ease-in-out infinite;
}

.matrix-code span {
    position: absolute;
    top: -46px;
    color: rgba(156, 255, 180, 0.36);
    font-size: 0.48rem;
    line-height: 0.72rem;
    font-weight: 700;
    text-align: center;
    animation: matrix-rain 2.8s linear infinite;
}

.matrix-code span:nth-child(1) {
    left: 7px;
    animation-delay: 0s;
}

.matrix-code span:nth-child(2) {
    left: 20px;
    animation-delay: -0.9s;
}

.matrix-code span:nth-child(3) {
    left: 33px;
    animation-delay: -1.8s;
}

.matrix-code strong {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #9cffb4;
    font-size: 0.86rem;
    text-shadow: 0 0 8px rgba(99, 212, 131, 0.92);
    z-index: 1;
}

.footer-check {
    color: #63d483;
    animation: check-pop 1.8s ease-in-out infinite;
}

@keyframes matrix-glow {
    0%,
    100% {
        box-shadow: 0 0 0 rgba(99, 212, 131, 0);
        transform: translateY(0);
    }

    50% {
        box-shadow: 0 0 18px rgba(99, 212, 131, 0.22);
        transform: translateY(-1px);
    }
}

@keyframes matrix-rain {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(70px);
    }
}

@keyframes check-pop {
    0%,
    100% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.18);
    }
}

.error-page {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(7, 16, 76, 0.9), rgba(18, 26, 143, 0.72)),
        url("../images/hero-galpon-industrial.jpg") center / cover no-repeat;
}

.error-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 32px;
}

.error-card {
    width: min(100%, 640px);
    padding: clamp(28px, 5vw, 54px);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
}

.error-logo {
    display: inline-flex;
    justify-content: center;
    margin-bottom: 28px;
}

.error-logo img {
    width: 170px;
    height: auto;
}

.error-card .eyebrow {
    color: var(--color-primary);
}

.error-card h1 {
    max-width: none;
    margin-bottom: 18px;
    font-size: clamp(2.15rem, 6vw, 4rem);
}

.error-card p:not(.eyebrow) {
    max-width: 470px;
    margin: 0 auto 28px;
    color: var(--color-muted);
}

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

.button-light {
    color: var(--color-primary);
    border-color: rgba(18, 26, 143, 0.18);
    background: #ffffff;
}

/* ── CRO: Topbar telefónico ── */
.topbar {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
    position: relative;
    z-index: 55;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.topbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.topbar-phone:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.topbar-phone strong {
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

/* ── CRO: Hero split layout ── */
.hero-content--split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    padding-top: 140px;
}

.hero-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: grid;
    gap: 10px;
}

.hero-checks li {
    color: #bbf7d0;
    font-size: 1.02rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-checks li span.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.25);
    color: #4ade80;
    font-size: 0.88rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* ── CRO: Formulario Exprés ── */
.express-form {
    display: grid;
    gap: 12px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(14, 21, 62, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.express-form-header h2 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 1.22rem;
    line-height: 1.3;
    text-align: center;
}

.express-form-header p {
    margin: 0 0 6px;
    color: #c7d2fe;
    font-size: 0.82rem;
    text-align: center;
}

.express-form .form-row {
    gap: 4px;
}

.express-form label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 700;
}

.express-form input {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
}

.express-form input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.express-form input:focus {
    outline: 3px solid rgba(79, 183, 216, 0.4);
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.18);
}

.button-cta-express {
    width: 100%;
    min-height: 50px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    background: linear-gradient(135deg, #15803d, #22c55e);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(34, 197, 94, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    margin-top: 4px;
}

.button-cta-express:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(34, 197, 94, 0.45);
    filter: brightness(1.05);
}

.button-cta-express:active {
    transform: translateY(0);
}

.express-form .form-status {
    text-align: center;
    font-size: 0.88rem;
    margin-top: 4px;
}

.express-form .form-status.is-success {
    color: #86efac;
    background: rgba(34, 197, 94, 0.15);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(134, 239, 172, 0.3);
}

.express-form .form-status.is-error {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.15);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(252, 165, 165, 0.3);
}

/* ── CRO: Botón Flotante de Llamada Directa ── */
.fab-call {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    border: 2px solid rgba(79, 183, 216, 0.6);
    border-radius: 999px;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: fab-pulse 3s ease-in-out infinite;
}

.fab-call-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.fab-call-icon svg {
    width: 18px;
    height: 18px;
}

.fab-call:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.65), 0 0 0 4px rgba(79, 183, 216, 0.3);
}

@keyframes fab-pulse {
    0%, 100% {
        box-shadow: 0 10px 32px rgba(15, 23, 42, 0.5), 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 14px 38px rgba(15, 23, 42, 0.6), 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 88px;
        right: 20px;
        left: 20px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 14px;
        background: #ffffff;
        border: 1px solid var(--color-line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 13px 12px;
    }

    .nav-cta {
        margin-top: 6px;
        text-align: center;
    }

    .hero {
        min-height: 690px;
    }

    h1 {
        max-width: 680px;
        font-size: clamp(2.2rem, 6vw, 3.6rem);
    }

    h2 {
        max-width: 620px;
        font-size: clamp(1.8rem, 4.6vw, 2.45rem);
    }

    .split,
    .value-grid,
    .process-grid,
    .contact-grid,
    .client-panel,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

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

    .cta-inner,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-content--split {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 100px;
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 36px);
        max-width: calc(100% - 36px);
    }

    .topbar {
        font-size: 0.8rem;
        padding: 8px 0;
    }

    .topbar-phone strong {
        font-size: 0.95rem;
    }

    .header-inner {
        min-height: 72px;
    }

    .brand img {
        width: 124px;
    }

    .main-nav {
        top: 72px;
        right: 14px;
        left: 14px;
    }

    .hero {
        min-height: 760px;
    }

    .hero-media {
        background:
            linear-gradient(180deg, rgba(7, 13, 79, 0.92) 0%, rgba(7, 13, 79, 0.74) 54%, rgba(7, 13, 79, 0.42) 100%),
            url("../images/hero-galpon-industrial.jpg") center / cover no-repeat;
    }

    .hero-content {
        padding-top: 122px;
    }

    h1 {
        max-width: 13.6em;
        font-size: 1.78rem;
        line-height: 1.16;
    }

    h2 {
        max-width: 13em;
        font-size: 1.72rem;
        line-height: 1.16;
    }

    .hero-copy {
        max-width: 31ch;
        font-size: 0.96rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .button {
        width: 100%;
    }

    .express-form {
        padding: 18px;
    }

    .fab-call {
        bottom: 16px;
        right: 16px;
        padding: 0;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        justify-content: center;
    }

    .fab-call-label {
        display: none;
    }

    .fab-call-icon {
        width: 100%;
        height: 100%;
        background: transparent;
        box-shadow: none;
    }

    .fab-call-icon svg {
        width: 24px;
        height: 24px;
    }

    .section {
        padding: 68px 0;
    }

    .hero-stats,
    .service-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card,
    .project-card img {
        min-height: 340px;
    }

    .project-content {
        transform: none;
    }

    .project-hint {
        opacity: 1;
        transform: none;
    }

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

    .client-panel {
        padding: 20px;
    }

    .hero-stats div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-stats div:last-child {
        border-bottom: 0;
    }

    .contact-form {
        padding: 20px;
    }
}
