/*
Theme Name: HydroMertens
Theme URI: https://hydro-mertens.be
Author: Hydro Mertens
Author URI: https://hydro-mertens.be
Description: Theme WordPress sur mesure pour Hydro Mertens, construit section par section en PHP.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: hydromertens
*/

:root {
    --hm-navy: #021425;
    --hm-navy-soft: #0f1d3a;
    --hm-red: #e51421;
    --hm-red-hover: #c91018;
    --hm-yellow: #f9a825;
    --hm-light: #f7f8f9;
    --hm-white: #ffffff;
    --hm-text: #6e7a85;
    --hm-border: rgba(255, 255, 255, 0.17);
    --hm-shadow: 0 16px 40px rgba(2, 20, 37, 0.12);
    --hm-radius: 10px;
    --hm-container: 1320px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, sans-serif;
    color: var(--hm-text);
    background: var(--hm-white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--hm-navy-soft);
    font-family: Figtree, sans-serif;
}

p {
    margin: 0;
}

a {
    color: inherit;
}

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

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

.hm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.55rem;
    border: 0;
    border-radius: 8px;
    font-family: Figtree, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.hm-btn:hover {
    transform: translateY(-1px);
}

.hm-btn-dark {
    color: var(--hm-white);
    background: var(--hm-navy);
}

.hm-btn-dark:hover {
    background: #0a2a45;
}

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

.hm-btn-danger:hover {
    background: var(--hm-red-hover);
}

.hm-btn-light {
    color: var(--hm-navy);
    background: var(--hm-white);
}

.hm-btn-light:hover {
    background: var(--hm-light);
}

.hm-label {
    display: inline-block;
    margin-bottom: 1.1rem;
    padding: 0.37rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hm-red);
    background: var(--hm-white);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.hm-icon-wrap {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-inline: auto;
}

.hm-hex-icon {
    width: 100%;
    height: 100%;
}

.hm-top-bar {
    padding: 0.65rem 0;
    color: var(--hm-light);
    text-align: center;
    font-size: 0.85rem;
    background: var(--hm-navy);
}

.hm-top-bar strong {
    font-weight: 700;
}

.hm-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--hm-white);
    box-shadow: 0 3px 18px rgba(3, 13, 24, 0.08);
}

.hm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1rem;
}

.hm-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    max-height: 84px;
    opacity: 1;
    overflow: hidden;
    text-decoration: none;
    transform: translateY(0);
    transition: max-height 0.25s ease, margin 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.hm-brand-logo {
    width: 45px;
    height: 34px;
    object-fit: contain;
}

.hm-brand-text {
    font-family: Figtree, sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--hm-navy);
}

.hm-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: flex-end;
}

.hm-hero {
    position: relative;
    overflow: hidden;
    min-height: 705px;
    color: var(--hm-white);
}

.hm-hero-bg,
.hm-hero-bg::after {
    position: absolute;
    inset: 0;
}

.hm-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hm-hero-bg::after {
    content: "";
    background: rgba(22, 28, 45, 0.55);
}

.hm-hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3.75rem;
    align-items: flex-start;
    padding-top: 5.65rem;
    padding-bottom: 5rem;
}

.hm-hero-copy h1 {
    max-width: 594px;
    margin-bottom: 1rem;
    color: var(--hm-white);
    font-size: clamp(2.2rem, 4.8vw, 4.375rem);
    line-height: 1.16;
    letter-spacing: -0.022em;
}

.hm-hero-copy p {
    max-width: 594px;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    font-family: Figtree, sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.375rem);
    line-height: 1.4;
    letter-spacing: -0.018em;
}

.hm-hero-form-wrap {
    max-width: 396px;
    padding: 2rem;
    border-bottom: 20px solid var(--hm-yellow);
    background: var(--hm-navy);
}

