:root {
    --opal-deep: #073b3a;
    --opal: #0b6b68;
    --opal-glow: #79c7c3;

    --pearl: #f4f3ef;
    --mist: #e8ecea;
    --charcoal: #171c1c;
    --white: #ffffff;

    --border: rgba(23, 28, 28, 0.12);

    --container: 1320px;

    --transition: 0.45s cubic-bezier(.22, .61, .36, 1);
}


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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Alexandria", sans-serif;
    background: var(--pearl);
    color: var(--charcoal);
    line-height: 1.8;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

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

button {
    font: inherit;
}

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


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

.site-header {
    position: fixed;
    z-index: 1000;

    top: 0;
    right: 0;
    left: 0;

    height: 94px;

    color: var(--white);

    transition: var(--transition);
}

.site-header.scrolled {
    height: 78px;
    background: rgba(7, 59, 58, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-inner {
    height: 100%;

    display: flex;
    align-items: center;
    gap: 55px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;

    line-height: 1;
    flex-shrink: 0;
}

.brand-name {
    font-size: 30px;
    font-weight: 300;
    letter-spacing: .16em;
}

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

    font-size: 8px;
    font-weight: 400;

    letter-spacing: .38em;
    opacity: .75;
}

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

    margin-inline-start: auto;
}

.main-nav a {
    position: relative;

    font-size: 13px;
    font-weight: 400;

    opacity: .88;
}

.main-nav a::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--opal-glow);

    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    min-height: 47px;

    display: flex;
    align-items: center;
    gap: 20px;

    padding: 0 21px;

    background: var(--opal);
    color: var(--white);

    font-size: 12px;

    transition: var(--transition);
}

.header-cta:hover {
    background: var(--opal-glow);
    color: var(--opal-deep);
}

.header-cta .arrow {
    font-size: 17px;
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 1px;

    margin: 7px auto;

    background: var(--white);
}


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

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    color: var(--white);
    overflow: hidden;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.06);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(5, 13, 13, .30) 0%,
            rgba(5, 13, 13, .20) 40%,
            rgba(5, 13, 13, .88) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding-top: 130px;
}

.hero-copy {
    max-width: 650px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 25px;

    color: var(--opal-glow);

    font-size: 11px;
    letter-spacing: .25em;
}

.hero h1 {
    font-size: clamp(52px, 6vw, 92px);
    font-weight: 300;

    line-height: 1.18;
    letter-spacing: -.04em;
}

.hero h1 span {
    display: block;
    color: var(--opal-glow);
}

.hero-copy > p {
    max-width: 520px;

    margin-top: 30px;

    font-size: 17px;
    font-weight: 300;

    line-height: 2;

    color: rgba(255,255,255,.82);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 35px;

    margin-top: 42px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

    min-height: 57px;

    padding: 0 27px;

    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--opal-glow);
    color: var(--opal-deep);
}

.btn-link {
    display: flex;
    align-items: center;
    gap: 16px;

    padding-bottom: 7px;

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

    font-size: 13px;
}

.hero-side-text {
    display: flex;
    gap: 25px;

    writing-mode: vertical-rl;

    font-size: 8px;
    letter-spacing: .32em;

    opacity: .48;
}

.scroll-indicator {
    position: absolute;
    z-index: 4;

    right: 50%;
    bottom: 22px;

    transform: translateX(50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    font-size: 7px;
    letter-spacing: .3em;

    opacity: .65;
}

.scroll-indicator i {
    width: 1px;
    height: 35px;

    background: rgba(255,255,255,.5);
}


/* ==============================
   ABOUT
================================= */

.about-section {
    padding: 140px 0;
    background: var(--pearl);
}

.about-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 100px;
}

.section-label {
    display: block;

    margin-bottom: 20px;

    color: var(--opal);
    font-size: 11px;
    letter-spacing: .08em;
}

.about-copy h2,
.section-heading h2 {
    font-size: clamp(38px, 4vw, 63px);
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: -.04em;
}

.about-copy h2 span,
.section-heading h2 span {
    display: block;
}

.about-copy p {
    max-width: 520px;

    margin-top: 30px;

    color: #5c6563;

    font-size: 14px;
    line-height: 2.15;
}

