/* ==================================================
   KORIVA WATER TECH
   DESIGN SYSTEM
================================================== */

:root {

    --ink: #041217;
    --ink-soft: #071c23;
    --ink-card: #0b2831;

    --aqua: #38d6e6;
    --aqua-deep: #129aae;
    --aqua-soft: #b8f4f8;

    --white: #ffffff;

    --paper: #f3f7f7;
    --paper-dark: #e7eeee;

    --text: #07171d;
    --muted: #65777d;

    --border-light:
        rgba(255, 255, 255, 0.10);

    --border-dark:
        rgba(7, 23, 29, 0.12);

    --radius-small: 12px;
    --radius-medium: 22px;
    --radius-large: 34px;

    --container:
        min(1400px, calc(100% - 80px));

}


/* ==================================================
   RESET
================================================== */

*,
*::before,
*::after {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}


html {

    scroll-behavior: smooth;

}


body {

    min-height: 100vh;

    background: var(--ink);

    color: var(--white);

    font-family:
        "Manrope",
        sans-serif;

    line-height: 1.5;

    overflow-x: hidden;

}


body.menu-open,
body.modal-open {

    overflow: hidden;

}


img {

    display: block;

    max-width: 100%;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
select,
textarea {

    font: inherit;

}


button {

    cursor: pointer;

}


::selection {

    background: var(--aqua);

    color: var(--ink);

}


/* ==================================================
   TYPOGRAPHY
================================================== */

h1,
h2,
h3,
.logo,
.footer-logo {

    font-family:
        "Space Grotesk",
        sans-serif;

}


.big-title {

    font-size:
        clamp(3rem, 6.5vw, 6.8rem);

    line-height: 0.93;

    letter-spacing: -0.055em;

    font-weight: 600;

}


.big-title span {

    color: var(--aqua-deep);

}


.section-title {

    font-size:
        clamp(3rem, 5vw, 5.5rem);

    line-height: 0.95;

    letter-spacing: -0.05em;

}


.section-title span {

    color: var(--aqua-deep);

}


/* ==================================================
   GENERAL SECTIONS
================================================== */

.section-light {

    padding:
        130px
        max(40px, calc((100vw - 1400px) / 2));

    background: var(--paper);

    color: var(--text);

}


.section-dark {

    padding:
        130px
        max(40px, calc((100vw - 1400px) / 2));

    background: var(--ink);

}


.section-number {

    margin-bottom: 35px;

    color: var(--aqua-deep);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.22em;

}


.section-header {

    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(300px, 0.65fr);

    gap: 80px;

    align-items: end;

    margin-bottom: 70px;

}


.section-intro {

    color: var(--muted);

    font-size: 1rem;

    line-height: 1.8;

}


/* ==================================================
   REVEAL
================================================== */

.reveal {

    opacity: 0;

    transform: translateY(45px);

    transition:
        opacity 0.85s ease,
        transform 0.85s ease;

}


.reveal.visible {

    opacity: 1;

    transform: translateY(0);

}


/* ==================================================
   HEADER
================================================== */

.header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 1000;

    transition:
        background 0.35s ease,
        box-shadow 0.35s ease;

}


.header.scrolled {

    background:
        rgba(4, 18, 23, 0.94);

    backdrop-filter: blur(22px);

    box-shadow:
        0 8px 40px
        rgba(0, 0, 0, 0.16);

}


.navbar {

    width: var(--container);

    height: 88px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* ==================================================
   LOGO
================================================== */

.logo {

    display: flex;

    align-items: center;

    gap: 13px;

}


.logo-symbol {

    width: 39px;

    height: 39px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(56, 214, 230, 0.45);

    border-radius: 10px;

    color: var(--aqua);

    font-weight: 700;

}


.logo-text {

    display: flex;

    flex-direction: column;

    line-height: 1;

}


.logo-koriva {

    font-size: 1.05rem;

    font-weight: 700;

    letter-spacing: 0.14em;

}


.logo-water {

    margin-top: 4px;

    color: var(--aqua);

    font-size: 0.58rem;

    letter-spacing: 0.25em;

}


/* ==================================================
   DESKTOP NAV
================================================== */

.nav-desktop {

    display: flex;

    align-items: center;

    gap: 33px;

}


.nav-desktop > a,
.dropdown-button {

    position: relative;

    border: 0;

    background: none;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 0.84rem;

    font-weight: 500;

    transition: color 0.25s ease;

}


.nav-desktop > a:hover,
.dropdown-button:hover {

    color: var(--white);

}


.nav-desktop > a:not(.nav-cta)::after {

    content: "";

    position: absolute;

    bottom: -8px;

    left: 0;

    width: 0;

    height: 1px;

    background: var(--aqua);

    transition: width 0.25s ease;

}


.nav-desktop > a:hover::after {

    width: 100%;

}


.nav-cta {

    padding:
        12px
        20px;

    border:
        1px solid
        rgba(56, 214, 230, 0.45);

    border-radius: 100px;

}


.nav-cta:hover {

    background:
        rgba(56, 214, 230, 0.08);

}


/* ==================================================
   DROPDOWN
================================================== */

.dropdown {

    position: relative;

}


.dropdown-button {

    display: flex;

    align-items: center;

    gap: 6px;

}


.dropdown-button svg {

    width: 14px;

    transition:
        transform 0.25s ease;

}


.dropdown:hover
.dropdown-button svg {

    transform: rotate(180deg);

}


.dropdown-menu {

    position: absolute;

    top: calc(100% + 28px);

    right: -310px;

    width: 780px;

    padding: 32px;

    display: grid;

    grid-template-columns:
        1fr 1fr 1.2fr;

    gap: 30px;

    background:
        rgba(7, 28, 35, 0.985);

    border:
        1px solid
        var(--border-light);

    border-radius:
        var(--radius-medium);

    box-shadow:
        0 35px 90px
        rgba(0, 0, 0, 0.4);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(15px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s;

}


.dropdown:hover
.dropdown-menu,
.dropdown:focus-within
.dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);

}