.hm-hero-form-wrap h4 {
    margin-bottom: 1.1rem;
    color: var(--hm-white);
    font-size: clamp(1.45rem, 2.7vw, 1.75rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.hm-form-divider {
    height: 1px;
    margin-bottom: 1.15rem;
    background: var(--hm-border);
}

.hm-contact-form {
    display: grid;
    gap: 1rem;
}

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

.hm-contact-form label {
    display: block;
}

.hm-contact-form input,
.hm-contact-form textarea {
    width: 100%;
    padding: 0.88rem 1rem;
    border: 1px solid var(--hm-border);
    color: var(--hm-white);
    font-size: 0.9rem;
    background: var(--hm-navy-soft);
}

.hm-contact-form input:focus,
.hm-contact-form textarea:focus {
    border-color: var(--hm-yellow);
    outline: none;
}

.hm-contact-form input::placeholder,
.hm-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hm-contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.hm-contact-privacy {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    line-height: 1.45;
}

.hm-alert {
    margin-bottom: 1rem;
    padding: 0.8rem 0.95rem;
    border-left: 4px solid;
    font-size: 0.9rem;
}

.hm-alert-success {
    color: #0f5132;
    border-color: #0f5132;
    background: #d1e7dd;
}

.hm-alert-error {
    color: #842029;
    border-color: #842029;
    background: #f8d7da;
}

.hm-about {
    padding: 5rem 0;
    background: var(--hm-white);
}

.hm-about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.75rem;
    align-items: center;
}

.hm-about-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.hm-about-media img {
    width: 100%;
    object-fit: cover;
}

.hm-about-small {
    height: 194px;
}

.hm-about-large {
    height: 450px;
}

.hm-about-highlight {
    padding: 1.25rem;
    text-align: center;
    color: var(--hm-white);
    background: var(--hm-navy);
}

.hm-about-highlight h5 {
    margin: 0.9rem 0;
    color: var(--hm-white);
    font-size: 1.375rem;
    line-height: 1.35;
    letter-spacing: -0.018em;
}

.hm-about-highlight p {
    color: var(--hm-text);
    font-size: 0.9rem;
    line-height: 1.65;
}

.hm-about-content h3 {
    margin-bottom: 1rem;
    color: var(--hm-navy-soft);
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hm-about-content > p {
    margin-bottom: 1.1rem;
    color: var(--hm-text);
    font-size: 0.95rem;
    line-height: 1.8;
}

.hm-about-separator {
    height: 1px;
    margin: 1rem 0;
    background: #ddd;
}

.hm-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hm-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--hm-navy-soft);
    font-size: 0.95rem;
}

