/* CICA — Main Stylesheet */

:root {
    /* CICA brand palette — from official logo */
    --color-primary: #033165;
    --color-primary-dark: #021f3d;
    --color-primary-light: #05509c;
    --color-accent: #033165;
    --color-accent-hover: #05509c;
    --color-brand-gray: #888989;
    --color-graphite: #4a4f54;
    --color-concrete: #888989;
    --color-light: #F4F6F9;
    --color-white: #FFFFFF;
    --color-border: #DDE3EA;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --header-height: 84px;
    --header-height-compact: 68px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(2, 31, 61, 0.08);
    --shadow-md: 0 8px 30px rgba(2, 31, 61, 0.1);
    --shadow-lg: 0 20px 50px rgba(2, 31, 61, 0.14);
    --radius: 6px;
    --radius-lg: 10px;
}

html.is-header-compact {
    --header-height: var(--header-height-compact);
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }

body {
    font-family: var(--font-body);
    color: var(--color-graphite);
    line-height: 1.7;
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.content-narrow { max-width: 760px; margin: 0 auto; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary-dark);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-primary-light);
    margin-bottom: 16px;
}
.section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--color-primary-light);
    flex-shrink: 0;
}
.section-label.light::before { background: rgba(255,255,255,0.45); }
.section-label.light { color: rgba(255,255,255,0.7); }

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 48px;
}
.section-title.light { color: var(--color-white); }

.section { padding: 100px 0; }
.bg-dark { background: var(--color-primary-dark); color: rgba(255,255,255,0.85); }
.bg-dark h2, .bg-dark h3 { color: var(--color-white); }
.bg-light { background: var(--color-light); }
.text-light-muted { color: rgba(255,255,255,0.6); }
.text-center { text-align: center; }
.lead { font-size: 1.125rem; line-height: 1.8; }
.lead.light { color: rgba(255, 255, 255, 0.88); }
.lead + .lead { margin-top: 1.25rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    box-shadow: 0 4px 16px rgba(3, 49, 101, 0.28);
}
.btn-primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(3, 49, 101, 0.35);
    transform: translateY(-1px);
}
.btn-secondary { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-secondary:hover { background: var(--color-primary); color: var(--color-white); }
.btn-outline { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--color-white); background: rgba(255,255,255,0.1); color: var(--color-white); }
.btn-outline-light { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: var(--color-white); color: var(--color-primary-dark); }
.btn-sm { padding: 10px 20px; font-size: 0.75rem; }
.btn-lg { padding: 18px 36px; }

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition:
        height var(--transition),
        background var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}
.site-header.transparent {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}
.site-header.scrolled {
    height: var(--header-height-compact);
    background: rgba(2, 31, 61, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(2, 31, 61, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: var(--header-height);
    transition: height var(--transition);
}
.site-header.scrolled .header-inner {
    height: var(--header-height-compact);
}
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1002;
}
.logo-img {
    height: 48px;
    width: auto;
    display: block;
    transition: height var(--transition);
}
.site-header.scrolled .logo-img {
    height: 40px;
}
.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}
.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
    margin: 0;
    padding: 0;
}
.nav-list li {
    display: flex;
    align-items: center;
}
.nav-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    border-radius: 0;
    transition: color var(--transition);
}
.nav-list a::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 8px;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}
.nav-list a:hover,
.nav-list a.active {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}
.nav-list a:hover::after,
.nav-list a.active::after {
    transform: scaleX(1);
}

.mobile-nav-foot {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    z-index: 1002;
}
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}
.lang-switch-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color var(--transition), background var(--transition);
}
.lang-switch-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
.lang-switch-item.is-active {
    color: #021f3d;
    background: #fff;
    cursor: default;
}
.header-whatsapp { color: #25D366; display: flex; }
.header-whatsapp:hover { color: #128C7E; }

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    padding: 0;
    transition: background var(--transition);
}
.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-white);
    border-radius: 1px;
    transition: transform var(--transition), opacity var(--transition);
    transform-origin: center;
}
.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
    overflow: hidden;
}
body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    top: var(--header-height);
    z-index: 998;
    background: rgba(2, 31, 61, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--color-primary-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.02);
}
@keyframes heroKenBurns {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(2, 31, 61, 0.94) 0%, rgba(2, 31, 61, 0.78) 42%, rgba(3, 49, 101, 0.45) 100%),
        linear-gradient(to top, rgba(2, 31, 61, 0.55) 0%, transparent 45%);
}
.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 72px 0 88px;
}
.hero-content {
    max-width: 760px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; }
.hero-indicators {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.14);
}
.indicator {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    min-height: 148px;
    padding: 22px 20px 20px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.indicator:hover {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.07) 100%);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(2, 31, 61, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.indicator-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: rgba(5, 80, 156, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.95);
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition);
}
.indicator-icon svg {
    width: 22px;
    height: 22px;
}
.indicator:hover .indicator-icon {
    background: rgba(5, 80, 156, 0.55);
    transform: scale(1.05);
}
.indicator-text {
    margin-top: auto;
    padding-top: 18px;
}
.indicator-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
    line-height: 1.35;
}
.indicator-sublabel {
    display: block;
    margin-top: 4px;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    line-height: 1.35;
}
.hero-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.hero-badge-line {
    width: 48px;
    height: 2px;
    background: var(--color-primary-light);
    flex-shrink: 0;
}
.hero-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
    margin: 0;
}
.hero-title {
    font-size: clamp(2.125rem, 4.8vw, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 28px;
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 680px;
    text-wrap: balance;
}
.hero-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
    margin-bottom: 44px;
    max-width: 540px;
}

