:root {
    --navy: #07152d;
    --navy-2: #0c2142;
    --navy-3: #122c55;
    --gold: #f5b514;
    --gold-2: #ffc943;
    --gold-soft: #fff4d9;
    --cream: #fbf8f1;
    --paper: #ffffff;
    --text: #07142d;
    --muted: #58677e;
    --muted-2: #7a8798;
    --line: #e7e1d7;
    --shadow: 0 22px 60px rgba(18, 33, 61, .10);
    --shadow-soft: 0 14px 34px rgba(18, 33, 61, .08);
    --radius: 26px;
    --radius-sm: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #fff 0, #fbf8f1 38%, #fff 74%);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}

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

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

button,
input {
    font: inherit
}

.container {
    width: min(var(--container), calc(100% - 64px));
    margin-inline: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 21, 45, .97);
    color: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(12px);
}

.header__inner {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 28px
}

.logo {
    display: block;
    align-self: flex-start;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff;
    height: 100%;
    padding: 5px 0;
}

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

.logo__sun {
    width: 24px;
    height: 24px;
    display: inline-block;
    border-radius: 50%;
    position: relative;
    flex: 0 0 auto;
    background: radial-gradient(circle at 50% 50%, var(--gold-2) 0 28%, transparent 29% 100%);
}

.logo__sun:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0 6deg, var(--gold) 7deg 14deg, transparent 15deg 30deg);
    filter: drop-shadow(0 0 9px rgba(245, 181, 20, .45));
}

.social {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
}

.social a {
    width: 40px;
}

.social a img {
    width: 100%;
    display: block;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.social a:hover img {
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 36px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .84)
}

.main-nav a {
    transition: .2s ease
}

.main-nav a:hover {
    color: var(--gold-2)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: .25s ease
}

.btn--header {
    background: var(--gold-2);
    color: var(--text);
    padding: 14px 24px;
    font-size: 13px;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(245, 181, 20, .25)
}

.btn--header:hover,
.btn--primary:hover,
.btn--footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(245, 181, 20, .35)
}

.btn--primary {
    background: linear-gradient(180deg, var(--gold-2), var(--gold));
    color: var(--text);
    padding: 20px 28px;
    min-height: 54px;
    box-shadow: 0 18px 45px rgba(245, 181, 20, .22)
}

.btn--ghost {
    background: #fff;
    color: var(--text);
    padding: 19px 28px;
    min-height: 54px;
    border: 1px solid #dfe3e9;
    box-shadow: 0 14px 40px rgba(18, 33, 61, .06)
}

.btn--ghost:hover {
    border-color: #cbd2db;
    transform: translateY(-2px)
}

.btn--footer {
    background: var(--gold-2);
    color: var(--text);
    padding: 15px 22px;
    margin-top: 8px;
    font-size: 13px
}

.burger {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: transparent;
    color: #fff;
    padding: 0;
    position: relative
}

.burger span {
    display: block;
    width: 19px;
    height: 2px;
    background: #fff;
    margin: 5px auto;
    border-radius: 99px;
    transition: .2s ease
}

body.menu-open .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

body.menu-open .burger span:nth-child(2) {
    opacity: 0
}

body.menu-open .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #f7fbff;
    border-bottom: 1px solid rgba(231, 225, 215, .35)
}

.hero__photo {
    position: absolute;
    inset: 0;
    background: url('../img/hero-house.jpg') bottom right/cover no-repeat;
    z-index: 0
}

.hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .96) 30%, rgba(255, 255, 255, .64) 58%, rgba(255, 255, 255, .12) 81%, rgba(255, 255, 255, 0) 100%)
}

.hero__inner {
    position: relative;
    z-index: 2;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 86px 0 118px
}

.hero__content {
    max-width: 580px
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase
}

.eyebrow--pill {
    padding: 10px 18px;
    border: 1px solid rgba(245, 181, 20, .45);
    border-radius: 999px;
    background: rgba(255, 246, 220, .80);
    margin-bottom: 26px
}

h1,
h2,
h3 {
    font-family: "Space Grotesk", Inter, sans-serif;
    margin: 0;
    line-height: 1.06;
    letter-spacing: -.055em;
    color: var(--text)
}

.hero h1 {
    font-size: clamp(48px, 6.5vw, 86px);
    max-width: 720px;
    margin-bottom: 24px
}

.hero h1 span {
    display: block;
    color: var(--gold);
    max-width: 600px
}

.hero p {
    max-width: 570px;
    margin: 0 0 38px;
    color: #263a58;
    font-size: 19px;
    line-height: 1.55
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.feature-strip-section {
    position: relative;
    z-index: 5;
    margin-top: -46px;
    margin-bottom: 34px
}

.feature-strip {
    background: #fff;
    border: 1px solid rgba(231, 225, 215, .82);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    max-width: 1030px;
    margin: auto
}

.feature-mini {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 34px;
    min-height: 92px;
    position: relative
}

.feature-mini:not(:last-child):after {
    content: "";
    position: absolute;
    right: 0;
    top: 22px;
    bottom: 22px;
    width: 1px;
    background: var(--line)
}

.feature-mini svg {
    width: 34px;
    height: 34px;
    stroke: var(--navy-3);
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto
}

.feature-mini strong {
    display: block;
    font-size: 15px;
    line-height: 1.2;
    color: var(--text)
}

.feature-mini span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 3px
}

.diagram-section {
    padding: 0 0 42px;
    background: linear-gradient(180deg, #fff, #fbf8f1)
}

.energy-map {
    height: 660px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(245, 181, 20, .20);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    isolation: isolate
}

.energy-map:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 58px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    transform: translateX(-50%);
    border: 2px solid rgba(245, 181, 20, .10);
    box-shadow: 0 0 0 155px rgba(245, 181, 20, .035), 0 0 0 300px rgba(245, 181, 20, .018);
    z-index: -1
}

.energy-map__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(7, 20, 45, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 20, 45, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: .55
}

