/* Revision 2.1: composition and first-screen geometry. */
.first-screen {
    min-block-size: 100svh;
    display: grid;
    grid-template-rows: auto 1fr;
}

.first-screen>.hero {
    min-block-size: 0;
    padding-block: clamp(28px, 4svh, 64px);
    align-items: center;
}

.site-header {
    position: relative;
}

.brand-mark {
    width: 32px;
    height: 36px;
    background: none;
    padding: 0;
    color: var(--forest);
}

.brand-mark svg {
    width: 32px;
    height: 32px;
}

.header-inner {
    gap: 24px;
}

.main-nav {
    gap: 24px;
}

.button {
    min-height: 52px;
    border-radius: 8px;
    gap: 22px;
    padding: 14px 24px;
}

.button span {
    font-size: 20px;
    line-height: 1;
}

.hero {
    isolation: isolate;
}

.hero img {
    object-position: center;
}

.hero:before {
    background: linear-gradient(90deg, rgba(9, 29, 23, .78) 0%, rgba(9, 29, 23, .72) 32%, rgba(9, 29, 23, .42) 55%, rgba(9, 29, 23, .03) 76%);
}

.hero-copy {
    max-width: 670px;
}

.hero h1 {
    font-size: clamp(46px, 5vw, 68px);
    line-height: 1.06;
    letter-spacing: -.045em;
    margin-bottom: 25px;
}

.hero .eyebrow {
    font-size: 14px;
    max-width: 600px;
    letter-spacing: .05em;
}

.hero .intro {
    max-width: 580px;
    font-size: 18px;
    line-height: 1.55;
}

.hero-price {
    margin-top: 28px;
    max-width: 570px;
}

.hero-price p {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.hero-price strong {
    display: inline-block;
    white-space: nowrap;
    font-size: 27px;
}

.hero-price span {
    font-size: 14px;
}

.hero .actions {
    margin-top: 27px;
}

.hero .actions a:not(.button) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.section {
    padding-block: clamp(64px, 6vw, 96px);
}

.section h2 {
    font-size: clamp(32px, 3.4vw, 46px);
    max-width: 860px;
    margin-bottom: 30px;
}

.section .eyebrow {
    color: var(--link);
    font-size: 14px;
    margin-bottom: 22px;
}

.section>.wrap>p:empty {
    display: none;
}

.section>.wrap>p:not(.eyebrow) {
    max-width: 72ch;
}

[id] {
    scroll-margin-top: 96px;
}

.section-number {
    display: block;
    font-size: 14px;
    color: var(--link);
    margin-bottom: 18px;
}

.situations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 44px;
    gap: 34px 64px;
}

.situation {
    border-top: 1px solid #b8cabe;
    padding-top: 24px;
}

.situation h3 {
    max-width: 480px;
    font-size: 26px;
    line-height: 1.2;
}

.situation p {
    color: var(--muted);
    margin-bottom: 0;
}

.section-tail {
    margin-top: 38px;
    padding-top: 25px;
    border-top: 1px solid #b8cabe;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 30px;
}

.section-tail p {
    max-width: 690px;
    margin: 0;
}

.section-tail a {
    flex-shrink: 0;
    min-height: 44px;
}

.deliverables {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 46px;
    padding-block: 15px 26px;
}

.deliverables>div {
    padding-top: 25px;
    border-top: 1px solid #b8cabe;
}

.deliverables h3 {
    font-size: 25px;
}

.deliverables p {
    font-size: 17px;
}

.concept-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 44px;
}

.concept-card {
    min-width: 0;
}

.concept-card>.eyebrow {
    font-size: 14px;
    letter-spacing: .02em;
}

.concept-stage {
    position: relative;
    padding: 0 0 0;
}

.demo-window {
    border: 1px solid #adbbb2;
    background: #fff;
    border-radius: 12px;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 16px;
    font-size: 14px;
    border-bottom: 1px solid #cbd5cf;
}

.demo-header>span {
    font-size: 14px;
    color: var(--muted);
}

