:root {
    --blue: #046bd2;
    --blue-dark: #045cb4;
    --teal: #2e7d6f;
    --ink: #111111;
    --slate-900: #1e293b;
    --slate-700: #334155;
    --slate-500: #64748b;
    --line: #d1d5db;
    --soft: #f0f5fa;
    --white: #ffffff;
    --accent-red: #b91524;
    --shadow: 0 24px 70px rgba(17, 17, 17, 0.14);
    --radius: 8px;
    --header-height: 88px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--slate-900);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

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

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

button {
    color: inherit;
}

::selection {
    color: var(--white);
    background: var(--blue);
}

.skip-link {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--ink);
    transform: translateY(-150%);
}

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

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    pointer-events: none;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
}

.cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--blue);
}

.cursor-ring {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(4, 107, 210, 0.55);
    transition: width 180ms ease, height 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cursor-ring.is-active {
    width: 58px;
    height: 58px;
    border-color: rgba(46, 125, 111, 0.5);
    background: rgba(4, 107, 210, 0.08);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(17, 17, 17, 0.28);
    backdrop-filter: blur(18px);
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
    border-color: rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 34px rgba(17, 17, 17, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(1240px, calc(100% - 40px));
    height: var(--header-height);
    margin: 0 auto;
}

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

.brand img {
    display: block;
    width: 130px;
    height: auto;
    transition: filter 180ms ease, opacity 180ms ease, width 180ms ease;
}

.site-header.is-scrolled .brand img {
    filter: brightness(0);
    opacity: 0.88;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    gap: 8px;
}

.main-nav a {
    position: relative;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.94rem;
    font-weight: 650;
}

.site-header.is-scrolled .main-nav a {
    color: var(--slate-900);
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 7px;
    left: 12px;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: 100%;
    left: -24px;
    right: -24px;
    height: 18px;
}

.nav-parent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-parent span {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: min(420px, 82vw);
    padding: 10px;
    border: 1px solid rgba(30, 41, 59, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 70px rgba(17, 17, 17, 0.15);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translate(-50%, 8px);
    z-index: 20;
    transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translate(-50%, 0);
    transition-delay: 0s;
}

.dropdown-menu a {
    display: grid;
    gap: 2px;
    padding: 13px 14px;
    border-radius: var(--radius);
    color: var(--slate-900);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    color: var(--white);
    background: var(--blue);
}

.dropdown-menu small {
    color: var(--slate-500);
    font-weight: 600;
    line-height: 1.35;
}

.dropdown-menu a:hover small {
    color: rgba(255, 255, 255, 0.82);
}

.header-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .header-call {
    color: var(--white);
    border-color: var(--blue);
    background: var(--blue);
}

.header-call svg,
.btn svg,
.phone-link svg,
.contact-details svg,
.service-card a svg,
.local-card a svg,
.portfolio-toolbar a svg,
.sticky-cta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

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

.menu-toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.hero {
    position: relative;
    display: grid;
    min-height: 760px;
    padding-top: var(--header-height);
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.hero-slider {
    min-height: 820px;
    align-items: end;
    color: var(--white);
    background: var(--ink);
}

.hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(17, 17, 17, 0.68), rgba(17, 17, 17, 0.2) 48%, rgba(17, 17, 17, 0.58)),
        linear-gradient(0deg, rgba(17, 17, 17, 0.76), rgba(17, 17, 17, 0.05) 52%, rgba(17, 17, 17, 0.46));
}

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

.hero-slide {
    margin: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 900ms ease, transform 2000ms ease;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slide figcaption {
    position: absolute;
    right: max(20px, calc((100vw - 1240px) / 2));
    bottom: 150px;
    z-index: 2;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    font-weight: 900;
    background: rgba(17, 17, 17, 0.28);
    backdrop-filter: blur(12px);
}

.hero-logo-center {
    position: absolute;
    top: calc(var(--header-height) + 48px);
    left: 50%;
    z-index: 3;
    width: min(260px, 58vw);
    transform: translateX(-50%);
}

.hero-logo-center img {
    width: 100%;
}

.hero-slider-content {
    position: relative;
    z-index: 3;
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 56px;
    text-align: center;
}

.hero-slider-content h1 {
    max-width: 780px;
    margin: 0;
    margin-inline: auto;
    font-size: 2.8rem;
    line-height: 1.06;
    letter-spacing: 0;
}

.hero-slider-content h1 span {
    display: block;
}

.hero-slider-content .hero-lead {
    max-width: 620px;
    margin-inline: auto;
    margin-top: 16px;
}

.hero-slider-content .eyebrow,
.hero-slider-content .hero-actions {
    justify-content: center;
}

.hero-slide-controls {
    position: absolute;
    right: max(20px, calc((100vw - 1240px) / 2));
    bottom: 34px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.hero-slide-controls button {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.82rem;
    font-weight: 900;
    background: rgba(17, 17, 17, 0.22);
    backdrop-filter: blur(14px);
    cursor: pointer;
}

.hero-slide-controls button.is-active {
    color: var(--white);
    border-color: var(--blue);
    background: var(--blue);
}

.hero-media,
.page-hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 36%;
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.56) 44%, rgba(17, 17, 17, 0.25)),
        linear-gradient(0deg, rgba(17, 17, 17, 0.68), rgba(17, 17, 17, 0.04) 42%);
}

.hero-content {
    position: relative;
    align-self: center;
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 120px 0 120px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 0.83rem;
    font-weight: 900;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

.hero .eyebrow,
.page-hero .eyebrow,
.cta-panel .eyebrow {
    color: #8ed1fc;
}

.hero h1,
.page-hero h1 {
    max-width: 860px;
    margin: 0;
    font-size: 4.65rem;
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-lead,
.page-hero p {
    max-width: 700px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.22rem;
}

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

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    font-weight: 900;
    isolation: isolate;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, var(--blue), var(--blue-dark));
    transition: transform 220ms ease;
}

.btn:hover::before {
    transform: scale(1.08);
}

.btn-primary {
    color: var(--white);
    box-shadow: 0 18px 44px rgba(4, 107, 210, 0.28);
}

.btn-secondary {
    color: var(--blue);
    border-color: rgba(4, 107, 210, 0.22);
    background: rgba(4, 107, 210, 0.08);
}

.btn-secondary::before,
.btn-ghost::before {
    display: none;
}

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

.btn-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
}

