/*
Theme Name: Ecosinergica
Theme URI: http://localhost/ecosinergica/
Author: Ecosinergica Srl
Description: Tema WordPress custom per Ecosinergica Srl.
Version: 1.0.0
Text Domain: ecosinergica
*/

:root {
    --font-main: "Manrope", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --primary: #f36a12;
    --primary-dark: #c94c05;
    --deep: #241713;
    --deep-strong: #0d0a08;
    --accent: #ffb238;
    --accent-soft: #fff3e8;
    --ink: #161210;
    --muted: #6b5f59;
    --line: #eadfd7;
    --paper: #fff8f2;
    --white: #ffffff;
    --black: #0d0a08;
    --shadow: 0 20px 60px rgba(13, 10, 8, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 94px;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

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

p,
h1,
h2,
h3 {
    margin-top: 0;
}

button,
input,
textarea {
    font: inherit;
}

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

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

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px max(24px, 6vw);
    color: var(--white);
    transition: background 180ms ease, padding 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
    background: transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding-top: 14px;
    padding-bottom: 14px;
}

.site-header.is-scrolled {
    background: var(--deep-strong);
}

.site-brand {
    position: relative;
    z-index: 63;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    max-width: 46vw;
    color: var(--white);
}

.site-brand img {
    width: 66px;
    height: 54px;
    flex: 0 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
}

.site-brand span {
    display: grid;
    line-height: 1.05;
}

.site-brand strong {
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 800;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.42);
    white-space: nowrap;
}

.site-brand small {
    margin-top: 3px;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

body.menu-open .site-brand strong,
body.menu-open .menu-toggle {
    color: var(--ink);
    text-shadow: none;
}

.header-actions {
    position: relative;
    z-index: 63;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 22px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
}

.header-cta-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}

.header-cta-secondary:hover,
.header-cta-secondary:focus {
    background: var(--white);
    color: var(--deep);
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--white);
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

body.menu-open .menu-toggle {
    min-width: 96px;
    justify-content: center;
    padding: 0 12px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 4px;
}

.menu-bars {
    width: 28px;
    height: 22px;
    display: grid;
    align-content: space-between;
}

.menu-bars span {
    display: block;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
}

.menu-label {
    line-height: 1;
}

.site-navigation {
    position: fixed;
    z-index: 61;
    inset: 0 auto 0 0;
    width: min(420px, calc(100% - 64px));
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    padding: 110px 44px 44px;
    background: var(--white);
    color: var(--ink);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-100%);
    transition: transform 220ms ease;
    box-shadow: 24px 0 60px rgba(13, 10, 8, 0.18);
    -webkit-overflow-scrolling: touch;
}

.menu-backdrop {
    position: fixed;
    z-index: 60;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(13, 10, 8, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

body.menu-open .menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.menu-open .site-navigation {
    transform: translateX(0);
}

.nav-list {
    list-style: none;
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0 0 calc(18px + env(safe-area-inset-bottom));
}

.nav-list a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.45rem;
    font-weight: 800;
}

.nav-list a:hover,
.nav-list a:focus {
    color: var(--primary);
}

.hero {
    position: relative;
    min-height: calc(100svh - 48px);
    display: flex;
    align-items: center;
    padding: 160px max(24px, 7vw) 130px;
    color: var(--white);
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 10, 8, 0.84) 0%, rgba(13, 10, 8, 0.56) 46%, rgba(13, 10, 8, 0.72) 100%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(0deg, rgba(13, 10, 8, 0.48), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(820px, 100%);
    margin: 0 auto;
    text-align: center;
}

.eyebrow,
.section-kicker {
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-brand-lockup {
    display: grid;
    justify-items: center;
    width: min(620px, 100%);
    margin-bottom: 24px;
}

.hero-brand-lockup img {
    width: clamp(118px, 15vw, 178px);
    height: auto;
    margin-bottom: 18px;
    filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.38));
}

.hero h1 {
    margin-bottom: 0;
    font-size: 4.4rem;
    line-height: 0.98;
    font-weight: 800;
    max-width: 760px;
}

.hero-copy {
    max-width: 650px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
}

.hero-actions,
.intro-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions {
    justify-content: center;
}

