/* =========================================================
   CORDOPS — GLOBAL
   ========================================================= */

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

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #eef3f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

img {
    max-width: 100%;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 50px;
    background: #eef3f5;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-cord {
    color: #222;
}

.logo-ops {
    color: #2f7d9a;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #333;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #2f7d9a;
}


/* =========================================================
   MAIN
   ========================================================= */

main {
    padding: 0 50px;
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}


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

.hero {
    padding: 100px 0 80px;
}

.hero h1 {
    max-width: 900px;
    font-size: 4.5rem;
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin-bottom: 30px;
}

.hero p {
    max-width: 700px;
    font-size: 1.2rem;
    color: #52606d;
}


/* =========================================================
   SERVICE FEATURE CAROUSEL
   ========================================================= */

.service-feature {
    padding: 60px 0 80px;
    overflow: hidden;
}

.service-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.service-track {
    display: flex;
    width: 100%;
    gap: 0;
    transition: transform 1s ease-in-out;
    will-change: transform;
}

.service-feature-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    padding: 20px;
    background: #fff;
    box-sizing: border-box;
}

.service-feature-card img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}


/* =========================================================
   CAROUSEL ARROWS
   ========================================================= */

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 44px;
    height: 44px;

    border: 1px solid rgba(47, 125, 154, 0.35);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);
    color: #2f7d9a;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;
    z-index: 10;

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

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.carousel-arrow:hover {
    background: #2f7d9a;
    color: #fff;
    border-color: #2f7d9a;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}


/* =========================================================
   CAROUSEL INDICATORS
   ========================================================= */

.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;

    border: none;
    border-radius: 50%;

    background: #c5d0d5;

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.carousel-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #2f7d9a;
}


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

.services {
    padding: 100px 0;
    /* border-top: 1px solid #e5e5e5; */
}

.section-heading {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-heading p {
    color: #52606d;
}


/* =========================================================
   SERVICE GRID
   ========================================================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;

    background: #ddd;
    border: 1px solid #ddd;
}


/* =========================================================
   SERVICE CARD
   ========================================================= */

.service-card {
    position: relative;

    background: #fff;

    padding: 40px;
    min-height: 220px;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}


/* ---------------------------------------------------------
   Subtle technical background grid
   --------------------------------------------------------- */

.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 150px;
    height: 150px;

    background-image:
        linear-gradient(
            rgba(47, 125, 154, 0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(47, 125, 154, 0.07) 1px,
            transparent 1px
        );

    background-size: 18px 18px;

    mask-image: linear-gradient(
        135deg,
        black,
        transparent 75%
    );

    -webkit-mask-image: linear-gradient(
        135deg,
        black,
        transparent 75%
    );

    pointer-events: none;
}


/* ---------------------------------------------------------
   Technical corner detail
   --------------------------------------------------------- */

.service-card::after {
    content: "";
    position: absolute;
    top: 24px;
    right: 24px;

    width: 32px;
    height: 32px;

    border-top: 2px solid #2f7d9a;
    border-right: 2px solid #2f7d9a;

    opacity: 0.7;
    pointer-events: none;

    box-sizing: border-box;

    transition:
        width 0.3s ease,
        height 0.3s ease,
        opacity 0.3s ease;
}



/* ---------------------------------------------------------
   Card content
   --------------------------------------------------------- */

.service-card h3,
.service-card p {
    position: relative;
    z-index: 1;
}

.service-card h3 {
    display: inline-block;

    font-size: 1.4rem;

    margin-bottom: 16px;
    padding-bottom: 12px;
}

.service-card h3::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #2f7d9a;

    transition: width 0.45s ease;
}

.service-card p {
    color: #555;
}


/* =========================================================
   SERVICE CARD — NORMAL HOVER
   ========================================================= */

.service-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 30px rgba(31, 41, 51, 0.07);
}

.service-card:hover::after {
    width: 42px;
    height: 42px;
    opacity: 1;
}


/* =========================================================
   SERVICE CARD — ACTIVE
   ========================================================= */

.service-card.active {
    background: #f8fbfc;

    transform: translateY(-5px);

    box-shadow:
        0 12px 30px rgba(31, 41, 51, 0.09);
}

.service-card.active h3 {
    animation:
        serviceHeadingIn 0.45s ease both;
}

.service-card.active h3::after {
    width: 100%;
}

.service-card.active::after {
    width: 42px;
    height: 42px;
    opacity: 1;
}

