:root {
  --ink: #092f2c;
  --ink-deep: #061f1d;
  --green: #0f746a;
  --mint: #d9eee9;
  --gold: #d6aa4a;
  --paper: #f4f7f5;
  --white: #ffffff;
  --text: #18312f;
  --muted: #60736f;
  --line: rgba(9, 47, 44, .16);
  --wrap: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--white); padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(6, 31, 29, .97);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner { width: var(--wrap); min-height: 78px; margin: auto; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; margin-right: auto; }
.brand img { width: 82px; height: 42px; object-fit: contain; }
.brand span { font-size: .78rem; line-height: 1.25; max-width: 110px; color: #cfe2de; }
.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a { color: #e5efed; text-decoration: none; font-size: .9rem; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--gold); }
.header-phone { color: var(--gold); font-weight: 700; text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; color: var(--white); background: none; border: 1px solid rgba(255,255,255,.35); padding: 8px 12px; }

.hero { min-height: 760px; position: relative; display: grid; align-items: center; color: var(--white); overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 34%; }
.hero-shade { background: linear-gradient(90deg, rgba(4,28,26,.96) 0%, rgba(4,28,26,.74) 48%, rgba(4,28,26,.15) 78%), linear-gradient(0deg, rgba(4,28,26,.72), transparent 40%); }
.hero-content { position: relative; z-index: 2; padding: 90px 0 180px; }
.eyebrow { margin: 0 0 16px; color: var(--gold); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.dark { color: var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 24px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 6vw, 5.7rem); line-height: .98; font-weight: 500; letter-spacing: -.035em; }
.hero-copy { max-width: 650px; margin-bottom: 34px; color: #e2ece9; font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 52px; padding: 13px 22px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; text-decoration: none; border: 1px solid transparent; }
.button-gold { color: var(--ink-deep); background: var(--gold); }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.55); }
.button:hover, .button:focus-visible { filter: brightness(1.08); }
.hero-facts { position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); color: var(--text); }
.hero-facts div { min-height: 108px; padding: 23px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { color: var(--ink); font-family: Georgia, serif; font-size: 1.25rem; }
.hero-facts span { color: var(--muted); font-size: .88rem; }

.section { padding: 110px 0; }
.section-light { background: var(--paper); }
.section-ink { color: var(--white); background: var(--ink); }
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 76px; align-items: center; }
.section h2, .contact-section h2 { margin-bottom: 25px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.08; font-weight: 500; letter-spacing: -.025em; }
.section-copy > p:not(.eyebrow) { max-width: 660px; }
.lead { font-size: 1.18rem; color: #274641; }
.locations { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.locations div { padding: 22px 22px 0 0; display: flex; flex-direction: column; }
.locations span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.locations strong { margin-top: 6px; color: var(--ink); }
.image-frame { margin: 0; position: relative; }
.image-frame img { width: 100%; aspect-ratio: 1.08; object-fit: cover; }
.image-frame figcaption { position: absolute; left: 18px; bottom: 18px; max-width: 250px; padding: 12px 14px; background: var(--paper); color: var(--ink); font-size: .84rem; font-weight: 700; }

.section-heading { margin-bottom: 46px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: 6px; color: #bcd0cb; }
.dark-heading > p { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: rgba(255,255,255,.12); }
.product-card { min-width: 0; background: var(--ink-deep); }
.product-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.product-card > div { padding: 28px 30px 32px; position: relative; }
.product-card span { position: absolute; top: 30px; right: 30px; color: var(--gold); font-weight: 800; }
.product-card h3 { margin-bottom: 10px; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 500; }
.product-card p { margin: 0; max-width: 480px; color: #bcd0cb; }

.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.advantages-grid article { min-height: 250px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.advantages-grid b { color: var(--green); font-size: .8rem; letter-spacing: .1em; }
.advantages-grid h3 { margin: 42px 0 12px; color: var(--ink); font-family: Georgia, serif; font-size: 1.45rem; }
.advantages-grid p { margin: 0; color: var(--muted); }

.collaboration { color: var(--white); background: var(--green); }
.collaboration h2 { max-width: 850px; margin-bottom: 56px; }
.collaboration .eyebrow { color: #f4d58a; }
.service-list { border-top: 1px solid rgba(255,255,255,.28); }
.service-list article { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.service-list span { color: #f4d58a; font-weight: 800; }
.service-list div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.service-list h3 { margin: 0; font-family: Georgia, serif; font-size: 1.4rem; font-weight: 500; }
.service-list p { margin: 0; color: #deeeeb; }

.documents { background: #e8efec; }
.documents-split { align-items: start; }
.document-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.document-card { padding: 0; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; text-align: left; }
.document-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.document-card span { display: block; padding: 14px; font-size: .85rem; font-weight: 700; }
.document-card:hover, .document-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.document-dialog { width: min(900px, calc(100% - 32px)); max-height: 92vh; padding: 52px 18px 18px; border: 0; background: var(--white); }
.document-dialog::backdrop { background: rgba(3,20,18,.82); }
.document-dialog img { max-height: calc(92vh - 70px); margin: auto; object-fit: contain; }
.dialog-close { position: absolute; top: 10px; right: 12px; border: 0; background: var(--ink); color: var(--white); padding: 8px 12px; cursor: pointer; }

.contact-section { padding: 90px 0; color: var(--white); background: var(--ink-deep); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: end; }
.contact-grid > div:first-child p:last-child { color: #bcd0cb; }
.contact-links { border-top: 1px solid rgba(255,255,255,.24); }
.contact-links a, .contact-links .contact-item { padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.24); text-decoration: none; }
.contact-links span { color: #9fb6b1; }
.contact-links strong { max-width: 520px; color: var(--gold); text-align: right; }
.site-footer { padding: 24px 0; color: #aac0bb; background: #031512; border-top: 1px solid rgba(255,255,255,.1); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .84rem; }
.footer-inner p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; }
.footer-brand img { width: 58px; height: 30px; object-fit: contain; }

@media (max-width: 980px) {
  :root { --wrap: min(100% - 32px, 760px); }
  .menu-toggle { display: block; order: 2; }
  .header-phone { margin-left: auto; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 78px; padding: 20px max(16px, calc((100% - 728px)/2)); background: var(--ink-deep); flex-direction: column; align-items: flex-start; border-top: 1px solid rgba(255,255,255,.12); }
  .main-nav.open { display: flex; }
  .hero { min-height: 720px; }
  .split, .section-heading, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .section-heading { align-items: start; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .service-list div { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 680px) {
  :root { --wrap: calc(100% - 28px); }
  .site-header { position: relative; }
  .header-inner { min-height: 68px; gap: 12px; }
  .brand img { width: 64px; }
  .brand span, .header-phone { display: none; }
  .main-nav { top: 68px; padding-inline: 14px; }
  .hero { min-height: 760px; align-items: start; }
  .hero-image { object-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,28,26,.93), rgba(4,28,26,.55)), linear-gradient(0deg, rgba(4,28,26,.86), transparent 55%); }
  .hero-content { padding: 74px 0 270px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .hero-copy { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { min-height: auto; padding: 14px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .locations, .product-grid, .advantages-grid, .document-grid { grid-template-columns: 1fr; }
  .product-card > div { padding: 24px 22px 28px; }
  .service-list article { grid-template-columns: 46px 1fr; }
  .contact-section { padding: 70px 0; }
  .contact-links a, .contact-links .contact-item { flex-direction: column; gap: 4px; }
  .contact-links strong { text-align: left; overflow-wrap: anywhere; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