.text-link {
    display: inline-flex;
    gap: 15px;

    margin-top: 35px;

    color: var(--opal);

    font-size: 13px;
}

.about-image {
    height: 620px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 1.2s ease;
}

.about-image:hover img {
    transform: scale(1.035);
}


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

.solutions-section {
    padding: 130px 0 150px;
    background: var(--white);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 60px;
}

.section-heading > p {
    max-width: 360px;

    color: #68706f;

    font-size: 13px;
    line-height: 2;
}

.solutions-grid {
    display: grid;

    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: repeat(2, 320px);

    gap: 12px;
}

.solution-card {
    position: relative;

    min-height: 320px;

    color: var(--white);

    overflow: hidden;
}

.solution-large {
    grid-row: 1 / 3;
}

.solution-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .9s cubic-bezier(.22,.61,.36,1);
}

.solution-card:hover img {
    transform: scale(1.055);
}

.solution-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.05),
            rgba(4,16,16,.78)
        );
}

.solution-number {
    position: absolute;

    top: 25px;
    right: 25px;

    font-size: 10px;
    letter-spacing: .15em;

    opacity: .7;
}

.solution-content {
    position: absolute;

    right: 28px;
    bottom: 28px;
}

.solution-content > span {
    display: block;

    margin-bottom: 8px;

    color: var(--opal-glow);

    font-size: 8px;
    letter-spacing: .2em;
}

.solution-content h3 {
    font-size: 23px;
    font-weight: 400;
}

.solution-content p {
    margin-top: 7px;

    font-size: 12px;

    color: rgba(255,255,255,.7);
}

.solution-arrow {
    position: absolute;

    left: 25px;
    bottom: 27px;

    font-size: 19px;

    transition: var(--transition);
}

.solution-card:hover .solution-arrow {
    transform: translate(4px, -4px);
}


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

.site-footer {
    padding: 90px 0 25px;

    background: #061e1e;
    color: var(--white);
}

.footer-main {
    display: grid;

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

    gap: 70px;

    padding-bottom: 70px;
}

.footer-brand p {
    max-width: 330px;

    margin-top: 25px;

    color: rgba(255,255,255,.55);

    font-size: 12px;
    line-height: 2;
}

.footer-logo {
    align-items: flex-start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-column h4 {
    margin-bottom: 10px;

    font-size: 13px;
    font-weight: 500;
}

.footer-column a {
    color: rgba(255,255,255,.55);
    font-size: 11px;

    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--opal-glow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding-top: 24px;

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

    color: rgba(255,255,255,.38);

    font-size: 9px;
}

.footer-bottom div {
    display: flex;
    gap: 25px;
}


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

@media (max-width: 1050px) {

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-inline-start: auto;
    }

    .about-grid {
        gap: 50px;
    }

    .solutions-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 500px 320px 320px;
    }

    .solution-large {
        grid-column: 1 / 3;
        grid-row: auto;
    }
}


@media (max-width: 767px) {

    .container {
        width: min(calc(100% - 36px), var(--container));
    }

    .site-header {
        height: 76px;
    }

    .header-cta {
        display: none;
    }

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

    .hero {
        min-height: 760px;
    }

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

    .hero-side-text {
        display: none;
    }

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

    .about-section,
    .solutions-section {
        padding: 90px 0;
    }

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

    .about-image {
        height: 450px;
    }

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

    .solutions-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .solution-large {
        grid-column: auto;
    }

    .solution-card {
        height: 420px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / 3;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}
/* ==========================================
   WHY OPAL
========================================== */

.why-section {
    position: relative;
    padding: 140px 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(11,107,104,.25), transparent 35%),
        #061e1e;
    color: var(--white);
    overflow: hidden;
}

.dark-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 70px;
    margin-bottom: 80px;
}

.dark-heading .section-label {
    grid-column: 1 / -1;
    margin-bottom: -30px;
}

.dark-heading h2,
.services-intro h2,
.maintenance-content h2,
.quote-copy h2 {
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -.04em;
}

.dark-heading h2 span,
.services-intro h2 span,
.maintenance-content h2 span,
.quote-copy h2 span {
    display: block;
    color: var(--opal-glow);
}

.dark-heading p {
    max-width: 420px;
    color: rgba(255,255,255,.58);
    font-size: 13px;
    line-height: 2.1;
}