.hm-feature-dot {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.hm-services {
    padding: 5rem 0;
    background: var(--hm-light);
}

.hm-services-header {
    margin-bottom: 3rem;
    text-align: center;
}

.hm-services-header h3 {
    color: var(--hm-navy-soft);
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    line-height: 1.2;
    letter-spacing: -0.022em;
}

.hm-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.hm-service-card {
    overflow: hidden;
    background: var(--hm-navy);
    transition: transform 0.25s ease;
}

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

.hm-service-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.hm-service-body {
    padding: 1.5rem;
    text-align: center;
}

.hm-service-body h5 {
    margin-bottom: 0.8rem;
    color: var(--hm-white);
    font-size: 1.375rem;
    line-height: 1.35;
    letter-spacing: -0.018em;
}

.hm-service-body p {
    color: var(--hm-text);
    font-size: 0.9rem;
    line-height: 1.7;
}

.hm-mobile-response {
    padding: 5rem 0;
    background: var(--hm-white);
}

.hm-mobile-grid {
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.hm-mobile-media {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.hm-mobile-side-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hm-mobile-main,
.hm-mobile-side {
    width: 100%;
    object-fit: cover;
    border-radius: 0;
}

.hm-mobile-main {
    height: 345px;
}

.hm-mobile-side {
    height: 205px;
}

.hm-mobile-content {
    padding: 2rem;
    border-left: 5px solid var(--hm-yellow);
    background: var(--hm-light);
}

.hm-mobile-content h3 {
    margin-bottom: 0.9rem;
    color: var(--hm-navy-soft);
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hm-mobile-content p {
    margin-bottom: 1.1rem;
    color: var(--hm-text);
    font-size: 0.95rem;
    line-height: 1.8;
}

.hm-mobile-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 0 0 1.35rem;
    padding: 0;
    list-style: none;
}

.hm-mobile-list li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--hm-navy-soft);
    font-size: 0.93rem;
}

.hm-mobile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hm-mobile-actions .hm-btn {
    min-width: 215px;
}

.hm-projects {
    padding: 5rem 0;
    background: var(--hm-light);
}

.hm-projects-header {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hm-projects-header h3 {
    margin-bottom: 0.8rem;
    color: var(--hm-navy-soft);
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hm-projects-header p {
    color: var(--hm-text);
    font-size: 0.95rem;
    line-height: 1.8;
}

.hm-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.hm-project-card {
    overflow: hidden;
    background: var(--hm-navy);
    transition: transform 0.25s ease;
}

.hm-project-card:hover {
    transform: translateY(-4px);
}

.hm-project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hm-project-card-content {
    padding: 1.2rem 1.2rem 1.3rem;
}

.hm-project-card-content h5 {
    margin-bottom: 0.45rem;
    color: var(--hm-white);
    font-size: 1.1rem;
    line-height: 1.35;
}

.hm-project-card-content p {
    color: var(--hm-text);
    font-size: 0.9rem;
    line-height: 1.65;
}

.hm-project-card-phone {
    display: inline-block;
    margin-top: 0.9rem;
    color: var(--hm-white);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(249, 168, 37, 0.8);
    text-underline-offset: 2px;
}

.hm-project-card-phone:hover {
    color: var(--hm-yellow);
}

.hm-project-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.25rem 1.4rem;
    border-left: 5px solid var(--hm-yellow);
    border-radius: var(--hm-radius);
    background: var(--hm-navy);
}

.hm-project-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
}

.hm-service-area {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background: var(--hm-navy);
}

.hm-service-area::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    mix-blend-mode: screen;
    background: center / contain no-repeat url('assets/images/world-map.png');
}

.hm-service-area::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 20, 37, 0.82), rgba(2, 20, 37, 0.92));
}

.hm-service-area-inner {
    position: relative;
    z-index: 1;
    padding: 2.2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 29, 58, 0.58);
    text-align: center;
}

.hm-service-area-inner h3 {
    max-width: 880px;
    margin: 0 auto 0.9rem;
    color: var(--hm-white);
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    line-height: 1.2;
}

.hm-service-area-inner p {
    max-width: 900px;
    margin: 0 auto 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.hm-area-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
}

.hm-area-tags span {
    padding: 0.42rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: var(--hm-white);
    font-size: 0.84rem;
    background: rgba(255, 255, 255, 0.06);
}

.hm-service-area-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.hm-service-area-actions .hm-btn {
    min-width: 230px;
}

.hm-interventions {
    padding: 5rem 0;
    background: var(--hm-white);
}