/* Full-bleed photo slider (início) */
.hero-slider {
    align-items: stretch;
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.9s ease, visibility 0.9s ease;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-color: var(--color-primary-dark);
    background-size: cover;
    background-position: var(--hero-pos, center center);
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 8s ease-out;
}
.hero-slide.is-active .hero-slide-bg {
    transform: scale(1.1);
}
.hero-slider .hero-overlay {
    background:
        linear-gradient(180deg, rgba(2, 31, 61, 0.48) 0%, rgba(2, 31, 61, 0.28) 38%, rgba(2, 31, 61, 0.42) 72%, rgba(2, 31, 61, 0.62) 100%),
        radial-gradient(ellipse at center, rgba(2, 31, 61, 0.22) 0%, rgba(2, 31, 61, 0.5) 100%);
}
.hero-slider .hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100dvh - var(--header-height));
    padding-top: 96px;
    padding-bottom: 108px;
}
.hero-slider .hero-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-slider .hero-slide.is-active .hero-content {
    opacity: 1;
    transform: none;
    transition-delay: 0.18s;
}
.hero-slider .hero-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 130%;
    height: 140%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(2, 31, 61, 0.55) 0%, rgba(2, 31, 61, 0) 68%);
    z-index: -1;
    pointer-events: none;
}
.hero-slider .hero-title {
    max-width: 12.5em;
    margin-bottom: 0;
    font-size: clamp(2.05rem, 4.6vw, 3.35rem);
    text-shadow: 0 8px 28px rgba(2, 31, 61, 0.45);
}
.hero-slider .hero-text {
    margin-top: 22px;
    margin-bottom: 36px;
    max-width: 36em;
    font-size: 1.125rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 4px 18px rgba(2, 31, 61, 0.5);
    text-wrap: pretty;
    hyphens: none;
    -webkit-hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}
.hero-slider .hero-badge,
.hero-slider .hero-title,
.hero-slider .hero-text,
.hero-slider .hero-actions {
    opacity: 1;
    animation: none;
}
.hero-slider .hero-actions {
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.hero-slider .hero-actions .btn {
    width: auto;
    min-width: 0;
    padding: 12px 26px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}
.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}
.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: width var(--transition), background var(--transition);
}
.hero-dot.is-active {
    width: 28px;
    background: var(--color-white);
}

/* About */
.page-home .hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.page-home .hero-badge {
    justify-content: center;
}
.page-home .hero-title,
.page-home .hero-text {
    margin-inline: auto;
}
.page-home .hero-actions {
    justify-content: center;
}
.page-home .section > .container > .section-title,
.page-home .section-header,
.page-home .section-header .section-title,
.page-home .section-intro {
    text-align: center;
}
.page-home .section-header {
    margin-inline: auto;
}
.page-home .about-content {
    text-align: left;
}
.page-home .about-content .btn {
    margin-inline: 0;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-content p { margin-bottom: 20px; color: var(--color-concrete); }
.about-content .btn { margin-top: 16px; }
.about-image-placeholder {
    aspect-ratio: 4/5;
    background: var(--color-light);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 28% 42%;
}
.geo-pattern {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, transparent 48%, var(--color-border) 49%, var(--color-border) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, var(--color-border) 49%, var(--color-border) 51%, transparent 52%);
    background-size: 40px 40px;
    opacity: 0.5;
}

/* Photo bands: Missão / Porquê a CICA */
.section-mission,
.section-why {
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    padding: 120px 0;
}
.section-mission-bg,
.section-mission-overlay,
.section-why-bg,
.section-why-overlay {
    position: absolute;
    inset: 0;
}
.section-mission-bg,
.section-why-bg {
    z-index: 0;
    background-color: var(--color-primary-dark);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    transform: scale(1.04);
}
.section-mission-overlay,
.section-why-overlay {
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(2, 31, 61, 0.94) 0%, rgba(2, 31, 61, 0.82) 48%, rgba(3, 49, 101, 0.52) 100%),
        linear-gradient(to top, rgba(2, 31, 61, 0.32) 0%, transparent 42%);
}
.section-mission::after,
.section-why::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.45), transparent 70%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.45), transparent 70%);
}
.section-mission .container,
.section-why .container {
    position: relative;
    z-index: 2;
}
.section-mission-panel,
.section-why-panel {
    max-width: 680px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.section-mission-panel .section-label,
.section-why-panel .section-label {
    margin-bottom: 18px;
}
.section-mission-panel .section-title,
.section-why-panel .section-title {
    margin-bottom: 22px;
    text-align: left;
}
.section-mission-panel .lead,
.section-why-panel .lead {
    margin: 0 0 20px;
    max-width: 58ch;
    text-wrap: pretty;
    text-align: left;
    line-height: 1.85;
}
.section-mission-panel .lead + .lead,
.section-why-panel .lead + .lead {
    margin-top: 0;
}
.section-mission-panel .lead:last-of-type,
.section-why-panel .lead:last-of-type {
    margin-bottom: 36px;
}
.section-mission-panel .btn,
.section-why-panel .btn {
    align-self: flex-start;
    margin-inline: 0;
}

/* Home — Responsabilidade Social (contraste com Porquê a CICA) */
.section-social {
    background: var(--color-white);
    padding: 100px 0;
}
.social-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 64px;
    align-items: center;
}
.social-home-image {
    position: relative;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: var(--color-light);
}
.social-home-image::after {
    content: '';
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 4px;
    background: var(--color-primary);
    border-radius: 0 3px 3px 0;
}
.social-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.social-home-content {
    text-align: left;
    max-width: 34rem;
}
.social-home-content .section-label {
    margin-bottom: 16px;
}
.social-home-content .section-title {
    margin-bottom: 18px;
    text-align: left;
}
.social-home-content .lead {
    margin: 0 0 28px;
    color: var(--color-concrete);
    line-height: 1.85;
    text-wrap: pretty;
}
.social-home-content .btn {
    margin-inline: 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.mission-card {
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}
.mission-card:hover { border-color: var(--color-primary-light); }
.mission-card h3 { font-size: 1rem; margin-bottom: 12px; color: var(--color-primary); }
.mission-card p { font-size: 0.9375rem; color: var(--color-concrete); }
.bg-dark .mission-card h3 { color: var(--color-white); }
.bg-dark .mission-card p { color: rgba(255,255,255,0.65); }
.mission-icon {
    width: 40px; height: 3px;
    background: var(--color-primary-light);
    margin-bottom: 20px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.service-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(3, 49, 101, 0.12);
}
.service-card-image {
    height: 240px;
    background: var(--color-light);
    overflow: hidden;
}
.service-card-media {
    position: relative;
    display: block;
    height: 240px;
    background: var(--color-light);
    overflow: hidden;
}
.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card-media img,
.service-card:hover .service-card-image img {
    transform: scale(1.05);
}
.service-card-count {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(2, 31, 61, 0.78);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.service-card-body h2 a,
.service-card-body h3 a {
    color: inherit;
    text-decoration: none;
}
.service-card-body h2 a:hover,
.service-card-body h3 a:hover {
    color: var(--color-primary);
}
.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card-image img {
    transform: scale(1.05);
}
.service-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.service-card--locked {
    cursor: default;
}
.service-card--locked:hover {
    box-shadow: none;
    transform: none;
    border-color: var(--color-border);
}
.service-card--locked:hover .service-card-media img,
.service-card--locked:hover .service-card-image img {
    transform: none;
}
.service-card-body { padding: 28px; }
.service-card-body h2, .service-card-body h3 { font-size: 1.125rem; margin-bottom: 12px; }
.service-card-body p { font-size: 0.9375rem; color: var(--color-concrete); margin-bottom: 0; }
.service-card--featured {
    border-color: rgba(3, 49, 101, 0.18);
}

.service-album {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 56px;
}
.service-album-header {
    margin-bottom: 28px;
}
.service-album-header .section-title {
    margin-bottom: 12px;
}
.service-album-figure {
    margin: 0;
    min-width: 0;
}
.service-album-item {
    display: block;
    margin: 0;
    height: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-light);
    cursor: zoom-in;
}
.service-album-item--lead {
    grid-column: span 2;
    grid-row: span 2;
    height: auto;
    min-height: 496px;
}
.service-album-figure:has(.service-album-item--lead) {
    grid-column: span 2;
    grid-row: span 2;
}
.service-album-item img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-album-item:hover img { transform: scale(1.04); }
.service-album-figure figcaption {
    margin-top: 10px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-concrete);
}
.service-album--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
}
.service-album--wide .service-album-figure:first-child {
    grid-column: 1 / -1;
}
.service-album--wide .service-album-item {
    height: auto;
    aspect-ratio: auto;
}
.service-album--wide .service-album-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
}
.service-album--wide .service-album-item:hover img {
    transform: none;
}

