:root {
    --ink: #10131a;
    --ink-2: #07111f;
    --muted: #626976;
    --line: #e3e7ed;
    --paper: #f4f6f2;
    --white: #ffffff;
    --red: #d7192f;
    --gold: #c8a45d;
    --green: #0f8b6b;
    --navy: #252a44;
    --shadow: 0 18px 55px rgba(16, 19, 26, 0.16);
    --page: max(18px, calc((100vw - 1180px) / 2));
}

* {
    box-sizing: border-box;
    min-width: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

h1,
h2,
h3,
.nav-menu a,
.btn {
    font-family: "Barlow Condensed", "Inter", Arial, sans-serif;
    letter-spacing: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 12px 34px rgba(16, 19, 26, 0.1);
}

.topbar {
    background: var(--ink-2);
    color: var(--white);
}

.topbar-inner {
    width: min(1180px, calc(100% - 36px));
    min-height: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 13px;
    font-weight: 700;
}

.topbar a {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
}

.topbar a:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar i {
    color: var(--gold);
}

.main-nav {
    position: relative;
    width: 100%;
    min-height: 100px;
    padding: 0 var(--page);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: rgba(255, 255, 255, 0.98);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img {
    width: 164px;
    height: 78px;
    object-fit: contain;
    object-position: left center;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-menu a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--red);
}

.nav-cta {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: var(--red);
    color: var(--white);
    font-family: "Barlow Condensed", "Inter", Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
}

.nav-cta i {
    align-self: stretch;
    min-width: 48px;
    margin-left: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.nav-cta::before {
    content: "";
    width: 18px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
}

.hero {
    position: relative;
    min-height: 780px;
    overflow: hidden;
    background: var(--ink);
}

.hero-slider,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: opacity 900ms ease, visibility 900ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    transition: transform 5600ms ease;
}

.hero-slide.is-active > img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 17, 31, 0.92) 0%, rgba(7, 17, 31, 0.68) 44%, rgba(7, 17, 31, 0.2) 100%),
        linear-gradient(0deg, rgba(16, 19, 26, 0.72), rgba(16, 19, 26, 0.12));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 36px));
    min-height: 780px;
    margin: 0 auto;
    padding: 72px 0 116px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--white);
}

.hero-logo {
    width: 124px;
    padding: 10px;
    margin-bottom: 22px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.eyebrow i {
    color: var(--red);
}

.hero h1 {
    width: 100%;
    max-width: 720px;
    margin: 0;
    font-size: 82px;
    line-height: 0.94;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-text {
    width: 100%;
    max-width: 620px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    max-width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
}

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

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

.hero-service-strip {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, auto));
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(7, 17, 31, 0.62);
    backdrop-filter: blur(12px);
}

