html.gag-cf-document,
html.gag-cf-document body.gag-cf-page {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

html.gag-cf-document body.gag-cf-page > * {
    max-width: none;
}

.gag-cf-page__main,
.gag-cf-page__main > .elementor {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.gag-cf-page__main {
    overflow: clip;
}

.gag-cf-page__main .elementor-top-section:has([data-gag-contact]) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gag-cf-page__main .elementor-top-section:has([data-gag-contact]) > .elementor-container,
.gag-cf-page__main .elementor-top-section:has([data-gag-contact]) > .elementor-container > .elementor-column,
.gag-cf-page__main .elementor-top-section:has([data-gag-contact]) .elementor-widget-wrap,
.gag-cf-page__main .elementor-top-section:has([data-gag-contact]) .elementor-widget-shortcode,
.gag-cf-page__main .elementor-top-section:has([data-gag-contact]) .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gag-cf-page__main .elementor-widget-html iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    margin: 0;
    border: 0;
}

.gag-cf-skip {
    position: fixed;
    z-index: 2147483000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: #ffffff;
    background: #0d1921;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.gag-cf-skip:focus {
    transform: translateY(0);
}

.gag-cf {
    --gag-cf-ink: #0d1921;
    --gag-cf-deep: #071923;
    --gag-cf-blue: #0288bf;
    --gag-cf-cyan: #4db3cd;
    --gag-cf-steel: #60747d;
    --gag-cf-paper: #f3f6f7;
    --gag-cf-line: rgba(13, 25, 33, 0.14);
    --gag-cf-container: 1180px;

    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: clip;
    color: var(--gag-cf-ink);
    background: #ffffff;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.gag-cf *,
.gag-cf *::before,
.gag-cf *::after {
    box-sizing: border-box;
}

.gag-cf a {
    color: inherit;
}

.gag-cf button,
.gag-cf input,
.gag-cf select,
.gag-cf textarea {
    font: inherit;
}

.gag-cf__container {
    width: calc(100% - 48px);
    max-width: var(--gag-cf-container);
    margin-inline: auto;
}

.gag-cf__hero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: clamp(480px, 52vw, 630px);
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(3, 48, 70, 0.99) 0%, rgba(2, 94, 137, 0.94) 42%, rgba(2, 136, 191, 0.62) 67%, rgba(5, 30, 41, 0.18) 100%),
        linear-gradient(180deg, rgba(5, 27, 38, 0.05) 48%, rgba(4, 24, 34, 0.56) 100%),
        url("https://www.gag-group.com.co/wp-content/uploads/2026/08/gag-ingenieria-concreto-bogota.jpg") center 57% / cover no-repeat,
        var(--gag-cf-deep);
}

.gag-cf__hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: auto 0 0;
    height: 36%;
    background: linear-gradient(180deg, transparent, rgba(4, 23, 32, 0.2));
    pointer-events: none;
}

.gag-cf__hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    width: min(36vw, 520px);
    height: 5px;
    background: linear-gradient(90deg, transparent, rgba(77, 179, 205, 0.95));
    pointer-events: none;
}

.gag-cf__blueprint {
    position: absolute;
    z-index: 0;
    inset: 0;
    opacity: 0.22;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(206, 239, 247, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(206, 239, 247, 0.1) 1px, transparent 1px);
    background-size: 76px 76px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.88) 38%, transparent 78%);
    mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.88) 38%, transparent 78%);
}

.gag-cf__hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding-block: clamp(92px, 9vw, 136px);
}

.gag-cf__hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 820px);
}

.gag-cf__hero-copy,
.gag-cf__form-panel {
    min-width: 0;
}

.gag-cf__hero-copy {
    position: relative;
    max-width: 720px;
    padding-left: clamp(22px, 2.5vw, 36px);
}

.gag-cf__hero-copy::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 5px;
    left: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gag-cf-cyan), rgba(255, 255, 255, 0.1));
}

.gag-cf__hero-copy h1 {
    max-width: 10ch;
    margin: 0 0 26px;
    color: #ffffff;
    font-size: clamp(56px, 6.4vw, 88px);
    font-weight: 600;
    line-height: 0.93;
    letter-spacing: -0.055em;
    text-shadow: 0 18px 44px rgba(0, 22, 32, 0.22);
    text-wrap: balance;
}

.gag-cf__hero-copy p {
    max-width: 600px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.62;
    text-shadow: 0 8px 24px rgba(0, 22, 32, 0.24);
}

.gag-cf__main {
    position: relative;
    padding-block: clamp(64px, 7vw, 104px);
    background:
        linear-gradient(rgba(13, 25, 33, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 25, 33, 0.035) 1px, transparent 1px),
        #ffffff;
    background-size: 72px 72px;
}

.gag-cf__main-layout {
    display: block;
}