.prefab-gallery,
.area-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.prefab-gallery-item,
.area-gallery-item {
    margin: 0;
    height: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-light);
}
.prefab-gallery-item img,
.area-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.area-gallery-item:first-child {
    grid-column: span 2;
    height: 320px;
}

.home-equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.home-equipment-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.home-equipment-image {
    height: 200px;
    overflow: hidden;
    background: var(--color-light);
}
.home-equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-equipment-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.home-equipment-body h3 { font-size: 1.125rem; margin: 8px 0 12px; }
.home-equipment-body p { font-size: 0.9375rem; color: var(--color-concrete); margin-bottom: 16px; }
.home-equipment-body .btn { margin-top: auto; align-self: flex-start; }

.section-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    text-align: center;
    margin-top: 48px;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(3, 49, 101, 0.12);
}
.product-card-image {
    height: 260px;
    background: var(--color-light);
    overflow: hidden;
}
.equipment-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
.product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px;
}
.product-card-body > .availability,
.product-card-body > .btn {
    align-self: flex-start;
}
.product-card-body > .availability {
    margin-top: auto;
}
.product-card-body > .btn {
    margin-top: auto;
}
.product-card-body > .availability + .btn {
    margin-top: 0;
}
.product-dimension {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
}
.product-card-body h2, .product-card-body h3 { font-size: 1.25rem; margin: 8px 0 12px; }
.product-card-body p { font-size: 0.9375rem; color: var(--color-concrete); margin-bottom: 20px; }

/* Differentials */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.diff-card {
    padding: 32px;
    border-left: 3px solid var(--color-primary);
    background: var(--color-light);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    transition: box-shadow var(--transition), transform var(--transition);
}
.diff-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}
.diff-card h3 { font-size: 1rem; margin-bottom: 12px; }
.diff-card p { font-size: 0.9375rem; color: var(--color-concrete); }

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.project-card {
    display: block;
    color: inherit;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition);
}
.project-card:hover { transform: translateY(-4px); color: inherit; }
.project-card-image {
    height: 260px;
    background: var(--color-primary);
    overflow: hidden;
}
.project-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-card-image img { transform: scale(1.05); }
.project-card-body { padding: 24px 0; }
.bg-dark .project-card-body h2, .bg-dark .project-card-body h3 { color: var(--color-white); }
.project-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary-light);
}
.project-location { font-size: 0.875rem; color: var(--color-concrete); margin-top: 4px; }
.bg-dark .project-location { color: rgba(255,255,255,0.5); }

/* Partners & Clients */
.section-header {
    max-width: 720px;
    margin-bottom: 48px;
}
.section-intro {
    margin-top: 16px;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-concrete);
}
.section-partners {
    position: relative;
    overflow: hidden;
}
.section-partners::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(5, 80, 156, 0.08), transparent 42%),
        radial-gradient(circle at bottom left, rgba(3, 49, 101, 0.06), transparent 38%);
    pointer-events: none;
}
.section-partners .container {
    position: relative;
    z-index: 1;
}
.partners-logos-wrap {
    width: 100%;
}
.partners-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 2.5vw, 32px);
    width: 100%;
}
.partners-logos-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
}
.partners-logos-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.partners-logos-item img {
    display: block;
    max-height: 72px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition), opacity var(--transition);
}
.partners-logos-item a:hover img {
    transform: scale(1.04);
    opacity: 0.92;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}
