:root {
  --ink: #172026;
  --muted: #64707a;
  --paper: #f4f0e8;
  --white: #ffffff;
  --deep: #18313c;
  --teal: #0f6b6e;
  --brick: #a64f36;
  --gold: #d8a33d;
  --leaf: #617c58;
  --line: rgba(23, 32, 38, 0.13);
  --shadow: 0 24px 70px rgba(23, 32, 38, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 58px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(244, 240, 232, 0.95);
  box-shadow: 0 10px 30px rgba(20, 26, 22, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.1;
  max-width: 310px;
}

.brand small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.75;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.84;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 86px);
  padding: 124px clamp(18px, 4vw, 58px) 42px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(24, 49, 60, 0.97), rgba(24, 49, 60, 0.78) 52%, rgba(15, 107, 110, 0.74)),
    linear-gradient(180deg, #244a58, #142832);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(12, 22, 28, 0.3));
  pointer-events: none;
}

.hero-content,
.hero-visual,
.hero-stats {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 850px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.99;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(29px, 4vw, 52px);
  line-height: 1.07;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  color: #171f25;
  background: var(--gold);
}

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

.hero-visual {
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.02)),
    linear-gradient(160deg, #416a73 0%, #203946 54%, #132733 100%);
  box-shadow: var(--shadow);
}

.sun {
  position: absolute;
  top: 70px;
  right: 60px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 60px rgba(216, 163, 61, 0.42);
}

.mountain {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 126px;
  height: 250px;
  clip-path: polygon(0 70%, 14% 40%, 25% 58%, 39% 22%, 52% 55%, 66% 30%, 79% 62%, 100% 36%, 100% 100%, 0 100%);
}

.mountain-back {
  bottom: 164px;
  background: rgba(255, 255, 255, 0.22);
}

.mountain-front {
  background: linear-gradient(180deg, #284c56, #142b36);
}

.city {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 0 26px;
  height: 190px;
  background: linear-gradient(180deg, transparent, rgba(7, 14, 18, 0.58));
}

.city span {
  display: block;
  flex: 1;
  min-width: 34px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #e9dcc4, #9fb4aa);
  opacity: 0.92;
}

.city span:nth-child(1) { height: 82px; }
.city span:nth-child(2) { height: 128px; }
.city span:nth-child(3) { height: 98px; }
.city span:nth-child(4) { height: 154px; }
.city span:nth-child(5) { height: 112px; }
.city span:nth-child(6) { height: 72px; }

.law-card {
  position: absolute;
  left: 28px;
  bottom: 34px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px 14px;
  align-items: center;
  width: min(330px, calc(100% - 56px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.law-card img {
  width: 52px;
  height: 52px;
  grid-row: span 2;
}

.law-card strong,
.law-card small {
  display: block;
}

.law-card small {
  color: var(--muted);
}

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(920px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.hero-stats div {
  padding: 19px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

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

.hero-stats strong {
  display: block;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.section {
  padding: clamp(66px, 9vw, 116px) clamp(18px, 4vw, 58px);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(290px, 0.8fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  background: var(--white);
}

.intro p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

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

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

.service-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(20, 26, 22, 0.06);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 34px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 800;
}

.service-card:nth-child(2n) .service-icon {
  background: var(--brick);
}

.service-card:nth-child(3n) .service-icon {
  background: var(--leaf);
}

.service-card p,
.timeline p,
.focus-content p,
.contact p {
  margin: 10px 0 0;
  color: var(--muted);
}

.focus {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(300px, 0.88fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  color: var(--white);
  background: var(--deep);
}

.focus-media {
  min-height: 430px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(24, 49, 60, 0.08), rgba(24, 49, 60, 0.66)),
    radial-gradient(circle at 24% 28%, rgba(216, 163, 61, 0.72), transparent 12%),
    linear-gradient(155deg, transparent 0 48%, rgba(255, 255, 255, 0.18) 48% 51%, transparent 51%),
    linear-gradient(18deg, #a64f36 0 22%, #617c58 22% 35%, #0f6b6e 35% 54%, #d8a33d 54% 68%, #244b5a 68%);
  box-shadow: var(--shadow);
}

.focus-content p,
.focus-content li {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.focus-content ul {
  margin: 22px 0 0;
  padding-left: 22px;
}

.focus-content li + li {
  margin-top: 8px;
}

.process {
  background: #e8eef0;
}

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

.timeline article {
  min-height: 225px;
  padding: 24px;
  border: 1px solid rgba(31, 39, 35, 0.1);
  border-radius: 8px;
  background: var(--white);
}

.timeline span {
  display: inline-flex;
  margin-bottom: 30px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--white);
  background: var(--brick);
  font-size: 13px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(24, 49, 60, 0.97), rgba(24, 49, 60, 0.78)),
    linear-gradient(135deg, #18313c, #0f6b6e);
}

.contact h2 {
  max-width: 720px;
}

.contact p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
}

textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 58px);
  color: rgba(255, 255, 255, 0.72);
  background: #111b20;
}

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

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
    order: 2;
  }

  .hero-stats {
    order: 3;
  }

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

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border-radius: 8px;
    color: var(--ink);
    background: rgba(244, 240, 232, 0.98);
    box-shadow: var(--shadow);
  }

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

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

  .intro,
  .focus,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

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

@media (max-width: 620px) {
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 108px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .brand strong {
    max-width: 220px;
    font-size: 14px;
  }

  .hero-visual,
  .focus-media {
    min-height: 340px;
  }

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