:root {
  --ink: #fffaf0;
  --muted: #eee4d4;
  --paper: #0d0d0e;
  --stone: #1a1a1b;
  --stone-light: #2b2a28;
  --stone-mid: #4a4640;
  --smoke: rgba(246, 240, 230, 0.08);
  --sun: #f7d07a;
  --clay: #e7a98e;
  --teal: #bce9e1;
  --shadow: 0 34px 110px rgba(0, 0, 0, 0.54);
  --soft-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  background:
    linear-gradient(180deg, rgba(16, 16, 17, 0.08), rgba(7, 7, 8, 0.64)),
    url("assets/gray-luxury-stone.png") center top / cover fixed,
    var(--paper);
  background-blend-mode: multiply, normal, normal;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.11) 0 12%, transparent 12% 54%, rgba(0, 0, 0, 0.2) 54% 65%, transparent 65%),
    linear-gradient(62deg, transparent 0 22%, rgba(247, 208, 122, 0.14) 22% 28%, transparent 28% 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 32%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 0;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(0, 0, 0, 0.12)),
    url("assets/gray-luxury-stone.png") center / cover;
  background-blend-mode: screen, normal;
  border-radius: 6px;
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px) saturate(1.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 64px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  background: transparent;
  border-radius: 4px;
  box-shadow: none;
}

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

.tab-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-button {
  min-height: 48px;
  padding: 0 20px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 2px;
  font-size: 1.08rem;
  font-weight: 700;
  white-space: nowrap;
}

.tab-button.active,
.tab-button:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.26);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

main {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.tab-panel {
  display: none;
  min-height: calc(100vh - 118px);
  padding: 82px 0 64px;
}

.tab-panel.active {
  display: block;
}

.hero {
  display: none;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 42px;
}

.hero.active {
  display: grid;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--sun);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1120px;
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(3.8rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.035em;
}

h2 {
  max-width: 880px;
  margin-bottom: 38px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(3.1rem, 5vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.8rem;
  letter-spacing: -0.015em;
}

.hero-text {
  max-width: 980px;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1.72;
}

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

.primary-action,
.secondary-action,
.price-card button,
.contact-form button {
  min-height: 62px;
  padding: 0 28px;
  border: 0;
  border-radius: 3px;
  font-size: 1.2rem;
  font-weight: 700;
}

.primary-action,
.price-card button,
.contact-form button {
  color: #17130f;
  background: linear-gradient(145deg, #f1e6d2, #a89475);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
}

.secondary-action {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.32);
  border: 0;
  box-shadow: 0 12px 28px rgba(37, 35, 31, 0.08);
}

.home-details {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.home-details article,
.signature-band {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.48)),
    url("assets/gray-luxury-stone.png") center / cover;
  background-blend-mode: screen, normal;
  border-radius: 6px;
  box-shadow: var(--soft-shadow);
  clip-path: polygon(0 0, 96% 0, 100% 10%, 100% 100%, 0 100%);
}

.home-details article {
  min-height: 360px;
  padding: 38px;
}

.home-details span {
  display: block;
  margin-bottom: 54px;
  color: #111111;
  font-size: 1.4rem;
  font-weight: 700;
}

.home-details h3 {
  color: #050505;
}

.home-details p {
  margin-bottom: 0;
  color: #111111;
  font-size: 1.2rem;
  line-height: 1.75;
}

.signature-band {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 2px;
  padding: 38px 42px;
}

.signature-band p {
  max-width: 860px;
  margin-bottom: 0;
  color: #050505;
  font-size: clamp(2rem, 3.6vw, 4.2rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.signature-band .secondary-action {
  flex: 0 0 auto;
}

.section-heading {
  margin-bottom: 18px;
}

.pricing-grid,
.reviews-grid,
.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.price-card,
.review-card,
.process-list article {
  display: flex;
  flex-direction: column;
  padding: 38px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.28)),
    url("assets/literal-dark-stone.png") center / cover;
  background-blend-mode: screen, normal;
  border-radius: 6px;
  box-shadow: var(--soft-shadow);
  clip-path: polygon(0 0, 96% 0, 100% 7%, 100% 100%, 0 100%);
}

.price-card {
  position: relative;
  min-height: 760px;
  justify-content: space-between;
}

.price-card.featured {
  background:
    linear-gradient(155deg, rgba(242, 193, 95, 0.2), rgba(120, 215, 204, 0.12)),
    url("assets/literal-dark-stone.png") center / cover;
  background-blend-mode: screen, normal;
  transform: translateY(-10px);
  box-shadow: 0 30px 86px rgba(22, 124, 120, 0.16);
}

.badge {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: #191713;
  background: linear-gradient(145deg, #f4dfb6, #c9a366);
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 800;
}

.plan-kicker {
  margin-bottom: 6px;
  color: var(--clay);
  font-weight: 800;
  text-transform: uppercase;
}

.price-card h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 4.3rem;
  letter-spacing: -0.04em;
}

.plan-summary,
.price-card li,
.review-card p,
.process-list p,
.contact-layout p,
footer span {
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.68;
}

.price-card ul {
  display: grid;
  gap: 15px;
  margin: 32px 0;
  padding-left: 20px;
}

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

.price-card button,
.contact-form button {
  width: 100%;
}

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

.process-list article {
  min-height: 310px;
}

.process-list span {
  width: fit-content;
  margin-bottom: 42px;
  padding-bottom: 6px;
  color: var(--sun);
  font-size: 1.35rem;
  font-weight: 800;
}

.review-card {
  min-height: 330px;
  justify-content: space-between;
}

.review-card p {
  font-size: 1.32rem;
}

.review-card h3 {
  margin-bottom: 4px;
}

.review-card span {
  color: var(--clay);
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 36px;
  align-items: start;
  padding: 48px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.28)),
    url("assets/literal-dark-stone.png") center / cover,
    rgba(8, 8, 9, 0.78);
  background-blend-mode: screen, normal, normal;
  border-radius: 6px;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 97% 0, 100% 8%, 100% 100%, 0 100%);
}