.partner-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    min-height: 100%;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.partner-card:hover {
    transform: translateY(-4px);
    border-color: rgba(3, 49, 101, 0.18);
    box-shadow: 0 16px 40px rgba(2, 31, 61, 0.12);
}
.partner-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 32px 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--color-border);
}
.partner-card-logo--dark {
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
.partner-card-logo img {
    max-height: 88px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter var(--transition), transform var(--transition);
}
.partner-card:hover .partner-card-logo img {
    filter: grayscale(0%);
    transform: scale(1.03);
}
.partner-card-logo--dark img {
    filter: none;
}
.partner-card-initials {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}
.partner-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px 28px 32px;
}
.partner-card-tag {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(3, 49, 101, 0.08);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.partner-card-name {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
    line-height: 1.35;
}
.partner-card-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-concrete);
}
.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: stretch;
}
.client-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 32px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    min-height: 140px;
    text-align: left;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.client-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(3, 49, 101, 0.08);
}
.client-item-logo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.client-item-logo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: calc(var(--radius-lg) - 2px);
}
.client-item-initials {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}
.client-item-body {
    flex: 1;
    min-width: 0;
}
.client-item-name {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
}
.client-item-feedback {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-concrete);
    font-style: italic;
}
.client-item-feedback::before {
    content: '\201C';
    color: var(--color-primary-light);
    font-size: 1.25rem;
    margin-right: 2px;
}

/* CTA */
.section-delivery {
    background: linear-gradient(rgba(2, 31, 61, 0.88), rgba(2, 31, 61, 0.88)), url('../images/delivery-banner.jpg') center/cover no-repeat;
    color: rgba(255, 255, 255, 0.9);
}
.section-delivery h2 { color: #fff; }
.section-delivery p { color: rgba(255, 255, 255, 0.85); margin-bottom: 24px; }
.section-cta-final {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    text-align: center;
}
.section-cta-final .hero-actions {
    justify-content: center;
    margin-bottom: 0;
}
.cta-text { font-size: 1.125rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Page Hero */
.page-hero {
    position: relative;
    padding: 168px 0 88px;
    background: var(--color-primary-dark);
    color: var(--color-white);
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--color-primary-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(2, 31, 61, 0.93) 0%, rgba(2, 31, 61, 0.82) 42%, rgba(3, 49, 101, 0.68) 100%),
        linear-gradient(to top, rgba(2, 31, 61, 0.45) 0%, transparent 42%);
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 85%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-top: 12px;
    letter-spacing: -0.02em;
    max-width: 720px;
    text-wrap: balance;
}
.page-hero-text { color: rgba(255,255,255,0.78); margin-top: 16px; max-width: 600px; font-size: 1.0625rem; line-height: 1.75; }

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.value-card {
    padding: 40px 32px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-align: center;
    transition: border-color var(--transition);
}
.value-card:hover { border-color: var(--color-primary); }
.value-card h3 { font-size: 1rem; margin-bottom: 12px; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.08em; }

/* Equipment */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.equipment-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}
.equipment-card-image {
    height: 160px;
    background: var(--color-light);
    border-radius: var(--radius);
    overflow: hidden;
}
.equipment-card-image img { width: 100%; height: 100%; object-fit: cover; }
.equipment-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
}
.equipment-card h2 { font-size: 1.25rem; margin: 8px 0; }
.rental-conditions { font-size: 0.875rem; color: var(--color-concrete); margin: 12px 0 16px; }

/* Filter */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}
.filter-btn {
    padding: 10px 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-graphite);
    transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Project Single */
.project-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding: 160px 0 60px;
    overflow: hidden;
}
.project-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,36,48,0.9) 0%, rgba(15,36,48,0.3) 100%);
}
.project-hero-content { position: relative; z-index: 1; }
.project-hero h1 { color: var(--color-white); font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0; }
.project-meta { display: flex; gap: 24px; color: rgba(255,255,255,0.7); font-size: 0.9375rem; }
.project-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.project-detail-main p { margin-bottom: 20px; color: var(--color-concrete); }
.project-detail-sidebar {
    padding: 32px;
    background: var(--color-light);
    border-radius: var(--radius);
    height: fit-content;
}
.project-detail-sidebar h3 { font-size: 1rem; margin-bottom: 16px; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item a { display: block; cursor: zoom-in; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Forms */
.form-grid { max-width: 800px; }
.form-section {
    border: none;
    margin-bottom: 40px;
    padding: 0;
}
.form-section legend {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-primary-dark);
}
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-graphite);
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27,58,75,0.1);
}
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    cursor: pointer;
}
.checkbox-label input { width: auto; accent-color: var(--color-primary); }

.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 32px;
    font-size: 0.9375rem;
}
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Quote form */
.quote-section {
    background: var(--color-white);
    padding: 72px 0 96px;
}
.quote-form {
    max-width: 1080px;
    margin: 0 auto;
}
.quote-form-head {
    text-align: center;
    margin-bottom: 48px;
}
.quote-form-kicker {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    margin: 0 0 12px;
}
.quote-form-lead {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7178;
    margin: 0;
}
.quote-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 36px;
}
.quote-field {
    min-width: 0;
}
.quote-field--full {
    grid-column: 1 / -1;
}
.quote-field label,
.quote-privacy-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
}
.quote-field-control {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #d5d8dc;
    padding: 6px 0 10px;
    min-height: 42px;
    transition: border-color var(--transition);
}
.quote-field-control--area {
    align-items: flex-start;
    min-height: 0;
    padding-bottom: 8px;
}
.quote-field-control:focus-within {
    border-bottom-color: var(--color-primary);
}
.quote-field-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8a9097;
    margin-top: 1px;
}
.quote-field input,
.quote-field select,
.quote-field textarea {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-graphite);
    appearance: none;
    -webkit-appearance: none;
}
.quote-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238a9097' stroke-width='1.4' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    padding-right: 20px;
    cursor: pointer;
}
.quote-field textarea {
    min-height: 118px;
    resize: vertical;
    line-height: 1.6;
}
.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
    outline: none;
    box-shadow: none;
}
.quote-field input::placeholder,
.quote-field textarea::placeholder {
    color: #b0b5bb;
}
.quote-form-footer {
    max-width: 640px;
    margin-top: 36px;
    padding-top: 8px;
}
.quote-privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8125rem;
    line-height: 1.65;
    color: #6b7178;
    margin-bottom: 12px;
    cursor: pointer;
}
.quote-privacy-check:last-child { margin-bottom: 0; }
.quote-privacy-check input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
}
.quote-privacy-check a {
    color: var(--color-primary);
    font-weight: 600;
}
.quote-recruitment {
    margin-top: 14px;
}
.quote-submit {
    margin-top: 28px;
    width: auto;
    min-width: 0;
    padding: 11px 28px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    border-radius: 3px;
    box-shadow: none;
}

