:root {
  --ink: #17201c;
  --muted: #5d6864;
  --line: #d8ded8;
  --paper: #f7f5ef;
  --white: #ffffff;
  --sage: #5d7467;
  --sage-dark: #283f35;
  --clay: #b56f53;
  --blue: #245a7c;
  --shadow: 0 24px 80px rgba(23, 32, 28, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(23, 32, 28, 0.86) 0%, rgba(23, 32, 28, 0.72) 38%, rgba(23, 32, 28, 0.1) 68%),
    url("assets/shelly-hero.png") center / cover no-repeat;
  color: var(--white);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  min-height: 58px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(24px, 3vw, 42px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(23, 32, 28, 0.58);
  box-shadow: 0 14px 34px rgba(23, 32, 28, 0.16);
  backdrop-filter: blur(14px);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  font-size: 0.86rem;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(23, 32, 28, 0.58);
  box-shadow: 0 14px 34px rgba(23, 32, 28, 0.16);
  backdrop-filter: blur(14px);
  font-size: 0.93rem;
  font-weight: 700;
}

.site-menu a {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.site-menu a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(260px, 360px);
  align-items: end;
  justify-content: space-between;
  gap: 54px;
  padding: 80px 0 72px;
}

.kicker {
  margin: 0 0 20px;
  color: var(--clay);
  font-size: clamp(0.9rem, 0.95vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero .kicker {
  color: #f0b08a;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.36);
}

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

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(2.85rem, 5vw, 5rem);
  line-height: 1.06;
  letter-spacing: 0;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.32);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.06rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 630px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--clay);
  color: var(--white);
}

.button.primary:hover {
  background: #a55f45;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.button.secondary:hover {
  border-color: var(--white);
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.panel-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
}

.panel-card span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.credibility-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.credibility-strip span {
  padding: 24px 16px;
  text-align: center;
  color: var(--sage-dark);
  border-right: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credibility-strip span:last-child {
  border-right: 0;
}

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

.section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
}

.rich-copy {
  color: var(--muted);
  font-size: 1.02rem;
}

.rich-copy p {
  margin-bottom: 20px;
}

.services {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: var(--sage-dark);
  color: var(--white);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 42px;
}

.services .kicker {
  color: #f0b08a;
}

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

.service-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.service-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  border-radius: 50%;
  background: rgba(240, 176, 138, 0.15);
  color: #f0b08a;
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.impact {
  background: var(--paper);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.impact-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 32, 28, 0.06);
}

.impact-card span {
  display: block;
  margin-bottom: 54px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.impact-card h3 {
  font-size: 1.18rem;
}

.impact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.approach {
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.step:first-child {
  padding-top: 0;
}

.step:last-child {
  border-bottom: 0;
}

.step span {
  color: var(--blue);
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: 72px;
  align-items: start;
}

.cta-copy p:last-child {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.contact-form span {
  color: var(--sage-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(93, 116, 103, 0.14);
}

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

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--sage-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px max(20px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.footer p {
  margin: 0;
}

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

.footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 1120px) {
  .nav {
    width: min(100% - 28px, 1180px);
    min-height: 70px;
    position: relative;
    justify-content: space-between;
  }

  .brand span:last-child {
    max-width: 220px;
  }

  .menu-toggle {
    display: block;
    background: rgba(23, 32, 28, 0.58);
    backdrop-filter: blur(14px);
  }

  .site-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(23, 32, 28, 0.96);
    box-shadow: var(--shadow);
  }

  .site-menu.open {
    display: grid;
  }

  .site-menu a {
    padding: 8px 0;
  }

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

@media (max-width: 980px) {
  .site-header {
    background:
      linear-gradient(90deg, rgba(23, 32, 28, 0.82) 0%, rgba(23, 32, 28, 0.62) 55%, rgba(23, 32, 28, 0.34) 100%),
      url("assets/shelly-hero.png") 72% center / cover no-repeat;
  }

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

  .hero {
    align-items: center;
    gap: 34px;
  }

  .hero-panel {
    max-width: 560px;
  }

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

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

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

  .credibility-strip span:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    background:
      linear-gradient(90deg, rgba(23, 32, 28, 0.82) 0%, rgba(23, 32, 28, 0.64) 58%, rgba(23, 32, 28, 0.38) 100%),
      url("assets/shelly-hero.png") 78% center / cover no-repeat;
  }

  .nav {
    margin-top: 14px;
  }

  .brand span:last-child {
    max-width: 160px;
  }

  .site-menu {
    top: 62px;
  }

  .hero,
  .section,
  .cta-section {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: calc(100vh - 70px);
    padding: 38px 0 44px;
  }

  h1 {
    font-size: clamp(2.35rem, 8.6vw, 3rem);
  }

  .hero-text {
    font-size: 1rem;
  }

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

  .button {
    width: 100%;
  }

  .credibility-strip {
    grid-template-columns: 1fr;
  }

  .credibility-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

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

  .service-card {
    min-height: 0;
  }

  .impact-card {
    min-height: 0;
  }

  .step {
    grid-template-columns: 42px 1fr;
  }

  .contact-form {
    padding: 24px;
  }

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