:root {
  --navy: #071626;
  --ink: #142234;
  --paper: #f8f5ef;
  --ivory: #fffaf1;
  --gold: #c9a35f;
  --gold-dark: #8d6b33;
  --teal: #2b6f73;
  --wine: #7a2e3a;
  --muted: #6d7580;
  --line: rgba(20, 34, 52, 0.14);
  --shadow: 0 26px 80px rgba(7, 22, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  background: var(--gold);
  color: var(--navy);
}

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

.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, 72px);
  color: var(--ivory);
  transition: background 200ms ease, box-shadow 200ms ease, padding 200ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(7, 22, 38, 0.9);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 250, 241, 0.42);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

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

.brand strong {
  font-size: 0.95rem;
  letter-spacing: 0;
}

.brand small {
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.73rem;
}

.desktop-nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(255, 250, 241, 0.82);
  font-size: 0.92rem;
}

.desktop-nav a,
.header-cta {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.header-cta {
  border: 1px solid rgba(255, 250, 241, 0.34);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--ivory);
  font-weight: 700;
  white-space: nowrap;
}

.header-cta:hover {
  border-color: var(--gold);
  background: rgba(201, 163, 95, 0.16);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 82px clamp(20px, 5vw, 72px) 38px;
  overflow: hidden;
  color: var(--ivory);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("hero-immigration-law.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 22, 38, 0.94) 0%, rgba(7, 22, 38, 0.76) 38%, rgba(7, 22, 38, 0.16) 73%),
    linear-gradient(0deg, rgba(7, 22, 38, 0.72) 0%, rgba(7, 22, 38, 0.02) 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

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

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.85rem, 5.6vw, 5rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 610px;
  margin: 18px 0 0;
  color: rgba(255, 250, 241, 0.82);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

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

.hero-assurance {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 250, 241, 0.68);
  font-size: 0.92rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  line-height: 1.15;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn.primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 18px 42px rgba(201, 163, 95, 0.24);
}

.btn.primary:hover {
  background: #d9b46f;
}

.btn.secondary {
  border-color: rgba(255, 250, 241, 0.36);
  color: var(--ivory);
  background: rgba(255, 250, 241, 0.08);
}

.btn.secondary:hover {
  border-color: rgba(255, 250, 241, 0.7);
}

.hero-proof {
  display: grid;
  max-width: 710px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  padding: 0;
  background: rgba(255, 250, 241, 0.22);
  border: 1px solid rgba(255, 250, 241, 0.2);
}

.hero-proof div {
  padding: 18px;
  background: rgba(7, 22, 38, 0.58);
  backdrop-filter: blur(12px);
}

.hero-proof dt {
  color: var(--ivory);
  font-size: 1.2rem;
  font-weight: 800;
}

.hero-proof dd {
  margin: 3px 0 0;
  color: rgba(255, 250, 241, 0.7);
  font-size: 0.86rem;
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(280px, 0.72fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: end;
}

.section h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4.5vw, 4.2rem);
}

.split p,
.consult-copy > p,
.offer-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.risk-grid h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.28;
}

.risk-grid p,
.offer-copy p {
  margin: 0;
  color: var(--muted);
}

.premium-offer {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.72fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(122, 46, 58, 0.08), rgba(43, 111, 115, 0.08)),
    var(--ivory);
}

.offer-copy {
  max-width: 760px;
}

.offer-panel {
  display: grid;
  gap: 24px;
  padding: clamp(26px, 4vw, 42px);
  background: var(--navy);
  color: var(--ivory);
  box-shadow: var(--shadow);
}

.offer-panel strong {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.08;
}

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

.offer-panel li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 250, 241, 0.78);
}

.offer-panel li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.section-heading {
  max-width: 900px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-heading.compact {
  max-width: 720px;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 310px;
  padding: clamp(24px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.service-number {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--gold-dark);
  font-weight: 800;
}

.service-card h3,
.process-list h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.25;
}

.service-card p,
.process-list p,
.faq p,
.form-note {
  color: var(--muted);
}

.service-card p,
.process-list p {
  margin: 0;
}

.featured-card {
  background: var(--navy);
}

.featured-card .service-number,
.featured-card h3 {
  color: var(--gold);
}

.featured-card p {
  color: rgba(255, 250, 241, 0.72);
}

.conversion-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--navy);
  color: var(--ivory);
}

.conversion-band h2 {
  max-width: 850px;
  color: var(--ivory);
}

.band-btn {
  flex: 0 0 auto;
  background: var(--ivory);
  color: var(--navy);
}

.process {
  background:
    linear-gradient(180deg, rgba(43, 111, 115, 0.08), rgba(43, 111, 115, 0)),
    var(--paper);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: var(--line);
}

.process-list li {
  min-height: 240px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--ivory);
}

.process-list span {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--wine);
  font-weight: 800;
}

.risk-section {
  background: var(--paper);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.risk-grid article {
  min-height: 215px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--ivory);
}

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

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq details {
  border: 1px solid var(--line);
  background: var(--ivory);
}

.faq summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--navy);
  font-weight: 800;
}

.faq p {
  margin: 0;
  padding: 0 24px 24px;
}

.consult {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
  background: var(--navy);
  color: var(--ivory);
}

.consult h2 {
  color: var(--ivory);
}

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

.consult-copy > p {
  margin-top: 24px;
  color: rgba(255, 250, 241, 0.72);
}

.contact-card {
  display: grid;
  gap: 6px;
  margin-top: 34px;
  padding: 24px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 250, 241, 0.08);
}

.contact-card strong {
  color: var(--gold);
}

.contact-card span,
.contact-card a {
  color: rgba(255, 250, 241, 0.78);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--ivory);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
}

.lead-form .full,
.form-btn,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(20, 34, 52, 0.22);
  border-radius: 0;
  padding: 14px 15px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(43, 111, 115, 0.12);
}

.form-btn {
  border-radius: 0;
}

.form-note {
  margin: 0;
  font-size: 0.84rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(20px, 5vw, 72px);
  background: #040d16;
  color: rgba(255, 250, 241, 0.62);
  font-size: 0.84rem;
}

.site-footer p {
  margin: 0;
}

.floating-cta {
  position: fixed;
  z-index: 25;
  right: 18px;
  bottom: 18px;
  display: none;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(7, 22, 38, 0.28);
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

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

  .split,
  .consult,
  .premium-offer {
    grid-template-columns: 1fr;
  }

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

  .consult-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .brand strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 94svh;
    padding: 96px 18px 34px;
  }

  .hero-media {
    background-position: 63% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 22, 38, 0.96), rgba(7, 22, 38, 0.72)),
      linear-gradient(0deg, rgba(7, 22, 38, 0.85), rgba(7, 22, 38, 0));
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
    line-height: 1.02;
  }

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

  .hero-proof,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    margin-top: 34px;
  }

  .section {
    padding: 66px 18px;
  }

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

  .service-card {
    min-height: 240px;
  }

  .service-number,
  .process-list span {
    margin-bottom: 24px;
  }

  .conversion-band {
    display: grid;
  }

  .band-btn {
    width: 100%;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    display: inline-flex;
  }
}
