/* ==========================================================================
   Online Notarius — asosiy uslublar
   ========================================================================== */

:root {
  --navy-950: #06162c;
  --navy-900: #081e3a;
  --navy-800: #0b2545;
  --navy-700: #123459;
  --blue-600: #1e5aa8;
  --blue-500: #2f6fc4;
  --blue-100: #eaf2fd;
  --gold-500: #c9a227;
  --gold-400: #e0b93f;
  --gold-100: #fbf4dc;
  --ink: #16202f;
  --muted: #5c6a7c;
  --line: #e2e8f0;
  --bg: #f6f7fb;
  --white: #ffffff;
  --green-500: #2f9e6f;
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(11, 37, 69, 0.06);
  --shadow: 0 20px 55px rgba(11, 37, 69, 0.12);
  --container: 1160px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

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

:focus-visible {
  outline: 3px solid rgba(30, 90, 168, 0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy-800);
  color: var(--white);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ==========================================================================
   Tugmalar
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--navy-800);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.18);
}

.btn-primary:hover {
  background: var(--blue-600);
}

.btn-gold {
  background: var(--gold-400);
  color: var(--navy-900);
  box-shadow: 0 12px 30px rgba(201, 162, 39, 0.28);
}

.btn-gold:hover {
  background: #efc94c;
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.btn-outline-light:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.btn-light {
  background: var(--white);
  color: var(--navy-800);
}

.btn-light:hover {
  background: var(--gold-100);
}

.btn-ghost {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}

.btn-sm {
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue-600);
  font-weight: 700;
  font-size: 0.92rem;
}

.text-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.text-link:hover .icon {
  transform: translateX(3px);
}

/* ==========================================================================
   Sarlavhalar va umumiy bo'limlar
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.eyebrow-light {
  color: var(--gold-400);
}

.eyebrow-light::before {
  background: var(--gold-400);
}

h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem);
  line-height: 1.65;
  color: var(--muted);
}

.section {
  padding: 84px 0;
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-actions {
  margin-top: 34px;
}

.section-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-note .icon {
  color: var(--blue-600);
  margin-top: 2px;
}

.disclaimer {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  color: var(--navy-800);
}

.brand-logo {
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 1px 3px rgba(11, 37, 69, 0.12));
}

.footer-brand .brand-logo {
  box-shadow: 0 0 0 2px rgba(224, 185, 63, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.nav-link {
  position: relative;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #344052;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--blue-600);
  background: var(--blue-100);
}

.nav-link.is-active {
  color: var(--navy-800);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.18rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-800);
  white-space: nowrap;
}

.header-phone .icon {
  width: 17px;
  height: 17px;
  color: var(--blue-600);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.lang-switch a,
.lang-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 26px;
  border-radius: 999px;
}

.lang-current {
  background: var(--navy-800);
  color: var(--white);
}

.lang-switch a {
  color: var(--muted);
}

.lang-switch a:hover {
  color: var(--blue-600);
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.menu-btn .icon {
  width: 22px;
  height: 22px;
}

/* Mobil menyu */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 22, 44, 0.55);
  backdrop-filter: blur(3px);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 400px);
  padding: 22px;
  overflow-y: auto;
  background: var(--white);
  box-shadow: -20px 0 60px rgba(6, 22, 44, 0.25);
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 0;
}

.mobile-nav .nav-link {
  padding: 0.85rem 0.7rem;
  font-size: 1.02rem;
}

.mobile-nav .nav-link.is-active::after {
  display: none;
}

.mobile-nav .nav-link.is-active {
  background: var(--blue-100);
  color: var(--blue-600);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.mobile-lang {
  margin-top: 8px;
}

body.menu-open {
  overflow: hidden;
}

/* Mobil pastki panel */

.mobile-bar {
  display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 18% 0%, #123d6e 0%, transparent 42%),
    radial-gradient(circle at 92% 88%, #0e3a66 0%, transparent 46%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.hero-glow-a {
  width: 420px;
  height: 420px;
  top: -160px;
  right: 8%;
  background: rgba(201, 162, 39, 0.14);
}

.hero-glow-b {
  width: 520px;
  height: 520px;
  bottom: -280px;
  left: -80px;
  background: rgba(47, 111, 196, 0.18);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 64px;
  align-items: center;
  padding: 88px 0 96px;
}

.hero-copy {
  animation: fadeUp 0.6s ease both;
}

.hero-copy h1 {
  margin: 18px 0 20px;
  max-width: 720px;
}

.hero-copy .lead {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.76);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.trust-row .icon {
  width: 17px;
  height: 17px;
  color: var(--gold-400);
}

.hero-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  animation: fadeUp 0.7s 0.08s ease both;
}

.hero-panel-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #eef8f3;
  color: #1d7a55;
  font-size: 0.76rem;
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(47, 158, 111, 0.16);
}