.hero-proof {
    position: absolute;
    left: max(20px, calc((100vw - 1240px) / 2));
    bottom: 34px;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 2px 16px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background: rgba(17, 17, 17, 0.42);
    backdrop-filter: blur(16px);
}

.hero-proof span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
}

.hero-proof strong {
    font-size: 1.05rem;
}

.intro-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(1240px, calc(100% - 40px));
    gap: 16px;
    margin: 24px auto 0;
    position: relative;
    z-index: 2;
}

.strip-item {
    min-height: 156px;
    padding: 28px;
    border: 1px solid rgba(30, 41, 59, 0.09);
    border-radius: var(--radius);
    color: var(--slate-900);
    background: var(--white);
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.07);
}

.strip-item span {
    display: block;
    margin-bottom: 22px;
    color: var(--blue);
    font-weight: 900;
}

.strip-item strong {
    display: block;
    font-size: 1.18rem;
}

.strip-item p {
    margin: 8px 0 0;
    color: var(--slate-700);
}

.section {
    padding: 105px 0;
}

.section.soft {
    background: var(--soft);
}

.section-inner {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.section-inner.narrow {
    width: min(900px, calc(100% - 40px));
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: center;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 36px;
}

.section h2,
.section-heading h2,
.section-copy h2,
.cta-copy h2,
.contact-details h2,
.legal-page h2,
.faq-section h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: 2.7rem;
    line-height: 1.08;
    letter-spacing: 0;
}

.section p,
.section-heading p,
.section-copy p,
.cta-copy p {
    color: var(--slate-700);
    font-size: 1.05rem;
}

