:root {
  color-scheme: dark;
  --bg: #f9f7f3;
  --surface: rgba(255, 255, 255, 0.88);
  --text: #1c1c1c;
  --muted: #575656;
  --accent: #af8c52;
  --accent-soft: rgba(175, 140, 82, 0.12);
  --border: rgba(28, 28, 28, 0.1);
  --shadow: 0 24px 80px rgba(28, 28, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(circle at top, #ffffff 0%, var(--bg) 55%);
  color: var(--text);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 12px 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--text);
  color: #fff;
  font-weight: 800;
}

.eyebrow,
.section-eyebrow,
.panel-label,
.info-label {
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.79rem;
  margin: 0 0 14px;
}

.brand-sub,
.hero-text,
.service-card p,
.about-copy p,
.contact-copy p,
.form-note,
.testimonial-author,
.info-value {
  color: var(--muted);
}

.hero {
  display: grid;
  gap: 32px;
  padding: 88px 0 64px;
}

.hero-copy h1,
.section h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
  margin: 0 0 24px;
}

.hero-text {
  max-width: 640px;
  font-size: 1.06rem;
  line-height: 1.9;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 18px 40px rgba(28, 28, 28, 0.12);
}

.button-secondary,
.button-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-header,
.about,
.contact {
  display: grid;
  gap: 28px;
}

.service-grid,
.testimonial-grid {
  display: grid;
  gap: 24px;
}

.service-card,
.testimonial-card,
.panel-card,
.about-panel,
.info-block,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.service-card h3,
.testimonial-card .quote,
.about-copy h2,
.contact-copy h2 {
  margin: 0 0 16px;
}

.service-card p,
.about-list li,
.panel-list li,
.testimonial-card p {
  margin: 0;
}

.panel-card {
  max-width: 520px;
}

.panel-label {
  margin-bottom: 16px;
}

.panel-list {
  margin: 24px 0 0;
  padding-left: 20px;
}

.panel-list li {
  margin-bottom: 14px;
}

.testimonial-card {
  min-height: 220px;
}

.quote {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 22px;
}

.testimonial-author {
  font-weight: 700;
}

.about {
  grid-template-columns: minmax(0, 1.2fr) 0.8fr;
  align-items: start;
  gap: 40px;
}

.about-list {
  margin: 32px 0 0;
  padding-left: 20px;
}

.about-list li {
  margin-bottom: 12px;
}

.about-panel {
  display: grid;
  place-items: center;
}

.info-block {
  width: 100%;
}

.info-value {
  font-size: 1rem;
  line-height: 1.8;
}

.contact {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.form-note,
.form-success {
  font-size: 0.95rem;
}

.hidden {
  display: none;
}

.site-footer {
  padding-top: 40px;
  text-align: center;
  color: var(--muted);
}

@media (min-width: 820px) {
  .hero {
    grid-template-columns: 1.25fr 0.85fr;
    align-items: center;
  }

  .hero-panel {
    position: relative;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-shell {
    padding: 24px 20px 56px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1,
  .section h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .about,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 54px;
  }

  .button {
    width: 100%;
  }

  .panel-card,
  .service-card,
  .testimonial-card,
  .about-panel,
  .contact-form {
    padding: 24px;
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