/* Contact directory */
.contact-section {
    background: var(--color-white);
    padding: 88px 0 96px;
}
.contact-directory {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(240px, 1.05fr) minmax(260px, 1.1fr);
    gap: 56px 48px;
    align-items: start;
}
.contact-dir-col {
    min-width: 0;
}
.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0 0 22px;
    padding: 0 0 22px;
    border-bottom: 1px solid #d8d8d8;
}
.contact-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary-dark);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
}
.contact-social-link:hover {
    background: var(--color-primary-light);
    color: var(--color-white);
    transform: translateY(-1px);
}
.contact-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: #6b7178;
    margin-bottom: 22px;
}
.contact-legal a {
    color: #5c636b;
    font-weight: 400;
}
.contact-legal a:hover {
    color: var(--color-primary);
}
.contact-legal span {
    color: #c0c4c8;
}
.contact-copy {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #6b7178;
}
.contact-dir-col--nav {
    text-align: center;
    padding-top: 4px;
}
.contact-dir-line {
    margin: 0 0 18px;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #5c636b;
}
.contact-dir-line a {
    color: #5c636b;
    font-weight: 400;
}
.contact-dir-line a:hover {
    color: var(--color-primary);
}
.contact-dir-line span {
    color: #c0c4c8;
    margin: 0 4px;
}
.contact-dir-cta {
    margin: 10px auto 22px;
    width: auto;
    min-width: 0;
    padding: 11px 26px;
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    border-radius: 3px;
    box-shadow: none;
}
.contact-dir-note {
    margin: 0 auto;
    max-width: 28em;
    font-size: 0.8125rem;
    line-height: 1.65;
    color: #6b7178;
}
.contact-dir-kicker {
    margin: 0 0 14px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}
.contact-dir-phones {
    margin: 0 0 10px;
    font-size: 0.9375rem;
    color: #5c636b;
}
.contact-dir-phones a,
.contact-dir-email a {
    color: #5c636b;
    font-weight: 400;
}
.contact-dir-phones a:hover,
.contact-dir-email a:hover {
    color: var(--color-primary);
}
.contact-dir-phones span {
    color: #c0c4c8;
    margin: 0 6px;
}
.contact-dir-email {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 0.9375rem;
    color: #5c636b;
}
.contact-dir-email svg {
    flex-shrink: 0;
    color: var(--color-primary-dark);
}
.contact-dir-address {
    display: block;
    font-style: normal;
    margin: 0 0 18px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #5c636b;
}
.contact-dir-map {
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-light);
}
.contact-dir-map iframe {
    display: block;
    width: 100%;
    height: 188px;
    border: 0;
}
.contact-dir-map-link {
    display: block;
    padding: 8px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: #6b7178;
    background: #f7f8fa;
    border-top: 1px solid var(--color-border);
}
.contact-dir-map-link:hover {
    color: var(--color-primary);
}

/* Footer */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
}
.footer-logo-img {
    height: 52px;
    width: auto;
    max-width: none;
    margin-bottom: 16px;
    object-fit: contain;
}
.footer-tagline { font-size: 0.9375rem; line-height: 1.6; }
.footer-heading {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 20px;
}
.footer-links, .footer-contact { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,0.65); font-size: 0.9375rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--color-primary-light); }
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 32px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}
.footer-legal-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 14px;
    font-size: 0.875rem;
    line-height: 1.5;
}
.footer-legal-inline a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
}
.footer-legal-inline a:hover {
    color: var(--color-primary-light);
}
.footer-sep {
    color: rgba(255, 255, 255, 0.28);
    user-select: none;
}
.footer-copyline {
    margin: 0;
    max-width: 760px;
    font-size: 0.8125rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.48);
}
.footer-copyline a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}
.footer-copyline a:hover {
    color: var(--color-primary-light);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); color: var(--color-white); }