.energy-map__sun {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: radial-gradient(circle at 55% 40%, #fff 0 12%, var(--gold-2) 13% 56%, rgba(245, 181, 20, .30) 57% 100%);
    box-shadow: 0 0 0 22px rgba(245, 181, 20, .12), 0 28px 80px rgba(245, 181, 20, .26)
}

.energy-map__sun span {
    position: absolute;
    inset: -26px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(245, 181, 20, .1), transparent 8%, rgba(245, 181, 20, .08) 13%, transparent 20%, rgba(245, 181, 20, .06) 28%, transparent 36%, rgba(245, 181, 20, .08) 47%, transparent 55%, rgba(245, 181, 20, .09) 66%, transparent 74%, rgba(245, 181, 20, .08) 83%, transparent 100%);
    opacity: .8
}

.energy-map__pv {
    position: absolute;
    left: 50%;
    top: 136px;
    transform: translateX(-50%);
    background: var(--navy);
    color: #fff;
    border-radius: 10px;
    padding: 16px 36px;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(7, 21, 45, .22);
    z-index: 2
}

.energy-map__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 55%;
    z-index: 1;
    overflow: visible
}

.energy-map__lines path {
    stroke: var(--gold);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round
}

.energy-map__lines circle {
    fill: var(--gold);
    stroke: #fff;
    stroke-width: 3
}

.energy-card {
    position: absolute;
    z-index: 3;
    top: 225px;
    width: 210px;
    height: 411px;
    border-radius: 18px;
    overflow: hidden;
}

.energy-card span {
    display: block;
    position: absolute;
    inset: auto 10px 10px 10px;
    z-index: 10;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #e7e3dc;
    box-shadow: 0 20px 48px rgba(18, 33, 61, .10);
    display: flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 10px;
    font-weight: 900;
    color: var(--text);
}

.energy-card span img,
.energy-card svg {
    width: 39px;
    height: 39px;
    stroke: var(--navy-3);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.energy-card svg path:last-child,
.energy-card svg circle {
    stroke: var(--gold)
}

.energy-card--home {
    left: 11%
}

.energy-card--inv {
    left: 50%;
    transform: translateX(-50%)
}

.energy-card--ev {
    right: 11%
}

.section {
    padding: 82px 0
}

.section-head {
    margin-bottom: 38px
}

.section-head--center {
    text-align: center;
    max-width: 720px;
    margin-inline: auto
}

.section-head--left {
    max-width: 760px
}

.section-head--compact {
    margin-bottom: 32px
}

.section-head h2 {
    font-size: clamp(36px, 4.2vw, 58px)
}

.section-head p {
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 17px;
    max-width: 720px
}

.reasons {
    padding-top: 36px;
    background: linear-gradient(180deg, #fbf8f1 0, #fff 100%)
}

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

.reason-card {
    background: #fff;
    border: 1px solid #ebe5dc;
    border-radius: 22px;
    padding: 36px 34px 34px;
    min-height: 250px;
    box-shadow: var(--shadow-soft)
}

.reason-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px
}

.icon-soft {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: var(--gold-soft);
    display: grid;
    place-items: center
}

.icon-soft svg {
    width: 31px;
    height: 31px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.num {
    color: var(--gold);
    font-weight: 900;
    font-size: 17px
}

.reason-card h3 {
    font-size: 24px;
    margin-bottom: 14px
}

.reason-card p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55
}

.services {
    padding-top: 22px;
    background: #fff
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.service-card {
    border: 1px solid #e8e4de;
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-soft)
}

.service-card--split {
    min-height: 230px;
    display: grid;
    grid-template-columns: 1fr 230px;
    width: calc(50% - 24px);
}

.service-card__text {
    padding: 32px
}

.tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 13px;
    background: var(--gold-soft);
    color: #b17800;
    font-weight: 900;
    font-size: 12px;
    margin-bottom: 20px
}

.service-card h3,
.business-card h3 {
    font-size: 28px;
    margin-bottom: 14px
}

.service-card p,
.business-card p {
    color: var(--muted);
    margin: 0;
    font-size: 16px;
    line-height: 1.55
}

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

.business-card {
    display: grid;
    grid-template-columns: minmax(360px, .85fr) 1.15fr;
    min-height: 280px;
    border: 1px solid #e8e4de;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
    width: 100%;
}

.business-card__copy {
    padding: 34px
}

.business-card img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.metric-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 28px
}

.metric-row span {
    min-width: 112px;
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 14px;
    padding: 14px 16px
}

.metric-row strong {
    display: block;
    font-size: 18px
}

.metric-row small {
    color: var(--muted);
    font-size: 12px;
    text-transform: lowercase
}

.ev-banner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    min-height: 370px;
    border-radius: 26px;
    overflow: hidden;
    background: var(--navy);
    box-shadow: var(--shadow);
    color: #fff;
    width: 100%;
}

.ev-banner__copy {
    padding: 56px 58px;
    align-self: center
}

.ev-banner h2 {
    color: #fff;
    font-size: clamp(38px, 4.5vw, 56px);
    margin: 14px 0 22px
}

.ev-banner p {
    color: rgba(255, 255, 255, .84);
    font-size: 18px;
    line-height: 1.55;
    max-width: 530px
}

.ev-banner__image {
    position: relative;
    min-height: 330px;
    overflow: hidden;
}

.ev-banner__image:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--navy) 0%, rgba(7, 21, 45, .88) 18%, rgba(7, 21, 45, .22) 54%, rgba(7, 21, 45, 0) 100%);
    z-index: 1
}

.ev-banner__image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.ev-specs {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
    margin-top: 30px
}

.ev-specs strong {
    display: block;
    font-size: 18px
}

.ev-specs small {
    display: block;
    color: rgba(255, 255, 255, .70)
}

.projects {
    background: linear-gradient(180deg, #fff, #fbfaf6)
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: -10px 0 28px
}

.filter-chip {
    border: 1px solid #dde2e8;
    background: #fff;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 800;
    color: #3c4c63;
    cursor: pointer;
    transition: .2s ease
}

.filter-chip:hover,
.filter-chip.is-active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--text)
}

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

.project-card {
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft)
}

.project-card__image {
    height: 180px;
    position: relative;
    overflow: hidden
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease
}

.project-card:hover .project-card__image img {
    transform: scale(1.045)
}

