:root {
    --bg: #f5f3ee;
    --surface: #ffffff;
    --ink: #11161d;
    --muted: #68717c;
    --line: rgba(17,22,29,.12);
    --accent: #c88735;
    --accent-dark: #9d6320;
    --dark: #101820;
    --dark-2: #17232e;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

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

.loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity .7s ease, visibility .7s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-mark {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: .18em;
    color: white;
}

.loader-line {
    width: 90px;
    height: 2px;
    background: var(--accent);
    margin-top: 18px;
    animation: load 1.4s ease infinite;
}

@keyframes load {
    0% { transform: scaleX(0); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: left; }
    51% { transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(245,243,238,.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-container {
    max-width: 1400px;
    margin: auto;
    padding: 22px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.brand-main {
    font-size: 27px;
    font-weight: 900;
    letter-spacing: .12em;
}

.brand-sub {
    font-size: 8px;
    letter-spacing: .5em;
    margin-left: 3px;
    margin-top: 6px;
    color: var(--accent-dark);
}

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

.nav a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    transition: .25s ease;
}

.nav a:hover {
    color: var(--accent-dark);
}

.nav-cta {
    border: 1px solid var(--ink);
    padding: 11px 17px;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 150px 7% 90px;
    background:
        linear-gradient(120deg, #f5f3ee 0%, #ece8df 48%, #e4ded3 100%);
    overflow: hidden;
}

.hero-grid,
.statement-grid {
    position: absolute;
    inset: 0;
    opacity: .35;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to right, black, transparent);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 760px;
}

.eyebrow,
.section-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-dark);
    margin-bottom: 28px;
}

.eyebrow span {
    width: 28px;
    height: 2px;
    background: var(--accent);
}

.hero h1 {
    font-size: clamp(58px, 8vw, 118px);
    line-height: .9;
    letter-spacing: -.055em;
    font-weight: 800;
}

.hero h1 strong {
    color: var(--accent-dark);
    font-weight: 800;
}

.hero-text {
    margin-top: 35px;
    font-size: 16px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-description {
    max-width: 520px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 13px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 23px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 800;
    transition: .3s ease;
}

.btn-primary {
    background: var(--dark);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid var(--ink);
}

.btn-secondary:hover {
    background: var(--ink);
    color: white;
}

.hero-visual {
    position: absolute;
    width: 620px;
    height: 620px;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
}

.orbit {
    position: absolute;
    border: 1px solid rgba(157,99,32,.25);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 250px;
    height: 250px;
    animation: rotate 18s linear infinite;
}

.orbit-2 {
    width: 400px;
    height: 400px;
    animation: rotateReverse 26s linear infinite;
}

.orbit-3 {
    width: 550px;
    height: 550px;
    animation: rotate 34s linear infinite;
}

@keyframes rotate {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateReverse {
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

.core {
    position: absolute;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: var(--dark);
    color: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 60px rgba(0,0,0,.2);
}

.core span {
    font-size: 31px;
    font-weight: 900;
    letter-spacing: .08em;
}

.core small {
    font-size: 8px;
    letter-spacing: .35em;
    margin-top: 6px;
    color: #d5b17c;
}

.node {
    position: absolute;
    padding: 13px 17px;
    background: rgba(255,255,255,.8);
    border: 1px solid rgba(17,22,29,.12);
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    min-width: 125px;
    backdrop-filter: blur(8px);
}

.node strong {
    display: block;
    font-size: 10px;
    letter-spacing: .14em;
}

.node small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
}

.node-1 {
    top: 8%;
    left: 43%;
}

.node-2 {
    right: 2%;
    top: 44%;
}

.node-3 {
    bottom: 8%;
    left: 39%;
}

.node-4 {
    left: 0;
    top: 45%;
}

.section {
    max-width: 1400px;
    margin: auto;
    padding: 130px 7%;
}

.section-label {
    color: var(--accent-dark);
    margin-bottom: 30px;
}

.intro {
    background: var(--bg);
}

.intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.intro h2,
.operations h2 {
    font-size: clamp(50px, 6vw, 90px);
    line-height: .92;
    letter-spacing: -.05em;
}

.intro h2 span,
.operations h2 span {
    color: var(--accent-dark);
}

.intro-copy {
    max-width: 560px;
}

.intro-copy p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 23px;
    font-size: 16px;
}

.intro-copy .lead {
    color: var(--ink);
    font-size: 24px;
    line-height: 1.4;
}

.companies {
    background: #eeeae2;
    max-width: none;
    padding-left: 7%;
    padding-right: 7%;
}

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

.section-heading h2 {
    font-size: clamp(48px, 6vw, 82px);
    letter-spacing: -.05em;
    line-height: .95;
}

.section-heading > p {
    max-width: 370px;
    color: var(--muted);
    line-height: 1.7;
}

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

.company-card {
    position: relative;
    background: white;
    min-height: 390px;
    padding: 35px;
    border: 1px solid var(--line);
    transition: .35s ease;
    overflow: hidden;
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,.09);
}

.company-card.featured {
    background: var(--dark);
    color: white;
}

.card-number {
    font-size: 11px;
    letter-spacing: .2em;
    opacity: .55;
}

.card-icon {
    margin-top: 80px;
    font-size: 45px;
    font-weight: 900;
    color: var(--accent);
}

.company-card h3 {
    font-size: 27px;
    margin-top: 18px;
}

.company-card p {
    margin-top: 13px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 330px;
}

.featured p {
    color: #aeb6be;
}

.card-tag {
    position: absolute;
    bottom: 30px;
    left: 35px;
    font-size: 9px;
    letter-spacing: .2em;
    font-weight: 800;
    color: var(--accent-dark);
}

.featured .card-tag {
    color: #d5b17c;
}

.operations {
    background: var(--bg);
}

.operations-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.operation-list {
    border-top: 1px solid var(--line);
}

.operation-item {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 25px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.operation-index {
    font-size: 11px;
    color: var(--accent-dark);
    font-weight: 800;
    padding-top: 5px;
}

.operation-item h3 {
    font-size: 20px;
}

.operation-item p {
    margin-top: 9px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.statement {
    min-height: 650px;
    position: relative;
    background: var(--dark);
    color: white;
    display: flex;
    align-items: center;
    padding: 100px 7%;
    overflow: hidden;
}

.statement-grid {
    opacity: .08;
    background-image:
        linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
}

.statement-content {
    position: relative;
    z-index: 2;
    max-width: 950px;
}

.statement-content > span {
    font-size: 10px;
    letter-spacing: .25em;
    color: #d5b17c;
    font-weight: 800;
}

.statement h2 {
    margin-top: 35px;
    font-size: clamp(55px, 7vw, 105px);
    line-height: .91;
    letter-spacing: -.055em;
}

.statement h2 strong {
    color: #d5b17c;
}

.statement-content p {
    margin-top: 35px;
    font-size: 24px;
    color: #b9c0c6;
}

.ecosystem {
    background: #eeeae2;
    max-width: none;
}

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

.eco-card {
    min-height: 330px;
    padding: 32px;
    background: white;
    border: 1px solid var(--line);
    position: relative;
    transition: .3s ease;
}

.eco-card:hover {
    transform: translateY(-8px);
}

.eco-number {
    font-size: 11px;
    letter-spacing: .2em;
    opacity: .45;
}

.eco-card small {
    display: block;
    margin-top: 65px;
    font-size: 9px;
    letter-spacing: .3em;
    color: var(--muted);
}

.eco-card h3 {
    font-size: 27px;
    margin-top: 8px;
}

.eco-card p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.eco-card strong {
    position: absolute;
    bottom: 32px;
    left: 32px;
    font-size: 13px;
}

.eco-arrow {
    position: absolute;
    right: 30px;
    bottom: 28px;
    font-size: 25px;
}

.eco-card.conglomerate {
    background: #08111e;
    color: white;
}

.eco-card.conglomerate p {
    color: #aab7c8;
}

.eco-card.conglomerate small {
    color: #8da3bb;
}

.eco-card.conglomerate strong {
    color: #43b4ff;
}

.eco-card.grupo {
    background: var(--accent);
    color: white;
}

.eco-card.grupo p {
    color: rgba(255,255,255,.78);
}

.eco-current {
    position: absolute;
    right: 28px;
    top: 32px;
    font-size: 8px;
    letter-spacing: .2em;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.45);
}

.contact {
    background: var(--bg);
}

.contact-box {
    background: var(--dark);
    color: white;
    padding: 75px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
}

.contact-box .section-label {
    color: #d5b17c;
}

.contact-box h2 {
    font-size: clamp(55px, 7vw, 100px);
    line-height: .88;
    letter-spacing: -.055em;
}

.contact-box p {
    color: #aeb6be;
    margin-top: 25px;
    line-height: 1.7;
    max-width: 430px;
}

.big-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,.3);
    font-size: 22px;
    transition: .3s ease;
}

.big-contact:hover {
    color: #d5b17c;
    padding-left: 10px;
}

.big-contact span {
    font-size: 30px;
}

.footer {
    background: #0a1016;
    color: white;
    padding: 55px 7% 25px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand span {
    font-size: 35px;
    font-weight: 900;
    letter-spacing: .12em;
}

.footer-brand small {
    font-size: 8px;
    letter-spacing: .5em;
    color: #d5b17c;
    margin-top: 5px;
}

.footer-slogan {
    color: #d5b17c;
    font-size: 14px;
    letter-spacing: .08em;
}

.footer-bottom {
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    color: #7e8993;
    font-size: 11px;
}

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

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1050px) {

    .nav {
        display: none;
    }

    .hero-visual {
        opacity: .35;
        right: -170px;
    }

    .intro-layout,
    .operations-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .company-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        flex-direction: column;
        align-items: start;
    }

    .contact-box {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 650px) {

    .hero {
        padding-left: 6%;
        padding-right: 6%;
    }

    .hero h1 {
        font-size: 56px;
    }

    .hero-visual {
        width: 500px;
        height: 500px;
        right: -240px;
        opacity: .22;
    }

    .section {
        padding: 90px 6%;
    }

    .company-card {
        min-height: 350px;
    }

    .statement {
        padding: 90px 6%;
    }

    .contact-box {
        padding: 45px 30px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: start;
        gap: 25px;
    }
}



/* ==========================================================
   GSS FAVICON / PATRIOTIC IDENTITY
   ========================================================== */

.gss-patria {
    position: relative;
    overflow: hidden;
}

.patria-kicker,
.patria-corporate-label,
.grupo-patria-top,
.grupo-patria-date {
    letter-spacing: .22em;
    font-size: 10px;
    font-weight: 800;
}

.patria-conglomerate {
    min-height: 680px;
    padding: 120px 7%;
    background: #07111e;
    color: white;
    display: flex;
    align-items: center;
}

.patria-grid {
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image:
        linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
    background-size: 55px 55px;
}

.patria-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.patria-kicker {
    color: #43b4ff;
}

.patria-years {
    margin-top: 30px;
    font-size: clamp(90px, 13vw, 190px);
    line-height: .75;
    font-weight: 900;
    letter-spacing: -.08em;
    opacity: .12;
}

.patria-conglomerate h2 {
    margin-top: -15px;
    font-size: clamp(55px, 7vw, 105px);
    line-height: .9;
    letter-spacing: -.06em;
}

.patria-conglomerate h2 strong {
    color: #43b4ff;
}

.patria-lead {
    margin-top: 28px;
    max-width: 570px;
    color: #b6c1ce;
    font-size: 18px;
    line-height: 1.7;
}

.patria-line {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 10px;
    letter-spacing: .15em;
}

.patria-line span {
    width: 35px;
    height: 2px;
    background: #c92032;
}

.patria-note {
    margin-top: 25px;
    max-width: 500px;
    color: #7f92a7;
    line-height: 1.6;
    font-size: 13px;
}

.patria-orbit {
    position: absolute;
    right: 6%;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(67,180,255,.2);
    border-radius: 50%;
}

.patria-orbit:before,
.patria-orbit:after {
    content: "";
    position: absolute;
    inset: 60px;
    border: 1px solid rgba(201,32,50,.22);
    border-radius: 50%;
}

.patria-orbit:after {
    inset: 125px;
    border-color: rgba(255,255,255,.12);
}

.patria-core,
.patria-node {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.patria-core {
    width: 120px;
    height: 120px;
    background: white;
    color: #07111e;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-weight: 900;
}

.patria-node {
    width: 65px;
    height: 65px;
    background: #101d2b;
    border: 1px solid rgba(255,255,255,.18);
    font-size: 9px;
    letter-spacing: .12em;
    font-weight: 800;
}

.node-cr {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: #43b4ff;
}

.node-tech {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.node-future {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: #c92032;
}


/* ==========================================================
   CORPORATION
   ========================================================== */

.patria-corporation {
    background:
        linear-gradient(135deg, #f1eee7 0%, #e5e0d6 100%);
    padding: 130px 7%;
    color: #11161d;
}

.patria-corporate-inner {
    max-width: 1250px;
    margin: auto;
}

.patria-corporate-label {
    color: #9d6320;
}

.patria-corporate-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 100px;
    align-items: center;
    margin-top: 55px;
}

.patria-corporate-number {
    font-size: clamp(150px, 19vw, 270px);
    font-weight: 900;
    letter-spacing: -.1em;
    line-height: .7;
    color: rgba(17,22,29,.08);
    position: relative;
}

.patria-corporate-number span {
    display: block;
    font-size: 11px;
    letter-spacing: .3em;
    color: #9d6320;
    margin-top: 25px;
    margin-left: 20px;
}

.patria-corporate-copy h2 {
    font-size: clamp(55px, 7vw, 100px);
    line-height: .9;
    letter-spacing: -.06em;
}

.patria-corporate-copy h2 strong {
    color: #9d6320;
}

.patria-corporate-copy p {
    max-width: 600px;
    margin-top: 30px;
    color: #68717c;
    font-size: 17px;
    line-height: 1.8;
}

.patria-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.patria-pillars span {
    border: 1px solid rgba(17,22,29,.15);
    padding: 9px 13px;
    font-size: 9px;
    letter-spacing: .15em;
    font-weight: 800;
}

.patria-corporate-footer {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid rgba(17,22,29,.15);
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: .18em;
}

.patria-corporate-footer strong {
    color: #9d6320;
}


/* ==========================================================
   GRUPO GSS
   ========================================================== */

.patria-grupo {
    min-height: 720px;
    padding: 120px 7%;
    background: #c92032;
    color: white;
}

.grupo-flag-stripe {
    position: absolute;
    right: -120px;
    top: -180px;
    width: 600px;
    height: 1000px;
    transform: rotate(20deg);
    background:
        linear-gradient(
            to bottom,
            #164f9e 0 17%,
            white 17% 33%,
            #c92032 33% 67%,
            white 67% 83%,
            #164f9e 83%
        );
    opacity: .08;
}

.grupo-patria-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: auto;
}

.grupo-patria-top {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.3);
    padding-bottom: 18px;
}

.grupo-patria-top span:nth-child(2) {
    font-weight: 900;
}

.patria-grupo h2 {
    margin-top: 70px;
    max-width: 950px;
    font-size: clamp(55px, 8vw, 115px);
    line-height: .88;
    letter-spacing: -.06em;
}

.patria-grupo h2 strong {
    color: #f5d48c;
}

.patria-grupo p {
    max-width: 680px;
    margin-top: 35px;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,.82);
}

