/*
Theme Name: photost
Theme URI:
Author: Zvezdomi Stefchev
Description: A clean, responsive photography and creative services theme.
Version: 1.3
License: GPL-2.0-or-later
Text Domain: photost
*/

:root {
  --color-bg: #f4f7f8;
  --color-surface: #fff;
  --color-ink: #25323a;
  --color-muted: #687780;
  --color-border: #e1e9ec;
  --color-accent: #39776f;
  --color-accent-dark: #2c625c;
  --color-accent-soft: #e7f1ef;
  --shadow-soft: 0 20px 55px rgba(37, 58, 65, .13);
  --radius: 12px;
  --content-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-bg); color: var(--color-ink); font: 1.7rem/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--color-accent); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 1.6rem; line-height: 1.15; letter-spacing: -.035em; }
p { margin: 0 0 1.6rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 1rem; left: 1rem; padding: 1rem 1.5rem; background: var(--color-ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); color: white; }

/* Header and navigation */
.site-header { position: relative; z-index: 50; background: rgba(250,252,252,.94); border-bottom: 1px solid var(--color-border); backdrop-filter: blur(14px); }
.header-inner { width: min(100% - 5rem, var(--content-width)); min-height: 8.6rem; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.site-branding { flex: 0 0 auto; }
.site-branding a { color: var(--color-ink); text-decoration: none; font-size: 2.4rem; font-weight: 750; letter-spacing: -.06em; }
.site-branding .custom-logo-link { display: block; }
.site-branding .custom-logo { width: auto; max-width: min(24rem, 38vw); max-height: 6rem; object-fit: contain; }
.site-navigation { display: flex; align-items: center; padding: .45rem; border: 1px solid rgba(221,232,234,.9); border-radius: 999px; background: #eef4f4; }
.nav-menu, .nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-menu { display: flex; align-items: center; gap: .35rem; }
.nav-menu li { position: relative; }
.nav-menu a { display: flex; align-items: center; min-height: 4.4rem; padding: .8rem 1.45rem; border-radius: 999px; color: var(--color-ink); text-decoration: none; font-size: 1.35rem; font-weight: 650; transition: color .2s ease, background .2s ease, transform .2s ease; }
.nav-menu > li:hover > a, .nav-menu > li:focus-within > a, .nav-menu > .current-menu-item > a, .nav-menu > .current_page_item > a, .nav-menu > .current-menu-ancestor > a { color: var(--color-accent-dark); background: #fff; box-shadow: 0 2px 8px rgba(37,58,65,.08); }
.nav-menu .menu-item-has-children > a::after { content: ""; width: .65rem; height: .65rem; margin: -.35rem 0 0 .9rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.nav-menu ul { position: absolute; top: calc(100% + .8rem); left: 0; min-width: 24rem; padding: .9rem; border: 1px solid rgba(221,232,234,.9); border-radius: 16px; background: rgba(255,255,255,.98); box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transform: translateY(.8rem) scale(.98); transform-origin: top left; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.nav-menu > li > ul::before { position: absolute; right: 0; bottom: 100%; left: 0; height: 1rem; content: ""; }
.nav-menu ul ul::before { position: absolute; top: 0; right: 100%; width: .8rem; height: 100%; content: ""; }
.nav-menu li:hover > ul, .nav-menu li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu ul a { min-height: 4.4rem; border-radius: 9px; font-size: 1.4rem; }
.nav-menu ul a:hover, .nav-menu ul .current-menu-item > a, .nav-menu ul .current-menu-ancestor > a { color: var(--color-accent-dark); background: var(--color-accent-soft); }
.nav-menu ul ul { top: -.9rem; left: calc(100% + .7rem); }
.nav-menu ul .menu-item-has-children > a::after { transform: rotate(-45deg); }
.menu-toggle, .menu-backdrop { display: none; }

/* Main layouts */
.site-main { width: min(100% - 5rem, var(--content-width)); margin: 5rem auto 8rem; }
.site-layout { display: grid; grid-template-columns: minmax(0, 1fr) 29rem; gap: 4rem; align-items: start; }
.content-area { min-width: 0; padding: clamp(2.5rem, 5vw, 5.5rem); border: 1px solid var(--color-border); border-radius: 18px; background: var(--color-surface); }
.widget-area { min-width: 0; }
.widget { margin: 0 0 2rem; padding: 2.4rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); }
.widget-title { font-size: 1.9rem; }
.archive-header { margin-bottom: 3.5rem; }
.archive-title, .page-title, .single-post__title { font-size: clamp(3.2rem, 5vw, 5.2rem); }
.archive-description, .single-post__meta { color: var(--color-muted); }
.page-thumbnail, .single-post__thumbnail { margin: 2.5rem 0 3rem; }
.page-thumbnail img, .single-post__thumbnail img { width: 100%; max-height: 68rem; object-fit: cover; border-radius: var(--radius); }
.page-body, .single-post__content { max-width: 78ch; line-height: 1.85; }
.page-body img, .single-post__content img { border-radius: 8px; }
.page-body h2, .single-post__content h2 { margin-top: 3.2rem; font-size: 3rem; }
.page-body ul, .page-body ol, .single-post__content ul, .single-post__content ol { padding-left: 2.4rem; }

/* Homepage */
.home-page { overflow: hidden; }
.home-page em { color: var(--color-accent); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.home-hero { position: relative; background: linear-gradient(115deg, #f2f7f6 0%, #f8faf9 58%, #e8f0ee 100%); }
.home-hero__inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(4rem, 7vw, 9rem); width: min(100% - 5rem, 1320px); min-height: 68rem; margin: auto; padding: 5rem 0 7rem; }
.home-hero__copy { position: relative; z-index: 2; padding: 2rem 0; }
.eyebrow { display: flex; align-items: center; gap: 1rem; margin: 0 0 2rem; color: var(--color-accent-dark); font-size: 1.15rem; font-weight: 750; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.eyebrow > span { width: 2.8rem; height: 1px; background: var(--color-accent); }
.home-hero h1 { max-width: 68rem; margin: 0 0 2.2rem; color: var(--color-ink); font-size: clamp(4.8rem, 6.5vw, 8.2rem); font-weight: 620; line-height: .99; letter-spacing: -.075em; }
.home-hero h1 em { color: var(--color-accent); }
.home-hero__lead { max-width: 51rem; margin-bottom: 3rem; color: var(--color-muted); font-size: clamp(1.8rem, 2vw, 2.1rem); line-height: 1.65; }
.home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.home-hero__actions .btn { min-height: 5.6rem; margin: 0; padding: 1.2rem 2.4rem; border-radius: 5px; font-size: 1.45rem; }
.home-hero__actions .btn span, .home-cta .btn span { margin-left: .8rem; font-size: 1.8rem; }
.text-link { display: inline-flex; align-items: center; gap: .9rem; color: var(--color-ink); font-size: 1.4rem; font-weight: 700; text-decoration: none; }
.text-link span { color: var(--color-accent); font-size: 1.8rem; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(.4rem); }
.home-hero__process { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 5rem; color: var(--color-muted); font-size: 1.15rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.home-hero__process i { width: .4rem; height: .4rem; border-radius: 50%; background: var(--color-accent); }
.home-hero__visual { position: relative; align-self: stretch; min-height: 52rem; margin: 0; overflow: hidden; border-radius: 50% 50% 1.8rem 1.8rem / 34% 34% 1.8rem 1.8rem; background: #243139; box-shadow: 0 35px 80px rgba(37,50,58,.18); }
.home-hero__visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(17,24,28,.04) 40%, rgba(17,24,28,.5) 100%); pointer-events: none; }
.home-hero__visual > img { width: 100%; height: 100%; min-height: 52rem; object-fit: cover; object-position: 82% center; }
.home-hero__note { position: absolute; z-index: 1; right: 2rem; bottom: 2rem; left: 2rem; display: flex; align-items: center; gap: 1.2rem; color: #fff; }
.home-hero__note-mark { display: grid; width: 4.6rem; height: 4.6rem; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 2.2rem; }
.home-hero__note strong, .home-hero__note small { display: block; }
.home-hero__note strong { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 400; }
.home-hero__note small { margin-top: .3rem; color: rgba(255,255,255,.78); font-size: 1.25rem; }
.home-hero__index { position: absolute; z-index: 1; top: 2.4rem; right: 2.4rem; color: rgba(255,255,255,.82); font-size: 1.2rem; letter-spacing: .14em; }
.home-hero__scroll { position: absolute; right: max(2.5rem, calc((100vw - 1320px) / 2)); bottom: 2.6rem; display: flex; align-items: center; gap: 1rem; color: var(--color-muted); font-size: 1.15rem; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.home-hero__scroll span { width: 3rem; height: 1px; background: var(--color-accent); }
.home-services { padding: 10rem 0 11rem; background: var(--color-surface); }
.home-services .container, .home-process .container { width: min(100% - 5rem, 1200px); padding: 0; }
.section-heading { display: grid; grid-template-columns: 1.1fr .7fr; align-items: end; gap: 5rem; margin-bottom: 4.5rem; }
.section-heading h2, .home-intro h2, .home-cta h2 { max-width: 70rem; margin: 0; font-size: clamp(3.6rem, 5vw, 5.8rem); font-weight: 560; line-height: 1.05; letter-spacing: -.06em; }
.section-heading > p { max-width: 44rem; margin: 0 0 .5rem; color: var(--color-muted); font-size: 1.65rem; }
.home-services .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; }
.home-services .service-card { border: 1px solid #e8edef; border-radius: 12px; box-shadow: none; }
.home-services .service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(37,58,65,.1); }
.home-services .service-card__link { display: flex; flex-direction: column; aspect-ratio: auto; height: 100%; background: #f3f6f6; }
.home-services .service-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; padding: 0; object-fit: cover; }
.home-services .service-card__label { position: static; display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 6rem; padding: 1.3rem 1.6rem; border: 0; border-radius: 0; background: #fff; color: var(--color-ink); text-align: left; font-size: 1.45rem; text-shadow: none; backdrop-filter: none; }
.home-services .service-card:hover .service-card__label { background: #fff; color: var(--color-accent-dark); transform: none; }
.service-card__arrow { color: var(--color-accent); font-size: 2rem; transition: transform .2s ease; }
.service-card:hover .service-card__arrow { transform: translate(2px, -2px); }
.home-intro { padding: 9rem 0 10rem; background: #eaf1ef; }
.home-intro__inner { width: min(100% - 5rem, 1200px); padding: 0; }
.home-intro .eyebrow { margin-bottom: 3rem; }
.home-intro__content { display: grid; grid-template-columns: 1.1fr .65fr; align-items: end; gap: 7rem; }
.home-intro h2 { font-size: clamp(3.6rem, 5vw, 5.8rem); }
.home-intro h2 em { color: var(--color-accent-dark); }
.home-intro__content > div { padding-bottom: .4rem; }
.home-intro__content p { margin-bottom: 2rem; color: #53636a; font-size: 1.65rem; line-height: 1.8; }
.text-link--dark { color: var(--color-accent-dark); }
.home-process { padding: 10rem 0; }
.section-heading--center { display: block; margin-bottom: 5rem; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading--center h2 { margin: 0 auto; }
.home-process .process { grid-template-columns: repeat(3, 1fr); gap: 0; text-align: left; }
.home-process .process-step { position: relative; padding: 2.6rem 3rem 2.6rem 0; border: 0; border-radius: 0; background: transparent; }
.home-process .process-step + .process-step { padding-left: 3rem; border-left: 1px solid var(--color-border); }
.process-step__number { display: inline-block; margin-bottom: 3rem; color: var(--color-accent); font-size: 1.25rem; font-weight: 750; letter-spacing: .12em; }
.home-process .process-step h3 { margin-bottom: 1.2rem; font-family: Georgia, "Times New Roman", serif; font-size: 2.7rem; font-weight: 400; letter-spacing: -.025em; }
.home-process .process-step p { max-width: 32rem; color: var(--color-muted); font-size: 1.5rem; font-weight: 400; }
.home-cta { position: relative; overflow: hidden; background: #263e3d; color: white; }
.home-cta::after { position: absolute; top: -18rem; right: -8rem; width: 52rem; height: 52rem; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(255,255,255,.025), 0 0 0 9rem rgba(255,255,255,.02); content: ""; }
.home-cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 4rem; width: min(100% - 5rem, 1200px); min-height: 31rem; padding: 6rem 0; }
.home-cta .eyebrow { color: #c1d8d2; }
.home-cta h2 { max-width: 72rem; color: #fff; }
.home-cta h2 em { color: #b8d4cd; }
.home-cta .btn-light { flex: 0 0 auto; min-height: 5.6rem; margin: 0; padding: 1.2rem 2.4rem; border-radius: 5px; background: #fff; color: #263e3d; }
.home-cta .btn-light:hover { background: #dcebe7; }
.hero { position: relative; min-height: clamp(48rem, 64vw, 72rem); display: grid; place-items: center; overflow: hidden; padding: 7rem 2.5rem; color: #fff; text-align: center; background: #37322e url("assets/hero.jpg") center 48%/cover no-repeat; }
.hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(18,17,16,.68), rgba(18,17,16,.22)), linear-gradient(0deg, rgba(18,17,16,.28), transparent 55%); }
.hero-overlay { position: absolute; inset: 0; }
.hero-content { position: relative; z-index: 1; width: min(100%, 82rem); }
.hero h1 { margin-bottom: 1.5rem; font-size: clamp(4.4rem, 8vw, 8.5rem); letter-spacing: -.065em; }
.hero p { margin: 0 auto 2.5rem; max-width: 58rem; color: rgba(255,255,255,.88); font-size: clamp(1.8rem, 2.4vw, 2.2rem); }
.container { width: min(100% - 5rem, var(--content-width)); margin: auto; padding: 8rem 0; }
.section { margin-bottom: 8rem; }
.section-title { margin-bottom: 3rem; text-align: center; font-size: clamp(3rem, 4vw, 4.2rem); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 2rem; }
.service-card { overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.service-card__link { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4/3; background: #edf2f4; }
.service-card img { width: 100%; height: 100%; padding: 1.2rem; object-fit: contain; object-position: center; transition: transform .4s ease; }
.service-card__label { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; padding: .9rem 1.2rem; border: 1px solid rgba(255,255,255,.3); border-radius: 9px; background: rgba(31,47,54,.78); color: #fff; text-align: center; font-size: 1.45rem; font-weight: 700; line-height: 1.3; text-shadow: 0 1px 2px rgba(0,0,0,.25); backdrop-filter: blur(8px); transition: background .2s ease, transform .2s ease; }
.service-card:hover img { transform: scale(1.035); }
.service-card:hover .service-card__label { background: var(--color-accent-dark); transform: translateY(-2px); }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.why ul { padding-left: 2rem; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; text-align: center; }
.process-step { padding: 2.4rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); }
.process-step i { display: block; margin-bottom: 1rem; color: var(--color-accent); font-size: 3.2rem; }
.process-step p { margin: 0; font-weight: 650; }

/* Buttons, posts and gallery */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 4.8rem; margin: .5rem; padding: 1rem 2.1rem; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: 1.45rem; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); color: inherit; }
.btn-primary { background: var(--color-accent); color: white; }
.btn-primary:hover { background: var(--color-accent-dark); color: white; }
.btn-accent { border-color: rgba(255,255,255,.65); color: white; background: rgba(255,255,255,.08); }
.btn-accent:hover { background: rgba(255,255,255,.18); color: white; }
.posts-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.post-card { overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); }
.post-card__image { display: block; overflow: hidden; }
.post-card__image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .35s ease; }
.post-card__image:hover img { transform: scale(1.04); }
.post-card__content { padding: 2.2rem; }
.post-card__title { font-size: 2.3rem; }
.post-card__title a { text-decoration: none; }
.post-card__meta, .post-card__excerpt { color: var(--color-muted); font-size: 1.45rem; }
.gallery-container { width: min(100%, 1400px); margin: auto; }
.gallery-header { margin-bottom: 2.5rem; }
.gallery-header p, .gallery-date-note { color: var(--color-muted); }
.gallery-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 1.2rem; margin: 2.5rem 0 1rem; padding: 1.8rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); }
.gallery-filters label { display: grid; gap: .5rem; color: var(--color-muted); font-size: 1.3rem; font-weight: 650; }
.gallery-filters input, .gallery-filters select { min-height: 4.2rem; min-width: 16rem; padding: .8rem 1rem; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; color: var(--color-ink); }
.gallery-filters__submit { min-height: 4.2rem; padding: .8rem 1.6rem; border: 0; border-radius: 8px; background: var(--color-accent); color: #fff; font-weight: 700; cursor: pointer; }
.gallery-filters__submit:hover { background: var(--color-accent-dark); }
.gallery-filters__reset { padding: .8rem; color: var(--color-muted); font-size: 1.4rem; }
.gallery-date-note { margin-bottom: 2rem; font-size: 1.3rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr)); gap: 1.5rem; }
.gallery-item { overflow: hidden; margin: 0; border-radius: 9px; background: var(--color-surface); }
.gallery-link { display: block; overflow: hidden; }
.gallery-item img { width: 100%; height: 28rem; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-pagination { margin-top: 3rem; }
.gallery-pagination .page-numbers { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.gallery-pagination .page-numbers a, .gallery-pagination .page-numbers span { display: grid; min-width: 4rem; min-height: 4rem; place-items: center; padding: .6rem 1rem; border: 1px solid var(--color-border); border-radius: 7px; color: var(--color-ink); text-decoration: none; }
.gallery-pagination .page-numbers .current { border-color: var(--color-accent); background: var(--color-accent); color: #fff; }
.gallery-empty { padding: 2.4rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); }
.gallery-meta { display: grid; gap: .6rem; min-width: min(100%, 28rem); padding-top: .8rem; text-align: left; }
.gallery-meta__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.gallery-meta__row strong { font-weight: 700; }
.gallery-meta__row span { text-align: right; }
.pagination { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 4rem; }
.pagination a, .pagination span { display: grid; min-width: 4.2rem; min-height: 4.2rem; place-items: center; padding: .6rem 1.1rem; border: 1px solid var(--color-border); border-radius: 7px; color: var(--color-ink); text-decoration: none; }
.pagination .current { border-color: var(--color-ink); background: var(--color-ink); color: white; }

/* Footer */
.site-footer { padding: 4rem 2.5rem 2rem; border-top: 1px solid var(--color-border); background: #edf2f4; }
.footer-navigation { width: min(100%, var(--content-width)); margin: auto; }
.footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; margin: 0; padding: 0; list-style: none; }
.footer-menu a { color: var(--color-muted); font-size: 1.4rem; text-decoration: none; }
.footer-menu a:hover { color: var(--color-accent); }
.footer-copyright { margin-top: 2rem; color: var(--color-muted); text-align: center; font-size: 1.3rem; }

@media (max-width: 900px) {
  .home-hero__inner { grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 3.5rem; min-height: 58rem; }
  .home-hero h1 { font-size: clamp(4.6rem, 7vw, 6.4rem); }
  .home-hero__visual, .home-hero__visual > img { min-height: 44rem; }
  .section-heading { grid-template-columns: 1fr .8fr; gap: 3rem; }
  .home-intro__content { gap: 4rem; }
  .home-cta__inner { gap: 3rem; }
  .site-header { z-index: 200; }
  .header-inner { min-height: 7.2rem; }
  .site-navigation { position: static; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .menu-toggle { position: relative; z-index: 102; display: grid; width: 4.6rem; height: 4.6rem; place-content: center; gap: .55rem; border: 1px solid var(--color-border); border-radius: 50%; background: var(--color-surface); cursor: pointer; }
  .menu-toggle span { display: block; width: 1.8rem; height: 2px; border-radius: 2px; background: var(--color-ink); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(.7rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-.7rem) rotate(-45deg); }
  .menu-backdrop { position: fixed; z-index: 99; inset: 0; display: block; border: 0; background: rgba(37,50,58,.28); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
  .site-navigation.is-open .menu-backdrop { opacity: 1; visibility: visible; }
  .nav-menu { position: absolute; z-index: 101; top: calc(100% + .8rem); right: 1.6rem; left: auto; display: none; width: min(40rem, calc(100vw - 3.2rem)); max-width: calc(100vw - 3.2rem); max-height: calc(100dvh - 9rem); margin: 0; overflow-x: hidden; overflow-y: auto; padding: 1.8rem; border: 1px solid var(--color-border); border-radius: 18px; background: var(--color-surface); box-shadow: var(--shadow-soft); transform: none; }
  .nav-menu::before { display: block; margin: 0 0 1.2rem .8rem; color: var(--color-accent); content: "Навигация"; font-size: 1.15rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
  .site-navigation.is-open .nav-menu { display: block; }
  .nav-menu > li { border-bottom: 1px solid var(--color-border); }
  .nav-menu a { justify-content: space-between; min-height: 5.6rem; padding: 1rem .8rem; border-radius: 9px; font-size: 1.6rem; }
  .nav-menu > li:hover > a, .nav-menu > li:focus-within > a { background: transparent; }
  .nav-menu > li.current-menu-item > a, .nav-menu > li.current_page_item > a, .nav-menu > li.current-menu-ancestor > a { color: var(--color-accent-dark); background: var(--color-accent-soft); }
  .nav-menu .menu-item-has-children > a::after { flex: 0 0 auto; transform: rotate(45deg); transition: transform .2s ease; }
  .nav-menu .menu-item-has-children.submenu-open > a::after { transform: rotate(225deg); }
  .nav-menu ul, .nav-menu ul ul { position: static; display: none; min-width: 0; padding: 0 0 .8rem 1.4rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-menu li.submenu-open > ul { display: block; }
  .nav-menu ul a { min-height: 4.5rem; color: var(--color-muted); font-size: 1.45rem; }
  .nav-menu ul a:hover { background: var(--color-bg); }
  .site-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .widget-area { display: grid; grid-template-columns: repeat(auto-fit,minmax(24rem,1fr)); gap: 1.5rem; }
  .widget { margin: 0; }
  .process { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 1.6rem; }
  .header-inner, .site-main, .container { width: min(100% - 3.2rem, var(--content-width)); }
  .home-hero__inner, .home-services .container, .home-intro__inner, .home-cta__inner { width: calc(100% - 3.2rem); }
  .home-hero__inner { grid-template-columns: 1fr; gap: 3rem; min-height: 0; padding: 4.8rem 0 7rem; }
  .home-hero__copy { padding: 0; }
  .home-hero h1 { max-width: 48rem; font-size: clamp(4.8rem, 13vw, 6.8rem); }
  .home-hero__lead { font-size: 1.7rem; }
  .home-hero__process { gap: .7rem; margin-top: 3.4rem; font-size: .95rem; letter-spacing: .06em; }
  .home-hero__visual, .home-hero__visual > img { min-height: 38rem; }
  .home-hero__visual { border-radius: 48% 48% 1.4rem 1.4rem / 24% 24% 1.4rem 1.4rem; }
  .home-hero__scroll { display: none; }
  .home-services { padding: 6.5rem 0; }
  .section-heading, .home-intro__content { grid-template-columns: 1fr; gap: 2rem; }
  .section-heading { margin-bottom: 3rem; }
  .section-heading h2, .home-intro h2, .home-cta h2 { font-size: clamp(3.5rem, 10vw, 4.8rem); }
  .home-services .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
  .home-services .service-card--featured { grid-column: 1 / -1; }
  .home-services .service-card__label { min-height: 5.4rem; padding: 1rem; font-size: 1.3rem; }
  .home-intro { padding: 6.5rem 0; }
  .home-intro__content p { font-size: 1.55rem; }
  .home-process { padding: 6.5rem 0; }
  .section-heading--center { margin-bottom: 3rem; }
  .home-process .process { grid-template-columns: 1fr; }
  .home-process .process-step, .home-process .process-step + .process-step { padding: 2rem 0; border: 0; border-top: 1px solid var(--color-border); }
  .process-step__number { margin-bottom: 1.4rem; }
  .home-process .process-step h3 { font-size: 2.4rem; }
  .home-cta__inner { align-items: flex-start; flex-direction: column; justify-content: center; min-height: 32rem; padding: 5rem 0; }
  .home-cta .btn-light { width: 100%; justify-content: center; }
  .site-main { margin: 2.5rem auto 5rem; }
  .content-area { padding: 2.2rem; border-radius: 12px; }
  .hero { min-height: 56rem; padding: 6rem 1.8rem; }
  .hero .btn { width: min(100%, 28rem); margin: .5rem auto; }
  .container { padding: 5rem 0; }
  .section { margin-bottom: 5rem; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .posts-list { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; gap: 2rem; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .process-step:last-child { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
  .gallery-item img { height: 20rem; }
  .gallery-filters { align-items: stretch; }
  .gallery-filters label, .gallery-filters input, .gallery-filters select, .gallery-filters__submit { width: 100%; }
  .footer-menu { flex-direction: column; align-items: center; gap: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