.project-card__image span {
    position: absolute;
    left: 18px;
    top: 16px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #263e5b;
    color: #fff;
    font-weight: 800;
    font-size: 13px
}

.project-card__body {
    padding: 22px
}

.project-card h3 {
    font-size: 21px;
    margin-bottom: 6px;
    letter-spacing: -.04em
}

.project-card p {
    margin: 0 0 18px;
    color: var(--muted)
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.chips b {
    font-size: 12px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: #8b5c00;
    padding: 8px 10px
}

.calc-section {
    padding-top: 32px;
    background: #fbfaf6
}

.calc-card {
    display: grid;
    grid-template-columns: 1.1fr .85fr;
    gap: 30px;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(245, 181, 20, .25);
    border-radius: 24px;
    padding: 38px 42px;
    box-shadow: var(--shadow-soft)
}

.calc-card h2 {
    font-size: 38px;
    margin: 8px 0 12px
}

.calc-card p {
    color: var(--muted);
    max-width: 560px;
    margin: 0 0 26px
}

.range-label {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
    font-weight: 800;
    color: var(--muted);
    margin-bottom: 14px
}

.range-label b {
    color: var(--text)
}

.range {
    width: 100%;
    accent-color: var(--gold);
    height: 6px
}

.range-legend {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px
}

.calc-result {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--navy);
    color: #fff;
    padding: 42px 46px;
    min-height: 220px
}

.calc-result:after {
    content: "";
    position: absolute;
    right: -58px;
    bottom: -74px;
    width: 235px;
    height: 235px;
    border-radius: 50%;
    border: 2px solid rgba(245, 181, 20, .20);
    box-shadow: 0 0 0 30px rgba(245, 181, 20, .04), 0 0 0 60px rgba(245, 181, 20, .028), 0 0 0 90px rgba(245, 181, 20, .018)
}

.calc-result span {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
    margin-bottom: 8px
}

.calc-result strong {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--gold);
    font-family: "Space Grotesk";
    font-size: 54px;
    letter-spacing: -.04em;
    line-height: 1.05;
    margin-bottom: 18px
}

.calc-result p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, .78)
}

.calc-result b {
    color: #fff;
    font-size: 20px
}

.trust {
    padding-top: 36px;
    background: #fff
}

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

.trust-item {
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 16px
}

.trust-item svg {
    width: 32px;
    height: 32px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.trust-item strong {
    font-size: 26px;
    color: var(--gold);
    letter-spacing: -.04em;
    line-height: 1
}

.trust-item span {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.25
}

.partners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 30px;
    margin-top: 46px;
    padding: 0 24px
}

.partner {
    text-align: center;
    font-weight: 900;
    font-size: 30px;
    letter-spacing: -.04em
}

.partner--huawei {
    color: #d41822
}

.partner--fronius {
    color: #dc1f26;
    font-style: italic
}

.partner--longi {
    color: #df1926
}

.partner--ja {
    color: #0f61b7
}

.footer {
    background: var(--navy);
    color: #fff;
    margin-top: 34px;
    padding: 58px 0 22px
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr .8fr 1fr;
    gap: 56px
}

.footer p {
    color: rgba(255, 255, 255, .66);
    margin: 18px 0 0
}

.footer h3 {
    color: rgba(255, 255, 255, .52);
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin: 0 0 20px
}

.footer a:not(.logo):not(.btn) {
    display: block;
    color: rgba(255, 255, 255, .78);
    margin: 10px 0;
    transition: .2s ease
}

.footer a:hover {
    color: var(--gold-2)
}

.footer__accent {
    color: var(--gold-2) !important
}

.socials {
    display: flex;
    gap: 10px;
    margin-top: 24px
}

.socials a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    font-size: 11px;
    font-weight: 800
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 44px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, .45);
    font-size: 13px
}

.footer__bottom a {
    margin: 0 !important;
    color: rgba(255, 255, 255, .45) !important
}

@media (max-width:1100px) {
    .container {
        width: min(100% - 44px, var(--container))
    }

    .main-nav {
        gap: 20px
    }

    .btn--header {
        padding-inline: 18px
    }

    .hero__photo {
        left: 45%
    }

    .hero__shade {
        background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .95) 38%, rgba(255, 255, 255, .50) 67%, rgba(255, 255, 255, 0) 100%)
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .service-card--split {
        grid-template-columns: 1fr 190px
    }

    .business-card {
        grid-template-columns: 1fr
    }

    .business-card img {
        height: 260px;
        order: -1
    }

    .ev-banner {
        grid-template-columns: 1fr
    }

    .ev-banner__image {
        min-height: 300px;
        order: -1
    }

    .ev-banner__image:before {
        background: linear-gradient(180deg, rgba(7, 21, 45, 0) 0%, var(--navy) 100%)
    }
}

@media (max-width:900px) {

    .main-nav,
    .btn--header {
        display: none
    }

    .burger {
        display: block;
        margin-left: unset;
    }

    body.menu-open .main-nav {
        position: absolute;
        left: 22px;
        right: 22px;
        top: 82px;
        display: grid;
        gap: 0;
        background: var(--navy);
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 18px;
        padding: 10px;
        box-shadow: 0 22px 60px rgba(0, 0, 0, .25)
    }

    body.menu-open .main-nav a {
        padding: 16px;
        border-radius: 12px
    }

    body.menu-open .main-nav a:hover {
        background: rgba(255, 255, 255, .06)
    }

    .hero {
        min-height: auto
    }

    .hero__inner {
        min-height: 540px;
        padding: 70px 0 112px
    }

    .hero__photo {
        left: 38%;
        opacity: .55
    }

    .hero__shade {
        background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .95) 52%, rgba(255, 255, 255, .60) 100%)
    }

    .feature-strip {
        grid-template-columns: 1fr
    }

    .feature-mini:after {
        display: none
    }

    .feature-mini:not(:last-child) {
        border-bottom: 1px solid var(--line)
    }

    .energy-map {
        height: auto;
        padding: 40px 18px 26px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: center
    }

    .energy-map:before,
    .energy-map__grid,
    .energy-map__lines {
        display: none
    }

    .energy-map__sun,
    .energy-map__pv,
    .energy-card {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto;
        transform: none !important;
        width: 100%;
        max-width: 420px;
        margin-inline: auto
    }

    .energy-map__sun {
        width: 76px;
        height: 76px;
        margin-bottom: 14px
    }

    .energy-map__pv {
        text-align: center
    }

    .energy-card {
        height: auto;
        min-height: 104px
    }

    .energy-card > img {
        width: 100%;
        height: auto;
    }

    .reason-grid,
    .service-grid,
    .trust-grid {
        grid-template-columns: 1fr 1fr
    }

    .calc-card {
        grid-template-columns: 1fr
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px
    }
}