@keyframes serviceHeadingIn {
    from {
        opacity: 0.55;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


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

.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    padding: 100px 0;

    border-top: 1px solid #e5e5e5;
}

.about-preview h2 {
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.about-preview p {
    color: #52606d;
    margin-bottom: 20px;
}


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

footer {
    padding: 40px 50px;

    /* border-top: 1px solid #ddd; */

    color: #697783;
    font-size: 0.9rem;

    background: #eef3f5;
}


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

.about-page {
    padding: 100px 0;
}

.about-content {
    max-width: 850px;
}

.about-content h1 {
    font-size: 4rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 35px;
}

.about-content p {
    max-width: 800px;
    margin-bottom: 25px;
    color: #52606d;
    text-align: justify;
}

.about-focus {
    margin-top: 80px;
}

.about-focus h2 {
    font-size: 2.4rem;
    margin-bottom: 40px;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #ddd;
    border: 1px solid #ddd;
}

.focus-grid > div {
    background: #fff;
    padding: 35px;
}

.focus-grid h3 {
    margin-bottom: 12px;
}

.focus-grid p {
    margin-bottom: 0;
}


/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-page {
    padding: 100px 0;
}

.contact-content {
    max-width: 850px;
}

.contact-content h1 {
    font-size: 4rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 30px;
}

.contact-content > p {
    max-width: 750px;
    color: #52606d;
    margin-bottom: 25px;
}

.contact-details {
    margin-top: 60px;
    padding: 35px;

    background: #fff;
    border: 1px solid #ddd;
}

.contact-details h2 {
    margin-bottom: 20px;
}

.contact-details a {
    color: #2f7d9a;
}

.contact-cta {
    margin-top: 50px;
}

.contact-button {
    display: inline-block;

    padding: 13px 24px;

    background: #2f7d9a;
    color: #fff;

    border: 1px solid #2f7d9a;

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

.contact-button:hover {
    background: #25677f;
    border-color: #25677f;
}


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

@media (max-width: 900px) {

    nav {
        padding: 24px 30px;
    }

    main {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 3.6rem;
    }

    .about-preview {
        gap: 50px;
    }

    footer {
        padding: 40px 30px;
    }
}


@media (max-width: 700px) {

    nav {
        padding: 20px;
    }

    .nav-links {
        gap: 15px;
    }

    main {
        padding: 0 20px;
    }

    .hero {
        padding: 70px 0 50px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .service-feature {
        padding: 45px 0 70px;
    }

    .service-track {
        gap: 0;
    }

    .service-feature-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        padding: 10px;
        border-radius: 8px;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .carousel-prev {
        left: 8px;
    }

    .carousel-next {
        right: 8px;
    }

    .services {
        padding: 70px 0;
    }

    .section-heading h2,
    .about-preview h2 {
        font-size: 2.2rem;
    }

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

    .service-card {
        padding: 30px;
    }

    .about-preview {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content h1,
    .contact-content h1 {
        font-size: 2.8rem;
    }

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

    .about-page,
    .contact-page {
        padding: 70px 0;
    }

    footer {
        padding: 30px 20px;
    }
}


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

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   SERVICE DETAIL PAGES
   ========================================================= */

.service-detail {
    padding: 70px 0 100px;
}

.service-detail-image {
    width: 100%;
    margin-bottom: 70px;
}

.service-detail-image img {
    display: block;
    width: 100%;
    height: auto;
}

.service-detail-intro {
    max-width: 850px;
    margin-bottom: 90px;
}

.eyebrow {
    margin-bottom: 18px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #2f7d9a;
}

.service-detail-intro h1 {
    font-size: 4rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
}

.service-lead {
    max-width: 760px;
    font-size: 1.35rem;
    line-height: 1.6;
    color: #52606d;
}

.service-detail-section {
    max-width: 900px;
    margin-bottom: 80px;
}

.service-detail-section h2 {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.service-detail-section p {
    margin-bottom: 22px;
    color: #52606d;
    text-align: justify;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #ddd;
    border: 1px solid #ddd;
}

.detail-grid > div {
    background: #fff;
    padding: 30px;
}

.detail-grid h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.detail-grid p {
    margin-bottom: 0;
}

.service-list {
    padding-left: 22px;
    color: #52606d;
}

.service-list li {
    margin-bottom: 12px;
}

.service-detail-cta {
    max-width: 900px;
    margin-top: 100px;
    padding: 50px 0;
    border-top: 1px solid #ddd;
}

.service-detail-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.service-detail-cta p {
    color: #52606d;
    margin-bottom: 25px;
}


/* =========================================================
   SERVICE DETAIL — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .service-detail {
        padding: 45px 0 70px;
    }

    .service-detail-image {
        margin-bottom: 45px;
    }

    .service-detail-intro {
        margin-bottom: 60px;
    }

    .service-detail-intro h1 {
        font-size: 2.8rem;
    }

    .service-lead {
        font-size: 1.1rem;
    }

    .service-detail-section {
        margin-bottom: 60px;
    }

    .service-detail-section h2 {
        font-size: 2rem;
    }

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

    .service-detail-cta {
        margin-top: 70px;
        padding-top: 40px;
    }

}
