:root {
  --ink: #122026;
  --muted: #5b6870;
  --paper: #f3f6f7;
  --surface: #ffffff;
  --line: #dbe3e6;
  --forest: #123d46;
  --forest-2: #0f6b73;
  --gold: #b88a42;
  --clay: #2c6f77;
  --white: #ffffff;
  --shadow: 0 18px 52px rgba(18, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(18, 32, 38, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: var(--forest);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 10px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 12px 30px rgba(18, 32, 38, 0.18);
}

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-text strong {
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 0.04em;
}

.brand-text small {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transition: width 0.2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

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

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--forest);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 24, 31, 0.92), rgba(9, 32, 40, 0.66) 48%, rgba(9, 32, 40, 0.22)),
    linear-gradient(0deg, rgba(9, 32, 40, 0.32), transparent 45%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: 140px clamp(20px, 5vw, 64px) 96px;
  color: var(--white);
}

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

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

h1,
h2 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 710px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6.4vw, 76px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 50px);
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

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

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

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0 clamp(20px, 5vw, 64px);
  background: #d9e3e6;
}

.trust-band div {
  min-height: 154px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 30px clamp(22px, 3vw, 38px);
  background: var(--surface);
  border-top: 4px solid transparent;
}

.trust-band div:hover {
  border-top-color: var(--forest-2);
}

.trust-band strong {
  display: block;
  margin-bottom: 0;
  color: var(--forest);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.trust-label {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-band span:not(.trust-label),
.section p,
.contact p {
  color: var(--muted);
}

.section,
.contact {
  padding: clamp(68px, 9vw, 124px) clamp(20px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
  background: var(--paper);
}

.intro p:last-child {
  margin-top: 42px;
  font-size: 19px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 36px;
}

.practice {
  background: var(--surface);
}

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

.practice-grid article {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(18, 32, 38, 0.06);
}

.practice-grid span {
  display: inline-block;
  margin-bottom: 70px;
  color: var(--clay);
  font-weight: 800;
}

.approach {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(300px, 1fr);
  gap: clamp(36px, 7vw, 96px);
  background: linear-gradient(135deg, #102f38, #0f4d58);
  color: var(--white);
}

.approach p {
  color: rgba(255, 255, 255, 0.72);
}

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

.steps div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.steps span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-weight: 800;
}

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

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

.partner-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  min-height: 280px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(18, 32, 38, 0.08);
}

.partner-initials {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 18px;
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
}

.team-photo {
  min-height: 430px;
  background:
    linear-gradient(rgba(24, 67, 59, 0.12), rgba(24, 67, 59, 0.12)),
    url("assets/hero-law-office.png") center / cover;
  box-shadow: var(--shadow);
}

.team-copy {
  align-self: center;
  padding: clamp(24px, 4vw, 54px) 0;
}

.role {
  color: var(--clay);
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--forest);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 0.9fr);
  gap: clamp(36px, 7vw, 98px);
  background: var(--surface);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-weight: 800;
}

.contact-list a:hover {
  color: var(--forest-2);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfc4b8;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(195, 152, 84, 0.28);
  border-color: var(--gold);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.76);
  background: #111816;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 17px 12px 12px;
  color: var(--white);
  background: #1f7a4d;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(18, 32, 38, 0.24);
  font-size: 14px;
  font-weight: 800;
}

.whatsapp-float span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  font-size: 11px;
}

.whatsapp-float:hover {
  background: #17643e;
}

@media (max-width: 980px) {
  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .approach,
  .team-layout,
  .partners-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro p:last-child {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 17px;
  }

  .brand-text strong {
    max-width: 190px;
    font-size: 14px;
    line-height: 1.05;
  }

  .brand-text small {
    font-size: 10px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 18px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-top: 124px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(15, 30, 26, 0.92), rgba(15, 30, 26, 0.62));
  }

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

  .trust-band,
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    min-height: auto;
    border-top: 0;
  }

  .practice-grid article {
    min-height: 230px;
  }

  .practice-grid span {
    margin-bottom: 34px;
  }

  .steps div {
    grid-template-columns: 40px 1fr;
  }

  .steps span {
    width: 40px;
    height: 40px;
  }

  .team-photo {
    min-height: 300px;
  }

  .partner-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}