.gag-cf__form-panel {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin-inline: auto;
    padding: clamp(30px, 4.5vw, 64px);
    border: 1px solid var(--gag-cf-line);
    border-top: 3px solid var(--gag-cf-cyan);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 70px rgba(13, 25, 33, 0.08);
}

.gag-cf__form-panel > header {
    max-width: 680px;
    margin-bottom: 38px;
}

.gag-cf__form-panel h2 {
    margin: 0 0 12px;
    color: var(--gag-cf-ink);
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
}

.gag-cf__form-panel > header p {
    margin: 0;
    color: var(--gag-cf-steel);
    font-size: 15px;
    line-height: 1.6;
}

.gag-cf__form {
    margin: 0;
}

.gag-cf__trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

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

.gag-cf__field {
    display: grid;
    gap: 9px;
    min-width: 0;
    margin: 0;
}

.gag-cf__field--wide {
    grid-column: 1 / -1;
}

.gag-cf__field > span {
    color: #263a44;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.035em;
}

.gag-cf__field input,
.gag-cf__field select,
.gag-cf__field textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(13, 25, 33, 0.2);
    border-radius: 0;
    outline: 0;
    color: var(--gag-cf-ink);
    background: #ffffff;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gag-cf__field input,
.gag-cf__field select {
    height: 56px;
    padding: 0 16px;
}

.gag-cf__field select {
    appearance: none;
    padding-right: 44px;
    background-image:
        linear-gradient(45deg, transparent 50%, #415963 50%),
        linear-gradient(135deg, #415963 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 24px,
        calc(100% - 15px) 24px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
}

.gag-cf__field textarea {
    min-height: 150px;
    padding: 15px 16px;
    resize: vertical;
    line-height: 1.55;
}

.gag-cf__field input::placeholder,
.gag-cf__field textarea::placeholder {
    color: #87969d;
}

.gag-cf__field input:hover,
.gag-cf__field select:hover,
.gag-cf__field textarea:hover {
    border-color: rgba(13, 25, 33, 0.38);
}

.gag-cf__field input:focus,
.gag-cf__field select:focus,
.gag-cf__field textarea:focus {
    border-color: var(--gag-cf-blue);
    box-shadow: 0 0 0 3px rgba(2, 136, 191, 0.12);
}

.gag-cf__consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    margin: 26px 0 0;
    color: #53676f;
    font-size: 13px;
    line-height: 1.55;
}

.gag-cf__consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--gag-cf-blue);
}

.gag-cf__consent a {
    color: var(--gag-cf-blue);
    text-underline-offset: 3px;
}

.gag-cf__submit-row {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.gag-cf__submit-row button {
    display: inline-flex;
    min-height: 56px;
    gap: 42px;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border: 1px solid var(--gag-cf-blue);
    border-radius: 0;
    color: #ffffff;
    background: var(--gag-cf-blue);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.gag-cf__submit-row button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.gag-cf__submit-row button:hover,
.gag-cf__submit-row button:focus-visible {
    color: var(--gag-cf-blue);
    background: #ffffff;
    transform: translateY(-1px);
}

.gag-cf__submit-row button:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
}

.gag-cf__status {
    margin-top: 22px;
    padding: 14px 16px;
    border-left: 3px solid var(--gag-cf-blue);
    color: #1e566a;
    background: #eaf6fa;
    font-size: 14px;
}

.gag-cf__status.is-error {
    border-left-color: #b13c36;
    color: #7b2521;
    background: #fff0ef;
}

@media (max-width: 767px) {
    .gag-cf__container {
        width: calc(100% - 32px);
    }

    .gag-cf__hero {
        min-height: 520px;
        background:
            linear-gradient(90deg, rgba(2, 72, 104, 0.96), rgba(2, 121, 170, 0.76)),
            linear-gradient(180deg, rgba(4, 26, 37, 0.05) 42%, rgba(4, 26, 37, 0.58) 100%),
            url("https://www.gag-group.com.co/wp-content/uploads/2026/08/gag-ingenieria-concreto-bogota.jpg") 61% center / cover no-repeat,
            var(--gag-cf-deep);
    }

    .gag-cf__hero-inner {
        padding-block: 86px 70px;
    }

    .gag-cf__hero-copy {
        padding-left: 20px;
    }

    .gag-cf__hero-copy h1 {
        max-width: 9ch;
        margin-bottom: 22px;
        font-size: clamp(48px, 14vw, 66px);
    }

    .gag-cf__hero-copy p {
        font-size: 16px;
    }

    .gag-cf__main {
        padding-block: 48px;
        background-size: 48px 48px;
    }

    .gag-cf__form-panel {
        padding: 28px 20px 30px;
    }

    .gag-cf__form-panel > header {
        margin-bottom: 30px;
    }

    .gag-cf__fields {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gag-cf__field--wide {
        grid-column: auto;
    }

    .gag-cf__submit-row button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gag-cf *,
    .gag-cf *::before,
    .gag-cf *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