.section-label.light {
    color: var(--opal-glow);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,.1);
}

.why-item {
    position: relative;
    min-height: 300px;
    padding: 35px 30px;
    border-left: 1px solid rgba(255,255,255,.1);
}

.why-item:last-child {
    border-left: 0;
}

.why-number {
    display: block;
    margin-bottom: 45px;
    color: rgba(255,255,255,.28);
    font-size: 10px;
    letter-spacing: .2em;
}

.why-icon {
    margin-bottom: 22px;
    color: var(--opal-glow);
    font-size: 30px;
}

.why-item h3 {
    margin-bottom: 15px;
    font-size: 17px;
    font-weight: 400;
}

.why-item p {
    color: rgba(255,255,255,.48);
    font-size: 11px;
    line-height: 2;
}


/* ==========================================
   JOURNEY
========================================== */

.journey-section {
    padding: 140px 0;
    background: var(--pearl);
}

.journey-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin-top: 80px;
}

.journey-track::before {
    content: "";
    position: absolute;
    top: 47px;
    right: 0;
    left: 0;
    height: 1px;
    background: #cdd3d0;
}

.journey-step {
    position: relative;
    padding-left: 25px;
}

.journey-step > span {
    display: block;
    margin-bottom: 25px;
    color: var(--opal);
    font-size: 10px;
}

.journey-step i {
    position: relative;
    z-index: 2;
    display: block;
    width: 11px;
    height: 11px;
    margin-bottom: 35px;
    border: 2px solid var(--opal);
    border-radius: 50%;
    background: var(--pearl);
}

.journey-step h3 {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.journey-step p {
    max-width: 150px;
    color: #747c7a;
    font-size: 10px;
    line-height: 1.9;
}


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

.services-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    padding: 130px max(40px, calc((100vw - var(--container))/2));
    background: #082827;
    color: var(--white);
    gap: 100px;
}

.services-intro {
    align-self: start;
    position: sticky;
    top: 130px;
}

.services-intro p {
    max-width: 390px;
    margin-top: 30px;
    color: rgba(255,255,255,.52);
    font-size: 12px;
    line-height: 2.1;
}

.services-list {
    border-top: 1px solid rgba(255,255,255,.13);
}

.service-row {
    display: grid;
    grid-template-columns: 55px 1.2fr 1fr 30px;
    align-items: center;
    gap: 20px;
    min-height: 135px;
    border-bottom: 1px solid rgba(255,255,255,.13);
    transition: .4s ease;
}

.service-row:hover {
    padding-right: 15px;
    background: rgba(121,199,195,.04);
}

.service-no {
    color: var(--opal-glow);
    font-size: 9px;
}

.service-row h3 {
    font-size: 18px;
    font-weight: 400;
}

.service-row p {
    color: rgba(255,255,255,.42);
    font-size: 10px;
}

.service-arrow {
    color: var(--opal-glow);
    font-size: 19px;
}


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

.projects-section {
    padding: 140px 0;
    background: var(--white);
}

.outline-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--charcoal);
    font-size: 12px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1.3fr .85fr .85fr;
    gap: 15px;
}

.project-image {
    height: 480px;
    overflow: hidden;
}

.project-featured .project-image {
    height: 620px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.project-card:hover img {
    transform: scale(1.04);
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.project-info span {
    color: var(--opal);
    font-size: 8px;
    letter-spacing: .12em;
}

.project-info h3 {
    margin-top: 5px;
    font-size: 18px;
    font-weight: 400;
}

.project-arrow {
    font-size: 18px !important;
}


/* ==========================================
   MAINTENANCE
========================================== */

.maintenance-section {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 680px;
    background: var(--opal-deep);
    color: var(--white);
}

.maintenance-image {
    overflow: hidden;
}

.maintenance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.maintenance-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 10%;
}

.maintenance-content p {
    max-width: 430px;
    margin-top: 30px;
    color: rgba(255,255,255,.55);
    font-size: 12px;
    line-height: 2.1;
}

.maintenance-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 40px 0;
    border-top: 1px solid rgba(255,255,255,.12);
}

.maintenance-features span {
    padding: 17px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    font-size: 11px;
    color: rgba(255,255,255,.72);
}


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