/* Cookie banner */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -8px 32px rgba(2, 31, 61, 0.12);
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
}
.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.cookie-banner-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-graphite);
}
.cookie-banner-text a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner-accept {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Legal / Privacy pages */
.page-hero--legal h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    max-width: 900px;
    line-height: 1.15;
}
.legal-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.legal-meta-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.88);
}
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
}
.breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}
.breadcrumb a:hover { color: #fff; }
.section-legal {
    position: relative;
    background:
        radial-gradient(ellipse 70% 40% at 0% 0%, rgba(3, 49, 101, 0.05), transparent 60%),
        #f7f9fc;
    padding-top: 48px;
    padding-bottom: 96px;
}
.section-legal--cookies {
    padding-top: 48px;
}
.legal-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.legal-nav {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    align-self: start;
    z-index: 5;
    background: transparent;
    border: none;
    box-shadow: none;
}
.legal-nav-head {
    padding: 0 12px 8px;
    border-bottom: none;
}
.legal-nav-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}
.legal-nav-sub {
    margin: 4px 0 0;
    font-size: 0.75rem;
    color: var(--color-concrete);
}
.legal-nav-toggle {
    display: none;
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid rgba(3, 49, 101, 0.1);
    background: transparent;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: left;
    color: var(--color-primary-dark);
    cursor: pointer;
}
.legal-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: calc(100vh - var(--header-height) - 140px);
    overflow-y: auto;
}
.legal-nav-link {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 7px 12px;
    border-radius: 0;
    border-left: 1px solid transparent;
    color: #8b919a;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    transition: color var(--transition), border-color var(--transition);
}
.legal-nav-link:hover {
    background: transparent;
    color: var(--color-primary);
}
.legal-nav-link.is-active {
    background: transparent;
    border-left-color: var(--color-primary);
    color: var(--color-primary-dark);
    font-weight: 600;
}
.legal-nav-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-concrete);
    flex-shrink: 0;
    opacity: 0.7;
}
.legal-nav-link.is-active .legal-nav-num {
    color: var(--color-primary);
    opacity: 1;
}
.legal-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.legal-content--document,
.legal-content--single {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
.legal-content--document .legal-section,
.legal-content--single .legal-section {
    scroll-margin-top: calc(var(--header-height) + 24px);
    padding: 8px 0 36px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    border-bottom: none;
    opacity: 1;
    transform: none;
}
.legal-content--document .legal-section:last-child,
.legal-content--single .legal-section:last-child {
    border-bottom: none;
}
.legal-content--document .legal-section:hover,
.legal-content--single .legal-section:hover {
    box-shadow: none;
}
.legal-section {
    scroll-margin-top: calc(var(--header-height) + 24px);
    padding: 34px 38px;
    background: var(--color-white);
    border: 1px solid rgba(3, 49, 101, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 28px rgba(2, 31, 61, 0.06);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), box-shadow var(--transition), border-color var(--transition);
}
.legal-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.legal-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
}
.legal-section-roman {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: var(--radius);
    background: var(--color-light);
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-primary);
    flex-shrink: 0;
}
.legal-section-header h2 {
    font-size: 1.125rem;
    margin: 0;
    color: var(--color-primary-dark);
    letter-spacing: -0.015em;
    line-height: 1.35;
}
.legal-content--document .legal-section-header h2,
.legal-content--single .legal-section-header h2 {
    padding-left: 0;
    border-left: none;
}
.legal-content--document .legal-section-header h2::before,
.legal-content--single .legal-section-header h2::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    margin-right: 10px;
    vertical-align: middle;
    background: var(--color-primary);
    border-radius: 2px;
}
.legal-section-body {
    max-width: 68ch;
    font-size: 1rem;
    line-height: 1.75;
    color: #3d4450;
}
.legal-content--document .legal-section-body p,
.legal-content--single .legal-section-body p {
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}
.legal-section-body p { margin-bottom: 14px; }
.legal-section-body p:last-child { margin-bottom: 0; }
.legal-section-body h3 {
    font-size: 0.9375rem;
    margin: 28px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--color-primary-light);
    color: var(--color-primary-dark);
}
.legal-section-body ul {
    margin: 12px 0 18px;
    padding-left: 0;
    list-style: none;
}
.legal-section-body li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 22px;
}
.legal-section-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary-light);
}
.legal-section-body a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}
.legal-section-body a:hover { color: var(--color-primary-light); }
.legal-section-body strong { color: var(--color-primary-dark); }
.legal-placeholder {
    display: inline;
    padding: 0;
    border: none;
    background: transparent;
    color: #8b919a;
    font-size: 1em;
    font-weight: 500;
    font-style: italic;
    white-space: normal;
}
.legal-section--info .legal-section-body {
    max-width: none;
    background: transparent;
    border: none;
    border-radius: 0;
}
.legal-section--info .legal-section-body p {
    text-align: left;
}
.legal-section--info .legal-section-body p:has(> strong:first-child) {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    gap: 4px 28px;
    align-items: baseline;
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid rgba(3, 49, 101, 0.08);
    background: transparent;
}
.legal-section--info .legal-section-body p:has(> strong:first-child):last-of-type {
    border-bottom: none;
}
.legal-section--info .legal-section-body p:has(> strong:first-child) strong {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary);
}
.legal-back-top {
    position: fixed;
    right: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(3, 49, 101, 0.12);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 8px 28px rgba(2, 31, 61, 0.14);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition), color var(--transition);
}
.legal-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.legal-back-top:hover {
    background: var(--color-primary);
    color: var(--color-white);
}
@media (prefers-reduced-motion: reduce) {
    .legal-section {
        opacity: 1;
        transform: none;
        transition: box-shadow var(--transition), border-color var(--transition);
    }
    .legal-back-top {
        transition: background var(--transition), color var(--transition);
    }
}
.form-consent {
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
}
.form-consent .consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    line-height: 1.6;
}
.form-consent .consent-label:last-child { margin-bottom: 0; }
.form-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
}

/* Error */
.error-page { padding: 200px 0 120px; text-align: center; }
.error-page h1 { font-size: 6rem; color: var(--color-primary); margin-bottom: 16px; }

