:root {
    --navy: #142c46;
    --navy-deep: #0d2035;
    --blue: #1769a3;
    --cyan: #54c0dd;
    --ink: #1c2c3b;
    --muted: #647484;
    --line: #e2e8ee;
    --light: #f5f8fb;
    --white: #fff;
    --font: 'DM Sans', sans-serif;
    --display: 'Manrope', sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased
}

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

button {
    font: inherit
}

img {
    display: block;
    width: 100%
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: auto
}

.skip {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 100;
    background: white;
    padding: 12px
}

.skip:focus {
    top: 10px
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 34, 55, .98);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(14px)
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    flex-shrink: 0
}

.brand-symbol {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 2px solid #57b9d6;
    border-radius: 50%;
    font: 800 18px var(--display);
    letter-spacing: -2px;
    background: radial-gradient(circle at 25% 25%, #59c3de 0, #1b6d9c 45%, #0f2b49 90%);
    box-shadow: inset 0 0 0 3px #173b5b
}

.brand-symbol span {
    color: #b8f3ff
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1
}

.brand-copy small {
    font-size: 8px;
    letter-spacing: 3px
}

.brand-copy strong {
    font: 800 29px var(--display);
    letter-spacing: -2px
}

.brand-copy em {
    font: 400 9px var(--font);
    letter-spacing: .3px
}

.nav {
    display: flex;
    align-items: center;
    gap: 31px
}

.nav a {
    font-size: 13px;
    color: #d4e0ea;
    transition: color .2s
}

.nav a:hover,
.nav a.active {
    color: #6bd1ee
}

.nav .nav-contact {
    background: #fff;
    color: #123452;
    padding: 12px 18px;
    border-radius: 4px;
    font-weight: 700
}

.nav-contact span {
    margin-left: 8px
}

.menu-toggle {
    display: none
}

.hero {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-deep);
    color: white
}

.hero-media {
    position: absolute;
    inset: 0;
    background: url('images/hero.jpg') center 48%/cover no-repeat;
    opacity: .85;
    transform: scale(1.03)
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 28, 47, .93) 0%, rgba(11, 34, 57, .80) 43%, rgba(13, 40, 64, .18) 100%)
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 105px 0 118px
}

.hero-copy {
    max-width: 750px
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2.3px;
    color: var(--blue)
}

.eyebrow i {
    width: 26px;
    height: 2px;
    background: var(--cyan)
}

.eyebrow.light {
    color: #b4e8f6
}

.hero h1,
.contact-section h2 {
    font: 800 clamp(40px, 5.3vw, 74px)/1.13 var(--display);
    letter-spacing: -2.8px;
    margin: 22px 0
}

.hero h1 em,
.section h2 em,
.method-section h2 em,
.contact-section h2 em {
    font-style: normal;
    color: #73cde5
}

.hero-copy>p {
    font-size: 17px;
    line-height: 1.8;
    max-width: 580px;
    color: #e1eaf0
}

.hero-actions {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 33px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    padding: 16px 21px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
    transition: transform .2s, background .2s
}

.btn:hover {
    transform: translateY(-3px)
}

.btn span {
    font-size: 19px
}

.btn-white {
    background: white;
    color: #123452
}

.btn-white:hover {
    background: #d8f3fc
}

.btn-blue {
    background: #165e91;
    color: white
}

.btn-blue:hover {
    background: #0f4166
}

.text-link {
    font-weight: 700;
    font-size: 13px
}

.text-link span {
    margin-left: 9px
}

.hero-aside {
    display: flex;
    flex-direction: column;
    gap: 17px;
    writing-mode: vertical-rl;
    letter-spacing: 3px;
    font-size: 10px;
    color: #c5d5e2
}

.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    border-top: 1px solid #ffffff40
}

.hero-bottom-inner {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #dcebf4
}

.hero-bottom a span {
    margin-left: 12px;
    font-size: 18px
}

.section {
    padding: 110px 0
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center
}

.about-visual {
    position: relative;
    min-height: 510px
}

.about-visual>img {
    height: 510px;
    object-fit: cover
}

.about-tag {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: #145d8e;
    color: white;
    padding: 26px 34px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px #0c2b4540
}