.dropdown-column {

    display: flex;

    flex-direction: column;

    gap: 13px;

}


.dropdown-label {

    margin-bottom: 8px;

    color: var(--aqua);

    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 0.18em;

}


.dropdown-column a {

    color:
        rgba(255, 255, 255, 0.7);

    font-size: 0.82rem;

}


.dropdown-column a:hover {

    color: var(--white);

}


.dropdown-feature {

    padding: 25px;

    background:
        linear-gradient(
            145deg,
            #0c3e49,
            #061b22
        );

    border-radius:
        var(--radius-small);

}


.dropdown-feature > span {

    color: var(--aqua);

    font-size: 0.58rem;

    letter-spacing: 0.18em;

}


.dropdown-feature h3 {

    margin:
        18px 0 30px;

    font-size: 1.45rem;

    line-height: 1.15;

}


.dropdown-feature a {

    color: var(--aqua);

    font-size: 0.78rem;

}


/* ==================================================
   MOBILE NAV
================================================== */

.menu-toggle {

    display: none;

    width: 42px;

    height: 42px;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 5px;

    border: 0;

    background: none;

}


.menu-toggle span {

    width: 24px;

    height: 1px;

    background: white;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;

}


.menu-toggle.active
span:nth-child(1) {

    transform:
        translateY(6px)
        rotate(45deg);

}


.menu-toggle.active
span:nth-child(2) {

    opacity: 0;

}


.menu-toggle.active
span:nth-child(3) {

    transform:
        translateY(-6px)
        rotate(-45deg);

}


.mobile-menu {

    display: none;

}


/* ==================================================
   HERO
================================================== */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding:
        150px
        max(40px, calc((100vw - 1400px) / 2))
        80px;

    overflow: hidden;

}


.hero-background {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 76% 46%,
            rgba(29, 130, 144, 0.28),
            transparent 28%
        ),

        radial-gradient(
            circle at 68% 60%,
            rgba(56, 214, 230, 0.07),
            transparent 34%
        ),

        linear-gradient(
            120deg,
            #031015 0%,
            #05181e 48%,
            #082833 100%
        );

}


.hero-grid {

    position: absolute;

    inset: 0;

    opacity: 0.11;

    background-image:

        linear-gradient(
            rgba(255,255,255,0.12) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,0.12) 1px,
            transparent 1px
        );

    background-size:
        80px
        80px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 20%,
            black 80%,
            transparent
        );

}


.hero-content {

    position: relative;

    z-index: 10;

    width: min(820px, 65%);

}


.hero-eyebrow {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--aqua);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.25em;

}


.eyebrow-dot {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--aqua);

    box-shadow:
        0 0 15px
        var(--aqua);

}


.hero h1 {

    margin:
        25px 0
        30px;

    font-size:
        clamp(4rem, 7vw, 7.8rem);

    line-height: 0.88;

    letter-spacing: -0.065em;

    font-weight: 600;

}


.hero h1 span {

    display: block;

    color: var(--aqua);

}


.hero-description {

    width: min(620px, 100%);

    color:
        rgba(218, 233, 237, 0.68);

    font-size: 1.08rem;

    line-height: 1.75;

}


.hero-actions {

    display: flex;

    gap: 14px;

    margin-top: 38px;

}


.button {

    min-height: 52px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    padding:
        0
        25px;

    border-radius: 100px;

    font-size: 0.83rem;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;

}


.button:hover {

    transform:
        translateY(-3px);

}


.button-primary {

    border:
        1px solid
        var(--aqua);

    background: var(--aqua);

    color: var(--ink);

}


.button-primary:hover {

    background: var(--aqua-soft);

}


.button-outline {

    border:
        1px solid
        rgba(255,255,255,0.18);

}


.button-outline:hover {

    border-color: var(--aqua);

}


.button-light {

    background: white;

    color: var(--ink);

}


.hero-metrics {

    display: flex;

    gap: 55px;

    margin-top: 65px;

}