.section-copy .btn {
    margin-top: 16px;
}

.image-stack {
    position: relative;
    min-height: 620px;
}

.image-stack img {
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stack-main {
    width: 72%;
    height: 520px;
}

.stack-float {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48%;
    height: 390px;
    border: 8px solid var(--white);
}

.cta-panel {
    color: var(--white);
    background: radial-gradient(circle at 16% 20%, rgba(4, 107, 210, 0.48), transparent 32%), var(--ink);
}

.cta-panel .section h2,
.cta-panel h2,
.cta-panel p {
    color: var(--white);
}

.contact-split {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.72fr);
    gap: 56px;
    align-items: start;
}

.phone-link,
.contact-details a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: inherit;
    font-weight: 900;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 26px;
    border-radius: var(--radius);
    color: var(--slate-900);
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-title h3 {
    margin: 0;
    font-size: 1.65rem;
    line-height: 1.12;
}

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

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--slate-900);
    font-size: 0.92rem;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(30, 41, 59, 0.16);
    border-radius: var(--radius);
    color: var(--slate-900);
    background: var(--soft);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(4, 107, 210, 0.12);
}

.consent {
    grid-template-columns: auto 1fr;
    align-items: start;
    font-weight: 650;
}

.consent input {
    width: 18px;
    min-height: 18px;
    margin-top: 4px;
}

.hp-field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.social-band {
    padding: 92px 0;
    text-align: center;
    color: var(--white);
    background: linear-gradient(120deg, var(--slate-900), var(--blue-dark));
}

.social-band h2 {
    max-width: 760px;
    margin: 0 auto 28px;
    font-size: 2.35rem;
    line-height: 1.12;
}

.social-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.social-card {
    min-height: 118px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.08);
    transition: transform 180ms ease, background 180ms ease;
}

.social-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.16);
}

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

.service-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 41, 59, 0.09);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 42px rgba(17, 17, 17, 0.08);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.service-card.large img {
    height: 280px;
}

.service-card-body {
    padding: 22px;
}

.icon-badge {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-top: -46px;
    margin-bottom: 16px;
    border-radius: 50%;
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 12px 24px rgba(4, 107, 210, 0.28);
}

.icon-badge svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3,
.service-card h2,
.pricing-card h3,
.testimonial-card h3,
.custom-project h3,
.local-card h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: 1.35rem;
    line-height: 1.15;
}

.service-card p {
    min-height: 84px;
    margin: 12px 0;
    color: var(--slate-700);
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 900;
}

.service-card ul {
    padding-left: 20px;
    color: var(--slate-700);
}

.gallery-tease {
    overflow: hidden;
    background: var(--ink);
}

.marquee {
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    color: var(--white);
    font-size: 1rem;
    font-weight: 900;
    white-space: nowrap;
    background: var(--blue);
}

.marquee-link {
    display: block;
    padding: 18px 0;
}

.marquee-link:hover,
.marquee-link:focus-visible {
    background: var(--blue-dark);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 36s linear infinite;
    will-change: transform;
}

.marquee span {
    flex: 0 0 auto;
    min-width: max-content;
    padding-right: 46px;
}

.tease-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.tease-grid img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    filter: saturate(0.96);
    transition: transform 400ms ease, filter 240ms ease;
}

.tease-grid img:hover {
    transform: scale(1.04);
    filter: saturate(1.08);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    padding: 28px;
    border: 1px solid rgba(30, 41, 59, 0.12);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 42px rgba(17, 17, 17, 0.07);
}

.pricing-card.is-featured {
    color: var(--white);
    border-color: transparent;
    background: linear-gradient(150deg, var(--blue), var(--blue-dark) 58%, var(--teal));
    transform: translateY(-12px);
}

.pricing-card.is-featured h3,
.pricing-card.is-featured p,
.pricing-card.is-featured li,
.pricing-card.is-featured strong {
    color: var(--white);
}

.pricing-card p,
.pricing-card li {
    color: var(--slate-700);
}