.hero-panel-top.is-closed {
  background: #fdf4e8;
  color: #9a5b00;
}

.status-dot.is-closed {
  background: #b45309;
  box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.14);
}

.hero-panel h2 {
  margin: 18px 0 20px;
  font-size: 1.45rem;
}

.hero-panel-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 20px;
}

.hero-avatar {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: 72% 30%;
  border: 2px solid var(--gold-100);
  background: var(--blue-100);
}

.hero-panel-person h2 {
  margin: 0;
  font-size: 1.3rem;
}

.hero-panel-person span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-panel-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #eef1f6;
}

.hero-panel-list li:last-child {
  border-bottom: 0;
}

.hero-panel-list .icon {
  margin-top: 3px;
  color: var(--blue-600);
}

.hero-panel-list span {
  display: flex;
  flex-direction: column;
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-panel-list small {
  margin-bottom: 1px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Xizmatlar
   ========================================================================== */

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

.service-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #b9cfee;
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-600);
}

.service-icon .icon {
  width: 24px;
  height: 24px;
}

.service-icon.small {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.service-icon.small .icon {
  width: 21px;
  height: 21px;
}

.service-body h3 {
  margin-bottom: 7px;
}

.service-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.service-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--blue-600);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.service-arrow .icon {
  width: 18px;
  height: 18px;
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Qadamlar
   ========================================================================== */

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

.steps li {
  position: relative;
  padding: 30px 26px 28px;
  border: 1px solid #dfe7f1;
  border-radius: var(--radius);
  background: var(--white);
}

.step-num {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--gold-500);
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.steps-compact {
  grid-template-columns: 1fr;
  gap: 0;
}

.steps-compact li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.steps-compact li:last-child {
  border-bottom: 0;
}

.steps-compact .step-num {
  margin: 0;
  font-size: 1.5rem;
  min-width: 46px;
}

.steps-compact p {
  font-size: 0.98rem;
}

/* ==========================================================================
   Hujjatlar
   ========================================================================== */

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

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

.doc-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.doc-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-card .text-link {
  margin-top: auto;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.96rem;
  line-height: 1.55;
}

.check-list .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--gold-500);
}

.check-list.compact {
  gap: 9px;
}

.check-list.compact li {
  font-size: 0.88rem;
  color: #3a4759;
}

.check-list.compact .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

/* ==========================================================================
   Nega biz
   ========================================================================== */

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

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

.why-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--gold-100);
  color: #8a6d0d;
}

.why-icon .icon {
  width: 22px;
  height: 22px;
}

.why-card h3 {
  margin-bottom: 7px;
}

.why-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

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

.extra-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.extra-card h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.extra-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ==========================================================================
   Biz haqimizda bloki
   ========================================================================== */

.notary-spotlight {
  position: relative;
  overflow: hidden;
  padding: 84px 0;
  background: radial-gradient(circle at 12% 18%, rgba(201, 162, 39, 0.14), transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(47, 111, 196, 0.16), transparent 45%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800) 60%, var(--navy-700));
  color: var(--white);
}

.notary-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 75%);
  pointer-events: none;
}

.notary-spotlight-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.notary-spotlight-photo-wrap {
  position: relative;
}

.notary-spotlight-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(224, 185, 63, 0.45);
  border-radius: 26px;
  pointer-events: none;
}

.notary-spotlight-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.notary-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(6, 22, 44, 0.72);
  backdrop-filter: blur(8px);
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 800;
}

.notary-badge .icon {
  width: 17px;
  height: 17px;
}

.notary-spotlight-copy h2 {
  margin: 14px 0 8px;
  font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem);
}

.notary-role {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
}

.notary-text {
  max-width: 590px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.7;
}

.notary-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 590px;
  margin-top: 26px;
}

.notary-facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  line-height: 1.45;
}

.notary-facts .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--gold-400);
}

.notary-facts a:hover {
  color: var(--gold-400);
}

.notary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-preview {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  align-items: start;
}

.faq-preview-copy h2 {
  margin-bottom: 12px;
}