.demo-hero {
    position: relative;
}

.demo-hero img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.demo-overlay {
    position: relative;
    padding: 22px 18px;
    background: #173c35;
    color: #fff;
}

.demo-overlay h3 {
    font-size: 25px;
    line-height: 1.1;
    margin: 10px 0 18px;
}

.demo-overlay p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.demo-cta {
    display: inline-block;
    padding: 10px 12px;
    border-radius: 4px;
    color: #182522;
    background: #ffc857;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
}

.demo-meta {
    padding: 15px 18px;
    font-size: 14px;
    margin: 0;
    border-bottom: 1px solid #d2dad5;
    overflow-wrap: anywhere;
}

.demo-blocks {
    display: grid;
    grid-template-columns: 1fr;
    padding: 4px 18px 10px;
}

.demo-blocks>div {
    padding: 13px 0;
    border-bottom: 1px solid #d2dad5;
}

.demo-blocks strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.demo-blocks p {
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
    color: #51635b;
}

.demo-end {
    padding: 10px 18px 18px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.demo-industry .demo-overlay {
    background: #263538;
}

.demo-industry .demo-header {
    letter-spacing: .01em;
}

.demo-industry .demo-cta {
    background: #e5ede7;
}

.demo-tutor .demo-overlay {
    background: #e9e5d8;
    color: #253c31;
}

.demo-tutor .demo-overlay h3 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 29px;
}

.demo-tutor .demo-cta {
    background: #324c3e;
    color: #fff;
    border-radius: 20px;
}

.mobile-mini {
    width: 100%;
    border: 1px solid #b7c7bd;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    background: #fff;
    font-size: 14px;
}

.phone-notch {
    display: none;
}

.mobile-label {
    color: var(--muted);
    grid-column: 1/-1;
}

.mobile-mini>strong {
    font-size: 17px;
    line-height: 1.3;
}

.mobile-mini p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.mobile-rule {
    display: none;
}

.mobile-mini .demo-cta {
    grid-column: 1/-1;
    text-align: center;
}

.concept-caption {
    padding-top: 28px;
}

.concept-caption h3 {
    font-size: 25px;
}

.concept-caption p {
    font-size: 16px;
    margin-bottom: 12px;
}

.concept-caption a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
}

.formats {
    gap: 0;
    border-top: 1px solid #b8cabe;
    border-bottom: 1px solid #b8cabe;
}

.format {
    border: 0;
    border-radius: 0;
    background: none;
    padding: 32px 40px 32px 0;
}

.format+.format {
    border-left: 1px solid #b8cabe;
    padding-left: 40px;
}

.format h3 {
    font-size: 34px;
}

.format a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.steps {
    gap: 26px;
}

.steps li {
    border-top: 1px solid #89a793;
}

.steps strong {
    font-size: 23px;
}

.steps li:before {
    border: 1px solid #89a793;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
}

.price-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.price-big {
    font-size: 20px;
    line-height: 1.35;
}

.price-big strong {
    display: block;
    font-size: clamp(42px, 5vw, 70px);
    letter-spacing: -.04em;
    font-weight: 600;
    margin: 10px 0;
}

.price-big span {
    font-size: 16px;
    color: var(--muted);
}

.trust-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: start;
}

.checklist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.checklist li {
    border-bottom: 1px solid #b8cabe;
    padding: 16px 0 16px 30px;
    margin: 0;
    position: relative;
}

.checklist li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--link);
}

.operator {
    padding: 30px;
    background: var(--soft);
    border-radius: 12px;
}

.operator p:not(.eyebrow) {
    font-size: 15px;
}

.faq {
    max-width: 100%;
}

.faq summary {
    font-size: 21px;
}

.faq details p {
    max-width: 78ch;
}

.contact-section .eyebrow {
    color: #d3e1d5;
}

.contact-section a:not(.button) {
    color: #fff;
}

.contact-section .lead-form a {
    color: var(--link);
}

.contact-section .button {
    color: var(--forest);
}