.about-tag span {
    font-size: 10px;
    letter-spacing: 2px
}

.about-tag strong {
    font: 800 56px var(--display)
}

.about-tag small {
    font-size: 12px
}

.section h2,
.method-section h2 {
    font: 800 clamp(30px, 3.5vw, 48px)/1.23 var(--display);
    letter-spacing: -1.8px;
    margin: 20px 0 24px
}

.section h2 em {
    color: var(--blue)
}

.about-content p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85
}

.about-content .lead {
    font-weight: 600;
    color: #364b5d
}

.about-values {
    border-top: 1px solid var(--line);
    margin: 26px 0 30px
}

.about-values>div {
    display: flex;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 13px 0
}

.about-values span {
    font: 800 12px var(--display);
    color: var(--blue)
}

.about-values strong {
    font-size: 13px
}

.services-section {
    background: var(--light)
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 38px
}

.section-heading h2 {
    margin-bottom: 0;
    max-width: 660px
}

.section-heading>p {
    max-width: 320px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted)
}

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

.service-card {
    background: #fff;
    border: 1px solid #e8eef3;
    transition: box-shadow .25s, transform .25s
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px #102b461b
}

.service-card a {
    display: block;
    height: 100%
}

.service-photo {
    height: 185px;
    position: relative;
    overflow: hidden;
    background: #e7edf3
}

.service-photo img {
    height: 100%;
    object-fit: cover;
    transition: transform .4s
}

.service-card:hover .service-photo img {
    transform: scale(1.06)
}

.service-number {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    color: #155b8b;
    padding: 7px 9px;
    font-size: 11px;
    font-weight: 800
}

.service-content {
    padding: 24px 20px 21px;
    position: relative;
    min-height: 234px
}

.service-category {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: var(--blue)
}

.service-content h3 {
    font: 800 17px/1.45 var(--display);
    margin: 10px 0
}

.service-content p {
    font-size: 12px;
    line-height: 1.75;
    color: var(--muted);
    padding-bottom: 20px
}

.service-arrow {
    position: absolute;
    bottom: 16px;
    right: 20px;
    font-size: 21px;
    color: var(--blue)
}

.method-section {
    padding: 105px 0;
    background: var(--navy-deep);
    color: white
}

.method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center
}

.method-intro>p {
    max-width: 470px;
    font-size: 15px;
    line-height: 1.85;
    color: #b9cbd8;
    margin-bottom: 29px
}

.method-steps {
    border-top: 1px solid #ffffff35
}

.step {
    display: grid;
    grid-template-columns: 50px 1fr 22px;
    gap: 18px;
    padding: 26px 0;
    border-bottom: 1px solid #ffffff35;
    align-items: start
}

.step>span {
    color: #6ecbe7;
    font: 800 18px var(--display)
}

.step h3 {
    margin: 0 0 8px;
    font: 800 18px var(--display)
}

.step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: #b7cad9
}

.step b {
    color: #77d2ec;
    font-size: 21px
}

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

.insight-card {
    background: white;
    border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px #102b4614
}

.insight-card img {
    height: 205px;
    object-fit: cover
}

.insight-card>div {
    padding: 24px
}

.insight-card span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--blue)
}

.insight-card h3 {
    font: 800 18px/1.5 var(--display);
    margin: 12px 0
}

.insight-card p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted)
}

.insight-card a {
    display: inline-flex;
    gap: 10px;
    margin-top: 13px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800
}

.demo-note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 18px
}

.contact-section {
    padding: 95px 0;
    background: linear-gradient(115deg, #185e90, #112b47);
    color: white
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 80px;
    align-items: center
}

.contact-section h2 {
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -1.8px
}

.contact-section p {
    color: #d2e3ed;
    font-size: 15px;
    line-height: 1.8;
    max-width: 540px
}

.contact-box {
    padding: 35px;
    background: #ffffff14;
    border: 1px solid #ffffff38
}

.contact-box>span {
    font-size: 10px;
    letter-spacing: 2px;
    color: #a8e1f0
}

.contact-box h3 {
    font: 800 23px/1.4 var(--display)
}

.contact-box small {
    display: block;
    margin-top: 16px;
    font-size: 11px;
    color: #c3d9e8
}

.footer {
    background: #0b1d30;
    color: #b9cad7
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1.2fr;
    gap: 40px;
    padding: 75px 0 60px
}

.footer-top>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px
}

