:root {
  --ink: #152433;
  --muted: #64717f;
  --line: #d9e3eb;
  --paper: #ffffff;
  --soft: #f3f7fa;
  --blue: #0f6fb2;
  --deep-blue: #174866;
  --amber: #ee9f17;
  --teal: #238b85;
  --shadow: 0 18px 45px rgba(21, 36, 51, 0.16);
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 35px rgba(21, 36, 51, 0.12);
  backdrop-filter: blur(16px);
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand {
  width: 212px;
  height: 58px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.16));
}

.site-header.is-scrolled .brand img,
.site-header.menu-active .brand img {
  filter: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
  font-size: 0.94rem;
  font-weight: 700;
}

.desktop-nav a {
  opacity: 0.88;
}

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

.header-cta,
.primary-btn,
.secondary-btn,
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  padding: 0 18px;
  background: var(--amber);
  color: #201400;
}

.brand-phone {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  font-weight: 900;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled .brand-phone,
.site-header.menu-active .brand-phone {
  color: var(--ink);
  border-color: var(--line);
  background: var(--soft);
}

.brand-phone svg,
.header-cta svg,
.primary-btn svg,
.secondary-btn svg,
.submit-btn svg,
.scroll-cue svg,
.direct-contact svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  color: currentColor;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease;
}

.menu-active .menu-toggle span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-active .menu-toggle span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  z-index: 18;
  top: 76px;
  left: 0;
  right: 0;
  display: none;
  padding: 12px 22px 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 40px rgba(21, 36, 51, 0.14);
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: #102638;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/portrait-expert.png");
  background-size: cover;
  background-position: right 16% top 12%;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 26, 38, 0.94) 0%, rgba(12, 26, 38, 0.78) 42%, rgba(12, 26, 38, 0.28) 74%, rgba(12, 26, 38, 0.08) 100%),
    linear-gradient(0deg, rgba(12, 26, 38, 0.72) 0%, rgba(12, 26, 38, 0.02) 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: 128px 0 86px;
}

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

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

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

.primary-btn,
.secondary-btn {
  min-height: 54px;
  padding: 0 22px;
}

.primary-btn {
  background: var(--amber);
  color: #201400;
  box-shadow: 0 15px 35px rgba(238, 159, 23, 0.24);
}

.secondary-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(12px);
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 46px;
}

.proof-row span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.proof-row strong {
  color: #ffffff;
  font-size: 1.2rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-50%);
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-inner {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.intro-band {
  padding: clamp(42px, 7vw, 74px) 0;
  background: var(--soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.intro-grid h2,
.section-heading h2,
.notary-layout h2,
.contact-copy h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.intro-grid p:last-child,
.section-heading p,
.notary-layout p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(21, 36, 51, 0.06);
}

.service-card h3 {
  margin: 28px 0 12px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--deep-blue);
}

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

.method-section {
  background: #102638;
  color: #ffffff;
}

.method-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.method-section .section-heading p,
.method-section .steps p {
  color: rgba(255, 255, 255, 0.72);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  min-height: 136px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.steps span {
  color: var(--amber);
  font-weight: 900;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 1.38rem;
}

.steps p {
  margin: 0;
  line-height: 1.7;
}

.notary-band {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fb 100%);
}

.notary-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
}

.notary-layout p {
  margin-top: 20px;
}

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

.notary-points span {
  min-height: 92px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 850;
  background: var(--deep-blue);
}

.notary-points span:nth-child(2),
.notary-points span:nth-child(3) {
  background: var(--teal);
}

.contact-section {
  background: var(--soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 104px;
}

.contact-copy p {
  margin-top: 18px;
}

.direct-contact {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.direct-contact a,
.direct-contact address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
}

.direct-contact svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--blue);
}

.contact-facts {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-facts span {
  padding: 14px 0 14px 18px;
  border-left: 3px solid var(--amber);
  color: var(--ink);
  font-weight: 750;
  background: rgba(255, 255, 255, 0.7);
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

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

label span {
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c9d6df;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
  min-height: 132px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(15, 111, 178, 0.12);
}

.submit-btn {
  min-height: 56px;
  padding: 0 22px;
  color: #ffffff;
  background: var(--blue);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer img {
  width: 170px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer a {
  font-weight: 850;
  color: var(--blue);
}

@media (max-width: 1020px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .site-header {
    justify-content: space-between;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .hero-bg {
    background-position: right 24% top 10%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 26, 38, 0.96) 0%, rgba(12, 26, 38, 0.84) 54%, rgba(12, 26, 38, 0.4) 100%),
      linear-gradient(0deg, rgba(12, 26, 38, 0.78) 0%, rgba(12, 26, 38, 0.1) 42%);
  }

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

  .intro-grid,
  .method-layout,
  .notary-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 72px;
    padding-inline: 14px;
    gap: 12px;
  }

  .brand-cluster {
    gap: 10px;
  }

  .brand {
    width: 156px;
    height: 48px;
  }

  .brand-phone {
    min-height: 36px;
    padding: 0 10px;
    gap: 6px;
    font-size: 0.78rem;
  }

  .brand-phone svg {
    width: 16px;
    height: 16px;
  }

  .mobile-nav {
    top: 72px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-bg {
    background-position: 62% top;
    opacity: 0.68;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 26, 38, 0.96) 0%, rgba(12, 26, 38, 0.88) 100%),
      linear-gradient(0deg, rgba(12, 26, 38, 0.8) 0%, rgba(12, 26, 38, 0.18) 48%);
  }

  .hero-content {
    width: min(100% - 32px, var(--max));
    padding-top: 108px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-btn,
  .secondary-btn,
  .submit-btn {
    width: 100%;
  }

  .proof-row {
    display: grid;
  }

  .service-grid,
  .form-row,
  .notary-points {
    grid-template-columns: 1fr;
  }

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

  .steps li {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .lead-form {
    padding: 20px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 380px) {
  .brand {
    width: 132px;
  }

  .brand-phone {
    padding: 0 8px;
    font-size: 0.72rem;
  }
}