.pricing-card strong {
    color: var(--slate-900);
    font-size: 2.7rem;
    line-height: 1;
}

.pricing-card ul {
    display: grid;
    gap: 10px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

.pricing-card li {
    position: relative;
    padding-left: 24px;
}

.pricing-card li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--blue);
}

.pricing-card.is-featured li::before {
    background: var(--white);
}

.pricing-card .btn {
    margin-top: auto;
}

.badge {
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--slate-900);
    font-size: 0.82rem;
    font-weight: 900;
    background: var(--white);
}

.custom-project {
    display: grid;
    grid-template-columns: 0.8fr 1fr auto;
    gap: 24px;
    align-items: center;
    margin-top: 28px;
    padding: 24px;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--slate-900);
}

.custom-project h3,
.custom-project p {
    color: var(--white);
}

.custom-project p {
    margin: 0;
}

.testimonials {
    background: var(--soft);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testimonial-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 18px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 42px rgba(17, 17, 17, 0.07);
}

.testimonial-card img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-card span {
    display: block;
    margin-top: 4px;
    color: var(--blue);
    font-weight: 800;
}

.testimonial-card p {
    margin-bottom: 0;
}

.local-section {
    background:
        linear-gradient(90deg, rgba(240, 245, 250, 0.92), rgba(255, 255, 255, 0.98)),
        url("../img/home/mosaique3.jpg") center/cover;
}

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

.city-links a,
.footer-cities a {
    display: inline-flex;
    padding: 9px 11px;
    border: 1px solid rgba(4, 107, 210, 0.18);
    border-radius: var(--radius);
    color: var(--slate-900);
    font-size: 0.92rem;
    font-weight: 750;
    background: rgba(255, 255, 255, 0.78);
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.city-links a:hover,
.footer-cities a:hover {
    color: var(--white);
    background: var(--blue);
    transform: translateY(-2px);
}

.contact-section {
    background: var(--white);
}

.contact-details {
    display: grid;
    gap: 14px;
}

.contact-details a {
    padding: 16px;
    border: 1px solid rgba(30, 41, 59, 0.1);
    border-radius: var(--radius);
    background: var(--soft);
}

.page-hero {
    position: relative;
    min-height: 620px;
    display: grid;
    align-items: end;
    padding: 160px 0 80px;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.page-hero.compact {
    min-height: 430px;
    color: var(--slate-900);
    background: var(--soft);
}

.page-hero.compact p {
    color: var(--slate-700);
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.portfolio-hero .page-hero-media img,
.service-hero .page-hero-media img,
.local-hero .page-hero-media img {
    filter: saturate(0.96);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.24));
}

.page-hero.compact::after {
    display: none;
}

.page-hero .section-inner {
    position: relative;
    z-index: 1;
}

.portfolio-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 26px;
}

.portfolio-toolbar span,
.portfolio-toolbar a {
    font-weight: 900;
}

.portfolio-toolbar a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 88px;
    grid-auto-flow: dense;
    gap: 10px;
}

.portfolio-item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    grid-column: span 3;
    grid-row: span 5;
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--slate-900);
    cursor: pointer;
}

.portfolio-item.is-landscape {
    grid-column: span 6;
    grid-row: span 3;
}

.portfolio-item.is-square {
    grid-column: span 4;
    grid-row: span 4;
}

.portfolio-item:nth-child(7n + 1):not(.is-landscape) {
    grid-row: span 6;
}

.portfolio-item:nth-child(11n + 4).is-portrait {
    grid-column: span 4;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 300ms ease, opacity 180ms ease;
}