@media (max-width:640px) {
    .container {
        width: calc(100% - 32px)
    }

    .header__inner {
        height: 66px
    }

    .logo span:last-child {
        font-size: 14px
    }

    .hero__photo {
        inset: auto 0 0 0;
        height: 46%;
        opacity: .88
    }

    .hero__shade {
        background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .97) 50%, rgba(255, 255, 255, .35) 77%, rgba(255, 255, 255, 0) 100%)
    }

    .hero__inner {
        align-items: flex-start;
        min-height: 690px;
        padding: 52px 0 320px
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 16px
    }

    .hero__actions {
        display: grid
    }

    .btn--primary,
    .btn--ghost {
        width: 100%;
        padding-inline: 18px
    }

    .feature-strip-section {
        margin-top: -34px
    }

    .feature-mini {
        padding: 20px
    }

    .diagram-section {
        padding-bottom: 22px
    }

    .section {
        padding: 58px 0
    }

    .section-head h2 {
        font-size: 38px
    }

    .reason-grid,
    .service-grid,
    .project-grid,
    .trust-grid {
        grid-template-columns: 1fr
    }

    .reason-card {
        padding: 26px
    }

    .service-card--split {
        grid-template-columns: 1fr
    }

    .service-card img {
        height: 230px;
        order: -1
    }

    .service-card__text,
    .business-card__copy {
        padding: 26px
    }

    .business-card img {
        height: 230px
    }

    .ev-banner__copy {
        padding: 34px 26px
    }

    .ev-banner h2 {
        font-size: 38px
    }

    .ev-specs {
        gap: 22px
    }

    .project-card__image {
        height: 210px
    }

    .calc-card {
        padding: 26px
    }

    .calc-result {
        padding: 30px
    }

    .calc-result strong {
        font-size: 44px
    }

    .partners {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px
    }

    .footer__grid {
        grid-template-columns: 1fr
    }

    .footer__bottom {
        display: grid;
        gap: 10px
    }

    .filter-row {
        gap: 8px
    }

    .filter-chip {
        padding: 10px 15px;
        font-size: 14px
    }
}

@media (max-width:430px) {
    .hero h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .section-head h2 {
        font-size: 34px
    }

    .reason-card h3,
    .service-card h3,
    .business-card h3 {
        font-size: 24px
    }

    .metric-row {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .project-card__image {
        height: 185px
    }

    .partner {
        font-size: 24px
    }
}


/* ===== Inner pages ===== */
.main-nav a.is-active {
    color: var(--gold-2)
}

.inner-main {
    background: linear-gradient(180deg, #fbfaf6 0, #fff 38%, #fbfaf6 100%)
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #f6fbff 56%, #eaf7ff 100%);
    padding: 88px 0 74px;
    border-bottom: 1px solid rgba(231, 225, 215, .7)
}

.page-hero:before {
    content: "";
    position: absolute;
    right: -180px;
    top: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 181, 20, .28), rgba(245, 181, 20, 0) 62%)
}

.page-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr .92fr;
    gap: 58px;
    align-items: center
}

.page-hero__copy h1 {
    font-size: clamp(42px, 5.5vw, 72px);
    line-height: .98;
    letter-spacing: -.075em;
    margin: 20px 0 24px;
    max-width: 760px
}

.page-hero__copy p {
    font-size: 19px;
    color: var(--muted);
    max-width: 690px;
    margin: 0 0 28px
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted-2);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px
}

.breadcrumbs a {
    color: var(--text)
}

.breadcrumbs span {
    color: var(--gold)
}

.page-hero__media {
    position: relative;
    border-radius: 30px;
    min-height: 410px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #dfe9f2
}

.page-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 410px;
    object-fit: cover
}

.page-hero__media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(7, 21, 45, .18))
}

.media-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
    background: #fff;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 2px
}

.media-badge strong {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: .12em
}

.media-badge span {
    font-weight: 800
}

.inner-stats-section {
    position: relative;
    z-index: 3;
    margin-top: -30px
}

.inner-stats,
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.inner-stats article,
.contact-cards article {
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    padding: 22px;
    display: grid;
    align-content: start;
    gap: 5px
}

.inner-stats svg,
.inner-stats img,
.contact-cards svg,
.values-grid svg,
.inner-stats img,
.contact-cards img,
.values-grid img {
    width: 34px;
    height: 34px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 8px
}

.inner-stats strong {
    font-size: 24px;
    letter-spacing: -.04em
}

.inner-stats span,
.contact-cards span {
    color: var(--muted);
    font-size: 14px
}

.inner-section {
    background: #fff
}

.split-layout {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 58px;
    align-items: start
}

.split-layout--reverse {
    grid-template-columns: .85fr 1fr;
    align-items: center
}

.split-layout h2,
.inner-media-card h2,
.cta-panel h2,
.story-card h2 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.04;
    letter-spacing: -.06em;
    margin: 12px 0 18px
}

.lead {
    font-size: 18px;
    color: var(--muted);
    margin: 0
}

.check-grid,
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    counter-reset: counter;
}