.page-intro {
    padding-block: 18px 54px;
}

.page-intro h1 {
    font-size: clamp(38px, 4vw, 54px);
}

.split-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 70px;
    align-items: start;
}

.split-intro h1 {
    max-width: 740px;
}

.split-intro .lead {
    font-size: 19px;
}

.intro-aside {
    padding: 28px;
    background: var(--soft);
    border-radius: 12px;
    margin-top: 5px;
}

.intro-aside h2 {
    font-size: 25px;
}

.intro-aside p,
.intro-aside li {
    font-size: 16px;
}

.intro-aside ol,
.intro-aside ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.editorial-row {
    display: grid;
    grid-template-columns: .85fr 1.4fr;
    gap: 80px;
}

.editorial-row h2 {
    font-size: 35px;
}

.text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.text-columns h3 {
    margin-top: 12px;
}

.architecture {
    margin-block: 35px;
}

.architecture-home {
    display: block;
    max-width: 360px;
    margin: auto;
    padding: 20px;
    background: var(--forest);
    color: #fff;
    text-align: center;
    border-radius: 8px;
}

.architecture-branches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-top: 30px;
}

.architecture-branches>div {
    padding: 22px;
    border: 1px solid #9fb6a6;
    border-radius: 8px;
}

.architecture-branches p {
    margin: 8px 0 0;
    font-size: 16px;
}

.process-line {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: process;
}

.process-line>li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 25px;
    padding: 35px 0;
    margin: 0;
    border-bottom: 1px solid #b8cabe;
}

.process-line>li:before {
    counter-increment: process;
    content: '0' counter(process);
    color: var(--link);
    font-size: 24px;
}

.process-detail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.process-detail p {
    font-size: 17px;
    margin-bottom: 0;
}

.process-detail strong {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 10px;
    color: var(--link);
}

.concept-review {
    padding-block: 70px;
    border-bottom: 1px solid #b8cabe;
}

.concept-review h2 {
    font-size: 38px;
    margin-bottom: 28px;
}

.expanded {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: end;
    gap: 30px;
    padding: 36px;
    background: var(--soft);
    border-radius: 14px;
    margin-block: 30px;
}

.expanded .demo-header {
    padding: 20px 28px;
    font-size: 17px;
}

.expanded .demo-hero {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
}

.expanded .demo-hero img {
    grid-column: 2;
    grid-row: 1;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    object-position: 65%;
}

.expanded .demo-overlay {
    grid-column: 1;
    grid-row: 1;
    padding: 30px 24px;
}

.expanded .demo-overlay h3 {
    font-size: 31px;
}

.expanded .demo-blocks {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 24px;
}

.expanded .demo-meta {
    padding-inline: 24px;
}

.expanded .demo-end {
    padding: 10px 24px 24px;
}

.expanded .mobile-mini {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 14px;
    min-height: 360px;
    border: 5px solid #294438;
    border-radius: 24px;
    box-shadow: 0 15px 20px #18352a12;
}

.expanded .phone-notch {
    display: block;
    width: 50px;
    height: 6px;
    border-radius: 6px;
    background: #294438;
    margin: 0 auto 16px;
}

.expanded .mobile-mini>strong {
    font-size: 24px;
    margin-top: 12px;
}

.expanded .mobile-mini p {
    margin-block: 15px;
}

.expanded .mobile-mini .demo-cta {
    margin-top: auto;
}

.review-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 55px;
}

.review-copy h3 {
    font-size: 24px;
    margin: 25px 0 16px;
}

.review-copy>div:last-child {
    grid-column: 1/-1;
}

.review-copy>div:last-child p {
    max-width: 100ch;
}

