/* ПП «Грандіз» — ленд: типографіка та сітка */
:root {
  --bg: #f6f2eb;
  --bg-alt: #ede6dc;
  --ink: #1a1917;
  --muted: #4a4742;
  --accent: #0d5c4d;
  --accent-soft: #e3f0ec;
  --border: #d4c9bb;
  --max: 44rem;
  --wide: 68rem;
  --space: 1.5rem;
  --radius: 8px;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--accent);
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: #094237;
}

.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, white);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  max-width: var(--wide);
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand__tagline {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
}

.nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 2.5rem 0 2.75rem;
  background: linear-gradient(165deg, var(--bg-alt) 0%, var(--bg) 45%, #f9f6f0 100%);
  border-bottom: 1px solid var(--border);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 880px) {
  .hero__grid {
    grid-template-columns: 1fr 280px;
  }
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: var(--max);
}

.hero__aside {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 8px 24px rgba(26, 25, 23, 0.06);
}

.pill-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.92rem;
}

.pill-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
}

.pill-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: var(--max);
  margin-bottom: 1.75rem;
}

.section-deck {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

.prose {
  max-width: var(--max);
}

.prose p + p {
  margin-top: 0.85rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 10px rgba(26, 25, 23, 0.04);
}

.card:last-of-type {
  margin-bottom: 0;
}

.card p {
  color: #2e2c28;
  font-size: 0.98rem;
}

.card p + p {
  margin-top: 0.75rem;
}

.columns {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .columns {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.columns .prose {
  max-width: none;
}

.two-col {
  column-count: 1;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .two-col {
    column-count: 2;
  }

  .two-col p {
    break-inside: avoid;
  }
}

/* Contact */
.section--contact {
  background: var(--accent);
  color: #f4faf8;
  padding: 2.75rem 0 3rem;
}

.section--contact h2 {
  color: #fff;
}

.section--contact a {
  color: #b8e8dc;
  font-weight: 500;
}

.section--contact a:hover {
  color: #fff;
}

.contact-intro {
  margin: 0.75rem 0 0;
  opacity: 0.92;
  max-width: 36rem;
  font-size: 0.98rem;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-card {
  background: color-mix(in srgb, #fff 12%, var(--accent));
  border: 1px solid color-mix(in srgb, #fff 25%, var(--accent));
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}

.contact-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-list > div {
  display: grid;
  gap: 0.2rem;
}

.contact-list dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.75;
  margin: 0;
  font-weight: 600;
}

.contact-list dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2rem;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-inner p {
  margin: 0;
}

.footer-note {
  font-size: 0.82rem;
  opacity: 0.9;
  max-width: 40rem;
}