.check-grid article,
.values-grid article,
.timeline-grid article,
.story-card {
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.check-grid article {
    counter-increment: counter;
}

.check-grid b,
.timeline-grid span {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    height: 34px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: #9a6800;
    font-weight: 900;
    margin-bottom: 16px
}

.check-grid b:before {
    content: counter(counter, decimal-leading-zero);
    display: inline;
}

.check-grid h3,
.values-grid h3,
.timeline-grid h3 {
    font-size: 22px;
    letter-spacing: -.04em;
    margin: 0 0 10px
}

.check-grid p,
.values-grid p,
.timeline-grid p {
    color: var(--muted);
    margin: 0
}

.cream-section {
    background: var(--cream)
}

.inner-media-card {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 0;
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.inner-media-card__photo {
    min-height: 440px
}

.inner-media-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.inner-media-card__copy {
    padding: 48px
}

.spec-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px
}

.spec-table div {
    border: 1px solid #e8e4de;
    border-radius: 16px;
    padding: 16px;
    background: #fff
}

.spec-table span {
    display: block;
    color: var(--muted);
    font-size: 13px
}

.spec-table strong {
    font-size: 20px
}

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

.timeline-grid--wide article {
    min-height: 230px
}

.cta-panel-section {
    padding-top: 28px
}

.cta-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, var(--navy), #102e5a);
    color: #fff;
    border-radius: 28px;
    padding: 44px 52px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative
}

.cta-panel:after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(245, 181, 20, .28);
    box-shadow: 0 0 0 36px rgba(245, 181, 20, .05), 0 0 0 72px rgba(245, 181, 20, .025)
}

.cta-panel > div,
.cta-panel > .btn {
    position: relative;
    z-index: 1
}

.cta-panel h2 {
    color: #fff
}

.cta-panel p {
    color: rgba(255, 255, 255, .72);
    margin: 0
}

.story-card--dark {
    background: var(--navy);
    color: #fff
}

.story-card--dark h2 {
    color: #fff;
}

.story-card--dark p {
    color: rgba(255, 255, 255, .72)
}

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

.gallery-grid a {
    width: 100%;
    height: 340px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: block;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.gallery-grid a:hover img {
    -webkit-transform: scale(1.06);
    -ms-transform: scale(1.06);
    -o-transform: scale(1.06);
    transform: scale(1.06);
}

.gallery-grid img:first-child {
    /*    height: 430px;*/
    /*    grid-row: span 2*/
}

.diagram-section--inner {
    padding-top: 0;
    background: var(--cream)
}

.project-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.result-panel {
    background: var(--navy);
    border-radius: 28px;
    padding: 44px;
    color: #fff;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden
}

.result-panel:after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -80px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 181, 20, .24), rgba(245, 181, 20, 0) 64%)
}

.result-panel span {
    display: block;
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 13px;
    margin-bottom: 14px
}

.result-panel strong {
    display: block;
    font-family: "Space Grotesk";
    font-size: 76px;
    line-height: 1;
    color: var(--gold);
    letter-spacing: -.07em
}

.result-panel p {
    font-size: 18px;
    color: rgba(255, 255, 255, .75);
    max-width: 380px
}

.city-tags,
.cities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px
}

.city-tags span,
.cities-grid span {
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
    color: #35465f
}

.contact-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.contact-quick a {
    border: 1px solid #dfe5ec;
    background: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    color: var(--text)
}

.map-visual {
    background: linear-gradient(135deg, #dff2ff, #fdf6df) !important;
    position: relative;
    min-height: 410px
}

.map-visual:before {
    content: "";
    position: absolute;
    inset: 44px;
    border-radius: 52% 48% 44% 56%;
    background: linear-gradient(135deg, rgba(44, 94, 133, .18), rgba(245, 181, 20, .18));
    border: 1px solid rgba(7, 21, 45, .12)
}

.map-visual i {
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: 2;
    transform: translate(-50%, -50%);
    background: var(--navy);
    color: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-style: normal;
    font-weight: 800;
    font-size: 12px;
    box-shadow: 0 10px 24px rgba(7, 21, 45, .18)
}

.map-visual i:before {
    content: "";
    position: absolute;
    left: 50%;
    top: -8px;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border: 3px solid #fff;
    border-radius: 50%;
    transform: translateX(-50%)
}

.map-visual__card {
    position: absolute;
    left: 26px;
    bottom: 26px;
    z-index: 2;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-soft)
}

.map-visual__card strong {
    display: block;
    font-size: 28px
}

.map-visual__card span {
    color: var(--muted)
}

.contact-cards {
    grid-template-columns: repeat(3, 1fr)
}

.contact-cards h3 {
    font-size: 22px;
    margin: 0
}

.contact-cards a {
    font-weight: 900;
    color: var(--text)
}

.contact-cards p {
    margin: 0;
    color: var(--text);
    font-weight: 800
}

.request-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 42px;
    align-items: start
}

.request-copy h2 {
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.02;
    letter-spacing: -.065em;
    margin: 12px 0 18px
}

.contact-note {
    margin-top: 28px;
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 6px
}

.contact-note span {
    color: var(--muted)
}