.portfolio-item span {
    position: absolute;
    inset: auto 10px 10px 10px;
    padding: 8px 10px;
    border-radius: var(--radius);
    color: var(--white);
    font-size: 0.86rem;
    font-weight: 900;
    background: rgba(17, 17, 17, 0.62);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.portfolio-item:hover img {
    transform: scale(1.04);
    opacity: 0.78;
}

.portfolio-item:hover span {
    opacity: 1;
    transform: translateY(0);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 30px;
    background: rgba(17, 17, 17, 0.9);
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: min(1080px, 96vw);
    max-height: 84vh;
    border-radius: var(--radius);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.lightbox button {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.lightbox button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.local-card {
    padding: 28px;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--slate-900);
    box-shadow: var(--shadow);
}

.local-card h2,
.local-card p,
.local-card a {
    color: var(--white);
}

.local-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-weight: 900;
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-list div {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--soft);
    font-weight: 800;
}

.check-list span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
}

.faq-section details {
    border-bottom: 1px solid rgba(30, 41, 59, 0.13);
    padding: 20px 0;
}

.faq-section summary {
    cursor: pointer;
    color: var(--slate-900);
    font-size: 1.1rem;
    font-weight: 900;
}

.legal-page h2 {
    margin-top: 42px;
    font-size: 1.75rem;
}

.legal-page h2:first-child {
    margin-top: 0;
}

.legal-page a {
    color: var(--blue);
    font-weight: 800;
}

.site-footer {
    color: rgba(255, 255, 255, 0.78);
    background: var(--ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.4fr;
    gap: 36px;
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 62px 0 44px;
}

.footer-logo {
    width: 180px;
    filter: invert(1) brightness(8);
}

.site-footer h2 {
    margin: 0 0 16px;
    color: var(--white);
    font-size: 1rem;
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.82);
}

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

.social-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.social-links a {
    margin: 0;
    color: var(--white);
    font-weight: 900;
}

.footer-cities {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    max-height: 230px;
    overflow: auto;
    padding-right: 4px;
}