.footer-brand {
    margin-bottom: 10px
}

.footer-top p {
    font-size: 13px;
    line-height: 1.8;
    max-width: 300px
}

.footer-top h4 {
    color: white;
    font: 800 14px var(--display);
    margin: 7px 0 10px
}

.footer-top a:not(.brand),
.footer-top span:not(.brand-symbol) {
    font-size: 12px;
    line-height: 1.5
}

.footer-top a:hover {
    color: #79d4ec
}

.footer-bottom {
    border-top: 1px solid #ffffff1d;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 0;
    font-size: 11px
}

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

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

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

    .about-grid {
        gap: 55px
    }

    .method-grid {
        gap: 55px
    }

    .nav {
        gap: 18px
    }

    .hero-aside {
        display: none
    }
}

@media(max-width:760px) {
    .container {
        width: min(100% - 34px, 1180px)
    }

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

    .brand-symbol {
        width: 45px;
        height: 45px;
        font-size: 15px
    }

    .brand-copy strong {
        font-size: 24px
    }

    .menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        border: 1px solid #ffffff4a;
        background: none;
        border-radius: 4px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer
    }

    .menu-toggle span {
        width: 19px;
        height: 2px;
        background: white
    }

    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 20px 18px 24px;
        background: #0d2035;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 15px 30px #0003
    }

    .nav.open {
        display: flex
    }

    .nav a {
        padding: 13px 9px
    }

    .nav .nav-contact {
        text-align: center;
        margin-top: 10px
    }

    .hero {
        min-height: 590px
    }

    .hero-inner {
        padding: 95px 0 115px
    }

    .hero h1 {
        font-size: clamp(37px, 10vw, 54px);
        letter-spacing: -1.8px
    }

    .hero-copy>p {
        font-size: 15px
    }

    .hero-shade {
        background: linear-gradient(90deg, #09233be8, #102e4db8)
    }

    .hero-bottom-inner {
        font-size: 8px;
        letter-spacing: 1px
    }

    .section {
        padding: 70px 0
    }

    .about-grid,
    .method-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .about-visual,
    .about-visual>img {
        min-height: 0;
        height: 360px
    }

    .about-tag {
        right: 0;
        bottom: -20px
    }

    .section-heading {
        display: block
    }

    .section-heading>p {
        max-width: 100%;
        margin-top: 20px
    }

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

    .service-photo {
        height: 145px
    }

    .service-content {
        padding: 17px 14px;
        min-height: 255px
    }

    .service-content h3 {
        font-size: 14px
    }

    .service-content p {
        font-size: 11px
    }

    .service-arrow {
        right: 14px
    }

    .method-section {
        padding: 70px 0
    }

    .insight-grid {
        grid-template-columns: 1fr
    }

    .insight-card img {
        height: 230px
    }

    .contact-section {
        padding: 70px 0
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        padding: 55px 0
    }

    .footer-bottom {
        flex-direction: column
    }
}

@media(max-width:440px) {
    .services-grid {
        grid-template-columns: 1fr
    }

    .service-photo {
        height: 210px
    }

    .service-content {
        min-height: 0;
        padding-bottom: 42px
    }

    .about-visual,
    .about-visual>img {
        height: 285px
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 19px
    }

    .hero h1 {
        font-size: 37px
    }

    .footer-top {
        grid-template-columns: 1fr 1fr
    }

    .footer-top>div:first-child {
        grid-column: 1/-1
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    * {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important
    }
}

/* Logo oficial Grupo LGC */
.brand-logo {
    display: block;
    width: auto;
    height: 52px;
    max-width: 220px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .brand-logo {
        height: 42px;
        max-width: 170px;
    }
}

/* Internal pages */
.inner-hero {
    background: #0d263e;
    color: #fff;
    padding: 74px 0
}

.inner-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 65px;
    align-items: center
}

.inner-hero h1 {
    font: 800 clamp(34px, 4.4vw, 58px)/1.15 var(--display);
    letter-spacing: -1.7px;
    margin: 22px 0
}