.faq-preview-copy p {
  margin-bottom: 22px;
  color: var(--muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

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

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: #f8fafd;
}

.faq-chevron {
  color: var(--blue-600);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 20px;
}

.faq-answer p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-page {
  max-width: 860px;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: radial-gradient(circle at 85% 20%, rgba(201, 162, 39, 0.22), transparent 40%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -140px;
  bottom: -220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-band h2 {
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

/* ==========================================================================
   Aloqa bloki (bosh sahifa)
   ========================================================================== */

.contact-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.contact-strip-copy h2 {
  margin-bottom: 12px;
}

.contact-strip-copy > p {
  color: var(--muted);
  margin-bottom: 22px;
}

.contact-quick {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-quick li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.94rem;
  font-weight: 600;
}

.contact-quick .icon {
  color: var(--blue-600);
}

.map-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: 24px;
  border: 1px solid #d7e2f0;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #eaf0f7;
  background-image: linear-gradient(rgba(30, 90, 168, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 90, 168, 0.09) 1px, transparent 1px),
    linear-gradient(135deg, #edf3fa 0%, #e3ecf6 100%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.map-preview:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.map-preview::before {
  content: "";
  position: absolute;
  left: 12%;
  top: 18%;
  width: 76%;
  height: 2px;
  background: rgba(30, 90, 168, 0.18);
  transform: rotate(-18deg);
}

.map-preview::after {
  content: "";
  position: absolute;
  left: 24%;
  top: 8%;
  width: 2px;
  height: 84%;
  background: rgba(30, 90, 168, 0.14);
  transform: rotate(12deg);
}

.map-pin {
  position: absolute;
  top: 38%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-400);
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.3);
}

.map-pin .icon {
  width: 24px;
  height: 24px;
}

.map-label {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-800);
}

.map-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--blue-600);
}

.map-preview-tall {
  min-height: 340px;
}

/* ==========================================================================
   Sahifa hero (ichki sahifalar)
   ========================================================================== */

.page-hero {
  padding: 46px 0 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafd 0%, #ffffff 100%);
}

.page-hero h1 {
  max-width: 900px;
  margin-top: 14px;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem);
}

.page-hero .lead {
  max-width: 790px;
  margin-top: 16px;
}

.breadcrumbs {
  margin-bottom: 22px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: #aeb8c5;
}

.breadcrumbs a:hover {
  color: var(--blue-600);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* ==========================================================================
   Xizmat sahifasi
   ========================================================================== */

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}

.content-block {
  margin-bottom: 46px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block .section-head {
  margin-bottom: 22px;
}

.content-block .section-head h2 {
  font-size: 1.45rem;
}

.service-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.side-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: var(--blue-100);
  color: var(--blue-600);
}

.side-card h3 {
  margin-bottom: 8px;
}

.side-card > p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.side-card .btn + .btn {
  margin-top: 8px;
}

.side-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 18px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-800);
}

.side-phone .icon {
  color: var(--blue-600);
}

.side-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 10px;
  font-size: 0.83rem;
  color: var(--muted);
}

.side-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 18px;
  border: 1px solid #ecdfae;
  border-radius: var(--radius-sm);
  background: var(--gold-100);
  color: #5f4c0e;
  font-size: 0.84rem;
  line-height: 1.55;
}

.side-note .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #8a6d0d;
}

.side-note-large {
  flex-direction: column;
  padding: 24px;
  font-size: 0.9rem;
}

.side-note-large .icon {
  width: 24px;
  height: 24px;
}

.side-note-large .btn {
  margin-top: 6px;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 46px;
  padding: 22px;
  border-left: 4px solid var(--blue-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #f1f6fd;
}

.callout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--white);
  color: var(--blue-600);
}

