:root {
  --black: #050505;
  --panel: #10100e;
  --panel-strong: #181712;
  --gold: #d7ad4a;
  --gold-bright: #f4d57b;
  --gold-dark: #9a7628;
  --text: #f6f0df;
  --muted: #b9ad91;
  --line: rgba(215, 173, 74, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 34vh;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 106px;
  padding: 10px clamp(20px, 4vw, 64px);
  background: #000000;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-bright);
  font-size: clamp(1.9rem, 3.8vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0;
}

.brand-logo {
  width: 96px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(215, 173, 74, 0.3));
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.sun-o {
  width: 0.76em;
  height: 0.76em;
  margin: 0 0.04em;
  object-fit: contain;
  transform: translateY(-0.01em);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--gold);
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  padding: 166px clamp(20px, 6vw, 84px) 38px;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.82) 38%, rgba(5, 5, 5, 0.24) 100%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.1) 42%);
}

.hero-content {
  align-self: center;
  width: min(740px, 100%);
}

.certification-badge {
  display: inline-flex;
  align-items: center;
  max-width: min(100%, 760px);
  margin-bottom: 20px;
  padding: 12px 16px;
  border: 1px solid rgba(244, 213, 123, 0.5);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.68);
  color: var(--gold-bright);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 730px;
  margin-bottom: 22px;
  color: var(--gold-bright);
  font-size: clamp(2.1rem, 4.8vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  color: var(--gold-bright);
  font-size: clamp(1.45rem, 2.6vw, 2.45rem);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  color: var(--gold-bright);
  font-size: 1.25rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: var(--gold);
  color: #080704;
}

.btn-secondary,
.btn-compact,
.btn-card {
  background: rgba(5, 5, 5, 0.32);
  color: var(--gold-bright);
}

.btn-compact {
  min-height: 42px;
}

.btn-card {
  width: 100%;
  margin-top: auto;
}

.hero-stats {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin-top: 56px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.6);
  box-shadow: var(--shadow);
}

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

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

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--gold-bright);
  font-size: 1.35rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.intro-grid,
.section-heading,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}

.intro-grid p,
.section-heading > p,
.contact-section p,
.service-card p,
.price-card p,
.process-grid p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.service-card,
.price-card,
.process-grid div {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.service-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 24px;
}

.service-card:nth-child(1),
.service-card:nth-child(4) {
  grid-column: span 2;
}

.wide-card {
  grid-column: span 2;
  min-height: 220px;
}

.service-number {
  margin-bottom: auto;
  color: var(--gold-dark);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(215, 173, 74, 0.12), transparent 42%),
    #0a0a09;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.process-grid div {
  padding: 26px;
}

.process-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--gold-bright);
  font-size: 1.6rem;
  font-weight: 800;
}

.service-area-title {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.3;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.price-card {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(244, 213, 123, 0.7);
  background: linear-gradient(180deg, #211909, #11100d);
  box-shadow: 0 20px 70px rgba(215, 173, 74, 0.14);
}

.plan {
  color: var(--gold-bright) !important;
  font-weight: 800;
}

.price-card h3 {
  margin-bottom: 10px;
  font-size: 3rem;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
  padding: 0;
  color: var(--text);
  list-style: none;
}

.price-card li {
  padding-left: 22px;
  position: relative;
}

.price-card li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "•";
}

.contact-section {
  align-items: center;
  border-top: 1px solid var(--line);
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.contact-detail {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-detail span {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-detail a {
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-detail a:hover {
  color: var(--gold-bright);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

.modal {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 30px;
  background: #0c0c0a;
  box-shadow: var(--shadow);
}

.modal h2 {
  margin-bottom: 4px;
  font-size: 2rem;
}

.modal label {
  display: grid;
  gap: 8px;
  color: var(--gold-bright);
  font-size: 0.9rem;
  font-weight: 700;
}

.modal input,
.modal select,
.modal textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #050505;
  color: var(--text);
  padding: 12px;
}

.modal textarea {
  resize: vertical;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px !important;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--gold-bright);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 106px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: #000000;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a {
    padding: 14px 0;
  }

  .site-header.menu-open .nav-links {
    display: flex;
  }

  .hero {
    min-height: 900px;
    padding-top: 148px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.8) 0%, rgba(5, 5, 5, 0.72) 42%, #050505 100%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.15));
  }

  .intro-grid,
  .section-heading,
  .contact-section,
  .pricing-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

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

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(4),
  .wide-card {
    grid-column: auto;
    min-height: 250px;
  }

  .pricing-note {
    max-width: 640px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 88px;
  }

  .brand {
    font-size: 1.45rem;
  }

  .brand-logo {
    width: 70px;
    height: 64px;
  }

  .hero {
    min-height: 860px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

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

  .section {
    width: min(100% - 32px, 1180px);
    padding: 72px 0;
  }

  .modal-panel {
    padding: 24px 18px;
  }
}