.grupo-patria-values {
    margin-top: 55px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,.3);
    border-bottom: 1px solid rgba(255,255,255,.3);
}

.grupo-patria-values div {
    padding: 25px 20px;
    border-right: 1px solid rgba(255,255,255,.3);
}

.grupo-patria-values div:last-child {
    border-right: 0;
}

.grupo-patria-values strong {
    display: block;
    font-size: 11px;
    letter-spacing: .18em;
}

.grupo-patria-values span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255,255,255,.72);
}

.grupo-patria-slogan {
    margin-top: 45px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #f5d48c;
}

.grupo-patria-date {
    margin-top: 13px;
    color: rgba(255,255,255,.65);
}


@media (max-width: 900px) {

    .patria-orbit {
        opacity: .2;
        right: -160px;
    }

    .patria-corporate-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .patria-corporate-number {
        font-size: 150px;
    }

    .grupo-patria-values {
        grid-template-columns: 1fr;
    }

    .grupo-patria-values div {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.3);
    }

    .grupo-patria-values div:last-child {
        border-bottom: 0;
    }

    .grupo-patria-top {
        gap: 15px;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {

    .patria-conglomerate,
    .patria-corporation,
    .patria-grupo {
        padding: 90px 6%;
    }

    .patria-orbit {
        width: 360px;
        height: 360px;
        right: -180px;
    }

    .patria-corporate-footer {
        flex-direction: column;
        gap: 12px;
    }

    .grupo-patria-top {
        font-size: 8px;
    }
}
