@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-300.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --font-primary: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-secondary: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --heading-h1: 82px;
  --heading-h1-large: 110px;
  --heading-h2: 56px;
  --heading-h3: 48px;
  --heading-h4: 40px;
  --heading-h5: 32px;
  --heading-h6: 28px;
  --paragraph-xs: 12px;
  --paragraph-small: 14px;
  --paragraph-regular: 16px;
  --paragraph-medium: 18px;
  --paragraph-large: 20px;
  --paragraph-xl: 24px;
  --line-s: 100%;
  --line-m: 110%;
  --line-l: 120%;
  --line-xl: 150%;
  --bg: #f7f0e7;
  --surface: #fffaf4;
  --ink: #1f1b16;
  --muted: #74695e;
  --line: rgba(95, 71, 29, 0.16);
  --accent: #684f2a;
  --accent-dark: #392a17;
  --white: #ffffff;
  --soft: #ede0cf;
  --radius: 8px;
  --shadow: 0 26px 70px rgba(44, 31, 19, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-secondary);
  font-size: var(--paragraph-regular);
  font-weight: 400;
  line-height: var(--line-xl);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 28px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 300px 1fr auto;
  align-items: center;
  width: min(1480px, calc(100% - 252px));
  min-height: 68px;
  padding: 8px 12px 8px 28px;
  background: #fffdf9;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  top: 14px;
  background: #fffdf9;
}

.header-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 8px;
  background: var(--accent-dark);
  border: 6px solid #fffdf9;
  border-radius: 50%;
  transform: translateY(-1px);
}

.header-brand-text {
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent-dark);
  white-space: nowrap;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;
  color: #604414;
  font-size: var(--paragraph-regular);
  font-weight: 500;
  line-height: var(--line-xl);
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transition: width 0.25s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: inline-flex;
  align-items: center;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-secondary);
  font-size: var(--paragraph-regular);
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header-cta,
.btn-dark {
  color: var(--white);
  background: var(--accent-dark);
}

.header-cta {
  min-width: 190px;
  min-height: 54px;
  border-radius: 999px;
  font-size: var(--paragraph-regular);
}

.btn-light {
  color: var(--accent-dark);
  background: var(--white);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.74);
}

.btn-icon {
  position: relative;
  min-height: 58px;
  padding-right: 72px;
  border-radius: 999px;
}

.btn-icon::after {
  position: absolute;
  right: 6px;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  content: "";
  color: var(--accent-dark);
  background: var(--white);
  border-radius: 50%;
  transform: translateY(-50%);
}

.btn-icon::before {
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 1;
  width: 13px;
  height: 13px;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.btn-dark.btn-icon::before,
.header-cta.btn-icon::before {
  color: var(--accent-dark);
}

.btn-light.btn-icon::after {
  background: var(--accent);
}

.btn-light.btn-icon::before {
  color: var(--white);
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 920px;
  display: grid;
  align-items: end;
  padding: 170px 24px 255px;
  overflow: hidden;
  color: var(--white);
  background-image: url("../images/hero-bg.webp");
  background-position: center top;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 22vh;
  content: "";
  background: linear-gradient(180deg, rgba(247, 240, 231, 0), var(--bg));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 15, 9, 0.78), rgba(26, 18, 9, 0.2) 56%, rgba(26, 18, 9, 0.34));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1650px, calc(100% - 204px));
  margin: 0 auto;
}

.hero h1 {
  max-width: 850px;
  margin: 23px 0 42px;
  font-family: var(--font-primary);
  font-size: var(--heading-h1);
  font-weight: 400;
  line-height: var(--line-m);
  letter-spacing: 0;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--font-secondary);
  font-size: var(--paragraph-small);
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
}

.hero .btn {
  min-height: 62px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: var(--paragraph-regular);
  font-weight: 500;
}

.hero .btn-light {
  position: relative;
  padding-right: 72px;
  color: #654819;
}

.hero .btn-light::after {
  background: #6b4b17;
}

.hero .btn-light::before {
  color: var(--white);
}