.hm-interventions-header {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hm-interventions-header h3 {
    margin-bottom: 0.8rem;
    color: var(--hm-navy-soft);
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hm-interventions-header p {
    color: var(--hm-text);
    font-size: 0.95rem;
    line-height: 1.8;
}

.hm-interventions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.hm-intervention-card {
    overflow: hidden;
    border: 1px solid #dfe3ea;
    border-radius: var(--hm-radius);
    background: var(--hm-white);
    box-shadow: var(--hm-shadow);
}

.hm-intervention-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-intervention-image-wrap {
    position: relative;
}

.hm-intervention-image {
    display: block;
    width: 100%;
    height: 175px;
    object-fit: cover;
}

.hm-intervention-badge {
    position: absolute;
    top: 0.55rem;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    color: var(--hm-white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hm-intervention-badge-before {
    left: 0.55rem;
    background: #c11f2e;
}

.hm-intervention-badge-after {
    right: 0.55rem;
    background: #1d7f3e;
}

.hm-intervention-body {
    padding: 1.15rem 1.15rem 1.25rem;
}

.hm-intervention-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.hm-intervention-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #53617b;
    font-size: 0.82rem;
    font-weight: 600;
}

.hm-meta-icon {
    width: 14px;
    height: 14px;
    color: var(--hm-red);
}

.hm-intervention-body h4 {
    margin-bottom: 0.75rem;
    color: var(--hm-navy-soft);
    font-size: 1.05rem;
    line-height: 1.35;
}

.hm-intervention-block + .hm-intervention-block {
    margin-top: 0.72rem;
}

.hm-intervention-block strong {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #57637a;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hm-intervention-block p {
    color: var(--hm-text);
    font-size: 0.88rem;
    line-height: 1.65;
}

.hm-intervention-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.3rem 1.35rem;
    border-left: 5px solid var(--hm-yellow);
    border-radius: var(--hm-radius);
    background: var(--hm-light);
}

.hm-intervention-contact p {
    color: var(--hm-text);
    font-size: 0.96rem;
    line-height: 1.75;
}

.hm-urgent-strip {
    padding: 2.8rem 0;
    background: var(--hm-red);
}

.hm-urgent-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hm-urgent-strip-copy h3 {
    margin-bottom: 0.35rem;
    color: var(--hm-white);
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.2;
}

.hm-urgent-strip-copy p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.hm-urgent-strip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hm-urgent-strip-actions .hm-btn {
    min-width: 220px;
}

.hm-stats {
    padding: 4rem 0;
    background: var(--hm-navy);
}

.hm-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    text-align: center;
}

.hm-stats-grid h2 {
    margin-bottom: 0.7rem;
    color: var(--hm-yellow);
    font-size: clamp(1.7rem, 4vw, 3rem);
}

.hm-stats-grid p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.hm-cta {
    padding: 5rem 0;
    color: var(--hm-white);
    text-align: center;
    background: var(--hm-red);
}

.hm-cta h2 {
    max-width: 850px;
    margin: 0 auto 1rem;
    color: var(--hm-white);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hm-cta p {
    max-width: 850px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2.4vw, 1.25rem);
}

.hm-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.hm-faq {
    padding: 5rem 0;
    background: var(--hm-white);
}

.hm-faq-header {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.hm-faq-header h3 {
    margin-bottom: 0.8rem;
    color: var(--hm-navy-soft);
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hm-faq-header p {
    color: var(--hm-text);
    font-size: 0.95rem;
    line-height: 1.8;
}

.hm-faq-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 1.25rem;
    align-items: start;
    margin-top: 2rem;
}

.hm-faq-list {
    display: grid;
    gap: 0.85rem;
}

.hm-faq-item {
    border: 1px solid #dfe3ea;
    border-radius: var(--hm-radius);
    background: var(--hm-white);
    box-shadow: var(--hm-shadow);
}

.hm-faq-item summary {
    position: relative;
    padding: 1.05rem 2.9rem 1.05rem 1rem;
    color: var(--hm-navy-soft);
    font-family: Figtree, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.hm-faq-item summary::-webkit-details-marker {
    display: none;
}

.hm-faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 1rem;
    color: var(--hm-red);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
}

.hm-faq-item[open] summary::after {
    content: "-";
}

.hm-faq-item p {
    margin: 0;
    padding: 0 1rem 1rem;
    color: var(--hm-text);
    font-size: 0.93rem;
    line-height: 1.75;
}

.hm-faq-callout {
    padding: 1.35rem;
    border-left: 5px solid var(--hm-yellow);
    border-radius: var(--hm-radius);
    background: var(--hm-light);
}

.hm-faq-callout h4 {
    margin-bottom: 0.55rem;
    color: var(--hm-navy-soft);
    font-size: 1.2rem;
}

.hm-faq-callout p {
    margin-bottom: 1rem;
    color: var(--hm-text);
    font-size: 0.94rem;
    line-height: 1.75;
}

.hm-testimonials {
    margin-top: 2rem;
}

.hm-testimonials h4 {
    margin-bottom: 1rem;
    color: var(--hm-navy-soft);
    font-size: clamp(1.35rem, 2.8vw, 1.9rem);
    line-height: 1.25;
}

.hm-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hm-testimonial-card {
    padding: 1.1rem;
    border: 1px solid #dfe3ea;
    border-radius: var(--hm-radius);
    background: var(--hm-white);
    box-shadow: var(--hm-shadow);
}

.hm-testimonial-card p {
    margin-bottom: 0.75rem;
    color: var(--hm-text);
    font-size: 0.92rem;
    line-height: 1.72;
}

.hm-testimonial-card strong {
    color: var(--hm-navy-soft);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hm-footer {
    padding-top: 4rem;
    color: var(--hm-white);
    background: var(--hm-navy-soft);
}

.hm-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hm-footer h4 {
    margin-bottom: 1rem;
    color: var(--hm-white);
    font-size: 1.25rem;
}

.hm-footer p,
.hm-footer a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.75;
}

.hm-footer strong {
    color: var(--hm-white);
}

.hm-footer-links {
    display: grid;
    gap: 0.45rem;
}

.hm-footer-links a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.hm-footer-links a:hover {
    color: var(--hm-red);
}

.hm-footer-note {
    margin-top: 1.6rem;
    padding: 1.35rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    font-size: 0.85rem;
}

.hm-footer-note p {
    margin: 0;
}

.hm-footer-compliance {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
}

.hm-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}

@media (max-width: 1200px) {
    .hm-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hm-hero-form-wrap {
        max-width: 560px;
    }

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

    .hm-mobile-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hm-faq-layout {
        grid-template-columns: 1fr;
    }

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

    .hm-project-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hm-project-cta .hm-btn {
        width: auto;
    }

    .hm-urgent-strip-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 980px) {
    .hm-about-grid,
    .hm-footer-grid {
        grid-template-columns: 1fr;
    }

    .hm-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1rem;
    }

    .hm-container {
        width: min(var(--hm-container), calc(100% - 2rem));
    }

    .hm-mobile-side-wrap {
        grid-template-columns: 1fr;
    }

    .hm-mobile-main,
    .hm-mobile-side {
        height: 260px;
    }

    .hm-intervention-image {
        height: 165px;
    }
}