.metric {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.metric strong {

    color: var(--aqua);

    font-size: 0.68rem;

}


.metric span {

    color:
        rgba(255,255,255,0.5);

    font-size: 0.75rem;

}


/* ==================================================
   HERO ENTRANCE
================================================== */

.hero-animation {

    opacity: 0;

    transform:
        translateY(35px);

    animation:
        heroFade
        0.85s
        forwards;

}


.hero-animation:nth-child(1) {

    animation-delay:
        0.15s;

}


.hero-animation:nth-child(2) {

    animation-delay:
        0.28s;

}


.hero-animation:nth-child(3) {

    animation-delay:
        0.41s;

}


.hero-animation:nth-child(4) {

    animation-delay:
        0.54s;

}


.hero-animation:nth-child(5) {

    animation-delay:
        0.67s;

}


@keyframes heroFade {

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* ==================================================
   HERO SYSTEM
================================================== */

.hero-system {

    position: absolute;

    right:
        max(30px, calc((100vw - 1400px) / 2));

    top: 50%;

    width: 450px;

    height: 600px;

    transform:
        translateY(-50%);

}


.system-orbit {

    position: absolute;

    left: 50%;

    top: 50%;

    border-radius: 50%;

    border:
        1px solid
        rgba(56,214,230,0.18);

    transform:
        translate(-50%,-50%);

}


.orbit-one {

    width: 450px;

    height: 450px;

}


.orbit-two {

    width: 340px;

    height: 340px;

}


.water-system {

    position: absolute;

    left: 50%;

    top: 50%;

    display: flex;

    align-items: center;

    transform:
        translate(-50%,-50%)
        rotate(-8deg);

}


.tank {

    position: relative;

    width: 92px;

    height: 230px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            90deg,
            #123641,
            #1a4d59,
            #0a222b
        );

    border:
        1px solid
        rgba(56,214,230,0.25);

    border-radius:
        43px
        43px
        25px
        25px;

    box-shadow:
        0 20px 70px
        rgba(0,0,0,0.3);

}


.tank-top {

    position: absolute;

    top: -12px;

    width: 36px;

    height: 15px;

    background: #163d47;

    border-radius:
        5px 5px 2px 2px;

}


.tank span {

    writing-mode:
        vertical-rl;

    color: var(--aqua);

    font-size: 0.55rem;

    letter-spacing: 0.2em;

}


.pipe {

    position: relative;

    width: 32px;

    height: 3px;

    overflow: hidden;

    background:
        rgba(56,214,230,0.2);

}


.water-flow {

    position: absolute;

    width: 16px;

    height: 100%;

    background: var(--aqua);

    animation:
        flow
        1.5s
        linear
        infinite;

}


@keyframes flow {

    from {
        left: -20px;
    }

    to {
        left: 40px;
    }

}


.system-caption {

    position: absolute;

    bottom: 35px;

    right: 30px;

    display: flex;

    flex-direction: column;

    gap: 3px;

    text-align: right;

}


.system-caption span {

    color: var(--aqua);

    font-size: 0.55rem;

    letter-spacing: 0.2em;

}


.system-caption strong {

    font-size: 0.9rem;

}


.scroll-down {

    position: absolute;

    bottom: 35px;

    left: 50%;

    display: flex;

    align-items: center;

    gap: 15px;

    transform:
        translateX(-50%);

    color:
        rgba(255,255,255,0.35);

    font-size: 0.55rem;

    letter-spacing: 0.25em;

}


.scroll-line {

    width: 60px;

    height: 1px;

    background:
        rgba(255,255,255,0.25);

}


/* ==================================================
   INTRO
================================================== */

.intro-layout {

    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(280px, 0.55fr);

    gap: 100px;

}


.intro-copy {

    padding-top: 20px;

}


.intro-copy p {

    margin-bottom: 22px;

    color: var(--muted);

    line-height: 1.85;

}


.intro-lead {

    color:
        var(--text)
        !important;

    font-size: 1.25rem;

    font-weight: 600;

}


.text-link {

    display: inline-block;

    margin-top: 20px;

    color: var(--aqua-deep);

    font-weight: 700;

}


/* ==================================================
   SOLUTIONS
================================================== */

.solutions {

    padding-top: 30px;

}


.solutions-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;

}


.solution-card {

    position: relative;

    min-height: 540px;

    overflow: hidden;

    border-radius:
        var(--radius-medium);

    isolation: isolate;

}


.solution-bg {

    position: absolute;

    inset: 0;

    z-index: -2;

    background-position:
        center;

    background-size:
        cover;

    transition:
        transform 0.7s ease;

}


.solution-multimedia {

    background-image:
        linear-gradient(
            145deg,
            rgba(9,77,90,.4),
            rgba(2,13,17,.35)
        ),
        url("assets/img/multimedia.webp");

    background-color:
        #0a4754;

}


.solution-carbon {

    background-image:
        linear-gradient(
            145deg,
            rgba(10,26,32,.4),
            rgba(0,0,0,.5)
        ),
        url("assets/img/carbon.webp");

    background-color:
        #17282d;

}


.solution-softener {

    background-image:
        linear-gradient(
            145deg,
            rgba(10,100,116,.3),
            rgba(3,18,23,.5)
        ),
        url("assets/img/suavizador.webp");

    background-color:
        #126173;

}


.solution-ro {

    background-image:
        linear-gradient(
            145deg,
            rgba(17,82,96,.35),
            rgba(3,16,21,.5)
        ),
        url("assets/img/osmosis.webp");

    background-color:
        #174c57;

}