/* Page entrance */
@keyframes enterUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes enterFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes enterHeader {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroBgEnter {
    from {
        opacity: 0;
        transform: scale(1.08);
    }
    to {
        opacity: 1;
        transform: scale(1.02);
    }
}

.site-header {
    opacity: 0;
    animation: enterHeader 0.65s cubic-bezier(0.4, 0, 0.2, 1) 0.05s forwards;
}

.hero-bg {
    animation: heroBgEnter 1.1s ease forwards, heroKenBurns 20s ease-in-out 1.1s infinite alternate;
}

.hero-overlay {
    animation: enterFade 0.9s ease forwards;
}

.hero-badge,
.hero-title,
.hero-text,
.hero-actions {
    opacity: 0;
    animation: enterUp 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-badge { animation-delay: 0.2s; }
.hero-title { animation-delay: 0.35s; }
.hero-text { animation-delay: 0.5s; }
.hero-actions { animation-delay: 0.65s; }

.hero-indicators .indicator {
    opacity: 0;
    animation: enterUp 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-indicators .indicator:nth-child(1) { animation-delay: 0.8s; }
.hero-indicators .indicator:nth-child(2) { animation-delay: 0.9s; }
.hero-indicators .indicator:nth-child(3) { animation-delay: 1s; }
.hero-indicators .indicator:nth-child(4) { animation-delay: 1.1s; }

.page-hero-bg {
    animation: heroBgEnter 1s ease forwards;
}

.page-hero-overlay {
    animation: enterFade 0.85s ease forwards;
}

.page-hero .container > * {
    opacity: 0;
    animation: enterUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-hero .container > *:nth-child(1) { animation-delay: 0.15s; }
.page-hero .container > *:nth-child(2) { animation-delay: 0.3s; }
.page-hero .container > *:nth-child(3) { animation-delay: 0.45s; }

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.empty-state { text-align: center; color: var(--color-concrete); padding: 60px 0; }
.page-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.availability { display: inline-block; font-size: 0.8125rem; font-weight: 500; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.availability-available { background: #f0fdf4; color: #166534; }
.availability-limited { background: #fffbeb; color: #92400e; }
.availability-unavailable { background: #fef2f2; color: #991b1b; }

/* Responsive */
@media (max-width: 1200px) and (min-width: 1025px) {
    .nav-list { gap: 2px; }
    .nav-list a {
        padding: 10px 10px;
        font-size: 0.6875rem;
        letter-spacing: 0.06em;
    }
}

@media (max-width: 1024px) {
    .about-grid, .project-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-directory { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 24px; }
    .quote-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .services-grid, .products-grid, .projects-grid, .mission-grid, .diff-grid, .values-grid, .partners-grid, .prefab-gallery, .area-gallery, .service-album, .home-equipment-grid { grid-template-columns: repeat(2, 1fr); }
    .area-gallery-item:first-child,
    .service-album-item--lead { grid-column: span 2; height: 280px; min-height: 0; grid-row: auto; }
    .service-album-figure:has(.service-album-item--lead) { grid-column: span 2; grid-row: auto; }
    .service-album--wide .service-album-item { height: auto; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .equipment-card { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    .logo-img {
        height: 38px;
    }
    .site-header.scrolled .logo-img {
        height: 34px;
    }
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        max-height: calc(100dvh - var(--header-height));
        min-height: calc(100dvh - var(--header-height));
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 28%),
            linear-gradient(165deg, #021f3d 0%, #032d56 48%, #02182f 100%);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        padding: 12px 20px 28px;
        box-shadow: 0 24px 48px rgba(1, 18, 36, 0.45);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.28s ease,
            visibility 0.28s ease;
        z-index: 999;
    }
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
        padding: 8px 0 4px;
    }
    .nav-list li {
        width: 100%;
        opacity: 0;
        transform: translateY(10px);
    }
    .main-nav.open .nav-list li {
        animation: mobileNavItemIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    .main-nav.open .nav-list li:nth-child(1) { animation-delay: 0.04s; }
    .main-nav.open .nav-list li:nth-child(2) { animation-delay: 0.08s; }
    .main-nav.open .nav-list li:nth-child(3) { animation-delay: 0.12s; }
    .main-nav.open .nav-list li:nth-child(4) { animation-delay: 0.16s; }
    .main-nav.open .nav-list li:nth-child(5) { animation-delay: 0.2s; }
    .main-nav.open .nav-list li:nth-child(6) { animation-delay: 0.24s; }
    .nav-list a {
        width: 100%;
        min-height: 52px;
        padding: 14px 20px 14px 22px;
        justify-content: flex-start;
        font-family: var(--font-heading);
        font-size: 0.9375rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        color: rgba(255, 255, 255, 0.78);
        border-radius: 10px;
        background: transparent;
        transition:
            color 0.22s ease,
            background 0.22s ease,
            box-shadow 0.22s ease;
    }
    .nav-list a::after {
        content: none;
    }
    .nav-list a::before {
        content: '';
        position: absolute;
        left: 8px;
        top: 50%;
        width: 3px;
        height: 0;
        border-radius: 3px;
        background: #fff;
        transform: translateY(-50%);
        opacity: 0;
        transition: height 0.22s ease, opacity 0.22s ease;
    }
    .nav-list a:hover,
    .nav-list a:focus-visible {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
    }
    .nav-list a.active {
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    .nav-list a:hover::before,
    .nav-list a:focus-visible::before,
    .nav-list a.active::before {
        height: 18px;
        opacity: 1;
    }
    .mobile-nav-foot {
        display: block;
        margin-top: auto;
        padding: 20px 4px 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        transform: translateY(8px);
    }
    .main-nav.open .mobile-nav-foot {
        animation: mobileNavItemIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
    }
    .mobile-nav-cta {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        font-size: 0.8125rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        background: #fff;
        color: var(--color-primary-dark);
        border-color: #fff;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    }
    .mobile-nav-cta:hover {
        background: rgba(255, 255, 255, 0.92);
        color: var(--color-primary-dark);
        border-color: #fff;
        transform: translateY(-1px);
    }
    .menu-toggle { display: inline-flex; }
    .header-desktop-only { display: none !important; }
    .hero-indicators { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@keyframes mobileNavItemIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .partners-logos {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px 16px;
        justify-items: center;
    }
    .partners-logos-item {
        flex: initial;
        width: 100%;
    }
    .partners-logos-item img {
        max-height: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 76px;
        --header-height-compact: 64px;
    }
    .logo-img {
        height: 34px;
    }
    .site-header.scrolled .logo-img {
        height: 30px;
    }
    .contact-directory { grid-template-columns: 1fr; gap: 40px; }
    .contact-section { padding: 56px 0 64px; }
    .contact-dir-col--social,
    .contact-dir-col--nav,
    .contact-dir-col--info { text-align: center; }
    .contact-social { justify-content: center; }
    .contact-legal { justify-content: center; }
    .contact-dir-email { justify-content: center; }
    .contact-dir-cta {
        width: auto;
        padding: 11px 24px;
        font-size: 0.6875rem;
    }
    .contact-dir-map iframe { height: 210px; }
    .quote-section { padding: 48px 0 64px; }
    .quote-fields { grid-template-columns: 1fr; gap: 22px; }
    .quote-submit {
        width: auto;
        padding: 11px 24px;
        font-size: 0.6875rem;
    }
    .section { padding: 60px 0; }
    .section-title { margin-bottom: 28px; }
    .section-mission,
    .section-why { padding: 72px 0; }
    .section-social { padding: 64px 0; }
    .social-home-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .social-home-image { aspect-ratio: 16 / 10; }
    .social-home-content { max-width: none; }
    .section-mission-panel,
    .section-why-panel { max-width: none; }
    .section-mission-panel .lead,
    .section-why-panel .lead { max-width: none; }
    .section-mission-bg,
    .section-why-bg {
        background-position: center;
        transform: none;
    }
    .services-grid, .products-grid, .projects-grid, .mission-grid, .diff-grid, .values-grid, .partners-grid, .clients-grid, .gallery-grid, .prefab-gallery, .area-gallery, .service-album, .home-equipment-grid { grid-template-columns: 1fr; }
    .area-gallery-item:first-child,
    .service-album-item--lead { grid-column: auto; grid-row: auto; height: 220px; min-height: 0; }
    .service-album-figure:has(.service-album-item--lead) { grid-column: auto; grid-row: auto; }
    .service-album--wide { grid-template-columns: 1fr; gap: 20px; }
    .service-album--wide .service-album-figure:first-child { grid-column: auto; }
    .service-album--wide .service-album-item { height: auto; }
    .service-album-item { height: 220px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-indicators { grid-template-columns: 1fr; }
    .indicator { min-height: 120px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .hero-slider .hero-inner {
        align-items: center;
        justify-content: center;
        min-height: 100dvh;
        padding-top: calc(var(--header-height) + 12px);
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }
    .hero-slider .hero-overlay {
        background:
            linear-gradient(180deg, rgba(2, 31, 61, 0.42) 0%, rgba(2, 31, 61, 0.3) 42%, rgba(2, 31, 61, 0.48) 100%),
            radial-gradient(ellipse at center, rgba(2, 31, 61, 0.28) 0%, rgba(2, 31, 61, 0.5) 100%);
    }
    .hero-slider .hero-content {
        width: 100%;
        max-width: none;
    }
    .hero-slider .hero-content::before { display: none; }
    .hero-slider .hero-badge { margin-bottom: 14px; gap: 10px; }
    .hero-slider .hero-label { font-size: 0.625rem; letter-spacing: 0.16em; }
    .hero-slider .hero-title {
        max-width: 100%;
        font-size: clamp(1.7rem, 7.4vw, 2.15rem);
        line-height: 1.2;
    }
    .hero-slider .hero-text {
        font-size: 0.9375rem;
        line-height: 1.55;
        margin-top: 14px;
        margin-bottom: 22px;
        max-width: 36em;
        padding: 0;
    }
    .hero-slider .hero-actions {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .hero-slider .hero-actions .btn {
        width: auto;
        max-width: none;
        min-width: 0;
        padding: 11px 22px;
        font-size: 0.6875rem;
        letter-spacing: 0.1em;
    }
    .hero-slide.is-active .hero-slide-bg,
    .hero-slide-bg {
        transform: none;
        background-position: var(--hero-pos-mobile, var(--hero-pos, center center));
    }
    .hero-controls {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }
    .hero-dot {
        width: 7px;
        height: 7px;
    }
    .page-hero {
        padding: 120px 0 52px;
    }
    .page-hero-bg { background-position: center 70%; }
    .page-hero h1 {
        font-size: clamp(1.7rem, 7vw, 2.15rem);
    }
    .page-hero-text {
        font-size: 0.975rem;
        margin-top: 12px;
    }
    .about-image-placeholder { aspect-ratio: 4 / 3; }
    .product-card-image,
    .home-equipment-image { height: 200px; }
    .whatsapp-float {
        width: 48px;
        height: 48px;
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }
    .section-cta-final { padding: 72px 0; }
    .section-cta-final .hero-actions .btn { width: 100%; }
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .cookie-banner-accept { width: 100%; }
    .legal-layout { grid-template-columns: 1fr; gap: 24px; }
    .legal-nav-toggle { display: block; }
    .legal-nav-list {
        display: none;
        border-top: none;
    }
    .legal-nav-list.is-open { display: flex; }
    .legal-nav { position: static; }
    .legal-section { padding: 8px 0 28px; }
    .legal-content--document .legal-section,
    .legal-content--single .legal-section { padding: 8px 0 28px; }
    .legal-content--document .legal-section-body p,
    .legal-content--single .legal-section-body p { text-align: left; }
    .partners-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }
}

@media (max-width: 430px) {
    .container { padding: 0 18px; }
    .hero-slider .hero-inner {
        padding-left: 18px;
        padding-right: 18px;
    }
    .partners-logos {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        gap: 28px;
        padding-bottom: 4px;
        scroll-snap-type: x mandatory;
    }
    .partners-logos-item {
        flex: 0 0 auto;
        min-width: 128px;
        scroll-snap-align: center;
    }
    .partners-logos-item img {
        max-height: 44px;
    }
    .nav-list a {
        min-height: 48px;
        padding: 12px 16px 12px 20px;
        font-size: 0.875rem;
        letter-spacing: 0.1em;
    }
    .main-nav { padding: 8px 16px 24px; }
    .mobile-nav-foot { padding-top: 16px; }
}

@media (max-width: 320px) {
    :root {
        --header-height: 72px;
        --header-height-compact: 60px;
    }
    .logo-img { height: 30px; }
    .site-header.scrolled .logo-img { height: 28px; }
    .nav-list a { font-size: 0.6875rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, .reveal { transition: none !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
    .hero-bg { transform: none !important; opacity: 1 !important; }
    .hero-slide-bg { transform: none !important; }
    .hero-slide,
    .hero-slider .hero-content { transition: none !important; }
    .hero-slider .hero-slide.is-active .hero-content { opacity: 1 !important; transform: none !important; }
    body.nav-open::before { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .main-nav.open .nav-list li,
    .main-nav.open .mobile-nav-foot {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .site-header,
    .hero-badge,
    .hero-title,
    .hero-text,
    .hero-actions,
    .hero-indicators .indicator,
    .page-hero .container > *,
    .hero-overlay,
    .page-hero-bg,
    .page-hero-overlay {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Image preview (lightbox) */
body.lightbox-open {
    overflow: hidden;
}
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox[hidden] {
    display: none !important;
}
.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 31, 61, 0.88);
}
.lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    max-height: calc(100dvh - 48px);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}
.lightbox-image {
    max-width: 100%;
    max-height: calc(100dvh - 140px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    background: #021f3d;
}
.lightbox-caption {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9375rem;
    text-align: center;
    max-width: 42em;
}
.lightbox-counter {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}
.lightbox-close,
.lightbox-nav {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.22);
}
.lightbox-close {
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.75rem;
    line-height: 1;
    z-index: 2;
}
.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
}
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }
.lightbox-nav[hidden] { display: none; }

@media (max-width: 768px) {
    .lightbox { padding: 12px; }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
    .lightbox-image {
        max-height: calc(100dvh - 160px);
    }
}