.request-form {
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.request-form label {
    display: grid;
    gap: 8px;
    font-weight: 800
}

.request-form label.wide {
    grid-column: 1/-1
}

.request-form input,
.request-form select,
.request-form textarea {
    width: 100%;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
    padding: 14px 15px;
    background: #fbfcfd;
    color: var(--text);
    outline: none;
    transition: .2s
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(245, 181, 20, .14)
}

.request-form button {
    justify-self: start
}

.form-policy {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
    align-self: center
}

.cities-grid {
    justify-content: center
}

.cities-grid span {
    padding: 14px 20px
}

@media (max-width:1100px) {

    .page-hero__grid,
    .split-layout,
    .split-layout--reverse,
    .inner-media-card,
    .request-grid {
        grid-template-columns: 1fr
    }

    .page-hero__media {
        min-height: 360px
    }

    .page-hero__media img {
        min-height: 360px
    }

    .inner-stats {
        grid-template-columns: repeat(2, 1fr)
    }

    .timeline-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr
    }

    .gallery-grid img:first-child {
        /*        grid-row: auto*/
    }

    .gallery-grid a {
        height: 300px
    }

    .contact-cards {
        grid-template-columns: 1fr 1fr
    }

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

@media (max-width:760px) {
    .page-hero {
        padding: 54px 0 58px
    }

    .page-hero__grid {
        gap: 32px
    }

    .page-hero__copy h1 {
        font-size: 42px
    }

    .page-hero__copy p {
        font-size: 16px
    }

    .page-hero__media,
    .page-hero__media img {
        min-height: 280px
    }

    .inner-stats,
    .contact-cards,
    .check-grid,
    .values-grid,
    .timeline-grid,
    .project-story,
    .gallery-grid,
    .spec-table,
    .request-form {
        grid-template-columns: 1fr
    }

    .inner-stats-section {
        margin-top: -18px
    }

    .split-layout h2,
    .inner-media-card h2,
    .cta-panel h2,
    .story-card h2 {
        font-size: 34px
    }

    .inner-media-card__copy,
    .cta-panel {
        padding: 30px
    }

    .inner-media-card__photo {
        min-height: 250px
    }

    .gallery-grid a {
        height: 240px
    }

    .result-panel strong {
        font-size: 56px
    }

    .request-grid {
        gap: 26px
    }

    .request-form {
        padding: 22px
    }

    .form-policy {
        grid-column: 1/-1
    }

    .map-visual i {
        font-size: 10px;
        padding: 7px 9px
    }

    .contact-quick {
        display: grid
    }

    .contact-quick a {
        text-align: center
    }

    .media-badge {
        left: 16px;
        bottom: 16px
    }

    .city-tags span,
    .cities-grid span {
        font-size: 14px
    }
}

@media (max-width:430px) {
    .page-hero__copy h1 {
        font-size: 36px
    }

    .inner-stats article,
    .contact-cards article {
        padding: 18px
    }

    .cta-panel .btn {
        width: 100%;
        justify-content: center
    }

    .map-visual i:nth-of-type(4),
    .map-visual i:nth-of-type(5) {
        display: none
    }
}


/* Calculator CTA + modal */
.calc-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 24px
}

.calc-actions .btn {
    min-height: 52px;
    padding-inline: 26px
}

.calc-actions span {
    max-width: 330px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .24s ease, visibility .24s ease
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 45, .72);
    backdrop-filter: blur(8px)
}

.modal__dialog {
    position: relative;
    width: min(640px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    background: #fff;
    border: 1px solid rgba(245, 181, 20, .28);
    border-radius: 28px;
    padding: 38px;
    box-shadow: 0 34px 90px rgba(7, 21, 45, .34);
    transform: translateY(14px) scale(.98);
    transition: transform .24s ease
}

.modal.is-open .modal__dialog {
    transform: translateY(0) scale(1)
}

.modal__close {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid #e4e8ee;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .2s ease
}

.modal__close:hover {
    border-color: var(--gold);
    background: var(--gold-soft)
}

.modal__close span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 3px;
    background: var(--text)
}

.modal__close span:first-child {
    transform: rotate(45deg)
}

.modal__close span:last-child {
    transform: rotate(-45deg)
}

.modal__dialog h2 {
    font-size: 42px;
    line-height: 1.02;
    letter-spacing: -.06em;
    margin: 10px 44px 12px 0
}

.modal__dialog > p {
    color: var(--muted);
    margin: 0 44px 24px 0
}

.modal-form {
    grid-template-columns: 1fr 1fr;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0
}

.modal-form button {
    align-self: center
}

.modal-form .form-policy {
    align-self: center
}

body.modal-open {
    overflow: hidden
}

@media (max-width:760px) {
    .calc-actions {
        align-items: flex-start
    }

    .calc-actions .btn {
        width: 100%
    }

    .calc-actions span {
        max-width: none
    }

    .modal {
        padding: 14px
    }

    .modal__dialog {
        border-radius: 22px;
        padding: 28px 18px
    }

    .modal__dialog h2 {
        font-size: 34px;
        margin-right: 46px
    }

    .modal__dialog > p {
        margin-right: 0
    }

    .modal-form {
        grid-template-columns: 1fr
    }

    .modal-form button {
        width: 100%
    }
}


/* Home cases section */
.main-nav a.is-active {
    color: var(--gold-2)
}

.cases-home {
    background: linear-gradient(180deg, #fbfaf6 0%, #fff 100%);
    padding-top: 36px
}

.cases-home__head p {
    max-width: 780px;
    margin: 14px auto 0;
    color: var(--muted)
}

.case-feature {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 0;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    border: 1px solid #e8e4de;
    box-shadow: var(--shadow);
    margin-top: 30px
}

.case-feature__image {
    position: relative;
    min-height: 430px;
    background: #dfe9f2;
    overflow: hidden
}

.case-feature__image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.case-feature__image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 21, 45, 0), rgba(7, 21, 45, .22))
}

.case-feature__image span {
    position: absolute;
    left: 24px;
    top: 24px;
    z-index: 2;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    padding: 10px 16px;
    font-weight: 900;
    font-size: 13px
}

.case-feature__body {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start
}

.case-feature__body h3 {
    font-size: clamp(32px, 3.8vw, 54px);
    line-height: 1.02;
    letter-spacing: -.06em;
    margin: 14px 0 18px;
    max-width: 680px
}

.case-feature__body p {
    color: var(--muted);
    font-size: 17px;
    margin: 0;
    max-width: 620px
}

.case-feature__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    margin: 28px 0
}

.case-feature__stats span {
    background: var(--cream);
    border: 1px solid #e8e4de;
    border-radius: 18px;
    padding: 16px
}

.case-feature__stats strong {
    display: block;
    font-size: 22px;
    color: var(--text);
    line-height: 1.1
}

.case-feature__stats small {
    display: block;
    color: var(--muted);
    margin-top: 4px
}

.case-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 22px
}

.case-mini {
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 22px;
    padding: 26px;
    box-shadow: var(--shadow-soft);
    transition: .25s ease
}

.case-mini:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 181, 20, .45);
    box-shadow: var(--shadow)
}

.case-mini span {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 36px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: #9a6800;
    font-weight: 900;
    margin-bottom: 18px
}

.case-mini strong {
    display: block;
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -.04em;
    color: var(--text);
    margin-bottom: 10px
}

.case-mini p {
    color: var(--muted);
    margin: 0
}

.page-hero--case {
    background: linear-gradient(135deg, #fff 0%, #fff9e8 50%, #eaf7ff 100%)
}

.page-hero--case .page-hero__media:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(7, 21, 45, 0), rgba(7, 21, 45, .12))
}