.solution-gradient {

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            to bottom,
            rgba(1,9,12,0.12),
            rgba(2,12,16,0.92)
        );

}


.solution-card:hover
.solution-bg {

    transform:
        scale(1.055);

}


.solution-top {

    position: absolute;

    top: 28px;

    left: 30px;

    right: 30px;

    display: flex;

    justify-content: space-between;

    color:
        rgba(255,255,255,0.6);

    font-size: 0.62rem;

    letter-spacing: 0.16em;

}


.solution-body {

    position: absolute;

    left: 35px;

    right: 35px;

    bottom: 35px;

}


.solution-body h3 {

    margin-bottom: 15px;

    font-size:
        clamp(2.3rem, 4vw, 4.2rem);

    letter-spacing: -0.04em;

}


.solution-body p {

    width:
        min(450px,100%);

    color:
        rgba(255,255,255,0.68);

    line-height: 1.7;

}


.solution-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 28px;

}


.solution-tags span {

    padding:
        7px
        12px;

    border:
        1px solid
        rgba(255,255,255,0.17);

    border-radius:
        100px;

    color:
        rgba(255,255,255,0.72);

    font-size: 0.63rem;

}


/* ==================================================
   PROCESS
================================================== */

.process-heading {

    display: grid;

    grid-template-columns:
        1.2fr
        0.5fr;

    gap: 80px;

    align-items: end;

    margin-bottom: 100px;

}


.process-heading p {

    color:
        rgba(255,255,255,0.5);

    line-height: 1.8;

}


.process-line {

    position: relative;

    width:
        min(1050px,100%);

    margin: auto;

}


.process-line::before {

    content: "";

    position: absolute;

    top: 40px;

    bottom: 80px;

    left: 38px;

    width: 1px;

    background:
        rgba(255,255,255,0.1);

}


.process-progress {

    position: absolute;

    top: 40px;

    left: 38px;

    z-index: 2;

    width: 1px;

    height: 0;

    background: var(--aqua);

    box-shadow:
        0 0 12px
        rgba(56,214,230,0.7);

}


.process-step {

    position: relative;

    z-index: 3;

    min-height: 240px;

    display: grid;

    grid-template-columns:
        76px
        1fr;

    gap: 45px;

}


.process-point {

    width: 76px;

    height: 76px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(56,214,230,0.45);

    border-radius: 50%;

    background: var(--ink);

    color: var(--aqua);

    font-size: 0.7rem;

}


.process-step span {

    color: var(--aqua);

    font-size: 0.62rem;

    letter-spacing: 0.18em;

}


.process-step h3 {

    margin:
        9px 0 12px;

    font-size:
        clamp(2rem, 3vw, 3.3rem);

    letter-spacing: -0.04em;

}


.process-step p {

    max-width: 580px;

    color:
        rgba(255,255,255,0.5);

    line-height: 1.7;

}


/* ==================================================
   SERVICES
================================================== */

.services {

    padding:
        130px
        max(40px, calc((100vw - 1400px) / 2));

    background: var(--aqua);

    color: var(--ink);

}


.services-intro {

    max-width: 850px;

}


.services-intro > span {

    font-size: 0.66rem;

    font-weight: 700;

    letter-spacing: 0.2em;

}


.services-intro h2 {

    margin-top: 20px;

    font-size:
        clamp(3.4rem, 6vw, 6.8rem);

    line-height: 0.92;

    letter-spacing: -0.06em;

}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;

    margin-top: 95px;

}


.service-card {

    padding-top: 25px;

    border-top:
        1px solid
        rgba(4,18,23,0.28);

}


.service-card > span {

    font-size: 0.7rem;

}


.service-card h3 {

    margin:
        35px 0 15px;

    font-size: 1.55rem;

}


.service-card p {

    color:
        rgba(4,18,23,0.67);

    line-height: 1.7;

}


/* ==================================================
   PROJECTS
================================================== */

.projects-grid {

    display: grid;

    grid-template-columns:
        1.15fr
        0.85fr;

    gap: 22px;

}


.project-card {

    overflow: hidden;

    background: white;

    border-radius:
        var(--radius-medium);

    box-shadow:
        0 15px 40px
        rgba(10,30,36,0.05);

}


.project-wide {

    grid-column:
        1 / -1;

}


.project-image {

    height: 430px;

    background-size:
        cover;

    background-position:
        center;

    transition:
        transform 0.7s ease;

}


.project-one {

    background-image:
        linear-gradient(
            rgba(8,60,73,.15),
            rgba(3,19,24,.35)
        ),
        url("assets/img/proyecto-01.webp");

    background-color:
        #154955;

}


.project-two {

    background-image:
        linear-gradient(
            rgba(8,60,73,.1),
            rgba(3,19,24,.35)
        ),
        url("assets/img/proyecto-02.webp");

    background-color:
        #16333a;

}


.project-three {

    background-image:
        linear-gradient(
            rgba(8,60,73,.1),
            rgba(3,19,24,.35)
        ),
        url("assets/img/proyecto-03.webp");

    background-color:
        #0d5968;

}


