/*
Theme Name: MEKI service
Description: Site vitrine de MEKI service pour la climatisation, le froid et l’électricité à Toulon.
Version: 1.4.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: meki-service
*/

@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #121f34;
  --body: #49586b;
  --navy: #0b213c;
  --blue: #075abe;
  --blue-hover: #064696;
  --sky: #b7e9ff;
  --light: #e6f2ff;
  --soft: #f2f6fb;
  --line: #dce5f1;
  --white: #fff;
  --focus: #c74813;
  --wrap: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--body); background: #fff; font: 500 16px/1.65 Manrope, system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
svg { display: inline-block; width: 1.3em; height: 1.3em; flex: none; vertical-align: middle; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 5.4vw, 4.65rem); }
h2 { font-size: clamp(2rem, 4.1vw, 3.45rem); }
h3 { font-size: 1.34rem; letter-spacing: -.025em; }
address { font-style: normal; }
.container { width: min(var(--wrap), calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: clamp(52px, 7vw, 100px); }
.section-soft { background: var(--soft); }
section[id], #devis { scroll-margin-top: 112px; }
.screen-reader-text, .form-trap, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 60; top: 10px; left: 10px; background: white; padding: 10px 16px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--blue); font-size: .77rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow svg { width: 16px; height: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 49px; padding: 10px 19px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font: inherit; font-size: .93rem; font-weight: 800; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.button-primary { color: white; background: var(--blue); }
.button-primary:hover { color: white; background: var(--blue-hover); }
.button-bright { color: var(--ink); background: var(--sky); }
.button-bright:hover { color: var(--ink); background: #d6f4ff; }
.button-outline { color: var(--ink); border-color: #c3cede; background: transparent; }
.button-outline:hover { color: var(--blue-hover); border-color: var(--blue); background: var(--white); }
.button-secondary { color: var(--blue-hover); border-color: var(--line); background: var(--soft); }
.button-secondary:hover { background: var(--light); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(3px); }

.contact-bar { background: #0b213c; color: #e4effd; }
.contact-bar-inner { min-height: 34px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.contact-bar a { color: inherit; font-size: .76rem; font-weight: 700; text-decoration: none; }
.contact-bar a:hover { text-decoration: underline; }
.contact-bar svg { color: var(--sky); margin-right: 4px; }
.site-header { position: sticky; top: 0; z-index: 10; background: #fffffff7; box-shadow: 0 1px #0a223817; backdrop-filter: blur(12px); }
.admin-bar .site-header { top: 32px; }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--blue); }
.brand-logo { width: 46px; height: 46px; object-fit: contain; }
.brand-name { font-size: 1.14rem; font-weight: 800; letter-spacing: -.025em; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(12px, 2.3vw, 35px); }
.nav-links a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: .9rem; }
.nav-links a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; }
.nav-quote { white-space: nowrap; }
.menu-toggle { display: none; }

.mobile-drawer { position: fixed; inset: 0 0 auto auto; width: min(420px, calc(100% - 24px)); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 19px 0 0 19px; color: white; background: radial-gradient(ellipse at 100% 0, #1e4a7a, transparent 50%), var(--navy); box-shadow: -15px 0 56px #040f2859; }
.mobile-drawer[open] { animation: drawer-enter .3s cubic-bezier(.22,.7,.28,1) both; }
.mobile-drawer::backdrop { background: #061629ab; animation: drawer-overlay .25s ease-out both; }
.mobile-drawer-panel { display: flex; flex-direction: column; height: 100%; overflow: auto; overscroll-behavior: contain; }
.mobile-drawer-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: max(17px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 16px 18px; border-bottom: 1px solid #ffffff2b; background: #0c2441; }
.mobile-drawer-brand { color: white; font-size: clamp(1.25rem, 4.7vw, 1.65rem); font-weight: 800; letter-spacing: -.035em; }
.mobile-drawer-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff40; border-radius: 50%; color: white; background: #ffffff14; cursor: pointer; }
.mobile-drawer-close:hover { background: #ffffff26; }
.mobile-drawer-close svg { width: 22px; height: 22px; }
.mobile-drawer-links { display: grid; gap: 8px; margin-bottom: 12px; padding: 18px max(14px, env(safe-area-inset-right)) 12px 14px; }
.mobile-drawer-links a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 60px; padding: 8px 11px; border: 1px solid transparent; border-radius: 11px; color: #f1f7ff; text-decoration: none; font-size: clamp(.94rem, 3.7vw, 1.06rem); font-weight: 800; line-height: 1.25; transition: background-color .18s ease; }
.mobile-drawer-links a:hover, .mobile-drawer-links a[aria-current] { border-color: #8cd3f94d; background: #b7e9ff1c; }
.mobile-drawer-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; color: var(--sky); background: #b7e9ff1f; }
.mobile-drawer-icon svg { width: 20px; height: 20px; }
.mobile-drawer-arrow { color: #a4c8eb; }
.mobile-drawer-arrow svg { width: 17px; height: 17px; }
.mobile-drawer-actions { display: grid; grid-template-columns: 1fr 1.16fr; gap: 8px; margin-top: auto; padding: 16px max(14px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) 14px; border-top: 1px solid #ffffff2b; background: #0c2441; }
.mobile-drawer-actions .button { min-height: 46px; padding-inline: 7px; gap: 6px; font-size: .83rem; }
.mobile-drawer-actions .button-outline { color: white; border-color: #88a8ce; }
.mobile-drawer-actions .button-outline:hover { color: var(--navy); border-color: white; }
.mobile-drawer :focus-visible { outline-color: var(--sky); outline-offset: 2px; }
@keyframes drawer-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes drawer-overlay { from { opacity: 0; } to { opacity: 1; } }

.hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(112deg, #081a31, #123d6a); }
.hero-inner { display: grid; min-height: clamp(520px, 42vw, 650px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-block: 68px; }
.hero-copy { position: relative; z-index: 2; max-width: 650px; }
.hero-copy > * { animation: hero-rise .55s ease-out both; }
.hero-copy h1 { color: #fff; text-wrap: initial; font-size: clamp(3.15rem, 5.2vw, 5.1rem); letter-spacing: -.058em; }
.hero h1 span { color: var(--sky); display: block; }
.hero .eyebrow { color: var(--sky); margin-bottom: 18px; }
.hero-intro { color: #e3effc; max-width: 510px; font-size: clamp(1rem, 1.3vw, 1.11rem); margin: 20px 0 27px; animation-delay: 55ms; }
.hero .actions { animation-delay: 100ms; }
.hero .button-outline { border-color: #aac4e3; color: #fff; }
.hero .button-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero-visual { position: absolute; inset: 0 0 0 43%; background: #17375a; overflow: hidden; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0d2949 0%, #102f5166 19%, #0c23402a 48%, transparent 70%), linear-gradient(0deg, #07192c88, transparent 36%); pointer-events: none; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 43%; }
.hero-airflow { position: absolute; inset: 55% 6% auto auto; z-index: 1; width: 43%; height: 20%; pointer-events: none; }
.hero-airflow i { position: absolute; inset: 0 12%; border-top: 2px solid #c3edff; border-radius: 50%; opacity: 0; transform-origin: left center; }
.hero-visual.is-ready .hero-airflow i { animation-name: fan-flow; animation-duration: 1.28s; animation-iteration-count: 2; animation-timing-function: ease-out; }
.hero-airflow i:nth-child(2) { top: 16%; animation-delay: .23s; }
.hero-airflow i:nth-child(3) { top: 32%; animation-delay: .46s; }
.hero-gallery-link { position: absolute; z-index: 1; bottom: 22px; right: max(24px, calc((100vw - var(--wrap)) / 2)); display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; color: var(--ink); background: #fffffff5; font-size: .87rem; font-weight: 800; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.hero-gallery-link:hover { background: var(--sky); color: var(--ink); transform: translateY(-3px); }
@keyframes hero-rise { from { transform: translateY(13px); } to { transform: none; } }
@keyframes fan-flow { 0% { opacity: 0; transform: translateX(-16%) scaleX(.67); } 28% { opacity: .9; } 100% { opacity: 0; transform: translateX(21%) scaleX(1.1); } }
@keyframes arrive { from { opacity: .55; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes photo-arrive { from { opacity: 0; transform: translateY(19px) scale(.97); } to { opacity: 1; transform: none; } }
[data-reveal].is-visible { animation: arrive .55s ease-out both; }
.service-grid > :nth-child(3n + 2).is-visible, .photo-grid > :nth-child(4n + 2).is-visible { animation-delay: 70ms; }
.service-grid > :nth-child(3n).is-visible, .photo-grid > :nth-child(4n + 3).is-visible { animation-delay: 140ms; }
.photo-grid > :nth-child(4n).is-visible { animation-delay: 210ms; }

.trust { background: var(--white); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; list-style: none; }
.trust-grid li { display: flex; gap: 13px; align-items: center; padding: 25px clamp(10px, 2vw, 30px); }
.trust-grid li:first-child { padding-inline-start: 0; }
.trust-grid li + li { border-left: 1px solid var(--line); }
.trust-grid strong, .trust-grid small { display: block; }
.trust-grid strong { color: var(--ink); font-size: .98rem; line-height: 1.3; }
.trust-grid small { margin-top: 3px; font-size: .79rem; }
.icon-tile { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--light); color: var(--blue); flex: none; }

.section-heading { max-width: 640px; margin-bottom: 35px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { max-width: 720px; }
.section-heading > p:not(.eyebrow) { margin-top: 13px; font-size: 1.02rem; }
.service-grid, .media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card, .service-cta { min-width: 0; border: 1px solid var(--line); border-radius: 14px; }
.service-card { display: flex; flex-direction: column; position: relative; overflow: hidden; background: white; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.service-card:hover, .service-card:focus-within { transform: translateY(-4px); border-color: #93bced; box-shadow: 0 16px 30px #06254b1a; }
.service-card .text-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.service-visual { aspect-ratio: 2.1; overflow: hidden; background: var(--light); }
.service-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; transition: transform .4s ease; }
.service-climatisation .service-visual img { object-position: 55% 21%; }
.service-pompe .service-visual img { object-position: 50% 35%; }
.service-froid .service-visual img { object-position: 50% 34%; }
.service-entretien .service-visual img { object-position: 50% 35%; }
.service-card:hover img { transform: scale(1.045); }
.service-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 0 clamp(18px, 2vw, 25px) 22px; }
.service-copy .icon-tile { position: relative; margin-top: -22px; box-shadow: 0 0 0 3px white; }
.service-copy h3 { margin-top: 14px; }
.service-copy p, .service-cta p { margin: 8px 0 16px; }
.service-copy .text-link { width: 100%; justify-content: space-between; margin-top: auto; min-height: 40px; font-size: .88rem; }
.service-link-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--light); transition: background-color .2s ease, color .2s ease; }
.service-link-icon svg { width: 17px; height: 17px; }
.service-card .text-link:hover svg { transform: none; }
.service-card:hover .service-link-icon, .service-card:focus-within .service-link-icon { color: white; background: var(--blue); }
.service-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: end; padding: clamp(23px, 3vw, 40px); background: radial-gradient(ellipse at 95% -5%, #2d6db8, transparent 76%), var(--navy); border-color: var(--navy); color: #dbe9fa; }
.service-cta h3 { color: white; font-size: clamp(1.7rem, 2.3vw, 2.3rem); }
.service-cta .button { margin-top: 3px; }
.section-method { background: #fff; }
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.method-grid li { position: relative; border-top: 2px solid var(--line); padding: 16px 12px 0 0; }
.method-grid li::before { content: ""; position: absolute; inset: -2px 0 auto; height: 2px; background: var(--blue); transform-origin: left; }
.method-grid li.is-visible::before { animation: method-progress .65s ease-out both; }
.method-grid li:nth-child(2)::before { animation-delay: .1s; }
.method-grid li:nth-child(3)::before { animation-delay: .2s; }
.method-grid li:nth-child(4)::before { animation-delay: .3s; }
.method-grid li h3 { margin: 12px 0 8px; font-size: 1.12rem; }
.method-grid li p { font-size: .91rem; }
@keyframes method-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.air-demo { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; margin-top: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--soft); }
.air-demo-visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--light); }
.air-demo-visual img { width: 100%; height: 100%; object-fit: cover; }
.air-demo-flow { position: absolute; inset: 25% 27% auto 44%; height: 17%; }
.air-demo-flow i { position: absolute; inset: 0 14% 35% 0; border: 3px solid transparent; border-top-color: #effaff; border-right-color: #b7e9ff; border-radius: 50%; filter: drop-shadow(0 0 6px #007fcb); opacity: 0; }
.air-demo-flow i:nth-child(2) { inset-inline: 10% 7%; animation-delay: .22s; }
.air-demo-flow i:nth-child(3) { inset-inline: 20% 0; animation-delay: .44s; }
.air-demo.is-playing .air-demo-flow i { animation-name: air-demo-current; animation-duration: 1.45s; animation-timing-function: ease-out; animation-iteration-count: 2; }
.air-demo figcaption { display: grid; justify-items: start; gap: 12px; padding: clamp(20px, 4vw, 52px); }
.air-demo h3 { font-size: clamp(1.45rem, 3vw, 2.25rem); }
.air-demo figcaption p { max-width: 47ch; }
.air-demo .button { margin-top: 3px; }
@keyframes air-demo-current {
  0% { opacity: 0; transform: translate(-16%, -38%) rotate(27deg) scale(.55); }
  27% { opacity: 1; }
  75% { opacity: .88; }
  100% { opacity: 0; transform: translate(35%, 130%) rotate(56deg) scale(1.5); }
}
.section-gallery { background: var(--navy); color: #d8e5f6; }
.section-gallery .section-heading .eyebrow { color: var(--sky); }
.section-gallery h2, .section-gallery .video-heading { color: white; }
.media-card { color: var(--body); }

.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.photo-card { overflow: hidden; border-radius: 14px; background: #dfeafa; }
.photo-card a { position: relative; display: block; height: 100%; aspect-ratio: 4 / 3; overflow: hidden; color: white; }
.photo-card a:focus-visible { outline-offset: -5px; z-index: 2; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.photo-card a:hover img, .photo-card a:focus-visible img { transform: scale(1.065); }
.photo-caption { position: absolute; inset: auto 0 0; display: flex; align-items: end; justify-content: space-between; gap: 8px; padding: 26px 11px 11px 13px; background: linear-gradient(transparent, #081a31f0); font-size: .87rem; font-weight: 800; line-height: 1.25; }
.zoom-icon { display: grid; flex: none; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #fffffff0; color: var(--ink); font-size: 1.25rem; transition: transform .2s ease; }
.photo-card a:hover .zoom-icon { transform: rotate(90deg); }
.video-heading { margin: 37px 0 14px; }
.media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 15px; }
.video-link { position: relative; display: block; overflow: hidden; }
.video-link:focus-visible { outline-offset: -4px; }
.video-link img { width: 100%; height: clamp(210px, 20vw, 300px); object-fit: cover; object-position: center 42%; transition: transform .3s ease; }
.video-link:hover img { transform: scale(1.035); }
.video-link::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #0a223828; pointer-events: none; }
.play-icon { position: absolute; z-index: 2; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; display: grid; place-items: center; color: var(--navy); background: white; border-radius: 50%; box-shadow: 0 5px 20px #082a4040; transition: background-color .2s ease, scale .2s ease; }
.video-link:hover .play-icon { background-color: var(--sky); scale: 1.1; }
.play-icon svg { width: 27px; height: 27px; }
.media-card figcaption { padding: 16px 19px 20px; }
.media-card strong, .media-card figcaption span { display: block; }
.media-card strong { color: var(--ink); }
.media-card figcaption span { font-size: .88rem; margin-top: 2px; }
.video-dialog, .photo-dialog { padding: 0; color: white; background: #0b213a; border: 0; border-radius: 12px; }
.video-dialog { width: min(430px, 94vw); }
.photo-dialog { width: min(850px, 94vw); }
.video-dialog[open], .photo-dialog[open] { animation: photo-arrive .25s ease-out both; }
.video-dialog::backdrop, .photo-dialog::backdrop { background: #061428de; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 15px; font-weight: 800; }
.dialog-close, .photo-controls button { flex: none; border: 0; border-radius: 7px; cursor: pointer; color: white; background: transparent; font: 1.6rem/1 system-ui, sans-serif; min-width: 42px; min-height: 42px; }
.dialog-close:hover, .photo-controls button:hover { background: #234b75; }
.video-dialog video, .photo-dialog img { display: block; width: 100%; max-height: 74dvh; height: auto; object-fit: contain; }
.photo-controls { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 5px; }
.photo-count { font-size: .86rem; }

body:has(.info-dialog[open], .mobile-drawer[open]) { overflow: hidden; }
.info-dialog { width: min(840px, calc(100% - 36px)); max-width: none; max-height: calc(100dvh - 36px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--body); overscroll-behavior: contain; box-shadow: 0 22px 80px #02152b50; }
.info-dialog[open] { animation: photo-arrive .22s ease-out both; }
.info-dialog::backdrop { background: #061428c9; }
.info-dialog-header { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px clamp(15px, 3.5vw, 28px); border-bottom: 1px solid var(--line); background: white; }
.info-dialog-header h2 { font-size: clamp(1.25rem, 3.5vw, 2rem); }
.info-dialog-header .dialog-close { display: grid; place-items: center; width: 44px; height: 44px; color: var(--navy); background: var(--soft); border-radius: 50%; }
.info-dialog-header .dialog-close:hover { color: white; background: var(--blue); }
.info-dialog-header .dialog-close svg { width: 22px; height: 22px; }
.service-dialog-body { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(18px, 3vw, 27px); padding: clamp(15px, 3.5vw, 28px); }
.service-dialog-photo { overflow: hidden; min-height: 250px; border-radius: 12px; background: var(--soft); }
.service-dialog-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.service-dialog-copy { font-size: .94rem; }
.service-dialog-copy h3 { margin-top: 15px; font-size: 1.08rem; }
.service-inclusions { display: grid; gap: 8px; margin: 10px 0 20px; padding: 0; list-style: none; }
.service-inclusions li { display: flex; align-items: flex-start; gap: 8px; }
.service-inclusions svg { margin-top: 3px; color: var(--blue); }
.cookies-dialog { width: min(540px, calc(100% - 36px)); }
.cookies-dialog-content { padding: clamp(15px, 3.5vw, 28px); font-size: .94rem; }
.cookies-dialog-content .text-link { min-height: 44px; }
.cookies-dialog-content .cookie-choice-actions { margin: 15px 0 3px; }
.cookie-types { display: grid; gap: 8px; margin: 15px 0; }
.cookie-types > div { padding: 9px 12px; border-radius: 8px; background: var(--soft); }
.cookie-types dt { color: var(--ink); font-weight: 800; }
.cookie-types dd { margin: 0; font-size: .9rem; }

.zone-grid, .contact-grid, .faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 6vw, 92px); align-items: start; }
.zone-grid { align-items: center; }
.zone-grid .section-heading, .faq-grid .section-heading, .contact-grid .section-heading { margin-bottom: 0; }
.zone-grid .text-link { margin-top: 16px; }
.city-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; list-style: none; padding: 0; }
.city-list li { display: flex; align-items: center; gap: 8px; border-radius: 8px; background: var(--soft); color: var(--ink); padding: 10px 13px; font-weight: 700; }
.city-list svg { color: var(--blue); }
.city-list .base-city { background: var(--blue); color: white; }
.city-list .base-city svg { color: white; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { color: var(--ink); font-weight: 800; cursor: pointer; }
.faq details p { margin: 10px 0 2px 19px; }

.section-contact { background: var(--navy); color: #e4effd; }
.section-contact .eyebrow { color: var(--sky); }
.section-contact h2 { color: white; }
.contact-links { margin-top: 30px; display: grid; gap: 11px; }
.contact-links > * { width: fit-content; display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; }
.contact-links a:hover { color: var(--sky); }
.contact-links strong { overflow-wrap: anywhere; }
.contact-links small { display: block; color: #c4d6ea; margin-bottom: 1px; }
.contact-links .icon-tile { background: #173b63; color: #b7e7ff; }
.quote-form { position: relative; display: grid; gap: 13px; padding: clamp(22px, 3vw, 38px); color: var(--body); background: white; border-radius: 16px; }
.quote-form h3 { font-size: 1.6rem; margin-bottom: 3px; }
.quote-form label { color: var(--ink); font-size: .89rem; font-weight: 800; min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-form input, .quote-form select, .quote-form textarea { display: block; width: 100%; min-height: 46px; padding: 9px 11px; border: 1px solid #aabbd0; border-radius: 7px; color: var(--ink); background: white; font: 500 1rem/1.4 Manrope, system-ui, sans-serif; margin-top: 5px; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #526481; }
.quote-form textarea { resize: vertical; }
.quote-form .button { justify-self: start; }
.form-note { font-size: .77rem; }
.optional { color: var(--body); font-size: .74rem; font-weight: 600; margin-left: 5px; }
.notice { padding: 9px 11px; border-radius: 6px; background: #fff0dd; color: #63301c; }
.notice-success { background: #e3f5e9; color: #145333; }

.site-footer { color: #bdcde2; background: #081a31; padding: 46px 0 24px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; }
.site-footer a { color: #f1f7ff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid > div > a:not(.brand) { display: block; width: fit-content; }
.footer-grid p { margin-top: 8px; max-width: 265px; }
.footer-grid h2 { color: white; font-size: 1.03rem; margin-bottom: 10px; letter-spacing: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid #314968; margin-top: 28px; padding-top: 17px; font-size: .78rem; }
.mobile-actions { display: none; }
.floating-controls { position: fixed; z-index: 15; inset: auto max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); display: grid; grid-template: "cookies top" auto / minmax(0, 1fr) auto; align-items: end; gap: 12px; pointer-events: none; }
.floating-controls > * { pointer-events: auto; }
.cookie-banner { grid-area: cookies; justify-self: start; width: min(100%, 470px); max-height: 60dvh; overflow: auto; overscroll-behavior: contain; padding: clamp(14px, 2vw, 21px); border: 1px solid var(--line); border-radius: 13px; color: var(--body); background: white; box-shadow: 0 8px 30px #061a3436; animation: photo-arrive .22s ease-out both; }
.cookie-banner h2 { font-size: 1.23rem; }
.cookie-banner p { margin: 7px 0 12px; font-size: .91rem; line-height: 1.45; }
.cookie-banner > a { display: inline-flex; min-height: 34px; align-items: center; margin-top: 4px; font-size: .82rem; }
.cookie-choice-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cookie-choice-actions .button { min-height: 44px; padding: 7px 8px; border-color: var(--blue); color: var(--blue-hover); text-align: center; }
.cookie-choice-actions .button:hover { background: var(--light); }
.back-to-top { grid-area: top; justify-self: end; display: grid; place-items: center; width: 49px; height: 49px; padding: 0; border-radius: 50%; border: 1px solid #ffffff60; background: var(--blue); color: white; cursor: pointer; box-shadow: 0 5px 17px #061a3440; animation: photo-arrive .2s ease-out both; transition: background-color .18s ease; }
.back-to-top:hover { background: var(--blue-hover); }
.back-to-top svg { width: 23px; height: 23px; }

@supports (animation-timeline: scroll(root block)) {
  .home .site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; animation: page-progress auto linear both; animation-timeline: scroll(root block); pointer-events: none; }
  @keyframes page-progress { to { transform: scaleX(1); } }
}

.service-detail { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(25px, 6vw, 90px); align-items: start; }
.breadcrumb { display: inline-block; margin-bottom: 18px; font-size: .89rem; }
.service-detail .actions { margin-top: 22px; }
.service-detail h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); }
.detail-photo { width: 100%; max-height: 570px; object-fit: cover; border-radius: 16px; }
.wordpress-content { overflow-wrap: anywhere; }
.wordpress-content p, .wordpress-content ul, .wordpress-content ol { margin: 14px 0; }
.wordpress-content h2:not(:first-child) { margin-top: 27px; }
.wordpress-content h2 { font-size: 1.8rem; }
.wordpress-content article + article { margin-top: 28px; }
.page .wordpress-content > .page { max-width: 820px; }
.nfc-card { display: grid; justify-items: center; text-align: center; gap: 13px; width: min(100%, 520px); margin-inline: auto; padding: clamp(23px, 5vw, 45px); background: white; border: 1px solid var(--line); border-radius: 18px; }
.nfc-card h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.nfc-actions { display: grid; gap: 8px; width: 100%; margin-top: 9px; }
.nfc-actions .text-link { justify-self: center; margin-top: 6px; }

@media (max-width: 980px) {
  .container { width: calc(100% - 64px); }
  .nav { gap: 13px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .82rem; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 780px) {
  .container { width: calc(100% - 40px); }
  .nav { position: relative; flex-wrap: wrap; min-height: 64px; justify-content: start; padding-block: 8px; }
  .brand { margin-right: auto; }
  .nav-quote { order: 2; font-size: .83rem; min-height: 42px; padding-inline: 10px; }
  .nav-quote svg { display: none; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 1rem; }
  .menu-toggle { order: 3; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 11px; border: 1px solid #cadef4; border-radius: 8px; color: var(--navy); background: var(--soft); font: 800 .83rem/1 Manrope, system-ui, sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .menu-toggle:hover, .menu-toggle:active { background: var(--light); }
  .menu-toggle svg { width: 21px; height: 21px; color: var(--blue); }
  .nav-links { order: 4; flex: 0 0 100%; align-items: stretch; justify-content: space-between; }
  .nav-links a { display: block; padding: 5px 0; }
  .contact-bar { display: none; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; gap: 27px; padding-block: 37px 20px; }
  .hero-copy { max-width: 570px; }
  .hero-copy h1 { font-size: clamp(2.6rem, 8.5vw, 4.3rem); }
  .hero-visual { position: relative; inset: auto; aspect-ratio: 1.88; border-radius: 12px; }
  .hero-visual::after { background: linear-gradient(0deg, #07192c66, transparent 47%); }
  .hero-visual > img { object-position: 55% 41%; }
  .hero-gallery-link { bottom: 12px; right: 12px; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zone-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  .site-footer { padding-bottom: 94px; }
  .mobile-actions { position: fixed; inset: auto 0 0; z-index: 8; display: grid; grid-template-columns: .9fr 1.1fr; gap: 9px; padding: 8px 12px max(8px, env(safe-area-inset-bottom)); background: #fffffffa; border-top: 1px solid var(--line); box-shadow: 0 -5px 20px #061a3416; }
  .mobile-actions .button { min-height: 44px; padding: 7px; font-size: .87rem; white-space: nowrap; }
  .trust-grid { grid-template-columns: 1fr; padding-block: 7px; }
  .trust-grid li, .trust-grid li:first-child { padding: 9px 0; }
  .trust-grid li + li { border-left: 0; border-top: 1px solid var(--line); }
  .trust-grid .icon-tile { width: 39px; height: 39px; }
  .form-row, .service-detail { grid-template-columns: 1fr; }
  .city-list li { font-size: .88rem; }
  .info-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); border-radius: 14px; }
  .info-dialog-header { padding-block: 9px; }
  .service-dialog-body { grid-template-columns: 1fr; }
  .service-dialog-photo { min-height: 0; height: clamp(150px, 27dvh, 225px); }
  .service-dialog-copy .button { width: 100%; }
  .air-demo { grid-template-columns: 1fr; }
  .floating-controls { grid-template: "top" auto "cookies" auto / minmax(0, 1fr); gap: 8px; inset-inline: max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right)); }
  .floating-controls:not(:has(.cookie-banner:not([hidden]))) { grid-template: "top" auto / minmax(0, 1fr); }
  .floating-controls.above-mobile-contact { bottom: calc(61px + max(8px, env(safe-area-inset-bottom))); }
  .cookie-banner { width: 100%; }
}
@media (max-height: 410px) {
  .cookie-banner { max-height: 48dvh; }
}
@media (max-width: 470px) {
  .hero .actions { align-items: stretch; gap: 8px; }
  .hero .actions .button { padding-inline: 11px; font-size: .85rem; }
  .hero-copy h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .hero .eyebrow { font-size: .66rem; letter-spacing: .105em; }
  .service-cta { min-height: 0; }
  .hero .actions .button svg { width: 16px; }
  .hero-gallery-link { right: 9px; bottom: 9px; font-size: .82rem; padding: 8px 12px; }
  .hero-intro { margin-block: 16px 20px; }
  .service-grid, .media-grid { grid-template-columns: 1fr; }
  .photo-caption { font-size: .75rem; padding: 20px 7px 7px; }
  .zoom-icon { width: 24px; height: 24px; }
  .service-card { display: grid; grid-template-columns: minmax(78px, 30%) minmax(0, 1fr); }
  .service-visual { position: relative; aspect-ratio: auto; }
  .service-visual img { position: absolute; inset: 0; }
  .service-copy { padding: 12px 12px 9px; }
  .service-copy .icon-tile { display: none; }
  .service-copy h3 { margin: 0; font-size: 1.1rem; }
  .service-copy p { margin: 5px 0 3px; font-size: .83rem; line-height: 1.45; }
  .service-copy .text-link { min-height: 44px; font-size: .82rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .nav-quote { display: none; }
}
@media (max-width: 350px) {
  .hero .actions .button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