.contact-actions .button[href^="mailto:"] {
    min-width: 238px;
    padding-right: 28px;
    padding-left: 28px;
    word-spacing: 0.16em;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus {
    transform: translateY(-1px);
}

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

.button-primary:hover,
.button-primary:focus {
    background: var(--primary-dark);
}

.button-ghost {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.button-ghost:hover,
.button-ghost:focus {
    background: var(--white);
    color: var(--deep);
}

.button-light {
    border-color: var(--line);
    background: var(--white);
    color: var(--deep);
}

.button-light:hover,
.button-light:focus {
    border-color: var(--primary);
    color: var(--primary);
}

.scroll-cue {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 28px;
    width: 36px;
    height: 58px;
    border: 3px solid rgba(255, 255, 255, 0.74);
    border-radius: 20px;
    transform: translateX(-50%);
}

.scroll-cue span {
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 7px;
    height: 7px;
    background: var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: cue 1.6s ease-in-out infinite;
}

@keyframes cue {
    0%, 100% {
        transform: translate(-50%, -2px);
        opacity: 0.65;
    }
    50% {
        transform: translate(-50%, -12px);
        opacity: 1;
    }
}

.section-pad {
    padding: 96px max(24px, 7vw);
}

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

.intro-copy {
    width: min(920px, 100%);
    margin: 0 auto;
    text-align: center;
}

.intro-copy h2,
.section-heading h2,
.partner-band h2,
.contact-cta h2 {
    margin-bottom: 22px;
    font-size: 2.75rem;
    line-height: 1.08;
    font-weight: 800;
}

.intro-copy p {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.intro-actions {
    justify-content: center;
    margin-top: 30px;
}

.promotions-section {
    position: relative;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(36, 23, 19, 0.92) 0%, rgba(201, 76, 5, 0.76) 48%, rgba(13, 10, 8, 0.86) 100%),
        var(--promotions-bg);
    background-color: var(--deep);
    background-position: center;
    background-size: cover;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.promotions-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.promotions-section .section-heading h2 {
    color: var(--white);
    text-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.promotions-section .section-kicker {
    color: rgba(255, 255, 255, 0.84);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
    gap: 18px;
}

.promotion-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    min-height: 100%;
    background: var(--white);
    color: var(--ink);
    border: 1px solid rgba(243, 106, 18, 0.22);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(13, 10, 8, 0.1);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.promotion-card:hover {
    transform: translateY(-3px);
    border-color: rgba(243, 106, 18, 0.48);
    box-shadow: 0 24px 66px rgba(13, 10, 8, 0.14);
}

.promotion-media {
    min-height: 230px;
    overflow: hidden;
    background: var(--deep);
}

.promotion-media img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 280ms ease, opacity 280ms ease;
}

.promotion-card:hover .promotion-media img {
    transform: scale(1.04);
    opacity: 0.92;
}

.promotion-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
}

.promotion-card-no-media .promotion-content {
    min-height: 320px;
}

.promotion-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 16px;
    padding: 0 10px;
    background: var(--primary);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.promotion-content h3 {
    margin-bottom: 12px;
    font-size: 1.55rem;
    line-height: 1.15;
}

.promotion-content p {
    color: var(--muted);
}

.promotion-highlight {
    margin-bottom: 14px;
    color: var(--primary-dark) !important;
    font-size: 1.15rem;
    font-weight: 900;
}

.promotion-validity {
    width: 100%;
    margin-top: 4px;
    padding: 11px 13px;
    background: var(--accent-soft);
    border-left: 3px solid var(--primary);
    color: var(--ink) !important;
    font-size: 0.92rem;
    font-weight: 800;
}

.promotion-content .button {
    margin-top: auto;
}

.services-section,
.process-section {
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(243, 106, 18, 0.94) 0%, rgba(201, 76, 5, 0.95) 46%, rgba(36, 23, 19, 0.98) 100%);
}

.section-heading {
    width: min(820px, 100%);
    margin-bottom: 40px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.services-heading {
    position: relative;
    width: min(900px, 100%);
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.services-heading .section-kicker {
    color: rgba(255, 255, 255, 0.82);
}

.services-heading h2 {
    max-width: 760px;
    color: var(--white);
}

.process-section .section-heading {
    position: relative;
    width: min(900px, 100%);
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.process-section .section-kicker {
    color: rgba(255, 255, 255, 0.82);
}

.process-section .section-heading h2 {
    max-width: 760px;
    color: var(--white);
}

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

.service-card {
    position: relative;
    min-height: 300px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(13, 10, 8, 0.15);
    overflow: hidden;
    opacity: 0;
    transform: translateY(36px) scale(0.94);
    transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0.36);
    transform-origin: left;
    transition: transform 260ms ease;
}

.service-card:nth-child(2)::before {
    background: linear-gradient(90deg, #241713, var(--primary));
}

.service-card:nth-child(3)::before {
    background: linear-gradient(90deg, #7b4a20, var(--accent));
}

.service-card:nth-child(4)::before {
    background: linear-gradient(90deg, #8c2f0a, var(--primary));
}

.service-card:nth-child(5)::before {
    background: linear-gradient(90deg, var(--deep), #f36a12);
}

.service-card:nth-child(2) {
    transition-delay: 70ms;
}

.service-card:nth-child(3) {
    transition-delay: 140ms;
}

.service-card:nth-child(4) {
    transition-delay: 210ms;
}

.service-card:nth-child(5) {
    transition-delay: 280ms;
}

.services-section.is-visible .service-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-8px);
    border-color: rgba(243, 106, 18, 0.34);
    box-shadow: 0 22px 54px rgba(36, 23, 19, 0.12);
}

.service-card:hover::before,
.service-card:focus-within::before {
    transform: scaleX(1);
}

.service-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 34px;
    color: var(--primary);
    border: 1px solid rgba(243, 106, 18, 0.35);
    border-radius: 50%;
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 800;
}

.service-card p,
.service-text {
    margin-bottom: 0;
    color: var(--muted);
}

.service-text p:last-child {
    margin-bottom: 0;
}

.partner-band {
    padding: 84px max(24px, 7vw);
    background: linear-gradient(135deg, var(--deep), #17100d 62%, #2b160d);
    color: var(--white);
}

.partner-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
    gap: 64px;
    align-items: start;
}

.partner-copy p {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 800;
}

.opportunities-section {
    background: var(--paper);
}

.opportunities-inner {
    display: grid;
    gap: 28px;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.opportunity-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
    overflow: hidden;
    min-height: 430px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(13, 10, 8, 0.1);
}

.opportunity-panel-reverse {
    grid-template-columns: minmax(320px, 1fr) minmax(0, 0.95fr);
}

.opportunity-panel-reverse .opportunity-media {
    order: 2;
}

.opportunity-media {
    min-height: 100%;
    background: var(--deep);
}

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

.opportunity-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(28px, 5vw, 56px);
}

.opportunity-copy h2 {
    margin-bottom: 18px;
    font-size: 2.35rem;
    line-height: 1.08;
    font-weight: 800;
}

.opportunity-copy p:not(.section-kicker) {
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 1.06rem;
}

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

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    color: var(--ink);
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.filter-button.is-active,
.filter-button:hover,
.filter-button:focus {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

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

.work-item {
    position: relative;
    min-height: 280px;
    margin: 0;
    overflow: hidden;
    background: var(--deep);
}

.work-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 300ms ease, opacity 300ms ease;
}

.work-item figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 48px 20px 20px;
    color: var(--white);
    background: linear-gradient(0deg, rgba(13, 10, 8, 0.82), transparent);
    font-size: 1rem;
    font-weight: 800;
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-item.is-hidden {
    display: none;
}

.stats-section {
    padding: 96px max(24px, 7vw);
    background: var(--deep);
    color: var(--white);
}

.stats-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
}

.stats-section .section-heading {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
}

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

.stat-card {
    min-height: 178px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.stat-value {
    display: block;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 3rem;
    line-height: 1;
    font-weight: 800;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.78);
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    position: relative;
    min-height: 220px;
    padding: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(13, 10, 8, 0.15);
    opacity: 0;
    transform: translateY(36px) scale(0.94);
    transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, border-color 220ms ease;
}

.process-list li::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0.36);
    transform-origin: left;
    transition: transform 260ms ease;
}