.project-card:hover
.project-image {

    transform:
        scale(1.03);

}


.project-information {

    padding: 28px;

}


.project-information > span {

    color: var(--aqua-deep);

    font-size: 0.62rem;

    letter-spacing: 0.18em;

}


.project-information h3 {

    margin:
        8px 0 18px;

    font-size: 1.85rem;

}


.project-button {

    border: 0;

    background: none;

    color: var(--aqua-deep);

    font-weight: 700;

}


/* ==================================================
   ENGINEERING
================================================== */

.engineering {

    padding:
        130px
        max(40px, calc((100vw - 1400px) / 2));

    display: grid;

    grid-template-columns:
        1fr
        0.85fr;

    gap: 80px;

    align-items: center;

    background:
        linear-gradient(
            120deg,
            #07212a,
            #06151b
        );

}


.engineering-content > span {

    color: var(--aqua);

    font-size: 0.65rem;

    letter-spacing: 0.2em;

}


.engineering-content h2 {

    margin:
        20px 0 30px;

    font-size:
        clamp(3rem, 5vw, 5.6rem);

    line-height: 0.95;

    letter-spacing: -0.055em;

}


.engineering-content p {

    max-width: 600px;

    color:
        rgba(255,255,255,0.5);

    line-height: 1.8;

}


.engineering-data {

    display: grid;

    gap: 12px;

}


.data-card {

    padding:
        28px
        30px;

    display: flex;

    justify-content: space-between;

    border:
        1px solid
        rgba(255,255,255,0.1);

    border-radius:
        var(--radius-small);

    background:
        rgba(255,255,255,0.025);

}


.data-card span {

    color: var(--aqua);

    font-size: 0.62rem;

    letter-spacing: 0.18em;

}


/* ==================================================
   QUOTE
================================================== */

.quote {

    display: grid;

    grid-template-columns:
        minmax(0, .8fr)
        minmax(400px, 1.1fr);

    gap: 90px;

}


.quote-heading p {

    margin-top: 30px;

    max-width: 540px;

    color:
        rgba(255,255,255,0.5);

    line-height: 1.8;

}


.quote-heading
.big-title span {

    color: var(--aqua);

}


.quote-form {

    padding: 42px;

    border:
        1px solid
        rgba(255,255,255,0.09);

    border-radius:
        var(--radius-medium);

    background:
        rgba(255,255,255,0.035);

}


.form-row {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 20px;

}


.form-field {

    display: flex;

    flex-direction: column;

    gap: 9px;

    margin-bottom: 20px;

}


.form-field label {

    color:
        rgba(255,255,255,0.55);

    font-size: 0.72rem;

}


.form-field input,
.form-field select,
.form-field textarea {

    width: 100%;

    padding:
        15px 16px;

    border:
        1px solid
        rgba(255,255,255,0.11);

    border-radius:
        10px;

    background:
        rgba(255,255,255,0.04);

    color: white;

    outline: none;

    transition:
        border-color 0.25s ease,
        background 0.25s ease;

}


.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {

    border-color: var(--aqua);

    background:
        rgba(255,255,255,0.06);

}


.form-field select option {

    color: #111;

}


.form-submit {

    margin-top: 8px;

    border: 0;

}


.form-note {

    margin-top: 17px;

    color:
        rgba(255,255,255,0.32);

    font-size: 0.67rem;

}


/* ==================================================
   FAQ
================================================== */

.faq-grid {

    display: grid;

    grid-template-columns:
        0.75fr
        1.15fr;

    gap: 100px;

}


.faq-item {

    border-top:
        1px solid
        var(--border-dark);

}


.faq-question {

    width: 100%;

    padding:
        27px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border: 0;

    background: none;

    color: var(--text);

    text-align: left;

    font-size: 1.02rem;

    font-weight: 600;

}


.faq-question span {

    color: var(--aqua-deep);

    font-size: 1.7rem;

    font-weight: 400;

    transition:
        transform 0.3s ease;

}


.faq-answer {

    max-height: 0;

    overflow: hidden;

    transition:
        max-height 0.4s ease;

}


.faq-answer p {

    padding:
        0 0 28px;

    max-width: 650px;

    color: var(--muted);

    line-height: 1.8;

}


.faq-item.active
.faq-question span {

    transform:
        rotate(45deg);

}


/* ==================================================
   FINAL CTA
================================================== */

.final-cta {

    position: relative;

    overflow: hidden;

    padding:
        150px
        max(40px, calc((100vw - 1400px) / 2));

    background: var(--aqua);

    color: var(--ink);

}


.final-cta::after {

    content: "K";

    position: absolute;

    right: -30px;

    bottom: -220px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 620px;

    font-weight: 700;

    line-height: 1;

    color:
        rgba(4,18,23,0.06);

}


.final-cta-content {

    position: relative;

    z-index: 2;

    max-width: 1000px;

}


.final-cta-content > span {

    font-size: 0.67rem;

    font-weight: 700;

    letter-spacing: 0.22em;

}


.final-cta h2 {

    margin:
        20px 0 45px;

    font-size:
        clamp(3.5rem, 7vw, 7.5rem);

    line-height: 0.9;

    letter-spacing: -0.065em;

}


