@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Raleway";
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url("../fonts/raleway-latin.woff2") format("woff2");
}

:root {
    --color-primary: #c8b08a;
    --color-secondary: #7a756d;
    --color-accent: #a56a3a;

    --color-text: #f2efe7;
    --color-text-light: #c9c5bc;
    --color-footer-muted: #89847c;
    --color-background: #0f1115;
    --color-surface: #171a20;
    --color-border: rgba(200, 176, 138, 0.34);

    --color-success: #8da67d;
    --color-info: #8f9faa;
    --color-warning: #c8a45e;
    --color-error: #c9786f;

    --font-primary: "Montserrat", Arial, sans-serif;
    --font-secondary: "Raleway", Arial, sans-serif;

    --container-width: 124rem;
    --border-radius: 0.3rem;
    --section-spacing: clamp(7rem, 10vw, 13rem);

    --space-xs: 0.8rem;
    --space-sm: 1.6rem;
    --space-md: 2.4rem;
    --space-lg: 4rem;
    --space-xl: 7.2rem;
}

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
fieldset,
figcaption,
figure,
font,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
hr,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
main,
mark,
menu,
nav,
object,
ol,
p,
pre,
q,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
svg,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    font-weight: 400;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
    display: block;
}

body {
    min-height: 100%;
    overflow-x: hidden;
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.65;
    color: var(--color-text);
    background:
        radial-gradient(circle at 85% 10%, rgba(165, 106, 58, 0.09), transparent 28rem),
        var(--color-background);
}

ol,
ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

button,
input,
select,
textarea {
    font: inherit;
}

img,
picture,
svg {
    max-width: 100%;
}

img {
    display: block;
    height: auto;
}

mark {
    background-color: transparent;
}

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

button,
summary,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 0.2rem solid var(--color-primary);
    outline-offset: 0.4rem;
}

::selection {
    color: var(--color-background);
    background: var(--color-primary);
}

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

.skip-link {
    position: fixed;
    z-index: 100;
    top: 1rem;
    left: 1rem;
    padding: 1rem 1.4rem;
    color: var(--color-background);
    background: var(--color-primary);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--color-border);
    background: rgba(15, 17, 21, 0.96);
}

.site-header__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 8rem;
    gap: var(--space-sm);
}

.brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 1.2rem;
}

.brand img {
    width: 5.4rem;
    height: 5.4rem;
}

.brand__text {
    display: grid;
    line-height: 1.1;
}