@media (max-width:1100px) {
    .case-feature {
        grid-template-columns: 1fr
    }

    .case-feature__image {
        min-height: 320px;
        order: -1
    }

    .case-feature__body {
        padding: 38px
    }

    .case-mini-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:760px) {
    .case-feature__body {
        padding: 28px
    }

    .case-feature__stats,
    .case-mini-grid {
        grid-template-columns: 1fr
    }

    .case-feature__image {
        min-height: 260px
    }

    .cases-home {
        padding-top: 20px
    }
}

/* v6: home section links and cases swiper */
.section-more {
    display: flex;
    justify-content: center;
    margin-top: 34px
}

.section-more .btn {
    min-width: 190px;
    justify-content: center;
    background: #fff
}

.services .section-more {
    margin-top: 30px
}

.projects .section-more {
    margin-top: 36px
}

.cases-home .section-more {
    margin-top: 28px
}

.cases-slider-wrap {
    position: relative;
    margin-top: 30px
}

.cases-swiper {
    overflow: hidden;
    padding: 0 0 58px
}

.cases-swiper .swiper-wrapper {
    align-items: stretch
}

.cases-swiper .swiper-slide {
    height: auto;
    margin-top: 0
}

.cases-swiper .case-feature {
    box-shadow: var(--shadow);
    margin-top: 0
}

.case-slider__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    z-index: 5
}

.case-slider__arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #e8e4de;
    background: #fff;
    color: var(--text);
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-soft);
    transition: .22s ease
}

.case-slider__arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px)
}

.case-slider__pagination {
    position: static !important;
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 96px
}

.case-slider__pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0 !important;
    background: #cbd3dd;
    opacity: 1;
    transition: .22s ease
}

.case-slider__pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 999px;
    background: var(--gold)
}

@media (max-width:760px) {
    .section-more {
        margin-top: 26px
    }

    .section-more .btn {
        width: 100%;
        min-width: 0
    }

    .cases-swiper {
        padding-bottom: 64px
    }

    .case-slider__arrow {
        width: 42px;
        height: 42px
    }

    .case-slider__controls {
        gap: 14px
    }
}

.cases-swiper.is-fallback-slider .swiper-wrapper {
    display: flex;
    transition: transform .45s ease;
    will-change: transform
}

.cases-swiper.is-fallback-slider .swiper-slide {
    flex: 0 0 100%;
    min-width: 100%
}

.case-slider__bullet {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: #cbd3dd;
    cursor: pointer;
    padding: 0;
    transition: .22s ease
}

.case-slider__bullet.is-active {
    width: 28px;
    background: var(--gold)
}


/* v7: news block and news pages */
.news-home {
    background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
    padding-top: 42px
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
    align-items: stretch
}

.news-grid--list {
    grid-template-columns: repeat(3, 1fr)
}

.news-card {
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: .25s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(245, 181, 20, .45)
}

.news-card__image {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #eaf2f8;
    display: block
}

.news-card--large .news-card__image {
    height: 260px
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease
}

.news-card:hover .news-card__image img {
    transform: scale(1.045)
}

.news-card__image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 21, 45, 0), rgba(7, 21, 45, .20))
}

.news-card__image span {
    position: absolute;
    left: 18px;
    top: 16px;
    z-index: 2;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 900
}

.news-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1
}

.news-card time {
    display: block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px
}

.news-card h3 {
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.08;
    letter-spacing: -.055em;
    margin: 0 0 12px
}

.news-card:not(.news-card--large) h3 {
    font-size: 23px
}

.news-card p {
    color: var(--muted);
    margin: 0 0 18px;
    line-height: 1.55
}

.text-link {
    margin-top: auto;
    color: var(--text);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.text-link span {
    color: var(--gold)
}

.news-list-section {
    background: #fff
}

.page-hero--news {
    background: linear-gradient(135deg, #fff 0%, #fff8e3 48%, #eaf7ff 100%)
}

.article-hero {
    padding: 74px 0 62px;
    background: linear-gradient(135deg, #fff 0%, #fff7dc 48%, #e6f5ff 100%);
    position: relative;
    overflow: hidden
}

.article-hero:before {
    content: "";
    position: absolute;
    right: -140px;
    top: -160px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 181, 20, .22), rgba(245, 181, 20, 0) 64%)
}

.article-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr .88fr;
    gap: 52px;
    align-items: center
}

.article-hero__copy h1 {
    font-size: clamp(42px, 5.5vw, 72px);
    line-height: .98;
    letter-spacing: -.075em;
    margin: 18px 0 20px;
    max-width: 820px
}

.article-hero__copy p {
    font-size: 19px;
    color: var(--muted);
    max-width: 720px
}

.article-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 26px
}

.article-meta span {
    border: 1px solid rgba(245, 181, 20, .36);
    background: rgba(255, 244, 217, .72);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
    color: #8b5c00;
    font-size: 13px
}

.article-hero__image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 420px
}

.article-hero__image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover
}

.article-section {
    background: #fff
}

.article-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 780px);
    gap: 52px;
    align-items: start
}

.article-aside {
    position: sticky;
    top: 100px
}

.article-aside__box {
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 10px
}

.article-aside__box .eyebrow {
    margin-bottom: 8px
}

.article-aside__box a {
    font-weight: 800;
    color: var(--muted);
    padding: 6px 0;
    border-bottom: 1px solid #edf0f4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* Chrome, Safari */
    line-clamp: 2;
    /* Firefox */
    overflow: hidden;
}

.article-aside__box a:last-child {
    border-bottom: 0
}

.article-content {
    font-size: 18px;
    color: #243755
}

.article-content p {
    font-size: 21px;
    color: var(--text);
    line-height: 1.55
}

.article-content h2 {
    font-size: clamp(30px, 3.5vw, 44px);
    margin: 44px 0 16px
}

.article-content p {
    margin: 0 0 20px
}

.article-content ul {
    margin: 0 0 28px;
    padding-left: 22px
}

.article-content li {
    margin: 10px 0
}

.article-content p img {
    width: 100%;
    margin: 30px 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft)
}

