:root {
  color-scheme: light;
  --ink: #1e272c;
  --muted: #62727a;
  --soft: #eef6f2;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: #dfe8e5;
  --teal: #0f766e;
  --moss: #5e7d68;
  --coral: #d96c5f;
  --gold: #c9912f;
  --shadow: 0 18px 55px rgba(30, 39, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--teal);
}

.hero {
  background:
    linear-gradient(90deg, rgba(15, 35, 37, 0.86), rgba(15, 35, 37, 0.58) 52%, rgba(15, 35, 37, 0.18)),
    url("https://images.unsplash.com/photo-1573497620053-ea5300f94f21?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: var(--white);
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  align-content: center;
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #dcefeb;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 6vw, 5.6rem);
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  color: #edf6f2;
  font-size: 1.15rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--coral);
  color: var(--white);
  font-weight: 850;
  text-decoration: none;
  text-align: center;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.button.light {
  background: var(--white);
  color: var(--teal);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-strip {
  position: relative;
  z-index: 2;
  margin-top: -54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.intro-strip div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.intro-strip div:last-child {
  border-right: 0;
}

.intro-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.intro-strip strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.15;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.section-head p,
.article-body p,
.article-body li,
.card p,
.note p,
.contact-card p {
  color: var(--muted);
}

.section-head p {
  margin: 14px 0 0;
  font-size: 1.05rem;
}

.grid-3,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card,
.post-card,
.contact-card,
.note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card {
  padding: 24px;
}

.card h3,
.post-card h3,
.contact-card h3 {
  font-size: 1.12rem;
}

.price {
  display: block;
  margin: 16px 0 10px;
  color: var(--teal);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
}

.post-card {
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(30, 39, 44, 0.07);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card div {
  padding: 22px;
}

.post-card p {
  margin: 10px 0 0;
}

.note {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 26px;
  padding: 34px;
  background: #17272a;
  color: var(--white);
}

.note p {
  margin: 12px 0 0;
  color: #dce9e6;
}

.article-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.article-hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 34px;
  padding: 56px 0;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-hero h1 {
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

.article-hero p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 42px;
  align-items: start;
}

.article-body {
  max-width: 760px;
  font-size: 1.05rem;
}

.article-body h2 {
  margin-top: 38px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.article-body p,
.article-body ul {
  margin: 16px 0 0;
}

.article-body li + li {
  margin-top: 8px;
}

.sidebar {
  position: sticky;
  top: 92px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.sidebar h3 {
  font-size: 1.05rem;
}

.sidebar p {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.contact-card {
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-list a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.disclaimer {
  margin-top: 22px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  color: #5c4a1f;
}

.site-footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(15, 35, 37, 0.86), rgba(15, 35, 37, 0.56)),
      url("https://images.unsplash.com/photo-1573497620053-ea5300f94f21?auto=format&fit=crop&w=1000&q=80") center / cover;
  }

  .hero-inner {
    min-height: 520px;
  }

  .intro-strip,
  .grid-3,
  .post-grid,
  .grid-2,
  .note,
  .article-hero .container,
  .article-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .intro-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-strip div:last-child {
    border-bottom: 0;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav {
    width: calc(100vw - 28px);
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    overflow: hidden;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 0.82rem;
  }

  .nav-links a {
    min-height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    text-align: center;
  }

  .hero-inner,
  .container,
  .footer-inner {
    width: calc(100vw - 48px);
    max-width: 100%;
  }

  .hero-inner {
    min-height: auto;
    padding: 54px 0 60px;
  }

  h1 {
    max-width: 100%;
    font-size: 1.55rem;
    word-break: normal;
  }

  .article-hero h1 {
    font-size: 1.55rem;
  }

  .section-head h2,
  .note h2,
  .contact-card h2 {
    font-size: 1.45rem;
  }

  .section-head,
  .article-body,
  .contact-card p {
    max-width: 300px;
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
    max-width: 300px;
  }

  .hero h1 {
    max-width: 300px;
  }

  .hero-actions,
  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 52px 0;
  }

  .card,
  .contact-card,
  .note,
  .sidebar {
    padding: 20px;
  }

  .article-hero .container {
    padding: 38px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}