.brand__text strong {
    font-family: var(--font-secondary);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.brand__text small {
    margin-top: 0.5rem;
    color: var(--color-primary);
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border: 0;
    color: var(--color-text);
    background: transparent;
    cursor: pointer;
}

.nav-toggle__label {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
    display: block;
    width: 2.4rem;
    height: 1px;
    background: var(--color-primary);
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle__icon {
    position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
    position: absolute;
    left: 0;
    content: "";
}

.nav-toggle__icon::before {
    top: -0.7rem;
}

.nav-toggle__icon::after {
    top: 0.7rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
    transform: translateY(0.7rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
    transform: translateY(-0.7rem) rotate(-45deg);
}

.main-navigation {
    position: absolute;
    top: 100%;
    right: -2rem;
    left: -2rem;
    display: none;
    padding: 2rem;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: #111419;
}

.main-navigation.is-open {
    display: block;
}

.main-navigation__list > li > a,
.main-navigation summary {
    display: block;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(200, 176, 138, 0.12);
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.main-navigation a[aria-current="page"],
.main-navigation a:hover,
.main-navigation summary:hover {
    color: var(--color-primary);
}

.main-navigation summary::marker {
    color: var(--color-primary);
}

.main-navigation details ul {
    padding: 0.8rem 0 0.8rem 1.6rem;
    border-left: 1px solid var(--color-border);
}

.main-navigation details li + li {
    margin-top: 0.8rem;
}

.header-phone {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.8rem;
    padding: 1.2rem 2rem;
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.btn:hover {
    transform: translateY(-0.2rem);
}

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

.btn-primary:hover {
    background: #dbc49d;
}

.btn-secondary {
    color: var(--color-primary);
    background: transparent;
}

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

.btn[aria-disabled="true"],
.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    color: var(--color-primary);
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 3.2rem;
    height: 1px;
    background: var(--color-accent);
    content: "";
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-secondary);
    line-height: 1.08;
    text-wrap: balance;
}

h1,
h2,
h3,
strong {
    font-weight: 700;
}

h1 {
    font-size: clamp(4rem, 10vw, 7.6rem);
    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(3rem, 7vw, 5rem);
    letter-spacing: -0.025em;
}

h3 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.lead {
    color: var(--color-text-light);
    font-size: clamp(1.7rem, 2vw, 2rem);
    line-height: 1.7;
}

.section {
    padding-block: var(--section-spacing);
}

.section--surface {
    border-block: 1px solid rgba(200, 176, 138, 0.13);
    background: var(--color-surface);
}

.section-heading {
    max-width: 78rem;
    margin-bottom: clamp(4rem, 6vw, 6.4rem);
}

.section-heading p:not(.eyebrow) {
    max-width: 68rem;
    margin-top: 2rem;
    color: var(--color-text-light);
}

.hero {
    position: relative;
    min-height: calc(100dvh - 8rem);
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.hero__grid {
    display: grid;
    min-height: calc(100dvh - 8rem);
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 7rem 5rem;
}

.hero h1 {
    max-width: 79rem;
}

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

.hero .lead {
    max-width: 67rem;
    margin-top: 2.6rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 3.6rem;
}

.hero__visual {
    position: relative;
    min-height: 38rem;
    overflow: hidden;
}

.hero__visual::before,
.hero__visual::after {
    position: absolute;
    z-index: 1;
    content: "";
    pointer-events: none;
}

.hero__visual::before {
    inset: 0;
    background: linear-gradient(180deg, var(--color-background), transparent 36%, rgba(15, 17, 21, 0.35) 70%, var(--color-background));
}

.hero__visual::after {
    right: -18rem;
    bottom: -14rem;
    width: 40rem;
    height: 40rem;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    box-shadow: 0 0 0 4rem rgba(200, 176, 138, 0.035), 0 0 0 8rem rgba(200, 176, 138, 0.025);
}

.hero__visual picture,
.hero__visual img {
    width: 100%;
    height: 100%;
}

.hero__visual img {
    object-fit: cover;
}

.trust-bar {
    position: relative;
    z-index: 3;
    border-bottom: 1px solid var(--color-border);
    background: #111419;
}

.trust-bar__list {
    display: grid;
}

.trust-bar li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid rgba(200, 176, 138, 0.12);
}

.trust-bar li:last-child {
    border-bottom: 0;
}

.trust-bar__mark,
.feature-list__mark {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.trust-bar strong {
    display: block;
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.trust-bar small {
    display: block;
    margin-top: 0.2rem;
    color: var(--color-text-light);
    font-size: 1.2rem;
}

.card-grid {
    display: grid;
    gap: 1.6rem;
}

.service-card,
.value-card,
.process-card,
.review-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background: #13161b;
}

.service-card {
    --service-image: none;
    display: flex;
    min-height: 34rem;
    flex-direction: column;
    padding: 3rem;
    isolation: isolate;
    border: 0;
    border-radius: 0;
    background: rgba(165, 106, 58, 0.82);
    clip-path: polygon(7% 0, 93% 0, 100% 10%, 100% 100%, 0 100%, 0 10%);
    transition: filter 220ms ease, transform 220ms ease;
}

.service-card:hover {
    filter: brightness(1.08);
    transform: translateY(-0.5rem);
}

.service-card::before {
    position: absolute;
    inset: 1px;
    z-index: -1;
    background-image:
        linear-gradient(90deg, rgba(9, 11, 14, 0.98) 0%, rgba(9, 11, 14, 0.9) 48%, rgba(9, 11, 14, 0.2) 100%),
        linear-gradient(0deg, rgba(9, 11, 14, 0.9) 0%, transparent 68%),
        var(--service-image);
    background-position: center;
    background-size: cover;
    clip-path: inherit;
    content: "";
}

.service-card::after {
    position: absolute;
    right: -7rem;
    bottom: -8rem;
    width: 18rem;
    height: 18rem;
    border: 1px solid rgba(200, 176, 138, 0.3);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card--chauffage {
    --service-image: url("../img/photos/expertise-chauffage.webp");
}

.service-card--ventilation {
    --service-image: url("../img/photos/expertise-ventilation.webp");
}

.service-card--climatisation {
    --service-image: url("../img/photos/expertise-climatisation.webp");
}

.service-card__label {
    color: var(--color-primary);
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.service-card h3 {
    margin-top: auto;
    padding-top: 5rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 4vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.service-card p {
    max-width: 76%;
    margin-top: 1.4rem;
    color: #ded8ce;
    font-size: 1.4rem;
    line-height: 1.65;
    text-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.85);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.4rem;
    color: var(--color-primary);
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-card__link::after {
    width: 3rem;
    height: 1px;
    background: currentColor;
    content: "";
    transition: width 180ms ease;
}

.service-card:hover .service-card__link::after {
    width: 4.5rem;
}

.expertise-showcase {
    position: relative;
    overflow: hidden;
    border-block: 1px solid rgba(200, 176, 138, 0.12);
    background:
        radial-gradient(circle at 82% 12%, rgba(165, 106, 58, 0.08), transparent 30rem),
        linear-gradient(135deg, #0c0f12 0%, #101318 58%, #0b0d10 100%);
}

.expertise-showcase::before,
.expertise-showcase::after {
    position: absolute;
    border: 1px solid rgba(165, 106, 58, 0.15);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.expertise-showcase::before {
    top: -21rem;
    right: -14rem;
    width: 48rem;
    height: 48rem;
    box-shadow:
        0 0 0 5rem rgba(165, 106, 58, 0.025),
        0 0 0 10rem rgba(165, 106, 58, 0.018);
}

.expertise-showcase::after {
    bottom: -15rem;
    left: -16rem;
    width: 32rem;
    height: 32rem;
}

.expertise-showcase__container {
    position: relative;
    z-index: 1;
}

.expertise-showcase__heading {
    margin-bottom: clamp(4.8rem, 7vw, 7.5rem);
}

.expertise-showcase__heading h2 {
    max-width: 92rem;
    margin-left: 4.4rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4rem, 7vw, 6.8rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.expertise-showcase__heading h2 em {
    display: block;
    margin-top: 0.8rem;
    color: #b97846;
    font-family: inherit;
    font-weight: 400;
    font-style: italic;
}

.expertise-showcase__heading > div > p:not(.eyebrow) {
    max-width: 66rem;
    margin: 2.4rem 0 0 4.4rem;
    color: var(--color-text-light);
    font-size: 1.7rem;
}

.expertise-showcase__grid {
    display: grid;
    gap: 1.4rem;
}

.expertise-card {
    --expertise-image: none;
    position: relative;
    min-height: 34rem;
    padding: 1px;
    overflow: hidden;
    isolation: isolate;
    background: rgba(165, 106, 58, 0.8);
    clip-path: polygon(7% 0, 93% 0, 100% 10%, 100% 100%, 0 100%, 0 10%);
    transition: transform 220ms ease, filter 220ms ease;
}

.expertise-card:hover {
    z-index: 2;
    filter: brightness(1.08);
    transform: translateY(-0.5rem);
}

.expertise-card__inner {
    position: relative;
    display: flex;
    min-height: 34rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(9, 11, 14, 0.98) 0%, rgba(9, 11, 14, 0.92) 42%, rgba(9, 11, 14, 0.25) 78%, rgba(9, 11, 14, 0.05) 100%),
        linear-gradient(0deg, rgba(9, 11, 14, 0.88) 0%, transparent 58%),
        var(--expertise-image);
    background-position: center;
    background-size: cover;
    clip-path: inherit;
}

.expertise-card__inner::after {
    position: absolute;
    right: -8rem;
    bottom: -9rem;
    width: 19rem;
    height: 19rem;
    border: 1px solid rgba(200, 176, 138, 0.34);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.expertise-card--chauffage {
    --expertise-image: url("../img/photos/expertise-chauffage.webp");
}

.expertise-card--sanitaire {
    --expertise-image: url("../img/photos/expertise-sanitaire.webp");
}

.expertise-card--ventilation {
    --expertise-image: url("../img/photos/expertise-ventilation.webp");
}

.expertise-card--climatisation {
    --expertise-image: url("../img/photos/expertise-climatisation.webp");
}

.expertise-card--parachevement {
    --expertise-image: url("../img/photos/expertise-parachevement.webp");
}

.expertise-card__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 5.4rem;
    height: 5.4rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(200, 176, 138, 0.78);
    border-radius: 50%;
    color: var(--color-primary);
}

.expertise-card__glyph,
.expertise-card__glyph::before,
.expertise-card__glyph::after {
    position: absolute;
    display: block;
    content: "";
}

.expertise-card--chauffage .expertise-card__glyph {
    width: 0.2rem;
    height: 2.3rem;
    border-radius: 1rem;
    background: currentColor;
    box-shadow: -0.72rem 0 0 currentColor, 0.72rem 0 0 currentColor;
}

.expertise-card--chauffage .expertise-card__glyph::after {
    bottom: -0.35rem;
    left: -1.15rem;
    width: 2.3rem;
    height: 0.2rem;
    background: currentColor;
}

.expertise-card--sanitaire .expertise-card__glyph {
    width: 2.5rem;
    height: 1.3rem;
    border-top: 0.2rem solid currentColor;
    border-right: 0.2rem solid currentColor;
}

.expertise-card--sanitaire .expertise-card__glyph::before {
    top: -0.7rem;
    left: 0.4rem;
    width: 1.1rem;
    height: 0.55rem;
    border: 0.2rem solid currentColor;
    border-bottom: 0;
}

.expertise-card--sanitaire .expertise-card__glyph::after {
    right: -0.35rem;
    bottom: -0.9rem;
    width: 0.7rem;
    height: 0.9rem;
    border: 0.2rem solid currentColor;
    border-radius: 50% 50% 55% 55%;
    transform: rotate(45deg);
}

.expertise-card--ventilation .expertise-card__glyph {
    width: 2.6rem;
    height: 2.6rem;
    border: 0.2rem solid currentColor;
    border-radius: 50%;
    background:
        conic-gradient(from 15deg, transparent 0 12%, currentColor 13% 22%, transparent 23% 37%, currentColor 38% 47%, transparent 48% 62%, currentColor 63% 72%, transparent 73% 87%, currentColor 88% 97%, transparent 98%);
}

.expertise-card--ventilation .expertise-card__glyph::after {
    top: 50%;
    left: 50%;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--color-background);
    transform: translate(-50%, -50%);
}

.expertise-card--climatisation .expertise-card__glyph {
    width: 2.7rem;
    height: 2.7rem;
    background:
        linear-gradient(currentColor, currentColor) center / 0.18rem 100% no-repeat,
        linear-gradient(currentColor, currentColor) center / 100% 0.18rem no-repeat,
        linear-gradient(45deg, transparent 47%, currentColor 48% 52%, transparent 53%),
        linear-gradient(-45deg, transparent 47%, currentColor 48% 52%, transparent 53%);
}

.expertise-card--parachevement .expertise-card__glyph {
    width: 2.5rem;
    height: 1.6rem;
    background: currentColor;
    clip-path: polygon(0 50%, 70% 0, 100% 30%, 34% 100%);
    transform: rotate(-12deg);
}

.expertise-card--parachevement .expertise-card__glyph::after {
    top: 0.85rem;
    right: -0.85rem;
    width: 1.4rem;
    height: 0.35rem;
    border: 1px solid currentColor;
    border-radius: 0.4rem;
}

.expertise-card h3 {
    max-width: 62%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 4vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.expertise-card__divider {
    width: 2.2rem;
    height: 1px;
    margin-block: 1.4rem;
    background: var(--color-accent);
}

.expertise-card p {
    max-width: 62%;
    color: #ded8ce;
    font-size: 1.4rem;
    line-height: 1.65;
    text-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.8);
}

.expertise-card__link {
    display: inline-flex;
    align-items: center;
    gap: 1.4rem;
    margin-top: auto;
    padding-top: 2rem;
    color: var(--color-primary);
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.expertise-card__link span {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 180ms ease;
}

.expertise-card:hover .expertise-card__link span {
    transform: translateX(0.5rem);
}

.split-layout {
    display: grid;
    gap: 4.8rem;
    align-items: center;
}

.split-layout__media {
    position: relative;
    min-height: 42rem;
    border: 1px solid var(--color-border);
}

.split-layout__media::after {
    position: absolute;
    inset: 1.2rem -1.2rem -1.2rem 1.2rem;
    z-index: -1;
    border: 1px solid rgba(165, 106, 58, 0.42);
    content: "";
}

.split-layout__media picture,
.split-layout__media img {
    width: 100%;
    height: 100%;
}

.split-layout__media img {
    min-height: 42rem;
    object-fit: cover;
    filter: saturate(0.75) contrast(1.04);
}

.split-layout__content h2 {
    margin-bottom: 2.4rem;
}

.split-layout__content > p:not(.eyebrow) {
    color: var(--color-text-light);
}

.split-layout__content > p + p {
    margin-top: 1.6rem;
}

.feature-list {
    display: grid;
    gap: 1.6rem;
    margin-top: 3rem;
}

.feature-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 1.4rem;
}

.feature-list strong {
    display: block;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
}

.feature-list p {
    margin-top: 0.3rem;
    color: var(--color-text-light);
    font-size: 1.4rem;
}

.process-grid,
.values-grid,
.reviews-grid {
    display: grid;
    gap: 1.6rem;
}

.review-card {
    padding: 2.8rem;
}

.journey-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 86%, rgba(165, 106, 58, 0.08), transparent 27rem),
        var(--color-background);
}

.process-card {
    --process-image: none;
    position: relative;
    display: block;
    min-height: 34rem;
    padding: 1px;
    overflow: hidden;
    isolation: isolate;
    border: 0;
    border-radius: 0;
    background: rgba(165, 106, 58, 0.82);
    clip-path: polygon(7% 0, 93% 0, 100% 10%, 100% 100%, 0 100%, 0 10%);
    transition: filter 220ms ease, transform 220ms ease;
}

.process-card:hover {
    z-index: 2;
    filter: brightness(1.08);
    transform: translateY(-0.5rem);
}

.process-card__inner {
    position: relative;
    display: flex;
    min-height: 34rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(9, 11, 14, 0.98) 0%, rgba(9, 11, 14, 0.9) 48%, rgba(9, 11, 14, 0.2) 100%),
        linear-gradient(0deg, rgba(9, 11, 14, 0.92) 0%, transparent 68%),
        var(--process-image);
    background-position: center;
    background-size: cover;
    clip-path: inherit;
}

.process-card__inner::after {
    position: absolute;
    right: -8rem;
    bottom: -9rem;
    width: 19rem;
    height: 19rem;
    border: 1px solid rgba(200, 176, 138, 0.32);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.process-card--installation {
    --process-image: url("../img/photos/process-installation.webp");
}

.process-card--entretien {
    --process-image: url("../img/photos/process-entretien.webp");
}

.process-card--depannage {
    --process-image: url("../img/photos/process-depannage.webp");
}

.process-card__icon,
.value-card__icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 5.2rem;
    height: 5.2rem;
    flex: 0 0 auto;
    border: 1px solid rgba(200, 176, 138, 0.75);
    border-radius: 50%;
    color: var(--color-primary);
}

.process-card__icon {
    margin-bottom: 2rem;
}

.process-card__glyph {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.7rem;
    line-height: 1;
}

.process-card__line {
    width: 2.4rem;
    height: 1px;
    margin-block: 1.4rem;
    background: var(--color-accent);
}

.process-card h3 {
    max-width: 70%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 4vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.process-card p {
    max-width: 72%;
    color: #ded8ce;
    font-size: 1.4rem;
    line-height: 1.65;
    text-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.85);
}

.process-card__link {
    display: inline-flex;
    align-items: center;
    gap: 1.4rem;
    margin-top: auto;
    padding-top: 2rem;
    color: var(--color-primary);
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.process-card__link span {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 180ms ease;
}

.process-card:hover .process-card__link span {
    transform: translateX(0.5rem);
}

.values-showcase {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 12%, rgba(165, 106, 58, 0.1), transparent 30rem),
        linear-gradient(135deg, #12151a 0%, #15181d 52%, #101318 100%);
}

.values-showcase::after {
    position: absolute;
    top: -19rem;
    right: -17rem;
    width: 41rem;
    height: 41rem;
    border: 1px solid rgba(165, 106, 58, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(165, 106, 58, 0.025), 0 0 0 10rem rgba(165, 106, 58, 0.018);
    content: "";
    pointer-events: none;
}

.values-showcase .container {
    position: relative;
    z-index: 1;
}

.value-card {
    position: relative;
    display: grid;
    min-height: 22rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: start;
    gap: 2rem;
    padding: 3rem;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 0;
    background:
        linear-gradient(145deg, rgba(21, 24, 29, 0.98), rgba(15, 18, 22, 0.98)) padding-box,
        linear-gradient(135deg, rgba(165, 106, 58, 0.9), rgba(200, 176, 138, 0.2)) border-box;
    clip-path: polygon(2rem 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%, 0 2rem);
    transition: transform 220ms ease;
}

.value-card::after {
    position: absolute;
    right: -5.5rem;
    bottom: -6rem;
    width: 14rem;
    height: 14rem;
    border: 1px solid rgba(200, 176, 138, 0.18);
    border-radius: 50%;
    content: "";
}

.value-card:hover {
    transform: translateY(-0.4rem);
}

.value-card__icon {
    width: 4.8rem;
    height: 4.8rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
}

.value-card h3 {
    margin-bottom: 1.2rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.8rem;
    font-weight: 400;
}

.value-card p,
.review-card blockquote {
    color: var(--color-text-light);
}

.value-card p {
    font-size: 1.4rem;
    line-height: 1.65;
}

.review-card footer {
    margin-top: 2rem;
    color: var(--color-primary);
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cta-band {
    position: relative;
    overflow: hidden;
    padding-block: clamp(6rem, 9vw, 10rem);
    border-block: 1px solid var(--color-primary);
    background: #15171b;
}

.cta-band::after {
    position: absolute;
    top: -8rem;
    right: -10rem;
    width: 32rem;
    height: 32rem;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    box-shadow: 0 0 0 4rem rgba(200, 176, 138, 0.035), 0 0 0 8rem rgba(200, 176, 138, 0.02);
    content: "";
}

.cta-band__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3rem;
}

.cta-band h2 {
    max-width: 84rem;
}

.cta-band p {
    max-width: 65rem;
    margin-top: 1.6rem;
    color: var(--color-text-light);
}

.breadcrumb {
    border-bottom: 1px solid rgba(200, 176, 138, 0.12);
    background: #111419;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding-block: 1.4rem;
    color: var(--color-text-light);
    font-size: 1.2rem;
}

.breadcrumb li:not(:last-child)::after {
    margin-left: 0.8rem;
    color: var(--color-primary);
    content: "/";
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.page-hero {
    --page-hero-image: none;
    --page-hero-position: right center;
    position: relative;
    display: flex;
    min-height: clamp(48rem, 68vh, 68rem);
    align-items: center;
    overflow: hidden;
    padding-block: clamp(7rem, 10vw, 11rem);
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-background);
    background-image:
        linear-gradient(90deg, #0f1115 0%, #0f1115 24%, rgba(15, 17, 21, 0.97) 38%, rgba(15, 17, 21, 0.82) 54%, rgba(15, 17, 21, 0.3) 78%, rgba(15, 17, 21, 0.18) 100%),
        linear-gradient(0deg, rgba(15, 17, 21, 0.78) 0%, transparent 38%, rgba(15, 17, 21, 0.12) 72%, rgba(15, 17, 21, 0.55) 100%),
        var(--page-hero-image);
    background-position: center, center, var(--page-hero-position);
    background-repeat: no-repeat;
    background-size: cover, cover, auto 100%;
}

.page-hero::after {
    position: absolute;
    top: 50%;
    right: -16rem;
    width: 40rem;
    height: 40rem;
    border: 1px solid rgba(200, 176, 138, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(200, 176, 138, 0.025);
    content: "";
    transform: translateY(-50%);
}

.page-hero__content {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 4rem), var(--container-width));
    max-width: none;
}

.page-hero h1 {
    max-width: 76rem;
    text-shadow: 0 0.4rem 2.4rem rgba(0, 0, 0, 0.5);
}

.page-hero .lead {
    max-width: 66rem;
    margin-top: 2.4rem;
    text-shadow: 0 0.2rem 1.6rem rgba(0, 0, 0, 0.72);
}

.page-expertises .page-hero {
    --page-hero-image: url("../img/photos/process-installation.webp");
}

.page-chauffage .page-hero {
    --page-hero-image: url("../img/photos/expertise-chauffage.webp");
}

.page-sanitaire .page-hero {
    --page-hero-image: url("../img/photos/expertise-sanitaire.webp");
}

.page-ventilation .page-hero {
    --page-hero-image: url("../img/photos/expertise-ventilation.webp");
}

.page-climatisation .page-hero {
    --page-hero-image: url("../img/photos/expertise-climatisation.webp");
}

.page-parachevement .page-hero {
    --page-hero-image: url("../img/photos/expertise-parachevement.webp");
}

.page-installation .page-hero {
    --page-hero-image: url("../img/photos/process-installation.webp");
}

.page-entretien .page-hero {
    --page-hero-image: url("../img/photos/process-entretien.webp");
}

.page-depannage .page-hero {
    --page-hero-image: url("../img/photos/process-depannage.webp");
    --page-hero-position: center center;
}

.page-a-propos .page-hero,
.page-contact .page-hero,
.page-politique .page-hero,
.page-mentions-legales .page-hero {
    --page-hero-image: url("../img/photos/conseil-projet.webp");
    --page-hero-position: right center;
}

.prose {
    max-width: 82rem;
}

.prose h2,
.prose h3 {
    margin-top: 5rem;
    margin-bottom: 2rem;
}

.prose p,
.prose li {
    color: var(--color-text-light);
}

.prose p + p,
.prose ul + p,
.prose p + ul {
    margin-top: 1.8rem;
}

.prose ul {
    display: grid;
    gap: 1rem;
}

.prose li {
    position: relative;
    padding-left: 2.4rem;
}

.prose li::before {
    position: absolute;
    top: 0.75em;
    left: 0;
    width: 0.8rem;
    height: 0.8rem;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    content: "";
    transform: translateY(-50%);
}

.content-layout {
    display: grid;
    gap: 5rem;
}

.content-aside {
    align-self: start;
    padding: 2.8rem;
    border: 1px solid var(--color-border);
    background: #13161b;
}

.content-aside h2 {
    margin-bottom: 1.6rem;
    font-size: 2.6rem;
}

.content-aside p {
    color: var(--color-text-light);
}

.content-aside .btn {
    width: 100%;
    margin-top: 2.4rem;
}

.media-grid {
    display: grid;
    gap: 1.6rem;
}

.media-grid figure {
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.media-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.team-grid {
    display: grid;
    gap: 1.6rem;
}

.team-card {
    padding: 3rem;
    border-top: 1px solid var(--color-primary);
    background: var(--color-surface);
}

.team-card h3 {
    margin-bottom: 1.4rem;
}

.team-card p {
    color: var(--color-text-light);
}

.form {
    display: grid;
    gap: 2rem;
}

.form-grid {
    display: grid;
    gap: 2rem;
}

.form-group {
    display: grid;
    gap: 0.8rem;
}

.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-label {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    min-height: 5rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid var(--color-border);
    border-radius: 0;
    color: var(--color-text);
    background: #111419;
}

textarea.form-input {
    min-height: 16rem;
    resize: vertical;
}

.form-input:focus {
    border-color: var(--color-primary);
}

.form-input[aria-invalid="true"] {
    border-color: #d98578;
}

.form-error {
    color: #f0a79d;
    font-size: 1.3rem;
}

.form-help {
    color: var(--color-text-light);
    font-size: 1.3rem;
}

.form-privacy {
    color: var(--color-text-light);
    font-size: 1.3rem;
    line-height: 1.65;
}

.form-privacy a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.form-privacy a:hover {
    color: var(--color-text);
}

.message-info {
    padding: 1.6rem;
    border-left: 0.3rem solid var(--color-info);
    color: var(--color-text-light);
    background: rgba(143, 159, 170, 0.08);
}

.message-info--success {
    border-left-color: #78b58a;
    color: #d9f0df;
    background: rgba(120, 181, 138, 0.1);
}

.message-info--error {
    border-left-color: #d98578;
    color: #f6d5d0;
    background: rgba(217, 133, 120, 0.1);
}

.form-confirmation {
    min-height: 38rem;
    display: grid;
    place-content: center;
    justify-items: start;
    gap: 1.8rem;
    padding: clamp(2rem, 5vw, 5rem);
}

.form-confirmation__mark {
    display: grid;
    width: 5.6rem;
    height: 5.6rem;
    place-items: center;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 2.6rem;
}

.form-confirmation h2 {
    max-width: 16ch;
    margin: 0;
}

.form-confirmation p {
    max-width: 52ch;
    color: var(--color-text-light);
    font-size: 1.7rem;
}

.contact-grid {
    display: grid;
    gap: 4rem;
}

.contact-panel {
    padding: clamp(2.8rem, 5vw, 5rem);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
}

.contact-panel h2 {
    margin-bottom: 2rem;
}

.contact-direct {
    display: grid;
    gap: 1.6rem;
    margin-top: 3rem;
}

.contact-direct a,
.contact-direct address,
.contact-direct__legal {
    display: block;
    padding: 1.8rem;
    border: 1px solid rgba(165, 106, 58, 0.72);
    background: rgba(9, 11, 14, 0.5);
    clip-path: polygon(1.2rem 0, 100% 0, 100% calc(100% - 1.2rem), calc(100% - 1.2rem) 100%, 0 100%, 0 1.2rem);
}

.contact-direct a {
    color: var(--color-primary);
    font-family: var(--font-secondary);
    font-weight: 700;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.contact-direct address {
    color: var(--color-text-light);
    font-style: normal;
    line-height: 1.7;
}

.contact-direct__legal {
    color: var(--color-primary);
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.7;
}

.contact-direct small {
    color: var(--color-secondary);
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-direct a:hover {
    border-color: var(--color-primary);
    background: rgba(165, 106, 58, 0.1);
}

.site-footer {
    padding-top: 7rem;
    border-top: 1px solid var(--color-border);
    background: #0b0d10;
}

.site-footer__grid {
    display: grid;
    gap: 4rem;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.site-footer__brand img {
    width: 7rem;
    height: 7rem;
}

.site-footer__brand strong {
    font-family: var(--font-secondary);
    font-size: 2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__brand p,
.site-footer__contact p {
    margin-top: 0.6rem;
    color: var(--color-text-light);
}

.site-footer__contact address {
    display: grid;
    gap: 0.7rem;
    color: var(--color-text-light);
    font-style: normal;
}

.site-footer__contact address p {
    margin: 0;
    line-height: 1.65;
}

.site-footer__contact address a {
    color: var(--color-primary);
    overflow-wrap: anywhere;
}

.site-footer__contact address a:hover {
    color: var(--color-text);
}

.site-footer__contact .site-footer__vat {
    margin-top: 1.4rem;
    color: var(--color-footer-muted);
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-details {
    max-width: 58rem;
    padding: 2.8rem;
    border: 1px solid rgba(165, 106, 58, 0.72);
    color: var(--color-text-light);
    font-style: normal;
    line-height: 1.8;
    background: linear-gradient(145deg, rgba(21, 24, 29, 0.98), rgba(15, 18, 22, 0.98));
    clip-path: polygon(1.6rem 0, 100% 0, 100% calc(100% - 1.6rem), calc(100% - 1.6rem) 100%, 0 100%, 0 1.6rem);
}

.legal-details a {
    color: var(--color-primary);
}

.legal-content__updated {
    display: inline-block;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(165, 106, 58, 0.72);
    color: var(--color-secondary);
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-content a:not(.btn) {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.legal-content a:not(.btn):hover {
    color: var(--color-text);
}

.site-footer__bottom a:hover {
    color: var(--color-primary);
}

.site-footer__title {
    margin-bottom: 1.6rem;
    color: var(--color-primary);
    font-size: 1.3rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__links {
    display: grid;
    gap: 0.8rem;
    color: var(--color-text-light);
}

.site-footer__links a:hover {
    color: var(--color-primary);
}

.site-footer__contact .btn {
    margin-top: 2rem;
}

.site-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 5rem;
    padding-block: 2rem;
    border-top: 1px solid rgba(200, 176, 138, 0.14);
    color: var(--color-footer-muted);
    font-size: 1.2rem;
}

@supports (content-visibility: auto) {
    main > section:not(:first-child),
    main > aside {
        content-visibility: auto;
        contain-intrinsic-size: auto 80rem;
    }
}

.error-page {
    display: grid;
    place-items: center;
    min-height: 65dvh;
    padding-block: var(--section-spacing);
    text-align: center;
}

.error-page__code {
    color: var(--color-primary);
    font-family: var(--font-secondary);
    font-size: clamp(8rem, 25vw, 20rem);
    font-weight: 700;
    line-height: 0.8;
    opacity: 0.16;
}

.error-page h1 {
    margin-top: -2rem;
}

.error-page p {
    max-width: 62rem;
    margin: 2rem auto 0;
    color: var(--color-text-light);
}

.error-page .btn {
    margin-top: 3rem;
}

.step-card,
.review-card,
.team-card,
.content-aside,
.contact-panel {
    --panel-surface: linear-gradient(145deg, rgba(21, 24, 29, 0.99), rgba(15, 18, 22, 0.99));
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 0;
    border-radius: 0;
    background: rgba(165, 106, 58, 0.82);
    clip-path: polygon(2rem 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%, 0 2rem);
}

.step-card::before,
.review-card::before,
.team-card::before,
.content-aside::before,
.contact-panel::before {
    position: absolute;
    inset: 1px;
    z-index: -1;
    background: var(--panel-surface);
    clip-path: inherit;
    content: "";
}

.step-card > *,
.review-card > *,
.team-card > *,
.content-aside > *,
.contact-panel > * {
    position: relative;
    z-index: 1;
}

.step-card {
    display: grid;
    min-height: 22rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: start;
    gap: 2rem;
    padding: 3rem;
}

.step-card::after,
.team-card::after,
.content-aside::after,
.contact-panel::after {
    position: absolute;
    right: -5.5rem;
    bottom: -6rem;
    width: 14rem;
    height: 14rem;
    border: 1px solid rgba(200, 176, 138, 0.18);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.step-card__icon,
.team-card__mark {
    display: grid;
    place-items: center;
    width: 4.8rem;
    height: 4.8rem;
    flex: 0 0 auto;
    border: 1px solid rgba(200, 176, 138, 0.75);
    border-radius: 50%;
    color: var(--color-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
}

.step-card h3,
.team-card h3 {
    margin-bottom: 1.2rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.8rem;
    font-weight: 400;
}

.step-card__line {
    display: block;
    width: 2.4rem;
    height: 1px;
    margin-bottom: 1.4rem;
    background: var(--color-accent);
}

.step-card p,
.team-card p {
    color: var(--color-text-light);
    font-size: 1.4rem;
    line-height: 1.65;
}

.review-card {
    min-height: 22rem;
    padding: 3.2rem;
}

.review-card::after {
    position: absolute;
    top: -2.2rem;
    right: 2rem;
    color: rgba(200, 176, 138, 0.09);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13rem;
    line-height: 1;
    content: "“";
    pointer-events: none;
}

.review-card blockquote {
    position: relative;
    z-index: 1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    line-height: 1.6;
}

.review-card footer {
    position: relative;
    z-index: 1;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(200, 176, 138, 0.18);
}

.team-card {
    display: grid;
    min-height: 24rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: start;
    gap: 2rem;
    padding: 3rem;
}

.content-aside,
.contact-panel {
    padding: clamp(3rem, 5vw, 4.5rem);
}

.content-aside h2,
.contact-panel h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    font-weight: 400;
}

@media (min-width: 576px) {
    .trust-bar__list,
    .card-grid,
    .process-grid,
    .values-grid,
    .reviews-grid,
    .team-grid,
    .media-grid,
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-bar li:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .trust-bar li:nth-child(odd) {
        padding-right: 2rem;
        border-right: 1px solid rgba(200, 176, 138, 0.12);
    }

    .trust-bar li:nth-child(even) {
        padding-left: 2rem;
    }

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

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

    .expertise-card:last-child {
        grid-column: 1 / -1;
    }

    .process-card:last-child {
        grid-column: 1 / -1;
    }

    .step-card:last-child,
    .review-card:last-child,
    .team-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) {
    .container {
        width: min(calc(100% - 6rem), var(--container-width));
    }

    .hero__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(34rem, 0.9fr);
        align-items: stretch;
    }

    .hero__content {
        padding-right: 5rem;
    }

    .hero__visual {
        min-height: auto;
    }

    .hero__visual::before {
        background: linear-gradient(90deg, var(--color-background), transparent 38%), linear-gradient(180deg, transparent 65%, var(--color-background));
    }

    .process-grid,
    .values-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .process-card:last-child {
        grid-column: auto;
    }

    .step-card:last-child,
    .team-card:last-child {
        grid-column: auto;
    }

    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cta-band__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

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

    .site-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }

}

@media (min-width: 920px) {
    .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .split-layout,
    .content-layout,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr) minmax(34rem, 0.78fr);
        gap: clamp(6rem, 8vw, 10rem);
    }

    .split-layout--reverse .split-layout__media {
        order: 2;
    }

    .content-aside {
        position: sticky;
        top: 2rem;
    }

    .reviews-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .review-card:last-child {
        grid-column: auto;
    }

    .site-footer__grid {
        grid-template-columns: 1.25fr 0.7fr 0.7fr 1fr;
    }
}

@media (min-width: 1024px) {
    .site-header__inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        min-height: 9rem;
    }

    .nav-toggle {
        display: none;
    }

    .main-navigation {
        position: static;
        display: block;
        justify-self: center;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .main-navigation__list {
        display: flex;
        align-items: center;
        gap: clamp(1.2rem, 2vw, 2.8rem);
    }

    .main-navigation__list > li > a,
    .main-navigation summary {
        position: relative;
        padding: 3.6rem 0;
        border: 0;
        font-size: 1.05rem;
    }

    .main-navigation__list > li > a::after,
    .main-navigation summary::after {
        position: absolute;
        right: 0;
        bottom: 2.6rem;
        left: 0;
        height: 1px;
        background: var(--color-primary);
        content: "";
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 180ms ease;
    }

    .main-navigation__list > li > a:hover::after,
    .main-navigation__list > li > a[aria-current="page"]::after,
    .main-navigation summary:hover::after {
        transform: scaleX(1);
    }

    .main-navigation__services {
        position: relative;
    }

    .main-navigation details ul {
        position: absolute;
        top: calc(100% - 1.5rem);
        left: 50%;
        z-index: 3;
        min-width: 20rem;
        padding: 1.4rem;
        border: 1px solid var(--color-border);
        background: #111419;
        transform: translateX(-50%);
    }

    .main-navigation details li a {
        display: block;
        padding: 0.7rem 0.8rem;
        font-size: 1.3rem;
    }

    .header-phone {
        display: grid;
        padding-left: 2rem;
        border-left: 1px solid var(--color-border);
        line-height: 1.2;
    }

    .header-phone span {
        color: var(--color-text-light);
        font-size: 0.95rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .header-phone strong {
        margin-top: 0.5rem;
        color: var(--color-primary);
        font-family: var(--font-secondary);
        font-size: 1.35rem;
    }

    .expertise-showcase__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .expertise-card {
        grid-column: span 4;
    }

    .expertise-card:nth-child(4),
    .expertise-card:nth-child(5) {
        grid-column: span 6;
        min-height: 29rem;
        clip-path: polygon(3.5% 0, 96.5% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
    }

    .expertise-card:nth-child(4) .expertise-card__inner,
    .expertise-card:nth-child(5) .expertise-card__inner {
        min-height: 29rem;
    }

    .expertise-card:nth-child(4) h3,
    .expertise-card:nth-child(4) p,
    .expertise-card:nth-child(5) h3,
    .expertise-card:nth-child(5) p {
        max-width: 48%;
    }

    .expertise-card:last-child {
        grid-column: span 6;
    }
}

@media (min-width: 1280px) {
    .brand img {
        width: 6rem;
        height: 6rem;
    }

    .hero {
        min-height: calc(100dvh - 9rem);
    }

    .hero__grid {
        min-height: calc(100dvh - 9rem);
    }

    .expertise-showcase__heading h2 {
        font-size: 7.2rem;
    }

    .expertise-card__inner {
        padding: 3.4rem;
    }
}

@media (min-width: 1600px) {
    :root {
        --container-width: 136rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        scroll-behavior: auto;
        transition-duration: 0.01ms;
    }
}