.article-note,
.article-content blockquote {
    background: var(--gold-soft);
    border: 1px solid rgba(245, 181, 20, .30);
    border-radius: 20px;
    padding: 22px;
    margin: 28px 0;
    color: #3b2c05
}

.article-image {
    margin: 30px 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft)
}

.article-image img {
    width: 100%;
    height: 360px;
    object-fit: cover
}

.article-cta {
    margin-top: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    background: linear-gradient(135deg, var(--navy), #102e5a);
    border-radius: 28px;
    color: #fff;
    padding: 34px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative
}

.article-cta:after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 1px solid rgba(245, 181, 20, .22);
    box-shadow: 0 0 0 42px rgba(245, 181, 20, .05)
}

.article-cta > * {
    position: relative;
    z-index: 1
}

.article-cta h3 {
    color: #fff;
    font-size: 34px;
    margin: 8px 0 10px
}

.article-cta p {
    color: rgba(255, 255, 255, .72);
    margin: 0;
    max-width: 520px
}

.main-nav a.is-active {
    color: var(--gold-2)
}

@media (max-width:1100px) {

    .news-grid,
    .news-grid--list {
        grid-template-columns: 1fr 1fr
    }

    .news-card--large {
        grid-column: 1/-1
    }

    .article-hero__grid,
    .article-layout {
        grid-template-columns: 1fr
    }

    .article-aside {
        position: static
    }

    .article-aside__box {
        grid-template-columns: repeat(4, auto);
        align-items: center;
        gap: 14px;
        overflow: auto
    }

    .article-aside__box .eyebrow {
        grid-column: 1/-1
    }

    .article-hero__image {
        min-height: 340px
    }

    .article-hero__image img {
        min-height: 340px
    }
}

@media (max-width:760px) {

    .news-grid,
    .news-grid--list {
        grid-template-columns: 1fr
    }

    .news-card--large {
        grid-column: auto
    }

    .news-card__image,
    .news-card--large .news-card__image {
        height: 220px
    }

    .article-hero {
        padding: 54px 0
    }

    .article-hero__copy h1 {
        font-size: 40px
    }

    .article-hero__copy p,
    .article-content {
        font-size: 16px
    }

    .article-content p {
        font-size: 18px
    }

    .article-hero__image,
    .article-hero__image img {
        min-height: 260px
    }

    .article-aside__box {
        display: none
    }

    .article-image img {
        height: 240px
    }

    .article-cta {
        display: grid;
        padding: 26px
    }

    .article-cta .btn {
        width: 100%
    }
}

/* Clickable cards and stronger hover states */
.card-link,
a.service-card,
a.business-card,
a.ev-banner,
a.project-card,
a.case-feature {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a.project-card {
    display: block;
}

a.service-card,
a.business-card,
a.ev-banner,
a.project-card,
a.case-feature {
    transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease, background .26s ease;
}

a.service-card:hover,
a.business-card:hover,
a.project-card:hover,
a.case-feature:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 181, 20, .55);
    box-shadow: 0 26px 70px rgba(10, 24, 48, .14);
}

a.ev-banner:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 90px rgba(7, 21, 45, .28);
}

a.service-card:hover img,
a.business-card:hover img,
a.ev-banner:hover img,
a.project-card:hover img,
a.case-feature:hover img {
    transform: scale(1.045);
}

.service-card img,
.business-card img,
.ev-banner img,
.case-feature__image img {
    transition: transform .45s ease;
}

a.service-card:focus-visible,
a.business-card:focus-visible,
a.ev-banner:focus-visible,
a.project-card:focus-visible,
a.case-feature:focus-visible {
    outline: 3px solid rgba(245, 181, 20, .65);
    outline-offset: 4px;
}

.case-feature .btn {
    pointer-events: none;
}


/* v9: category/archive list pages */
.page-hero--archive {
    background: linear-gradient(135deg, #fff 0%, #fff8e3 48%, #eaf7ff 100%)
}

.archive-list-section {
    background: #fff;
    padding-top: 54px
}

.archive-service-grid {
    margin-bottom: 24px
}

.archive-service-stack {
    display: grid;
    gap: 28px;
    margin-top: 26px
}

.archive-ev {
    margin-top: 0
}

.archive-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px
}

.archive-mini-card {
    display: block;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.archive-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(245, 181, 20, .48)
}

.archive-mini-card span {
    display: inline-flex;
    border-radius: 999px;
    background: var(--gold-soft);
    color: #9a6800;
    font-weight: 900;
    font-size: 12px;
    padding: 8px 13px;
    margin-bottom: 18px
}

.archive-mini-card h3 {
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -.045em;
    margin: 0 0 10px
}

.archive-mini-card p {
    color: var(--muted);
    margin: 0;
    line-height: 1.55
}

.project-grid--archive {
    grid-template-columns: repeat(4, 1fr)
}

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

.case-list-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.case-list-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(245, 181, 20, .50)
}

.case-list-card__image {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #eaf2f8
}

.case-list-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease
}

.case-list-card:hover .case-list-card__image img {
    transform: scale(1.05)
}

.case-list-card__image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 21, 45, 0), rgba(7, 21, 45, .28))
}

.case-list-card__image span {
    position: absolute;
    left: 18px;
    top: 16px;
    z-index: 2;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 8px 13px
}

.case-list-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start
}

.case-list-card__body h3 {
    font-size: 25px;
    line-height: 1.07;
    letter-spacing: -.052em;
    margin: 0 0 12px
}

.case-list-card__body p {
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 20px
}

.case-list-card__stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto
}

.case-list-card__stats b {
    border-radius: 999px;
    background: var(--gold-soft);
    color: #8b5c00;
    font-size: 12px;
    padding: 8px 10px
}

.archive-list-section .filter-row {
    margin-bottom: 30px
}

@media (max-width:1100px) {

    .project-grid--archive,
    .case-list-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .archive-mini-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:760px) {

    .project-grid--archive,
    .case-list-grid,
    .archive-mini-grid {
        grid-template-columns: 1fr
    }

    .case-list-card__image {
        height: 220px
    }

    .archive-list-section {
        padding-top: 40px
    }
}