.article-meta {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.article-index {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-block: 40px;
}

.article-card {
    padding: 28px 0;
    border-top: 1px solid #b8cabe;
}

.article-card h2 {
    font-size: 29px;
}

.article-card a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.article-card time {
    display: block;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.article-content {
    max-width: 800px;
    padding-block: 40px 70px;
}

.article-content h2 {
    font-size: 31px;
    margin: 46px 0 23px;
}

.article-content h3 {
    margin-top: 28px;
    font-size: 24px;
}

.related {
    margin-top: 30px;
}

.table-wrap th,
.table-wrap td {
    overflow-wrap: anywhere;
}

.site-footer {
    padding-top: 60px;
}

.footer-bottom {
    font-size: 14px;
}

.small,
.field-hint,
.lead-form .small {
    font-size: 14px;
}

.cookie-panel {
    position: relative;
}

@media (min-width: 900px) and (max-height: 820px) {
    .first-screen>.hero {
        padding-block: clamp(20px, 3svh, 32px);
    }

    .hero h1 {
        font-size: clamp(44px, 4.3vw, 60px);
        margin-bottom: 18px;
    }

    .hero .eyebrow {
        margin-bottom: 18px;
    }

    .hero .intro {
        margin-bottom: 15px;
    }

    .hero-price {
        margin-top: 18px;
    }

    .hero .actions {
        margin-top: 20px;
    }
}

@media (max-width: 1190px) {
    .concept-gallery {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .concept-card {
        display: grid;
        grid-template-columns: 1.4fr 1fr;
        gap: 0 35px;
        align-items: start;
    }

    .concept-card>.eyebrow {
        grid-column: 1/-1;
    }

    .concept-caption {
        padding-top: 0;
    }

    .concept-stage .demo-overlay h3 {
        font-size: 29px;
    }

    .demo-hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .demo-hero img {
        height: 100%;
        object-fit: cover;
    }

    .demo-blocks {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .split-intro {
        gap: 40px;
    }

    .editorial-row {
        gap: 45px;
    }

    .expanded {
        padding: 25px;
        gap: 20px;
        grid-template-columns: minmax(0, 1fr) 165px;
    }

    .expanded .demo-hero {
        display: block;
    }

    .expanded .demo-hero img {
        max-height: none;
        min-height: 0;
        height: auto;
        aspect-ratio: 16/9;
    }

    .expanded .demo-overlay h3 {
        max-width: 500px;
    }
}

@media (max-width: 899px) {
    .hero-copy {
        max-width: 620px;
    }

    .hero h1 {
        font-size: clamp(38px, 6.5vw, 56px);
    }

    .hero:before {
        background: linear-gradient(90deg, rgba(9, 29, 23, .84), rgba(9, 29, 23, .72) 55%, rgba(9, 29, 23, .25));
    }

    .hero .intro {
        max-width: 560px;
    }

    .section {
        padding-block: 64px;
    }

    .deliverables {
        grid-template-columns: 1fr 1fr;
    }

    .situations {
        gap: 28px;
    }

    .situation h3 {
        font-size: 24px;
    }

    .section-tail {
        display: block;
    }

    .section-tail a {
        display: inline-flex;
        align-items: center;
        margin-top: 15px;
    }

    .price-layout,
    .trust-layout {
        gap: 36px;
    }

    .split-intro,
    .editorial-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .intro-aside {
        max-width: 680px;
    }

    .process-detail {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .process-line>li {
        grid-template-columns: 44px 1fr;
        gap: 12px;
    }

    .expanded {
        grid-template-columns: minmax(0, 1fr) 150px;
    }

    .expanded .demo-blocks {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .hero img {
        object-fit: contain;
        object-position: right bottom;
    }

    .first-screen>.hero {
        align-items: start;
        padding-block: 32px 42px;
    }

    .hero:before {
        background: linear-gradient(180deg, rgba(9, 29, 23, .80), rgba(9, 29, 23, .72) 55%, rgba(9, 29, 23, .46));
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.08;
        margin-bottom: 20px;
    }

    .hero .eyebrow {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 22px;
        text-transform: none;
        letter-spacing: .02em;
    }

    .hero .intro {
        font-size: 17px;
    }

    .hero-price {
        margin-top: 23px;
    }

    .hero-price p {
        font-size: 18px;
    }

    .hero-price strong {
        font-size: 25px;
    }

    .hero .actions {
        gap: 12px;
        margin-top: 23px;
    }

    .hero .actions a:not(.button) {
        padding-block: 0;
    }

    .section {
        padding-block: 52px;
    }

    .section h2 {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .section .eyebrow {
        font-size: 14px;
        letter-spacing: .03em;
    }

    .situations,
    .deliverables,
    .concept-gallery,
    .price-layout,
    .trust-layout,
    .text-columns,
    .article-index,
    .review-copy {
        grid-template-columns: 1fr;
    }

    .situation h3 {
        font-size: 24px;
    }

    .deliverables {
        gap: 6px;
    }

    .deliverables>div {
        display: grid;
        grid-template-columns: 35px 1fr;
        gap: 0 15px;
        padding-top: 23px;
    }

    .deliverables .section-number {
        grid-row: span 2;
    }

    .deliverables h3 {
        font-size: 23px;
    }

    .deliverables p {
        grid-column: 2;
    }

    .concept-card {
        display: block;
    }

    .concept-caption {
        padding-top: 25px;
    }

    .demo-hero {
        display: block;
    }

    .demo-hero img {
        width: 100%;
        height: auto;
        aspect-ratio: 3/2;
    }

    .demo-blocks {
        grid-template-columns: 1fr;
    }

    .mobile-mini {
        width: calc(100% - 35px);
        margin-left: auto;
        border-left: 4px solid var(--forest);
    }

    .format {
        padding: 25px 0;
    }

    .format+.format {
        border-left: 0;
        border-top: 1px solid #b8cabe;
        padding-left: 0;
    }

    .formats {
        grid-template-columns: 1fr;
    }

    .operator {
        padding: 25px;
    }

    .page-intro h1 {
        font-size: 36px;
    }

    .page-intro .lead {
        font-size: 18px;
    }

    .architecture-branches {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-top: 18px;
    }

    .concept-review {
        padding-block: 46px;
    }

    .concept-review h2 {
        font-size: 31px;
    }

    .expanded {
        display: block;
        padding: 15px;
        margin-inline: -4px;
    }

    .expanded .demo-header {
        padding: 15px;
        font-size: 14px;
    }

    .expanded .demo-overlay {
        padding: 22px 18px;
    }

    .expanded .demo-blocks {
        padding: 10px 18px;
    }

    .expanded .mobile-mini {
        width: 200px;
        margin: 24px auto 0;
        min-height: 330px;
    }

    .review-copy>div:last-child {
        grid-column: auto;
    }

    .article-content h2 {
        font-size: 28px;
    }

    .article-card {
        padding-block: 25px;
    }

    .text-columns {
        gap: 28px;
    }
}

@media (max-width: 350px) {
    .hero h1 {
        font-size: 34px;
    }

    .hero .intro {
        font-size: 16px;
    }

    .hero .eyebrow {
        font-size: 14px;
    }

    .section h2 {
        font-size: 29px;
    }
}

/* Compact work previews, without miniature phone frames. */
.work-preview {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    aspect-ratio: 1;
    min-height: 0;
    background: #173f36;
    color: #fff;
    border-radius: 12px;
    border: 1px solid #b8cabe;
    text-decoration: none;
}
.work-preview img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: 11px 11px 0 0;
}
.work-preview-title {
    padding: 24px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}
.work-preview.demo-industry { background: #263638; }
.work-preview.demo-tutor { background: #eae6d8; color: #17352e; }
.work-preview:hover { box-shadow: 0 8px 26px #173f3620; }
.expanded { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 980px) {
    .concept-card { display: block; }
    .concept-caption { margin-top: 22px; }
}

/* Contact navigation and a consistent primary/secondary action hierarchy. */
.button {
    box-shadow: 0 3px 0 rgb(18 52 43 / 13%);
    transition: background-color .18s ease, box-shadow .18s ease;
}
.button:hover { box-shadow: 0 5px 14px rgb(18 52 43 / 16%); }
.button:active { box-shadow: none; }
.button.secondary { box-shadow: none; }
.hero .button.hero-secondary {
    color: #fff;
    background: rgb(10 31 25 / 55%);
    border-color: rgb(255 255 255 / 65%);
}
.hero .button.hero-secondary:hover { background: #173f36; }
.main-nav a[aria-current="page"] { color: var(--forest); font-weight: 700; text-decoration: underline; text-underline-offset: 7px; }
.work-detail-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.form-intro { margin: 0 0 24px; font-size: 21px; line-height: 1.4; font-weight: 650; color: var(--forest); }
.footer-office { max-width: 360px; margin-top: 20px; font-size: 15px; }
.office-inline { max-width: 380px; font-size: 16px; margin-top: 26px; }
.contact-section .office-inline a { font-size: 16px; }
.office-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; margin: 0 0 64px; }
.office-card { border: 1px solid #bdccc2; border-radius: 16px; padding: 32px; background: #fff; }
.office-card h2 { margin: 12px 0 28px; font-size: 32px; }
.contact-method { margin-bottom: 24px; }
.contact-method > span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.contact-method > a { display: inline-block; font-size: 24px; font-weight: 650; color: var(--forest); text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact-method > p { margin: 0; font-size: 19px; }
.office-map { display: grid; min-height: 420px; background: #edf1e9; border: 1px solid #bdccc2; border-radius: 16px; }
.map-placeholder { align-self: center; padding: 36px; text-align: center; }
.map-placeholder svg { width: 54px; height: 54px; color: var(--forest); margin: 0 auto 20px; }
.map-placeholder h3 { font-size: 27px; margin: 0 0 10px; }
.map-placeholder .map-note { font-size: 13px; margin: 20px 0 0; color: var(--muted); }
.office-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: 15px; }
.requisites-title { padding-top: 12px; }
@media (min-width: 801px) and (max-width: 1190px) {
    .main-nav { gap: 14px; }
    .main-nav a { font-size: 14px; }
    .header-inner { gap: 14px; }
}
@media (max-width: 800px) {
    .office-section { grid-template-columns: 1fr; gap: 18px; }
    .office-card { padding: 26px; }
    .office-map, .office-map iframe { min-height: 360px; }
}
@media (max-width: 540px) {
    .office-card { padding: 22px; }
    .contact-method > a { font-size: 22px; }
    .map-placeholder { padding: 28px 20px; }
    .hero .actions { align-items: stretch; }
    .hero .actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }

.contact-page .page-content { max-width: none; }
.contact-page .requisites, .contact-page .bank-details, .contact-page .related { max-width: 850px; }
.contact-page .page-intro { padding-bottom: 32px; margin-bottom: 32px; }
@media (max-width: 650px) {
    .hero > .wrap { margin-block: 0; }
    .first-screen > .hero { padding-bottom: 170px; }
}

/* Compact contacts: the office and the live map form the main screen. */
.contact-page .breadcrumbs { padding-block: 16px; margin-bottom: 0; }
.contact-page .page-intro { padding-block: 12px 20px; margin-bottom: 24px; }
.contact-page .page-intro h1 { margin-bottom: 12px; font-size: clamp(34px, 4vw, 48px); }
.contact-page .page-intro .lead { margin: 0; max-width: 900px; font-size: 18px; }
.contact-page .office-section { margin-bottom: 32px; align-items: stretch; }
.contact-page .office-card { padding: 24px 28px; }
.contact-page .office-card h2 { margin: 8px 0 20px; font-size: 28px; }
.contact-page .contact-method { margin-bottom: 18px; }
.contact-page .office-map { min-height: 380px; }
.contact-page .office-map iframe { min-height: 380px; }
.contact-page main { padding-bottom: 24px; }
@media (max-width: 800px) {
    .contact-page .office-card { padding: 22px; }
    .contact-page .office-map, .contact-page .office-map iframe { min-height: 360px; }
}

.contact-page .page-content { padding-block: 0; }
