:root {
  --ink: #17130f;
  --muted: #6f665d;
  --ivory: #fbf7ef;
  --cream: #f3ebdd;
  --champagne: #d9b66f;
  --gold: #ad7e2b;
  --smoke: #eee5d8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(35, 24, 12, 0.14);
  --radius: 8px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(173, 126, 43, 0.18);
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(135deg, #f6df9f, var(--champagne));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #3b342d;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 0.2s ease, transform 0.2s ease;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
}

.nav-cta {
  color: var(--white);
  background: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(23, 19, 15, 0.16);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 800;
}

.hero {
  overflow: hidden;
  padding: 88px 0 78px;
  background:
    radial-gradient(circle at 76% 20%, rgba(217, 182, 111, 0.32), transparent 34%),
    linear-gradient(180deg, #fffaf1 0%, var(--ivory) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 70px;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.05;
}

h1 {
  max-width: 860px;
  font-size: clamp(3rem, 6vw, 5.7rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 700px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  border: 1px solid transparent;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #403327);
  box-shadow: 0 18px 38px rgba(23, 19, 15, 0.2);
}

.button-secondary {
  border-color: rgba(173, 126, 43, 0.34);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.48);
}

.hero-panel {
  position: relative;
  min-height: 480px;
}

.browser-card {
  min-height: 390px;
  border: 1px solid rgba(173, 126, 43, 0.22);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.browser-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--champagne);
}

.browser-hero {
  height: 190px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(23, 19, 15, 0.76), rgba(173, 126, 43, 0.24)),
    linear-gradient(45deg, #312820, #e7c579);
}

.browser-lines {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.browser-lines span {
  height: 12px;
  border-radius: 99px;
  background: var(--smoke);
}

.browser-lines span:nth-child(2) {
  width: 78%;
}

.browser-lines span:nth-child(3) {
  width: 55%;
}

.metric-card {
  position: absolute;
  right: -18px;
  bottom: 12px;
  width: min(250px, 75%);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.metric-card strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.metric-card span {
  display: block;
  margin-top: 10px;
  color: #eadfce;
  font-weight: 600;
}

.section {
  padding: 82px 0;
}

.split,
.feature-row,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.split > p,
.feature-list,
.steps {
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid,
.detailed-grid,
.values-grid {
  display: grid;
  gap: 22px;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
}

.service-card,
.detailed-grid article,
.contact-card,
.contact-form {
  border: 1px solid rgba(173, 126, 43, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 45px rgba(35, 24, 12, 0.08);
}

.service-card {
  padding: 28px;
}

.service-card p,
.detailed-grid p,
.values-grid p,
.contact-card p {
  margin-top: 14px;
  color: var(--muted);
}

.dark-band {
  color: var(--white);
  background: #18130f;
}

.dark-band h2,
.dark-band h3,
.dark-band .eyebrow {
  color: var(--white);
}

.dark-band .eyebrow {
  color: var(--champagne);
}

.feature-list,
.steps {
  display: grid;
  gap: 18px;
}

.feature-list strong,
.steps strong {
  color: var(--ink);
}

.dark-band .feature-list strong {
  color: var(--champagne);
}

.dark-band .feature-list {
  color: #e8ded0;
}

.cta-panel {
  display: grid;
  justify-items: center;
  gap: 24px;
  border-radius: var(--radius);
  padding: clamp(42px, 6vw, 72px);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(217, 182, 111, 0.22)),
    var(--cream);
}

.cta-panel h2 {
  max-width: 760px;
}

.page-hero {
  padding: 82px 0 64px;
  background: linear-gradient(180deg, #fffaf1 0%, var(--ivory) 100%);
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5.2vw, 5rem);
}

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

.detailed-grid article {
  padding: 34px;
}

.detailed-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.gold-band {
  background: linear-gradient(135deg, rgba(217, 182, 111, 0.26), rgba(255, 255, 255, 0.3));
}

.gold-band .steps strong {
  color: var(--ink);
}

.about-grid {
  align-items: center;
}

.portrait-panel {
  display: grid;
  place-items: end start;
  min-height: 480px;
  border-radius: var(--radius);
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(180deg, transparent, rgba(23, 19, 15, 0.74)),
    radial-gradient(circle at 55% 25%, rgba(217, 182, 111, 0.66), transparent 28%),
    linear-gradient(135deg, #2b241d, #c9a56a);
  box-shadow: var(--shadow);
}

.portrait-panel span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
}

.about-grid p + p {
  margin-top: 18px;
}

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

.values-grid article {
  padding: 28px;
  border: 1px solid rgba(217, 182, 111, 0.22);
  border-radius: var(--radius);
}

.contact-grid {
  align-items: stretch;
}

.contact-card,
.contact-form {
  padding: clamp(28px, 4vw, 44px);
}

.contact-method {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(173, 126, 43, 0.18);
}

.contact-method span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-method strong,
.contact-method a {
  font-size: 1.25rem;
  font-weight: 900;
}

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

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 19, 15, 0.14);
  border-radius: var(--radius);
  padding: 14px 15px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  padding: 58px 0 28px;
  color: #f5ecde;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 42px;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 430px;
  color: #d9ccba;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--champagne);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-top: 9px;
  color: #f5ecde;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(217, 182, 111, 0.18);
  color: #c8baa8;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .feature-row,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 420px;
  }

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

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

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

  .nav {
    min-height: 70px;
  }

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

  .nav-links {
    position: absolute;
    top: 70px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(173, 126, 43, 0.2);
    border-radius: var(--radius);
    padding: 10px;
    background: var(--ivory);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 13px 12px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .hero,
  .page-hero {
    padding-top: 58px;
  }

  .section {
    padding: 58px 0;
  }

  .service-grid,
  .detailed-grid,
  .values-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
  }

  .metric-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .browser-card {
    min-height: 320px;
  }

  .portrait-panel {
    min-height: 360px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.55rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .service-card,
  .detailed-grid article {
    padding: 24px;
  }
}