.callout h3 {
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.callout p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   Narxlar
   ========================================================================== */

.prices-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 56px;
  align-items: start;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.price-table th {
  padding: 16px 22px;
  text-align: left;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f8fafd;
  border-bottom: 1px solid var(--line);
}

.price-table td {
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table td:first-child a {
  font-weight: 700;
}

.price-table td:first-child a:hover {
  color: var(--blue-600);
}

.tariff {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 800;
}

/* ==========================================================================
   Ariza formasi
   ========================================================================== */

.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 360px;
  gap: 56px;
  align-items: start;
}

.apply-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field > span {
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
}

.field > span em {
  font-style: normal;
  color: var(--gold-500);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #d5dde8;
  border-radius: 10px;
  background: #fbfcfe;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 108px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(47, 111, 196, 0.13);
}

.field input:invalid:not(:placeholder-shown) {
  border-color: #d98b8b;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--blue-600);
}

.consent-row a {
  color: var(--blue-600);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.form-note a {
  color: var(--blue-600);
  font-weight: 700;
}

.form-fallback {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.form-fallback textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #d5dde8;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 0.86rem;
  line-height: 1.55;
  resize: vertical;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-status.is-pending {
  display: block;
  background: #eef4fb;
  color: var(--blue-600);
}

.form-status.is-error {
  display: block;
  background: #fdecec;
  color: #a33a3a;
}

.form-status.is-success {
  display: block;
  background: #e9f8f0;
  color: #1d7a55;
}

/* ==========================================================================
   Biz haqimizda sahifasi
   ========================================================================== */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 360px;
  gap: 56px;
  align-items: start;
}

.about-paragraph {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.about-main .section-head {
  margin-top: 40px;
}

.info-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  margin-bottom: 4px;
}

.notary-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 18px;
  border-radius: 14px;
}

.info-role {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.info-subtitle {
  margin: 20px 0 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-card dl {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.info-card dl > div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.info-card dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-card dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-card dd {
  margin-top: 2px;
  font-size: 0.92rem;
  font-weight: 600;
}

.info-card dd a:hover {
  color: var(--blue-600);
}

/* ==========================================================================
   Aloqa sahifasi
   ========================================================================== */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 46px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

a.contact-card:hover {
  transform: translateY(-3px);
  border-color: #b9cfee;
  box-shadow: var(--shadow-sm);
}

.contact-card .why-icon {
  margin-bottom: 14px;
}

.contact-card small {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card strong {
  margin-top: 4px;
  font-size: 0.98rem;
  line-height: 1.4;
}

.contact-map {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 46px;
}

.contact-map-copy h2 {
  margin-bottom: 12px;
}

.contact-map-copy p {
  margin-bottom: 20px;
  color: var(--muted);
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--bg);
}

.contact-cta h2 {
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.contact-cta p {
  color: var(--muted);
}

/* ==========================================================================
   Huquqiy sahifa
   ========================================================================== */

.legal-page {
  max-width: 820px;
}

.legal-updated {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.84rem;
}

.legal-page .content-block h2 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.legal-page .content-block p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-top: 64px;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr 0.85fr 1.2fr;
  gap: 44px;
  padding-bottom: 46px;
}

.footer-brand .brand-mark {
  color: var(--gold-400);
}

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

.footer-brand .brand-text small {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  margin-top: 18px;
  max-width: 320px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
}

.footer-license {
  font-size: 0.78rem !important;
  opacity: 0.7;
}

.footer-col h3 {
  margin-bottom: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a,
.footer-col li {
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--gold-400);
}

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

.footer-contact h3 {
  margin-bottom: 16px;
}

.footer-contact > a,
.footer-contact > span {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 10px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.footer-contact .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--gold-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
  color: var(--gold-400);
}

.footer-note {
  padding-bottom: 26px;
}

.footer-note p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Redirect / 404
   ========================================================================== */

.redirect-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 30px;
  text-align: center;
}

.redirect-page h1 {
  font-size: 2rem;
}

.redirect-page a {
  color: var(--blue-600);
  font-weight: 700;
}

/* ==========================================================================
   Responsiv
   ========================================================================== */

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

  .menu-btn {
    display: inline-flex;
  }

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

  .header-actions {
    margin-left: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 70px 0 80px;
  }

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

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

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

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

  .service-layout,
  .apply-layout,
  .about-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .notary-spotlight-inner {
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 62px 0;
  }

  .header-phone {
    display: none;
  }

  .services-grid,
  .docs-grid,
  .docs-grid-full,
  .extra-grid,
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps,
  .why-grid-2 {
    grid-template-columns: 1fr;
  }

  .notary-spotlight {
    padding: 62px 0;
  }

  .notary-spotlight-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .notary-spotlight-photo-wrap {
    width: 100%;
    max-width: 380px;
    margin-inline: auto;
  }

  .faq-preview {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-strip-grid,
  .contact-map {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-layout,
  .apply-layout,
  .about-layout,
  .prices-layout {
    grid-template-columns: 1fr;
  }

  .service-sidebar,
  .info-card {
    position: static;
  }

  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 30px rgba(11, 37, 69, 0.08);
  }

  .mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 6px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
  }

  .mobile-bar a.is-accent {
    color: var(--blue-600);
  }

  .mobile-bar .icon {
    width: 20px;
    height: 20px;
  }

  body {
    padding-bottom: 72px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .header-cta {
    display: none;
  }

  .hero-inner {
    padding: 56px 0 66px;
  }

  .hero-copy h1 {
    margin-top: 14px;
  }

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

  .trust-row {
    gap: 10px 16px;
  }

  .hero-panel {
    padding: 22px;
  }

  .services-grid,
  .docs-grid,
  .docs-grid-full,
  .extra-grid,
  .why-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 22px;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .notary-spotlight-photo-wrap {
    max-width: 320px;
  }

  .notary-facts {
    grid-template-columns: 1fr;
  }

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

  .apply-card {
    padding: 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-cta {
    padding: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .page-hero {
    padding: 32px 0 40px;
  }

  .breadcrumbs {
    margin-bottom: 16px;
  }

  .cta-band-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
