/* TOKENS & BASE */
:root {
  --primary-color: #d3ed91;
  --secondary-color: #153d32;
  --accent-color: #d3ed91;
  --text-color: #f3f2e9;
  --bg-color: #101e19;
  --card-bg: #192a22;
  --muted: #b7c0b7;
  --line: #3b4b40;
  --container: 1200px;
  --radius: 8px;
  --space: 24px;
  --font: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 145px; }
body { margin: 0; color: var(--text-color); background: var(--bg-color); font: 16px/1.65 var(--font); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; object-fit: cover; }
svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 5px; }
::selection { background: var(--accent-color); color: var(--bg-color); }
.container { width: min(100% - 40px, var(--container)); margin: 0 auto; }
.section { padding: 48px 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; }
h1 { font-size: 32px; letter-spacing: -1.1px; }
h2 { font-size: 30px; letter-spacing: -1px; }
h3 { font-size: 21px; }
p + p { margin-top: 18px; }
.eyebrow { display: block; margin-bottom: 22px; color: var(--accent-color); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }
.muted { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 23px; border: 1px solid var(--accent-color); border-radius: 3px; color: var(--bg-color); background: var(--accent-color); font-weight: 700; text-align: center; transition: background .3s ease, transform .3s ease; }
.button:hover { background: #e2f8b2; transform: translateY(-2px); }
.button-outline { border-color: #748175; color: var(--text-color); background: transparent; }
.button-outline:hover { background: var(--card-bg); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 10px; color: var(--bg-color); background: var(--accent-color); }
.skip-link:focus { top: 12px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: var(--bg-color); }
.header-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 80px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 33px; height: 40px; color: var(--accent-color); }
.brand strong { display: block; font-size: 25px; letter-spacing: -1px; line-height: 1; }
.brand small { display: block; margin-top: 5px; font-size: 10px; letter-spacing: 2px; }
.header-contact { display: block; order: 3; width: 100%; min-height: 44px; padding: 9px 12px; border-radius: 3px; color: var(--bg-color); background: var(--accent-color); font-size: 14px; font-weight: 700; text-align: center; }
.menu-toggle { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 10px; border: 1px solid var(--line); border-radius: 3px; color: var(--text-color); background: transparent; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 16px 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.nav a:hover { color: var(--accent-color); }
.js .nav { display: none; position: absolute; top: 100%; left: -20px; right: -20px; padding: 20px; border-bottom: 1px solid var(--line); background: var(--bg-color); }
.js .nav.is-open { display: grid; }
/* HERO */
.hero { position: relative; overflow: hidden; background: var(--secondary-color); }
.hero-layout { display: grid; }
.hero-copy { position: relative; z-index: 2; padding: 44px 0 32px; animation: appear .7s ease both; }
.hero h1 span { color: var(--accent-color); }
.hero-lead { max-width: 430px; margin: 24px 0 28px; color: #d5ded4; font-size: 17px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #d5ded4; font-size: 14px; }
.hero-meta strong { color: var(--accent-color); }
.hero-photo { position: relative; min-width: 0; }
.hero-photo img { width: 100%; height: 340px; object-position: 50% 48%; }
.photo-caption { position: absolute; right: 16px; bottom: 16px; padding: 6px 12px; border: 1px solid #657367; border-radius: 2px; background: #101e19e8; font-size: 13px; }
.hero-word { position: relative; z-index: 2; margin: 0; padding: 22px 0 12px; color: var(--accent-color); font-size: clamp(52px, 17.5vw, 226px); font-weight: 800; line-height: .85; letter-spacing: -.065em; text-align: center; }
.hero-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
@keyframes appear { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
/* ADVANTAGES */
.benefits { display: grid; gap: 28px; }
.benefit { padding-top: 8px; }
.benefit svg { margin-bottom: 16px; color: var(--accent-color); }
.benefit h3 { margin-bottom: 12px; }
.benefit p { color: var(--muted); }
.benefits-section { border-bottom: 1px solid var(--line); }
/* SERVICES */
.services-intro { max-width: 420px; color: var(--muted); }
.service-grid { display: grid; gap: 16px; }
.service-card { display: flex; flex-direction: column; align-items: start; gap: 20px; min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card-bg); box-shadow: 0 6px 16px #0000000d; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px #0003; }
.service-card svg { color: var(--accent-color); }
.service-card h3 { font-size: 18px; line-height: 1.5; font-weight: 400; }
.price { margin-top: auto; color: var(--accent-color); font-size: 30px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.service-cta { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 26px; border: 1px solid var(--accent-color); border-radius: var(--radius); }
.service-cta h3 { font-size: 27px; }
.service-cta p { margin-top: 12px; color: var(--muted); }
.services-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.services-bottom p { max-width: 590px; color: var(--muted); font-size: 14px; }
/* ABOUT & WORKS */
.about { background: #e9ecdf; color: #183426; }
.about .eyebrow { color: #3b5e36; }
.about-layout { display: grid; gap: 32px; align-items: center; }
.about-copy { order: 2; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy p { max-width: 500px; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: 390px; border-radius: var(--radius); object-position: 50% 52%; }
.about-photo figcaption { margin-top: 10px; font-size: 14px; }
.about-tag { display: inline-block; margin-top: 24px; padding: 10px 16px; border: 1px solid #8c9c86; border-radius: 3px; font-size: 14px; }
.works { margin-top: 48px; padding-top: 32px; border-top: 1px solid #b3bfac; }
.works-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.works-head h3 { font-size: 25px; }
.work-grid { display: grid; gap: 16px; }
.work-grid figure { margin: 0; }
.work-grid img { width: 100%; height: 360px; border-radius: 4px; }
.work-grid figcaption { padding-top: 10px; font-size: 14px; }
/* REVIEWS */
.rating-summary { color: var(--accent-color); font-size: 18px; }
.rating-summary small { display: block; color: var(--muted); font-size: 14px; }
.review-grid { display: flex; align-items: start; gap: 16px; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory; }
.review { flex: 0 0 92%; min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card-bg); scroll-snap-align: start; overflow-wrap: anywhere; }
.stars { margin-bottom: 20px; color: var(--accent-color); letter-spacing: 3px; }
.review p { font-size: 16px; }
.review footer { margin-top: 24px; }
.review footer strong { display: block; line-height: 1.4; }
.review time { color: var(--muted); font-size: 13px; }
.review summary { min-height: 44px; color: var(--accent-color); cursor: pointer; }
.review-controls { display: flex; gap: 12px; margin-top: 10px; }
.review-controls button { min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 3px; color: var(--text-color); background: var(--card-bg); }
/* CONTACTS */
.contacts { background: var(--secondary-color); }
.contact-layout { display: grid; gap: 35px; }
.contacts h2 { margin-bottom: 28px; }
.contact-item { display: flex; gap: 16px; margin: 24px 0; }
.contact-item svg { flex-shrink: 0; margin-top: 5px; color: var(--accent-color); }
.contact-item small { display: block; color: #c5d0c4; font-size: 14px; }
.contact-item a { font-size: 20px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; }
.socials a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid #7c947a; }
.location { display: flex; flex-direction: column; margin: 0; border: 1px solid #526956; border-radius: var(--radius); overflow: hidden; }
.location img { width: 100%; height: 280px; }
.location figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; }
.location p { font-size: 14px; }
/* FOOTER */
.footer { padding: 30px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer p, .footer button { color: var(--muted); font-size: 14px; }
.text-button { min-height: 44px; padding: 0; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
/* MODALS */
dialog { width: min(720px, calc(100% - 32px)); max-height: 85vh; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text-color); background: var(--bg-color); }
dialog::backdrop { background: #000b; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.dialog-head h2 { font-size: 26px; }
.close { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 3px; color: var(--text-color); background: var(--card-bg); font-size: 27px; }
.price-list { margin-bottom: 24px; }
.price-row { display: grid; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-row strong { color: var(--accent-color); font-size: 22px; white-space: nowrap; }
/* RESPONSIVE */
@media (min-width: 768px) {
  html { scroll-padding-top: 95px; }
  h1 { font-size: 48px; }
  h2 { font-size: 42px; }
  .section { padding: 72px 0; }
  .header-inner { flex-wrap: nowrap; }
  .header-contact { order: 0; width: auto; min-height: 44px; margin-left: auto; padding: 8px 14px; font-size: 15px; }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
  .hero-copy { padding: 55px 0; }
  .hero-photo { align-self: stretch; }
  .hero-photo img { height: 100%; min-height: 520px; object-position: 48% 50%; }
  .hero-word { padding-top: 10px; }
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 35px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr 1fr; gap: 45px; }
  .about-copy { order: 0; }
  .about-photo img { height: 530px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid img { height: 380px; }
  .review-grid { display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; overflow: visible; }
  .review-controls { display: none; }
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
  .location img { height: 360px; }
  .price-row { grid-template-columns: 1fr auto; gap: 24px; }
}
@media (min-width: 1024px) {
  .section { padding: 80px 0; }
  .header-inner { gap: 30px; }
  .menu-toggle { display: none; }
  .js .nav, .nav { position: static; display: flex; gap: 22px; padding: 0; border: 0; }
  .header-contact { margin: 0; font-size: 15px; white-space: nowrap; }
  .nav .mobile-phone { display: none; }
  .hero-layout { grid-template-columns: .95fr 1.05fr; gap: 45px; }
  .hero h1 { font-size: 48px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .work-grid { grid-template-columns: repeat(4, 1fr); }
  .work-grid img { height: 310px; }
  .hero-photo img { min-height: 540px; }
}
@media (min-width: 1440px) {
  .hero-copy { padding: 65px 0; }
  .hero-photo img { min-height: 550px; }
}
/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  *, *::before, *::after { animation: none; transition: none; }
}