.quote-section {
    position: relative;
    padding: 150px 0;
    background: #041918;
    color: var(--white);
    overflow: hidden;
}

.opal-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .2;
}

.glow-one {
    width: 500px;
    height: 500px;
    background: #14a8a1;
    right: -180px;
    top: -200px;
}

.glow-two {
    width: 400px;
    height: 400px;
    background: #79c7c3;
    left: -200px;
    bottom: -220px;
}

.quote-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 110px;
}

.quote-copy p {
    max-width: 420px;
    margin-top: 30px;
    color: rgba(255,255,255,.55);
    font-size: 12px;
    line-height: 2.1;
}

.quote-contact {
    margin-top: 70px;
}

.quote-contact > span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.35);
    font-size: 9px;
}

.quote-contact a {
    color: var(--opal-glow);
    font-size: 12px;
}

.quote-form {
    padding: 45px;
    border: 1px solid rgba(121,199,195,.3);
    background: rgba(255,255,255,.025);
    backdrop-filter: blur(10px);
}

.form-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}

.form-heading span {
    color: var(--opal-glow);
    font-size: 9px;
}

.form-heading h3 {
    font-size: 18px;
    font-weight: 400;
}

.project-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 35px;
}

.project-types input {
    display: none;
}

.project-types label span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65px;
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.6);
    font-size: 10px;
    cursor: pointer;
    transition: .3s ease;
}

.project-types input:checked + span,
.project-types label:hover span {
    border-color: var(--opal-glow);
    background: rgba(121,199,195,.09);
    color: var(--white);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.5);
    font-size: 9px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.17);
    outline: 0;
    background: transparent;
    color: var(--white);
    font-family: inherit;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--opal-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,.25);
}

.quote-submit {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding: 0 23px;
    border: 0;
    background: var(--opal);
    color: var(--white);
    font-family: inherit;
    cursor: pointer;
    transition: .3s ease;
}

.quote-submit:hover {
    background: var(--opal-glow);
    color: var(--opal-deep);
}


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

@media (max-width: 1050px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .journey-track {
        grid-template-columns: repeat(3, 1fr);
        gap: 45px 0;
    }

    .journey-track::before {
        display: none;
    }

    .services-section {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .services-intro {
        position: static;
    }

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

    .project-featured {
        grid-column: 1 / 3;
    }

    .quote-grid {
        gap: 60px;
    }
}


@media (max-width: 767px) {
    .dark-heading {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dark-heading .section-label {
        grid-column: auto;
        margin-bottom: 0;
    }

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

    .why-item {
        min-height: auto;
        border-left: 0;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .journey-track {
        grid-template-columns: 1fr 1fr;
    }

    .service-row {
        grid-template-columns: 35px 1fr 25px;
        padding: 25px 0;
    }

    .service-row p {
        display: none;
    }

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

    .project-featured {
        grid-column: auto;
    }

    .project-image,
    .project-featured .project-image {
        height: 450px;
    }

    .maintenance-section {
        grid-template-columns: 1fr;
    }

    .maintenance-image {
        height: 450px;
    }

    .maintenance-content {
        padding: 80px 25px;
    }

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

    .quote-form {
        padding: 25px 20px;
    }

    .project-types {
        grid-template-columns: 1fr 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
.quote-success,
.quote-errors {
    display: flex;
    gap: 15px;

    margin-bottom: 30px;
    padding: 18px 20px;

    font-size: 11px;
    line-height: 1.8;
}

.quote-success {
    border: 1px solid rgba(121, 199, 195, .35);
    background: rgba(121, 199, 195, .08);
}

.quote-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    border: 1px solid var(--opal-glow);
    border-radius: 50%;

    color: var(--opal-glow);
}

.quote-success strong {
    display: block;
    margin-bottom: 3px;

    color: var(--white);
    font-weight: 500;
}

.quote-success p {
    color: rgba(255, 255, 255, .55);
}

.quote-errors {
    display: block;

    border: 1px solid rgba(255, 120, 120, .3);
    background: rgba(255, 90, 90, .07);

    color: #ffd0d0;
}

.quote-errors strong {
    display: block;
    margin-bottom: 7px;
}

.quote-errors ul {
    padding-right: 18px;
}