.direct-contact {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.direct-contact a {
  display: block;
  padding: 16px 18px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.34);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 28px rgba(0, 0, 0, 0.24);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 17px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 3px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 28px rgba(0, 0, 0, 0.22);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(246, 240, 230, 0.5);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 4px rgba(22, 124, 120, 0.12), 0 10px 26px rgba(37, 35, 31, 0.08);
}

.checkout-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  margin-top: 28px;
  padding: 48px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.28)),
    url("assets/literal-dark-stone.png") center / cover,
    rgba(8, 8, 9, 0.78);
  background-blend-mode: screen, normal, normal;
  border-radius: 6px;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 97% 0, 100% 8%, 100% 100%, 0 100%);
}

.checkout-panel p {
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.68;
}

.checkout-options {
  display: grid;
  gap: 12px;
}

.checkout-options label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 28px rgba(0, 0, 0, 0.24);
}

.checkout-options input {
  accent-color: var(--sun);
}

.checkout-options span,
.checkout-options strong {
  font-size: 1.3rem;
}

.payment-methods {
  display: grid;
  gap: 12px;
}

.payment-methods article {
  padding: 22px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 28px rgba(0, 0, 0, 0.24);
}

.payment-methods h3 {
  margin-bottom: 8px;
}

.payment-methods p {
  margin-bottom: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto 26px;
  padding-top: 20px;
}

footer p {
  margin-bottom: 0;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero.active,
  .contact-layout,
  .checkout-panel {
    grid-template-columns: 1fr;
  }

  .pricing-grid,
  .reviews-grid,
  .process-list,
  .home-details {
    grid-template-columns: 1fr;
  }

  .price-card,
  .process-list article,
  .review-card,
  .home-details article {
    min-height: auto;
  }

  .signature-band {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .site-header,
  main,
  footer {
    width: min(100% - 20px, 1180px);
  }

  .brand {
    white-space: normal;
  }

  .tab-panel {
    padding-top: 38px;
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .contact-layout,
  .checkout-panel {
    padding: 18px;
  }

}