.footer-cities a {
    margin: 0;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-bottom a {
    display: inline;
    color: var(--white);
}

.sticky-cta {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 850;
    display: flex;
    gap: 8px;
}

.sticky-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 900;
    background: var(--blue);
    box-shadow: 0 16px 36px rgba(4, 107, 210, 0.28);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes marquee {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 1080px) {
    .main-nav {
        position: fixed;
        inset: var(--header-height) 0 auto 0;
        display: grid;
        justify-items: stretch;
        gap: 0;
        padding: 18px 20px 26px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 30px 70px rgba(17, 17, 17, 0.16);
        transform: translateY(-130%);
        transition: transform 220ms ease;
    }

    .nav-open .main-nav {
        transform: translateY(0);
    }

    .main-nav a,
    .site-header:not(.is-scrolled) .main-nav a {
        color: var(--slate-900);
        padding: 14px 10px;
        border-bottom: 1px solid rgba(30, 41, 59, 0.08);
    }

    .nav-dropdown {
        width: 100%;
        display: block;
    }

    .nav-dropdown::before {
        display: none;
    }

    .nav-parent {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        margin: 4px 0 10px;
        padding: 6px;
        border-color: rgba(30, 41, 59, 0.08);
        background: var(--soft);
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown.is-open .dropdown-menu {
        transform: none;
    }

    .dropdown-menu a,
    .site-header:not(.is-scrolled) .dropdown-menu a {
        padding: 10px 12px;
        border-bottom: 0;
        color: var(--slate-900);
    }

    .header-call span {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

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

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

    .portfolio-grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
        grid-auto-rows: 80px;
    }

    .portfolio-item,
    .portfolio-item:nth-child(7n + 1):not(.is-landscape),
    .portfolio-item:nth-child(11n + 4).is-portrait {
        grid-column: span 4;
        grid-row: span 5;
    }

    .portfolio-item.is-landscape {
        grid-column: span 8;
        grid-row: span 4;
    }

    .portfolio-item.is-square {
        grid-column: span 4;
        grid-row: span 4;
    }
}

@media (max-width: 860px) {
    :root {
        --header-height: 76px;
    }

    .header-inner,
    .section-inner,
    .section-inner.narrow,
    .intro-strip,
    .hero-content,
    .footer-bottom p {
        width: min(100% - 28px, 1240px);
    }

    .brand img {
        width: 106px;
    }

    .hero {
        min-height: 720px;
    }

    .hero-slider {
        min-height: 780px;
    }

    .hero-slider-content {
        width: min(100% - 28px, 1240px);
        padding-bottom: 98px;
    }

    .hero-logo-center {
        top: calc(var(--header-height) + 28px);
        width: min(190px, 54vw);
    }

    .hero-slider-content h1 {
        max-width: 315px;
        font-size: 1.62rem;
        margin-inline: auto;
    }

    .hero-slider-content .eyebrow {
        max-width: 330px;
        margin-inline: auto;
        justify-content: center;
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .hero-slider-content .hero-lead {
        max-width: 300px;
        font-size: 0.88rem;
    }

    .hero-slide-controls {
        display: none;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 3.2rem;
    }

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

    .hero-proof {
        left: 14px;
        right: 14px;
        bottom: 16px;
    }

    .intro-strip,
    .split,
    .contact-split,
    .pricing-grid,
    .testimonial-grid,
    .custom-project {
        grid-template-columns: 1fr;
    }

    .intro-strip {
        margin-top: 0;
    }

    .section {
        padding: 76px 0;
    }

    .section h2,
    .section-heading h2,
    .section-copy h2,
    .cta-copy h2,
    .contact-details h2 {
        font-size: 2.1rem;
    }

    .image-stack {
        min-height: 520px;
    }

    .stack-main {
        width: 82%;
        height: 420px;
    }

    .stack-float {
        width: 54%;
        height: 300px;
    }

    .contact-split {
        gap: 28px;
    }

    .form-grid,
    .social-actions,
    .service-grid,
    .tease-grid {
        grid-template-columns: 1fr;
    }

    .tease-grid img {
        height: 280px;
    }

    .pricing-card.is-featured {
        transform: none;
    }

    .portfolio-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-auto-rows: 72px;
    }

    .portfolio-item,
    .portfolio-item:nth-child(7n + 1):not(.is-landscape),
    .portfolio-item:nth-child(11n + 4).is-portrait {
        grid-column: span 3;
        grid-row: span 5;
    }

    .portfolio-item.is-landscape {
        grid-column: span 6;
        grid-row: span 4;
    }

    .portfolio-item.is-square {
        grid-column: span 3;
        grid-row: span 4;
    }

    .page-hero {
        min-height: 540px;
        padding-top: 128px;
    }
}

@media (max-width: 560px) {
    .header-call {
        display: none;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.55rem;
    }

    .hero-slider-content h1 {
        font-size: 1.56rem;
    }

    .hero-content {
        padding: 90px 0 150px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .sticky-cta {
        display: flex;
        right: 12px;
        left: 12px;
        bottom: 12px;
    }

    .sticky-cta a {
        flex: 1 1 0;
        justify-content: center;
        min-width: 0;
        width: 100%;
        min-height: 48px;
        padding: 9px 10px;
    }

    .sticky-cta a span {
        font-size: 0;
    }

    .sticky-cta a:first-child span::after {
        content: "Appel";
        font-size: 0.95rem;
    }

    .sticky-cta a:nth-child(2) span::after {
        content: "Rdv";
        font-size: 0.95rem;
    }

    .section h2,
    .section-heading h2,
    .section-copy h2,
    .cta-copy h2,
    .contact-details h2,
    .social-band h2 {
        font-size: 1.85rem;
    }

    .contact-form {
        padding: 18px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .portfolio-item,
    .portfolio-item.is-landscape,
    .portfolio-item.is-square,
    .portfolio-item:nth-child(7n + 1):not(.is-landscape),
    .portfolio-item:nth-child(11n + 4).is-portrait {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 4 / 5;
    }

    .portfolio-item.is-landscape {
        aspect-ratio: 16 / 10;
    }

    .portfolio-item.is-square {
        aspect-ratio: 1;
    }

    .testimonial-card {
        grid-template-columns: 1fr;
    }

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

@media (hover: none), (pointer: coarse) {
    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