@media (max-width: 768px) {
    body.hm-mobile-scrolled .hm-brand {
        max-height: 0;
        margin: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
    }

    body.hm-mobile-scrolled .hm-header-inner {
        gap: 0.45rem;
    }

    .hm-brand {
        justify-content: center;
    }
    .hm-header-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .hm-header-actions {
        justify-content: stretch;
    }

    .hm-header-actions .hm-btn {
        flex: 1;
    }

    .hm-hero {
        min-height: auto;
    }

    .hm-hero-content,
    .hm-about,
    .hm-services,
    .hm-mobile-response,
    .hm-projects,
    .hm-interventions,
    .hm-service-area,
    .hm-cta,
    .hm-faq {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .hm-about-media,
    .hm-services-grid,
    .hm-projects-grid,
    .hm-interventions-grid,
    .hm-testimonials-grid,
    .hm-form-grid,
    .hm-feature-list {
        grid-template-columns: 1fr;
    }

    .hm-about-large,
    .hm-about-small {
        height: 260px;
    }

    .hm-cta-actions .hm-btn {
        width: 100%;
    }

    .hm-mobile-actions,
    .hm-service-area-actions {
        flex-direction: column;
    }

    .hm-mobile-actions .hm-btn,
    .hm-project-cta .hm-btn,
    .hm-service-area-actions .hm-btn {
        width: 100%;
    }

    .hm-mobile-content {
        padding: 1.45rem;
    }

    .hm-intervention-contact,
    .hm-urgent-strip-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hm-intervention-contact .hm-btn,
    .hm-urgent-strip-actions {
        width: 100%;
    }

    .hm-urgent-strip-actions .hm-btn {
        width: 100%;
        min-width: 0;
    }

    .hm-brand-text {
        font-size: 1.45rem;
    }
}

article.hm-container {
    margin-top: 4rem;
    margin-bottom: 4rem;
}