.hero-service-strip span {
    min-height: 66px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-service-strip span:last-child {
    border-right: 0;
}

.hero-service-strip strong {
    color: var(--gold);
}

.slider-controls {
    position: absolute;
    z-index: 5;
    right: var(--page);
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.slider-controls button {
    border: 0;
}

.slider-controls > button {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
}

.slider-dots {
    min-height: 46px;
    padding: 0 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
}

.slider-dots button.is-active {
    width: 30px;
    background: var(--gold);
}

.section {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 96px 0;
}

.section-head {
    max-width: 780px;
    margin-bottom: 38px;
}

.section-head span,
.methodes-copy > span,
.contact-panel > span {
    display: inline-flex;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.section-head h2,
.methodes-copy h2,
.contact-panel h3 {
    margin: 8px 0 0;
    font-size: 56px;
    line-height: 0.98;
    font-weight: 800;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.intro {
    position: relative;
}

.intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    gap: 28px;
    align-items: stretch;
}

.intro-media {
    min-height: 430px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.intro-media img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.intro-copy {
    padding: 38px;
    border-top: 6px solid var(--red);
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 16px 44px rgba(16, 19, 26, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.intro-copy p + p {
    margin-top: 18px;
}

.value-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.value-card,
.service-card,
.steps article,
.contact-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.value-card {
    min-height: 132px;
    padding: 20px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 4px 14px;
    align-items: start;
    box-shadow: 0 14px 34px rgba(16, 19, 26, 0.06);
}

.value-card i,
.steps i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff2f3;
    color: var(--red);
    font-size: 16px;
}

.value-card h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1;
    text-transform: uppercase;
}

.value-card p {
    grid-column: 2;
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.services {
    width: 100%;
    max-width: none;
    padding: 100px var(--page);
    background:
        linear-gradient(135deg, rgba(215, 25, 47, 0.12), transparent 35%),
        var(--ink-2);
    color: var(--white);
}

.services .section-head {
    width: min(780px, 100%);
}

.services .section-head h2 {
    color: var(--white);
}

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

.service-card {
    min-height: 100%;
    overflow: hidden;
    color: var(--ink);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.service-image {
    height: 214px;
    overflow: hidden;
    background: var(--line);
}

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

.service-card-body {
    position: relative;
    padding: 26px 24px 28px;
}

.service-card-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: 52px;
    height: 5px;
    background: var(--red);
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1;
    text-transform: uppercase;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.methodes {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: center;
}

.methodes-media {
    min-height: 570px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.methodes-media img {
    width: 100%;
    height: 100%;
    min-height: 570px;
    object-fit: cover;
}

.methodes-copy p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.steps article {
    padding: 22px;
}

.steps strong {
    display: block;
    margin-top: 18px;
    font-size: 22px;
    font-family: "Barlow Condensed", "Inter", Arial, sans-serif;
    line-height: 1;
    text-transform: uppercase;
}

.steps p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.contact-section {
    width: 100%;
    max-width: none;
    padding: 96px var(--page);
    background:
        linear-gradient(90deg, rgba(7, 17, 31, 0.95), rgba(7, 17, 31, 0.86)),
        url("../images/slide-construction.png") center/cover;
    color: var(--white);
}

.contact-section .section-head h2 {
    color: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
    gap: 24px;
}

.contact-panel {
    min-height: 100%;
    padding: 34px;
    border-radius: 8px;
    background: var(--red);
    box-shadow: var(--shadow);
}

.contact-panel > span {
    color: rgba(255, 255, 255, 0.82);
}

.contact-panel h3 {
    color: var(--white);
    font-size: 42px;
}

.contact-panel p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.contact-lines {
    margin-top: 26px;
    display: grid;
    gap: 12px;
}

.contact-lines a {
    min-height: 58px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-lines i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
}

.contact-lines strong {
    overflow-wrap: anywhere;
}

.contact-form {
    padding: 34px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow);
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field span {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fdfdfc;
    color: var(--ink);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field input {
    min-height: 54px;
    padding: 0 15px;
}

.form-field textarea {
    min-height: 156px;
    padding: 14px 15px;
    line-height: 1.6;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(215, 25, 47, 0.1);
}

.contact-submit {
    align-self: flex-start;
    min-width: 154px;
    border: 0;
}

.site-footer {
    background: #10131a;
    color: var(--white);
}

.footer-main {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 66px 0;
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(170px, 0.72fr));
    gap: 36px;
}

.footer-brand img {
    width: 160px;
    padding: 10px;
    border-radius: 8px;
    background: var(--white);
}

.footer-brand p,
.footer-col a {
    color: rgba(255, 255, 255, 0.74);
}

.footer-brand p {
    margin: 22px 0 0;
    max-width: 370px;
    line-height: 1.75;
}

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

.footer-col h2 {
    margin: 0 0 10px;
    font-family: "Barlow Condensed", "Inter", Arial, sans-serif;
    font-size: 26px;
    line-height: 1;
    text-transform: uppercase;
}

.footer-col a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    line-height: 1.5;
}

.footer-col a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a,
.whatsapp-float {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.social-links a:hover {
    background: var(--red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 45;
    background: #22c55e;
    box-shadow: var(--shadow);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible,
.hero-slide.is-active .reveal {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide.is-active .reveal:nth-child(2) {
    transition-delay: 80ms;
}

.hero-slide.is-active .reveal:nth-child(3) {
    transition-delay: 160ms;
}

.hero-slide.is-active .reveal:nth-child(4) {
    transition-delay: 240ms;
}

.hero-slide.is-active .reveal:nth-child(5) {
    transition-delay: 320ms;
}

.hero-slide.is-active .reveal:nth-child(6) {
    transition-delay: 400ms;
}

@media (max-width: 1040px) {
    .nav-cta {
        display: none;
    }

    .main-nav {
        min-height: 78px;
        padding: 0 16px;
    }

    .brand img {
        width: 134px;
        height: 66px;
    }

    .menu-toggle {
        position: fixed;
        right: auto;
        left: clamp(258px, calc(100vw - 62px), 330px);
        top: 56px;
        z-index: 90;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        top: 118px;
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        padding: 14px 16px 22px;
        background: var(--white);
        border-top: 1px solid var(--line);
        box-shadow: 0 30px 45px rgba(16, 19, 26, 0.16);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-16px);
        transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease;
    }

    body.menu-open .nav-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu a {
        width: 100%;
        min-height: 48px;
    }

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

    .intro-layout,
    .methodes,
    .contact-layout,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .topbar-inner {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .hero,
    .hero-content {
        min-height: 720px;
    }

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

    .steps,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .topbar-inner {
        width: calc(100% - 20px);
        font-size: 12px;
    }

    .topbar a {
        padding: 0 14px;
    }

    .hero,
    .hero-content {
        min-height: 790px;
    }

    .hero-content,
    .section,
    .footer-main {
        width: calc(100% - 28px);
    }

    .hero-content {
        padding: 48px 0 114px;
    }

    .hero-logo {
        width: 110px;
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.05;
        max-width: 330px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .hero-text {
        font-size: 16px;
        max-width: 330px;
        overflow-wrap: anywhere;
    }

    .hero-actions,
    .btn {
        width: 100%;
    }

    .hero-service-strip {
        display: none;
    }

    .slider-controls {
        left: 14px;
        right: 14px;
        bottom: 22px;
        justify-content: space-between;
    }

    .section,
    .services,
    .contact-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .section-head h2,
    .methodes-copy h2 {
        font-size: 40px;
    }

    .contact-panel h3 {
        font-size: 36px;
    }

    .intro-media,
    .intro-media img,
    .methodes-media,
    .methodes-media img {
        min-height: 330px;
    }

    .intro-copy,
    .contact-panel,
    .contact-form {
        padding: 24px;
        max-width: 100%;
        overflow: hidden;
    }

    .intro-copy p,
    .value-card p {
        max-width: 310px;
    }

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

    .service-image {
        height: 220px;
    }
}