.inner-hero p {
    color: #d1e0e9;
    font-size: 15px;
    line-height: 1.85
}

.inner-hero img {
    height: 315px;
    object-fit: cover;
    border-radius: 4px
}

.service-detail h2,
.method-detail h2,
.approach h2,
.success-grid h2,
.contact-page-grid h2 {
    font: 800 clamp(27px, 3vw, 42px)/1.2 var(--display);
    letter-spacing: -1px;
    margin: 15px 0 22px
}

.detail-objective {
    max-width: 940px;
    line-height: 1.95;
    color: var(--muted);
    font-size: 16px
}

.detail-list-heading {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin: 70px 0 30px;
    padding-top: 38px;
    border-top: 1px solid var(--line)
}

.detail-list-heading p {
    max-width: 400px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8
}

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

.detail-card {
    border: 1px solid var(--line);
    background: #f6f9fb;
    padding: 27px;
    min-height: 145px;
    transition: background .2s, transform .2s
}

.detail-card:hover {
    background: #e8f4f9;
    transform: translateY(-3px)
}

.detail-card span,
.principle span {
    font: 800 12px var(--display);
    color: var(--blue)
}

.detail-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #31475a;
    margin: 14px 0 0
}

.detail-cta {
    background: #165e91;
    color: white;
    padding: 52px 0
}

.detail-cta>.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}

.detail-cta h2 {
    font: 800 clamp(23px, 3vw, 34px)/1.25 var(--display);
    max-width: 700px;
    margin: 12px 0 0
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.principle {
    background: #f2f7fa;
    border: 1px solid var(--line);
    padding: 30px;
    min-height: 165px
}

.principle p {
    line-height: 1.7;
    color: #364b5d
}

.approach {
    margin-top: 65px;
    background: #e8f3fa;
    padding: 38px
}

.approach p {
    line-height: 1.8;
    max-width: 900px
}

.method-detail {
    background: #f3f7fa
}

.method-detail-grid,
.success-grid,
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start
}

.method-detail-grid>img,
.success-grid>img {
    height: 440px;
    object-fit: cover
}

.method-detail-step {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #cbd9e4;
    padding: 20px 0
}

.method-detail-step>span {
    font: 800 22px var(--display);
    color: var(--blue)
}

.method-detail-step h3 {
    font: 800 17px var(--display);
    margin: 0 0 10px
}

.method-detail-step li {
    margin: 7px 0;
    color: var(--muted);
    font-size: 14px
}

.success-grid p {
    line-height: 1.85;
    color: var(--muted)
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 30px
}

.contact-form label {
    font-weight: 700;
    font-size: 13px
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #cad7e1;
    padding: 14px;
    font: inherit;
    border-radius: 3px;
    margin-bottom: 12px;
    width: 100%
}

.contact-form button {
    border: 0;
    cursor: pointer;
    align-self: start
}

.form-note {
    font-size: 12px;
    color: var(--muted)
}

.contact-info {
    background: #eff5f9;
    padding: 38px;
    display: flex;
    flex-direction: column;
    gap: 18px
}

.contact-info h3 {
    font: 800 24px var(--display);
    margin: 0
}

.contact-info a {
    color: #155e90;
    overflow-wrap: anywhere
}

.contact-info p {
    line-height: 1.7
}

@media(max-width:760px) {

    .inner-hero-grid,
    .method-detail-grid,
    .success-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .inner-hero {
        padding: 50px 0
    }

    .inner-hero img {
        height: 230px
    }

    .detail-cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .detail-list-heading,
    .detail-cta>.container {
        flex-direction: column;
        align-items: start
    }

    .principles-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .method-detail-grid>img,
    .success-grid>img {
        height: 270px
    }
}

@media(max-width:480px) {

    .detail-cards,
    .principles-grid {
        grid-template-columns: 1fr
    }
}

/* =========================================
   WHATSAPP FLOATING BUTTON
========================================= */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;
    text-decoration: none;

    transition: transform 0.25s ease;
}

.whatsapp-float img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.08);
}

.whatsapp-float:focus-visible {
    outline: 3px solid #25D366;
    outline-offset: 4px;
    border-radius: 50%;
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 18px;
        bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        transition: none;
    }
}