:root {
  --bg: #fcfaf7;
  --surface: #ffffff;
  --surface-alt: #f1e9e1;
  --surface-soft: #f8efe7;
  --border: #e4d7ca;
  --text: #1f1c1a;
  --muted: #706b66;
  --accent: #f97316;
  --accent-dark: #dd620d;
  --footer: #f86f04;
  --shadow: 0 12px 40px rgba(74, 48, 26, 0.08);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(252, 250, 247, 0.96);
  backdrop-filter: blur(16px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 74px;
}

.nav-topbar {
  display: contents;
}

.brand {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-link {
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: #f6ece2;
  outline: none;
}

.nav-link.active {
  background: var(--accent);
  color: #fff;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
}

.page {
  min-height: calc(100vh - 74px);
}

.page-main {
  padding: 70px 0 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 615px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(35, 27, 20, 0.36), rgba(35, 27, 20, 0.36)),
    url("./assets/hero.jpeg") center/cover no-repeat;
}

.hero-content {
  width: min(100%, 960px);
  margin: 0 auto;
  text-align: center;
  color: #fff;
  animation: rise-in 600ms ease;
}

.hero h1,
.section-header h1,
.section-header h2,
.callout-title,
.card h3,
.info-card h3,
.footer-title,
.contact-box h3,
.table-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3.5rem, 7vw, 5.25rem);
  line-height: 0.94;
}

.hero p {
  margin: 0 auto;
  max-width: 840px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  padding: 16px 32px;
  border: 0;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
}

.btn-dark {
  background: #23201e;
  color: #fff;
}

.section {
  padding: 86px 0;
}

.section-header {
  margin: 0 auto 52px;
  max-width: 820px;
  text-align: center;
}

.section-header h1,
.section-header h2 {
  margin: 0 0 14px;
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.section-header p {
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.4;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 38px;
}

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

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

.card {
  padding: 30px 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-soft);
  color: var(--accent);
}

.card h3 {
  margin: 0 0 16px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.card li {
  margin: 12px 0;
  padding-left: 2px;
  font-size: 1.12rem;
  line-height: 1.45;
}

.card li::marker {
  color: var(--accent);
}

.banner {
  margin-top: 72px;
  padding: 72px 24px;
  background: var(--surface-alt);
  text-align: center;
}

.callout {
  max-width: 900px;
  margin: 0 auto;
}

.callout-title {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.02;
}

.callout p {
  margin: 0 auto 28px;
  max-width: 760px;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.45;
  color: var(--muted);
}

.callout .subtle {
  margin-top: 34px;
}

.footer {
  margin-top: 88px;
  padding: 62px 0 34px;
  color: #fff;
  background: var(--footer);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 48px;
}

.footer-title {
  margin: 0 0 16px;
  font-size: 1.15rem;
}

.footer p,
.footer li,
.footer a {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li + li,
.footer p + p {
  margin-top: 8px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
}

.content-card,
.contact-card,
.pricing-card,
.info-card,
.contact-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.content-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 42px 40px;
}

.content-card h3 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.content-card p {
  margin: 0 0 18px;
  font-size: 1.24rem;
  line-height: 1.45;
  color: var(--muted);
}

.content-card p:last-child {
  margin-bottom: 0;
}

.center-card {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 46px 24px;
  text-align: center;
  background: var(--surface-alt);
}

.center-card h3 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 3.3vw, 3.6rem);
}

.center-card p,
.center-card a {
  display: block;
  margin: 8px 0 0;
  font-size: 1.28rem;
  color: var(--muted);
}

.center-card a {
  color: var(--accent);
  font-weight: 700;
}

.pricing-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  overflow: hidden;
}

.pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 22px 28px;
  font-size: 1.2rem;
}

.pricing-table th {
  background: var(--accent);
  color: #fff;
  text-align: left;
  font-weight: 800;
}

.pricing-table th:last-child,
.pricing-table td:last-child {
  text-align: right;
  font-weight: 700;
}

.pricing-table tr + tr td {
  border-top: 1px solid var(--border);
}

.info-card {
  display: flex;
  gap: 18px;
  margin-top: 30px;
  padding: 26px 28px;
  background: var(--surface-alt);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.45;
}

.info-card a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}

.notes {
  margin-top: 42px;
  text-align: center;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.5;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

.contact-panel {
  padding: 28px;
}

.contact-panel h3 {
  margin: 0 0 26px;
  font-size: 2.2rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: center;
}

.contact-item + .contact-item {
  margin-top: 20px;
}

.contact-item .card-icon {
  width: 50px;
  height: 50px;
  margin: 0;
}

.contact-item strong,
.contact-item span {
  display: block;
}

.contact-item strong {
  font-size: 1.14rem;
}

.contact-item span,
.contact-item a {
  font-size: 1.1rem;
  color: var(--muted);
}

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

.field-group {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.field {
  display: grid;
  gap: 10px;
}

.field label {
  font-size: 1.08rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-note {
  text-align: center;
  color: var(--muted);
  font-size: 1.15rem;
}

.fade-in {
  animation: fade-in 500ms ease;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 960px) {
  .nav {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 0;
  }

  .nav-topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 6px 0 2px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    text-align: center;
  }

  .nav-phone {
    justify-content: center;
    font-size: 1rem;
  }

  .page-main {
    padding-top: 48px;
  }

  .hero {
    min-height: 560px;
  }

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

  .field-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    position: sticky;
  }

  .brand {
    font-size: 1.58rem;
  }

  .nav {
    min-height: 68px;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .hero {
    min-height: 70svh;
    padding: 36px 0;
    background-position: 58% center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header h1,
  .section-header h2 {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }

  .section-header p,
  .hero p,
  .callout p,
  .notes,
  .content-card p,
  .card p,
  .card li,
  .contact-note {
    font-size: 1.05rem;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-actions .btn,
  .callout .btn,
  .contact-form .btn {
    max-width: 320px;
  }

  .card {
    padding: 24px 20px 22px;
    border-radius: 22px;
  }

  .services-grid,
  .services-page-grid {
    grid-template-columns: 1fr;
  }

  .content-card,
  .contact-panel {
    padding: 28px 22px;
  }

  .content-card h3,
  .contact-panel h3,
  .center-card h3 {
    font-size: 2rem;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 18px 14px;
    font-size: 1rem;
  }

  .pricing-table {
    min-width: 520px;
  }

  .info-card {
    flex-direction: column;
    padding: 22px 20px;
  }

  .contact-layout {
    gap: 24px;
  }

  .contact-item {
    grid-template-columns: 44px 1fr;
  }

  .contact-item .card-icon {
    width: 44px;
    height: 44px;
  }

  .footer {
    margin-top: 64px;
    padding: 48px 0 26px;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-bottom {
    margin-top: 34px;
    padding-top: 22px;
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .page-main {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 3.6rem);
  }

  .hero p {
    max-width: 22rem;
  }

  .banner {
    margin-top: 54px;
    padding: 54px 18px;
  }

  .callout-title {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .card-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
  }

  .field input,
  .field textarea {
    padding: 14px 16px;
  }
}