.process-list li:nth-child(2)::before {
    background: linear-gradient(90deg, #241713, var(--primary));
}

.process-list li:nth-child(3)::before {
    background: linear-gradient(90deg, #7b4a20, var(--accent));
}

.process-list li:nth-child(4)::before {
    background: linear-gradient(90deg, #8c2f0a, var(--primary));
}

.process-list li:nth-child(2) {
    transition-delay: 70ms;
}

.process-list li:nth-child(3) {
    transition-delay: 140ms;
}

.process-list li:nth-child(4) {
    transition-delay: 210ms;
}

.process-section.is-visible .process-list li {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.process-list li:hover,
.process-list li:focus-within {
    transform: translateY(-8px);
    border-color: rgba(243, 106, 18, 0.34);
    box-shadow: 0 22px 54px rgba(36, 23, 19, 0.12);
}

.process-list li:hover::before,
.process-list li:focus-within::before {
    transform: scaleX(1);
}

.process-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 34px;
    color: var(--primary);
    border: 1px solid rgba(243, 106, 18, 0.35);
    border-radius: 50%;
    font-weight: 800;
}

.process-list strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 800;
}

.contact-cta {
    padding: 86px max(24px, 7vw);
    background: var(--white);
}

.contact-cta-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 36px;
    padding: 42px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.contact-cta h2 {
    margin-bottom: 24px;
}

.contact-copy {
    flex: 1 1 620px;
}

.contact-detail-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-detail-list li {
    min-width: 0;
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.contact-detail-list span {
    display: block;
    margin-bottom: 6px;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.contact-detail-list a {
    display: block;
    overflow-wrap: anywhere;
    color: var(--deep);
    font-weight: 800;
    line-height: 1.35;
}

.contact-detail-list a:hover,
.contact-detail-list a:focus {
    color: var(--primary);
}

.contact-form-message {
    margin: 18px 0 0;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 800;
}

.contact-form-message.is-success {
    background: var(--accent-soft);
    color: var(--primary-dark);
    border: 1px solid rgba(243, 106, 18, 0.24);
}

.contact-form-message.is-error {
    background: #fff0ec;
    color: #8c2f0a;
    border: 1px solid rgba(140, 47, 10, 0.22);
}

.contact-toast {
    position: fixed;
    right: clamp(18px, 3vw, 38px);
    bottom: clamp(18px, 3vw, 38px);
    z-index: 1200;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    width: min(420px, calc(100vw - 36px));
    padding: 16px 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    box-shadow: 0 22px 54px rgba(42, 31, 24, 0.24);
    transform: translateY(18px);
    animation: contactToastIn 0.42s ease forwards;
}

.contact-toast.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.contact-toast-badge {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--primary-dark);
    background: var(--white);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.contact-toast-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.contact-toast-copy strong,
.contact-toast-copy span {
    display: block;
}

.contact-toast-copy strong {
    font-size: 1rem;
    line-height: 1.2;
}

.contact-toast-copy span {
    font-size: 0.88rem;
    line-height: 1.35;
    opacity: 0.9;
}

.contact-toast-close {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
}

.contact-toast-close:hover,
.contact-toast-close:focus-visible {
    background: rgba(255, 255, 255, 0.24);
}

@keyframes contactToastIn {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
    padding: 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.contact-form-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.contact-form-field-wide,
.contact-form .button {
    grid-column: 1 / -1;
}

.contact-form-field span {
    color: var(--deep);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    color: var(--ink);
    padding: 12px 13px;
    outline: 0;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(243, 106, 18, 0.14);
}

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

.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 64px max(24px, 7vw) 34px;
}

.footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 46px;
}

.footer-brand img {
    width: 92px;
    flex: 0 0 auto;
}

.footer-brand h2 {
    margin-bottom: 8px;
    font-size: 1.6rem;
    font-weight: 800;
}

.footer-brand p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.8fr 1fr;
    gap: 44px;
    padding-bottom: 38px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid h3 {
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 0.92rem;
    text-transform: uppercase;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-grid li,
.footer-grid p {
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-grid a:hover,
.footer-grid a:focus,
.footer-bottom a:hover,
.footer-bottom a:focus {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding-top: 24px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
}

.cookie-notice {
    position: fixed;
    right: clamp(16px, 3vw, 34px);
    bottom: clamp(16px, 3vw, 34px);
    z-index: 1300;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    width: min(640px, calc(100vw - 32px));
    padding: 18px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(42, 31, 24, 0.12);
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(42, 31, 24, 0.2);
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice strong {
    display: block;
    margin-bottom: 4px;
    color: var(--deep);
}

.cookie-notice p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.cookie-notice-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.cookie-notice-actions a,
.cookie-notice-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
}

.cookie-notice-actions a {
    color: var(--primary-dark);
    background: var(--accent-soft);
}

.cookie-notice-actions button {
    color: var(--white);
    background: var(--primary);
    border: 0;
    cursor: pointer;
}

.cookie-notice-actions a:hover,
.cookie-notice-actions a:focus-visible,
.cookie-notice-actions button:hover,
.cookie-notice-actions button:focus-visible {
    transform: translateY(-1px);
}

.site-main {
    min-height: 50vh;
}

.content-page {
    width: min(920px, calc(100% - 48px));
    margin: 0 auto;
    padding: 140px 0 90px;
}

.content-page h1 {
    margin-bottom: 24px;
    font-size: 2.8rem;
    line-height: 1.1;
}

.content-page h2 {
    margin: 34px 0 12px;
    color: var(--deep);
    font-size: 1.35rem;
    line-height: 1.25;
}

.content-page p,
.content-page li {
    color: var(--muted);
    line-height: 1.72;
}

.content-page ul {
    margin: 0 0 18px 1.2em;
    padding: 0;
}

.content-page a {
    color: var(--primary-dark);
    font-weight: 800;
}

@media (max-width: 1100px) {
    .hero h1 {
        font-size: 3.4rem;
    }

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

    .partner-inner,
    .opportunity-panel,
    .opportunity-panel-reverse,
    .stats-inner {
        grid-template-columns: 1fr;
    }

    .opportunity-panel-reverse .opportunity-media {
        order: 0;
    }
}

@media (max-width: 780px) {
    body {
        font-size: 15px;
    }

    .site-header {
        padding: 16px 20px;
    }

    .site-brand {
        max-width: 50vw;
    }

    .site-brand img {
        width: 52px;
        height: 44px;
    }

    .site-brand strong {
        font-size: 1rem;
    }

    .site-brand small {
        font-size: 0.62rem;
    }

    .header-cta {
        display: none;
    }

    .menu-label {
        font-size: 0.95rem;
    }

    .site-navigation {
        width: min(420px, calc(100% - 56px));
        padding: 100px 28px 34px;
    }

    .nav-list a {
        font-size: 1.35rem;
    }

    .hero {
        min-height: calc(100svh - 36px);
        padding: 128px 22px 156px;
        background-position: center;
    }

    .hero h1 {
        font-size: 2.62rem;
        line-height: 1.03;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .scroll-cue {
        display: none;
    }

    .section-pad,
    .stats-section,
    .partner-band,
    .contact-cta,
    .site-footer {
        padding-left: 22px;
        padding-right: 22px;
    }

    .section-pad,
    .stats-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .intro-copy h2,
    .section-heading h2,
    .partner-band h2,
    .opportunity-copy h2,
    .contact-cta h2 {
        font-size: 2.05rem;
    }

    .services-heading {
        padding-bottom: 20px;
    }

    .service-grid,
    .promotions-grid,
    .work-grid,
    .stats-grid,
    .process-list,
    .contact-detail-list,
    .contact-form,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .opportunity-panel {
        min-height: auto;
    }

    .opportunity-media img {
        min-height: 280px;
    }

    .work-item {
        min-height: 240px;
    }

    .contact-cta-inner,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-legal {
        justify-content: flex-start;
    }

    .cookie-notice {
        grid-template-columns: 1fr;
    }

    .cookie-notice-actions {
        justify-content: flex-start;
        white-space: normal;
    }

    .footer-brand {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .site-brand {
        max-width: 66vw;
    }

    .menu-label {
        display: none;
    }

    body.menu-open .menu-label {
        display: inline;
    }

    .hero h1 {
        font-size: 2.22rem;
    }

    .button {
        width: 100%;
    }
}