.hero .btn-outline {
  min-width: 220px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.82);
}

.eyebrow.light {
  color: var(--white);
}

.section {
  padding: clamp(64px, 7vw, 104px) 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  width: min(1160px, 100%);
  margin: 0 auto 48px;
}

.section-heading.center {
  display: block;
  max-width: 760px;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.services-heading {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.45fr);
  align-items: end;
  width: min(1660px, calc(100% - 160px));
  margin-bottom: 44px;
}

.services-heading h2 {
  max-width: 760px;
}

.section-intro {
  max-width: 470px;
  margin: 0 0 6px auto;
  color: var(--muted);
  font-size: var(--paragraph-medium);
}

h2 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--heading-h2);
  font-weight: 400;
  line-height: var(--line-m);
  color: var(--accent-dark);
}

h3 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--heading-h6);
  font-weight: 400;
  line-height: var(--line-s);
}

p {
  color: var(--muted);
}

.text-link {
  color: var(--accent-dark);
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  width: min(1660px, calc(100% - 160px));
  margin: 0 auto;
}

.service-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: var(--white);
  background: var(--accent-dark);
  border: 0;
  border-radius: 24px;
  box-shadow: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:first-child {
  grid-column: span 2;
}

.service-card:hover {
  transform: scale(1.035);
  box-shadow: 0 24px 60px rgba(57, 42, 23, 0.2);
  z-index: 2;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.45s ease;
}

.service-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(38, 22, 6, 0.05) 0%, rgba(96, 65, 20, 0.56) 58%, rgba(87, 58, 17, 0.95) 100%);
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card div {
  position: absolute;
  left: 30px;
  right: 28px;
  bottom: 31px;
  z-index: 1;
  padding: 0;
}

.service-card h3 {
  color: var(--white);
  font-size: var(--heading-h6);
  line-height: var(--line-l);
}

.service-price {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 12px;
  color: var(--accent-dark);
  background: var(--white);
  border-radius: 999px;
  font-family: var(--font-secondary);
  font-size: var(--paragraph-small);
  font-weight: 800;
  line-height: var(--line-l);
}

.service-card p {
  max-width: 430px;
  max-height: 0;
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--white);
  font-size: var(--paragraph-regular);
  font-weight: 500;
  line-height: var(--line-xl);
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

.service-card:first-child p,
.service-card:hover p {
  max-height: 150px;
  opacity: 1;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.about-image img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-copy {
  align-self: center;
}

.about-copy p:not(.eyebrow) {
  max-width: 610px;
  margin: 24px 0 30px;
  font-size: var(--paragraph-medium);
}

.stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats div {
  padding: 32px 42px;
  border-right: 1px solid var(--line);
}

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

.stats strong {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--heading-h1-large);
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
}

.stats span {
  color: var(--muted);
}