/* ==================================================
   FOOTER
================================================== */

.footer {

    padding:
        85px
        max(40px, calc((100vw - 1400px) / 2))
        30px;

    background: #020a0d;

}


.footer-main {

    display: grid;

    grid-template-columns:
        2fr
        repeat(3,1fr);

    gap: 70px;

}


.footer-brand {

    max-width: 360px;

}


.footer-logo {

    font-size: 1.8rem;

    font-weight: 700;

    letter-spacing: 0.08em;

}


.footer-logo span {

    color: var(--aqua);

}


.footer-brand p {

    margin:
        20px 0;

    color:
        rgba(255,255,255,0.45);

    line-height: 1.7;

}


.footer-location {

    color:
        rgba(255,255,255,0.3);

    font-size: 0.75rem;

}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.footer-column h3 {

    margin-bottom: 10px;

    color:
        rgba(255,255,255,0.95);

    font-size: 0.78rem;

}


.footer-column a {

    color:
        rgba(255,255,255,0.42);

    font-size: 0.78rem;

}


.footer-column a:hover {

    color: var(--aqua);

}


.footer-bottom {

    margin-top: 80px;

    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid
        rgba(255,255,255,0.07);

    color:
        rgba(255,255,255,0.28);

    font-size: 0.67rem;

}


.footer-meta {

    display: flex;

    gap: 25px;

}


/* ==================================================
   BACK TO TOP
================================================== */

.back-to-top {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 900;

    width: 45px;

    height: 45px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(255,255,255,0.12);

    border-radius: 50%;

    background:
        rgba(4,18,23,0.88);

    color: var(--aqua);

    backdrop-filter: blur(10px);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(12px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s;

}


.back-to-top.visible {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);

}


/* ==================================================
   MODAL
================================================== */

.modal {

    position: fixed;

    inset: 0;

    z-index: 3000;

    display: grid;

    place-items: center;

    padding: 30px;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s;

}


.modal.active {

    opacity: 1;

    visibility: visible;

}


.modal-backdrop {

    position: absolute;

    inset: 0;

    background:
        rgba(0,0,0,0.82);

    backdrop-filter:
        blur(12px);

}


.modal-window {

    position: relative;

    z-index: 5;

    width:
        min(950px,100%);

    max-height: 90vh;

    overflow-y: auto;

    background: var(--ink-soft);

    border:
        1px solid
        var(--border-light);

    border-radius:
        var(--radius-medium);

}


.modal-close {

    position: absolute;

    top: 18px;

    right: 18px;

    z-index: 6;

    width: 44px;

    height: 44px;

    border: 0;

    border-radius: 50%;

    background:
        rgba(0,0,0,0.55);

    color: white;

    font-size: 1.5rem;

}


.modal-image {

    height: 450px;

    background-color: #104652;

    background-size: cover;

    background-position: center;

}


.modal-content {

    padding: 38px;

}


.modal-content > span {

    color: var(--aqua);

    font-size: 0.62rem;

    letter-spacing: 0.2em;

}


.modal-content h2 {

    margin:
        8px 0 18px;

    font-size:
        clamp(2rem, 4vw, 4rem);

}


.modal-content p {

    color:
        rgba(255,255,255,0.55);

    line-height: 1.8;

}


/* ==================================================
   RESPONSIVE 1100
================================================== */

@media (max-width: 1100px) {

    .nav-desktop {

        display: none;

    }


    .menu-toggle {

        display: flex;

    }


    .mobile-menu {

        position: fixed;

        top: 88px;

        left: 0;

        width: 100%;

        height:
            calc(100vh - 88px);

        display: flex;

        flex-direction: column;

        padding:
            30px 40px;

        background:
            rgba(4,18,23,0.985);

        transform:
            translateX(100%);

        transition:
            transform 0.4s ease;

        overflow-y: auto;

    }


    .mobile-menu.active {

        transform:
            translateX(0);

    }


    .mobile-menu > a,
    .mobile-dropdown-button {

        padding:
            18px 0;

        border: 0;

        border-bottom:
            1px solid
            rgba(255,255,255,0.08);

        background: none;

        color: white;

        text-align: left;

        font-size: 1rem;

    }


    .mobile-dropdown-button {

        display: flex;

        justify-content: space-between;

    }


    .mobile-dropdown {

        max-height: 0;

        display: flex;

        flex-direction: column;

        overflow: hidden;

        transition:
            max-height 0.35s ease;

    }


    .mobile-dropdown.active {

        max-height: 400px;

    }


    .mobile-dropdown a {

        padding:
            11px 20px;

        color:
            rgba(255,255,255,0.5);

    }


    .mobile-cta {

        margin-top: 20px;

        padding:
            16px 20px
            !important;

        border-radius:
            100px;

        background:
            var(--aqua);

        color:
            var(--ink)
            !important;

        text-align:
            center
            !important;

    }


    .hero-content {

        width: 72%;

    }


    .hero-system {

        right: -150px;

        opacity: 0.45;

    }


    .intro-layout,
    .process-heading,
    .quote,
    .faq-grid,
    .engineering {

        grid-template-columns:
            1fr;

    }


    .services-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    .footer-main {

        grid-template-columns:
            repeat(2,1fr);

    }

}


/* ==================================================
   RESPONSIVE 760
================================================== */

@media (max-width: 760px) {

    :root {

        --container:
            calc(100% - 40px);

    }


    .section-light,
    .section-dark,
    .services,
    .engineering,
    .final-cta {

        padding:
            90px 20px;

    }


    .navbar {

        height: 74px;

    }


    .mobile-menu {

        top: 74px;

        height:
            calc(100vh - 74px);

        padding:
            25px 20px;

    }


    .hero {

        min-height: 100svh;

        padding:
            125px
            20px
            70px;

    }


    .hero-content {

        width: 100%;

    }


    .hero h1 {

        font-size:
            clamp(3.5rem, 16vw, 5.5rem);

    }


    .hero-system {

        display: none;

    }


    .hero-actions {

        flex-direction: column;

        align-items: stretch;

    }


    .hero-actions .button {

        width: 100%;

    }


    .hero-metrics {

        gap: 25px;

        flex-wrap: wrap;

    }


    .scroll-down {

        display: none;

    }


    .section-header {

        grid-template-columns:
            1fr;

        gap: 30px;

    }


    .intro-layout {

        gap: 45px;

    }


    .solutions-grid {

        grid-template-columns:
            1fr;

    }


    .solution-card {

        min-height: 500px;

    }


    .services-grid {

        grid-template-columns:
            1fr;

    }


    .projects-grid {

        grid-template-columns:
            1fr;

    }


    .project-wide {

        grid-column: auto;

    }


    .project-image {

        height: 310px;

    }


    .engineering {

        gap: 55px;

    }


    .form-row {

        grid-template-columns:
            1fr;

        gap: 0;

    }


    .quote-form {

        padding: 25px;

    }


    .footer {

        padding:
            70px
            20px
            25px;

    }


    .footer-main {

        grid-template-columns:
            1fr;

        gap: 45px;

    }


    .footer-bottom {

        flex-direction: column;

    }


    .footer-meta {

        flex-direction: column;

        gap: 5px;

    }


    .modal {

        padding: 12px;

    }


    .modal-image {

        height: 280px;

    }


    .modal-content {

        padding: 25px;

    }

}


/* ==================================================
   REDUCED MOTION
================================================== */

@media (
    prefers-reduced-motion:
    reduce
) {

    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms
            !important;

        animation-iteration-count:
            1
            !important;

        scroll-behavior:
            auto
            !important;

        transition-duration:
            0.01ms
            !important;

    }

}

/* =========================================
   HEADER KORIVA WATER TECH
========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.header.scrolled {
    background: rgba(4, 18, 23, 0.92);

    backdrop-filter: blur(20px);

    box-shadow:
        0 10px 40px
        rgba(0, 0, 0, 0.18);
}


.navbar {
    width:
        min(
            1400px,
            calc(100% - 80px)
        );

    height: 88px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================
   MARCA
========================================= */

.brand {
    display: flex;
    align-items: center;

    gap: 13px;

    font-family:
        "Space Grotesk",
        sans-serif;

    color: white;

    text-decoration: none;
}


.brand-mark {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(56, 214, 230, 0.45);

    border-radius: 11px;

    color: #38d6e6;

    font-size: 18px;
    font-weight: 700;
}


.brand-text {
    display: flex;

    flex-direction: column;

    line-height: 1;
}


.brand-name {
    font-size: 17px;

    font-weight: 700;

    letter-spacing: 2.5px;
}


.brand-subtitle {
    margin-top: 5px;

    color: #38d6e6;

    font-size: 9px;

    letter-spacing: 3px;
}


/* =========================================
   NAVEGACIÓN
========================================= */

.nav-links {
    display: flex;

    align-items: center;

    gap: 32px;
}


.nav-links > a,
.dropdown-trigger {
    border: 0;

    background: none;

    color:
        rgba(
            255,
            255,
            255,
            0.74
        );

    font-family:
        "Manrope",
        sans-serif;

    font-size: 14px;

    cursor: pointer;

    text-decoration: none;

    transition:
        color 0.25s ease;
}


.nav-links > a:hover,
.dropdown-trigger:hover {
    color: white;
}


/* =========================================
   DROPDOWN
========================================= */

.dropdown {
    position: relative;
}


.dropdown-trigger {
    display: flex;

    align-items: center;

    gap: 7px;
}


.dropdown-arrow {
    color: #38d6e6;

    font-size: 11px;

    transition:
        transform 0.25s ease;
}


.dropdown:hover
.dropdown-arrow {
    transform:
        rotate(180deg);
}