.process {
  background: var(--surface);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.process-card {
  position: relative;
  padding: 16px 16px 26px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.process-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

.process-card span {
  display: grid;
  width: 54px;
  height: 54px;
  margin: -28px 0 18px 18px;
  place-items: center;
  position: relative;
  color: var(--white);
  background: var(--accent);
  border-radius: 50%;
  font-family: var(--font-primary);
  font-size: var(--heading-h6);
}

.process-card h3,
.process-card p {
  padding: 0 18px;
}

.team-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 20px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.testimonials {
  background: #efe2d1;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1160px, 100%);
  margin: 0 auto;
  position: relative;
}

.testimonial {
  display: block;
  padding: 30px;
  min-height: 350px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial.active {
  display: block;
}

.stars {
  color: var(--accent);
  font-size: 0;
  font-weight: 800;
}

.stars::before {
  content: "★★★★★";
  font-size: var(--paragraph-large);
}

.stars::after {
  content: " Google Review";
  margin-left: 8px;
  color: var(--muted);
  font-size: var(--paragraph-regular);
  font-weight: 600;
}

.stars span {
  display: none;
}

.testimonial p {
  width: 100%;
  height: 150px;
  margin: 18px 0 22px;
  overflow: auto;
  font-family: var(--font-primary);
  font-size: var(--heading-h6);
  line-height: var(--line-l);
  color: var(--accent-dark);
}

.person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.person-icon {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  background: #efe2d1;
  border-radius: 50%;
}

.person-icon::before {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 16px;
  height: 16px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
}

.person-icon::after {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 30px;
  height: 18px;
  content: "";
  background: var(--accent);
  border-radius: 18px 18px 8px 8px;
  transform: translateX(-50%);
}

.person strong,
.person span {
  display: block;
}

.person span {
  color: var(--muted);
}

.testimonial-dots {
  display: none;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.testimonial-dots button {
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

/* Increase touch target area for accessibility (min 48x48) */
.testimonial-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
}

.testimonial-dots button.active {
  background: var(--accent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(57, 42, 23, 0.08);
}

.price-card.featured {
  color: var(--white);
  background: var(--accent-dark);
  transform: translateY(-18px);
}

.price-card::before {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 150px;
  height: 150px;
  content: "";
  background: rgba(104, 79, 42, 0.1);
  border-radius: 50%;
}

.price-card.featured h3,
.price-card.featured h4,
.price-card.featured strong,
.price-card.featured li,
.price-card.featured p {
  color: var(--white);
}

.plan-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 13px;
  color: var(--accent);
  background: #efe2d1;
  border-radius: 999px;
  font-size: var(--paragraph-small);
  font-weight: 800;
  line-height: var(--line-l);
}

.price-card.featured .plan-badge {
  color: var(--accent-dark);
  background: var(--white);
}

.price-card strong {
  display: block;
  margin: 16px 0 14px;
  font-family: var(--font-primary);
  font-size: var(--heading-h3);
  font-weight: 400;
  color: var(--accent);
}

.price-card p {
  min-height: 54px;
  margin: 0 0 22px;
}

.price-card h4 {
  margin: 30px 0 14px;
  color: var(--accent-dark);
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  color: var(--muted);
}

.price-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--accent);
}

.faq {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 54px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.faq-title {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-title .btn {
  margin-top: 28px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  cursor: pointer;
  color: var(--accent-dark);
  font-family: var(--font-secondary);
  font-size: var(--paragraph-xl);
  line-height: var(--line-m);
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  border-radius: 50%;
  font-family: Arial, sans-serif;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 24px 24px;
}

.cta-section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto 82px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.45fr);
  gap: 46px;
  align-items: center;
  padding: clamp(34px, 6vw, 70px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(57, 42, 23, 0.9), rgba(57, 42, 23, 0.54)),
    url("../images/cta-bg.webp") center / cover;
  border-radius: var(--radius);
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p:not(.eyebrow) {
  max-width: 610px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--paragraph-medium);
}

.cta-call-card {
  justify-self: end;
  display: grid;
  gap: 16px;
  width: min(100%, 360px);
  padding: 28px;
  background: rgba(255, 250, 244, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.cta-call-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--paragraph-small);
  font-weight: 800;
  text-transform: uppercase;
}

.cta-call-card .btn {
  justify-self: start;
}

.contact-card {
  padding: 28px;
  background: rgba(255, 250, 244, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

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

label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.site-footer {
  padding: 32px 24px 24px;
  color: var(--white);
  background: linear-gradient(180deg, #2a1f16 0%, #17100a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top,
.footer-grid,
.copyright {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: auto minmax(300px, 560px);
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.brand-text {
  font-family: var(--font-primary);
  font-size: var(--heading-h4);
  font-weight: 400;
  color: #cbb79d;
  letter-spacing: 0.5px;
}

.footer-brand {
  color: var(--white);
}

.subscribe {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
}

.subscribe input {
  padding: 13px 20px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
}

.subscribe button {
  min-height: 48px;
  padding: 0 20px;
  color: var(--accent-dark);
  background: var(--white);
  border: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 800;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr 1.8fr;
  gap: 34px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-grid div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid h4 {
  margin: 0 0 16px;
  color: #cbb79d;
  font-family: var(--font-primary);
  font-size: var(--heading-h5);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.footer-grid .social-links {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.footer-grid .social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #cbb79d;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-grid .social-links a:hover {
  color: var(--accent-dark);
  background: #cbb79d;
  border-color: #cbb79d;
  transform: translateY(-4px);
}

.footer-grid a,
.footer-grid p,
.copyright {
  color: rgba(255, 255, 255, 0.65);
}

.footer-grid a:not(.social-links a) {
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-grid a.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}

.footer-grid a.contact-link svg {
  color: #cbb79d;
  flex-shrink: 0;
}

.footer-grid a:not(.social-links a):hover {
  color: #cbb79d;
  transform: translateX(4px);
}

.footer-grid p {
  margin: 0;
}

.footer-location {
  display: flex;
  flex-direction: column;
}

.location-address {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s ease;
  line-height: var(--line-l);
}

.location-address:hover {
  color: #cbb79d;
}

.location-address p {
  margin: 0;
}

.map-section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto 82px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(57, 42, 23, 0.08);
  height: clamp(350px, 45vw, 550px);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-size: 14px;
}

.scroll-top-btn {
  position: fixed;
  bottom: 34px;
  right: 34px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: var(--accent-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow: 0 14px 40px rgba(57, 42, 23, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #cbb79d;
  color: var(--accent-dark);
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(57, 42, 23, 0.3);
}

@media (max-width: 720px) {
  .scroll-top-btn {
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: 270px minmax(0, 1fr) auto;
    width: calc(100% - 64px);
    padding-left: 22px;
  }

  .brand {
    width: 64px;
    height: 64px;
  }

  .header-brand-text {
    font-size: 23px;
  }

  .site-nav {
    gap: 22px;
    font-size: 15px;
  }

  .header-cta {
    min-width: 174px;
    min-height: 52px;
    padding-right: 62px;
    padding-left: 22px;
    font-size: 15px;
  }
}

@media (max-width: 1180px) {
  :root {
    --heading-h1: 56px;
    --heading-h1-large: 80px;
    --heading-h2: 48px;
    --heading-h3: 40px;
    --heading-h4: 32px;
    --heading-h5: 28px;
    --heading-h6: 24px;
    --paragraph-xl: 20px;
  }

  .site-header {
    top: 28px;
    grid-template-columns: minmax(0, 1fr) auto;
    width: calc(100% - 48px);
    min-height: 64px;
    padding: 8px 18px 8px 18px;
    border-radius: 26px;
  }

  .site-header.is-scrolled {
    top: 14px;
  }

  .brand {
    width: 58px;
    height: 58px;
    padding: 7px;
    border-width: 5px;
  }

  .header-brand-text {
    font-size: 22px;
  }

  .site-nav {
    position: fixed;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(320px, calc(100vw - 32px));
    padding: 22px;
    align-items: stretch;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-direction: column;
  }

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

  .header-cta {
    display: none;
  }

  .menu-toggle {
    justify-self: end;
    display: grid;
    gap: 6px;
    width: 28px;
    height: 28px;
    place-content: center;
    background: transparent;
    border: 0;
  }

  .menu-toggle span {
    width: 23px;
    height: 3px;
    background: #5f4518;
    border-radius: 999px;
  }

  .menu-toggle::before {
    width: 23px;
    height: 3px;
    content: "";
    background: #5f4518;
    border-radius: 999px;
  }

  .team-row,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-heading,
  .service-grid {
    width: min(100% - 48px, 900px);
  }

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

  .services-heading {
    align-items: start;
  }

  .section-intro {
    margin-left: 0;
  }

  .about,
  .faq,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .cta-call-card {
    justify-self: start;
  }

  .faq-title {
    position: static;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --heading-h1: 48px;
    --heading-h1-large: 60px;
    --heading-h2: 40px;
    --heading-h3: 32px;
    --heading-h4: 28px;
    --heading-h5: 24px;
    --heading-h6: 22px;
    --paragraph-large: 18px;
    --paragraph-xl: 18px;
  }

  .hero {
    min-height: 622px;
    align-items: start;
    padding: 189px 24px 0;
    background-position: 54% top;
  }

  .hero h1 {
    max-width: 420px;
    margin: 24px 0 25px;
    font-size: var(--heading-h1);
    line-height: var(--line-m);
  }

  .hero-content {
    width: 100%;
  }

  .eyebrow {
    gap: 10px;
    font-size: var(--paragraph-regular);
    line-height: var(--line-xl);
  }

  .hero-actions {
    display: grid;
    justify-items: start;
    gap: 12px;
  }

  .hero .btn {
    min-height: 58px;
    padding: 13px 23px;
    font-size: var(--paragraph-regular);
  }

  .hero .btn-light.btn-icon {
    min-height: 52px;
    padding: 12px 58px 12px 18px;
    font-size: var(--paragraph-small);
    white-space: nowrap;
  }

  .hero .btn-light.btn-icon::after {
    right: 5px;
    width: 42px;
    height: 42px;
  }

  .hero .btn-light.btn-icon::before {
    right: 22px;
    width: 11px;
    height: 11px;
  }

  .hero .btn-outline {
    min-width: 200px;
  }

  .section {
    padding: 72px 18px;
  }

  .footer-top,
  .footer-brand-wrap,
  .footer-grid,
  .footer-grid div,
  .copyright {
    justify-items: center;
    text-align: center;
  }

  .footer-top {
    justify-content: center;
  }

  .footer-grid .social-links,
  .footer-grid a.contact-link {
    justify-content: center;
  }

  .section-heading,
  .services-heading {
    display: block;
  }

  .services-heading {
    width: calc(100% - 36px);
    margin-bottom: 28px;
  }

  .services-heading h2 {
    max-width: 380px;
  }

  .section-intro {
    max-width: 430px;
    margin: 16px 0 0;
    font-size: var(--paragraph-regular);
  }

  .text-link {
    display: inline-flex;
    margin-top: 20px;
  }

  .service-grid,
  .team-row,
  .pricing-grid,
  .stats,
  .footer-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .service-grid {
    display: grid;
    width: calc(100% - 36px);
    gap: 23px;
    overflow: visible;
    padding-bottom: 0;
  }

  .service-card,
  .service-card:first-child {
    grid-column: auto;
    min-height: 432px;
    transform: none;
  }

  .service-card {
    border-radius: 20px;
  }

  .service-card div {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .service-card p,
  .service-card:first-child p,
  .service-card:hover p {
    max-height: 220px;
    opacity: 1;
    font-size: var(--paragraph-regular);
  }

  .testimonial {
    display: none;
    min-height: 310px;
    padding: 24px;
  }

  .testimonial.active {
    display: block;
  }

  .testimonial p {
    height: 116px;
    margin: 14px 0 18px;
    font-size: var(--paragraph-large);
  }

  .testimonial-track {
    display: block;
    width: calc(100% - 36px);
    touch-action: pan-y;
    user-select: none;
  }

  .testimonial-dots {
    display: flex;
    margin-top: 16px;
  }

  .about,
  .faq,
  .cta-section {
    width: calc(100% - 36px);
  }

  .about-image img {
    min-height: 390px;
  }

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

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

  .price-card.featured {
    transform: none;
  }

  .subscribe {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .subscribe input,
  .subscribe button {
    border-radius: var(--radius);
  }

  .copyright {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  :root {
    --heading-h1: 40px;
    --heading-h1-large: 56px;
    --heading-h2: 36px;
    --heading-h3: 30px;
    --heading-h4: 28px;
    --heading-h5: 24px;
    --heading-h6: 22px;
    --paragraph-medium: 16px;
    --paragraph-large: 18px;
    --paragraph-xl: 18px;
  }

  .site-header {
    width: calc(100% - 48px);
  }

  .brand {
    width: 56px;
    height: 56px;
  }

  .header-brand-text {
    display: inline-block;
    max-width: calc(100vw - 170px);
    font-size: clamp(15px, 4.1vw, 18px);
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