.dropdown-panel {
    position: absolute;

    top:
        calc(100% + 28px);

    left: 50%;

    width: 650px;

    padding: 30px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 35px;

    background:
        rgba(
            7,
            28,
            35,
            0.98
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    border-radius: 20px;

    box-shadow:
        0 30px 80px
        rgba(
            0,
            0,
            0,
            0.38
        );

    transform:
        translate(
            -50%,
            15px
        );

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.dropdown:hover
.dropdown-panel,
.dropdown:focus-within
.dropdown-panel {
    opacity: 1;

    visibility: visible;

    transform:
        translate(
            -50%,
            0
        );
}


.dropdown-group {
    display: flex;

    flex-direction: column;

    gap: 13px;
}


.dropdown-title {
    margin-bottom: 7px;

    color: #38d6e6;

    font-size: 10px;

    letter-spacing: 2px;
}


.dropdown-group a {
    color:
        rgba(
            255,
            255,
            255,
            0.66
        );

    font-size: 13px;

    text-decoration: none;
}


.dropdown-group a:hover {
    color: white;
}


/* =========================================
   ACCIONES
========================================= */

.nav-actions {
    display: flex;

    align-items: center;

    gap: 15px;
}


.nav-button {
    padding:
        12px
        20px;

    border:
        1px solid
        rgba(
            56,
            214,
            230,
            0.45
        );

    border-radius: 100px;

    color: white;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}


.nav-button:hover {
    background:
        rgba(
            56,
            214,
            230,
            0.08
        );

    border-color:
        #38d6e6;
}


/* =========================================
   BOTÓN HAMBURGUESA
========================================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;

    background: none;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 5px;

    cursor: pointer;
}


.menu-toggle span {
    width: 24px;

    height: 1px;

    background: white;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


.menu-toggle.active
span:nth-child(1) {
    transform:
        translateY(6px)
        rotate(45deg);
}


.menu-toggle.active
span:nth-child(2) {
    opacity: 0;
}


.menu-toggle.active
span:nth-child(3) {
    transform:
        translateY(-6px)
        rotate(-45deg);
}


/* =========================================
   MENÚ MÓVIL
========================================= */

.mobile-menu {
    display: none;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1050px) {

    .nav-links,
    .nav-button {
        display: none;
    }


    .menu-toggle {
        display: flex;
    }


    .mobile-menu {
        position: fixed;

        top: 88px;
        left: 0;

        width: 100%;

        height:
            calc(
                100vh - 88px
            );

        padding:
            30px 40px;

        display: flex;

        flex-direction: column;

        background:
            rgba(
                4,
                18,
                23,
                0.985
            );

        transform:
            translateX(
                100%
            );

        transition:
            transform
            0.35s
            ease;

        overflow-y: auto;
    }


    .mobile-menu.active {
        transform:
            translateX(0);
    }


    .mobile-menu a {
        padding:
            17px 0;

        border-bottom:
            1px solid
            rgba(
                255,
                255,
                255,
                0.08
            );

        color: white;

        text-decoration: none;

        font-size: 18px;
    }


    .mobile-button {
        margin-top: 20px;

        padding:
            15px 20px
            !important;

        border-radius:
            100px;

        background:
            #38d6e6;

        color:
            #041217
            !important;

        text-align:
            center;
    }

}


@media (max-width: 720px) {

    .navbar {
        width:
            calc(
                100% - 40px
            );

        height: 74px;
    }


    .mobile-menu {
        top: 74px;

        height:
            calc(
                100vh - 74px
            );

        padding:
            25px 20px;
    }


    .brand-name {
        font-size: 15px;
    }


    .brand-subtitle {
        font-size: 8px;
    }

}
/* =========================================
   SECCIÓN NOSOTROS / FILOSOFÍA
========================================= */

.intro {
    padding:
        130px
        max(40px, calc((100vw - 1400px) / 2));

    background: #f3f7f7;

    color: #07171d;
}


.section-number {
    margin-bottom: 35px;

    color: #129aae;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;
}


.intro-layout {
    display: grid;

    grid-template-columns:
        1.25fr
        0.6fr;

    gap: 100px;

    align-items: start;
}


.big-title {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(52px, 6vw, 100px);

    line-height: 0.93;

    letter-spacing: -5px;

    font-weight: 600;
}


.big-title span {
    color: #129aae;
}


.intro-copy {
    padding-top: 15px;
}


.intro-copy p {
    margin-bottom: 22px;

    color: #65777d;

    font-size: 16px;

    line-height: 1.85;
}


.intro-lead {
    color: #07171d !important;

    font-size: 20px !important;

    font-weight: 600;
}


.text-link {
    display: inline-block;

    margin-top: 20px;

    color: #129aae;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        color 0.25s ease;
}


.text-link:hover {
    transform: translateX(5px);

    color: #0b7787;
}


/* =========================================
   RESPONSIVE INTRO
========================================= */

@media (max-width: 900px) {

    .intro-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}


@media (max-width: 720px) {

    .intro {
        padding:
            90px
            20px;
    }


    .big-title {
        font-size:
            clamp(48px, 14vw, 74px);

        letter-spacing:
            -3px;
    }


    .intro-copy {
        padding-top: 0;
    }

}

/* =========================================
   LOGO KORIVA
========================================= */
.brand {
    display: flex;
    align-items: center;
    height: 70px;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: auto;
    height: 58px;
    object-fit: contain;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.03);
    opacity: 0.95;
}

@media (max-width: 720px) {
    .brand {
        height: 54px;
    }

    .brand-logo {
        height: 44px;
    }
}