:root {
  --navy: #101a2e;
  --navy-2: #0b1020;
  --gold: #c8a95b;
  --gold-soft: #eadbb4;
  --white: #ffffff;
  --soft: #f8fafc;
  --text: #111827;
  --gray: #64748b;
  --line: rgba(15, 23, 42, 0.12);
  --shadow: 0 22px 58px rgba(15, 23, 42, 0.12);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  color: var(--text);
  background: var(--white);
  font-family: Heebo, Assistant, Rubik, Arial, sans-serif;
  line-height: 1.7;
}

body::after {
  content: "";
  display: block;
  height: 0;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--navy-2);
  background: var(--gold);
  font-weight: 850;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

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

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 26, 46, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  width: 104px;
  height: 104px;
  display: block;
  object-fit: contain;
  background: var(--white);
}

.footer-logo {
  width: 140px;
  height: 140px;
  display: block;
  object-fit: contain;
  background: var(--white);
}

.nav-links,
.nav-actions {
  display: none;
}

.nav-links {
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a,
.footer-contact a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-contact a:hover {
  color: var(--gold);
}

.nav-actions {
  align-items: center;
  gap: 10px;
}

.nav-phone,
.nav-whatsapp {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-phone {
  color: var(--navy);
  border-color: rgba(156, 122, 52, 0.42);
  background: #d1ad62;
}

.nav-whatsapp {
  color: var(--white);
  border-color: rgba(200, 169, 91, 0.3);
  background: transparent;
}

.nav-phone:hover,
.nav-whatsapp:hover,
.btn:hover {
  transform: none;
}

.hero {
  color: var(--white);
  background: radial-gradient(circle at 70% 20%, rgba(200, 169, 91, 0.18), transparent 34%), linear-gradient(135deg, var(--navy), var(--navy-2));
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.88rem;
}

.eyebrow.dark {
  color: #9c7a34;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 8px;
  font-size: clamp(2.45rem, 6vw, 4.8rem);
  line-height: 1.08;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 3.8vw, 2.65rem);
  line-height: 1.22;
  font-weight: 850;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.34rem;
}

.hero-subtitle {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.14rem, 2.7vw, 1.55rem);
  font-weight: 700;
}

.hero-office {
  margin-bottom: 18px;
  color: var(--gold-soft);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 800;
}

.hero-message {
  margin-bottom: 10px;
  color: var(--gold-soft);
  font-size: 1.08rem;
  font-weight: 800;
}

.hero-description {
  max-width: 700px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

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

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn-primary {
  color: var(--navy);
  border-color: rgba(126, 93, 38, 0.36);
  background: #d1ad62;
  box-shadow: none;
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(200, 169, 91, 0.28);
  background: transparent;
  box-shadow: none;
}

.btn-secondary:hover {
  border-color: rgba(200, 169, 91, 0.58);
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.04);
}

.btn-light {
  color: var(--navy);
  background: transparent;
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow: none;
}

.btn-whatsapp {
  color: var(--navy);
  border-color: rgba(15, 23, 42, 0.16);
  background: #ffffff;
  box-shadow: none;
}

.btn-whatsapp:hover,
.btn-light:hover {
  border-color: rgba(156, 122, 52, 0.52);
  color: #6f5422;
  background: #fffdf8;
  box-shadow: none;
}

.hero-media {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(200, 169, 91, 0.36);
  background: rgba(255, 255, 255, 0.045);
}

.hero-media::before {
  content: none;
}

.hero-media img {
  position: relative;
  width: 100%;
  height: clamp(400px, 54vw, 600px);
  display: block;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.section {
  padding: 104px 0;
}

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

.section-dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.split {
  display: grid;
  gap: 36px;
}

.section-copy p,
.section-intro {
  color: var(--gray);
  font-size: 1.06rem;
}

.section-dark .section-intro {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.feature-image {
  width: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-image {
  height: min(82vw, 560px);
}

.feature-image.tall {
  height: min(95vw, 640px);
}

.feature-image.wide {
  height: min(72vw, 500px);
}

.section-title {
  max-width: 720px;
  margin-bottom: 28px;
}

.cards-grid,
.contact-grid {
  display: grid;
  gap: 16px;
}

.practice-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
}

.practice-card {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 0;
  height: 100%;
  padding: 28px 24px;
  overflow: hidden;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.practice-card::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 24px;
  width: 2px;
  height: calc(100% - 48px);
  background: rgba(200, 169, 91, 0.58);
}

.practice-card:hover,
.practice-card:focus-visible {
  border-color: rgba(200, 169, 91, 0.38);
}

.practice-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.practice-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
}

.practice-card p {
  margin-bottom: 0;
  color: var(--gray);
  line-height: 1.72;
}

.practice-card-link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 20px;
  color: #8a6b2e;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.2;
  border-bottom: 1px solid rgba(200, 169, 91, 0.42);
}

.practice-card:hover .practice-card-link,
.practice-card:focus-visible .practice-card-link {
  color: #6f5422;
  border-bottom-color: var(--gold);
}

.notary-grid {
  width: min(100%, 820px);
  display: grid;
  gap: 0;
  margin: 4px 0 0;
}

.notary-grid article {
  position: relative;
  padding: 18px 28px 18px 0;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-weight: 800;
}

.notary-grid article:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.notary-grid article::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 999px;
  opacity: 0.86;
}

.credential-list {
  display: grid;
  gap: 0;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.credential-list li {
  position: relative;
  padding: 18px 26px 18px 0;
  border-top: 1px solid var(--line);
  font-weight: 900;
  font-size: 1.08rem;
}

.credential-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.credential-list li::before,
.values-list li::before {
  content: "";
  position: absolute;
  top: 29px;
  right: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 999px;
  opacity: 0.86;
}

.why-section {
  background: var(--white);
}

.values-section {
  background: var(--white);
  padding: 76px 0;
}

.values-list {
  width: min(100%, 680px);
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.values-list li {
  position: relative;
  padding: 16px 28px 16px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--navy);
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  font-weight: 800;
}

.values-list li:first-child {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.trust-list {
  width: min(100%, 920px);
  display: grid;
  gap: 0;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding: 22px 28px 22px 0;
  color: var(--navy);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 800;
  line-height: 1.55;
}

.trust-list li:first-child {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.trust-list li::before {
  content: "";
  position: absolute;
  top: 33px;
  right: 0;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 999px;
  opacity: 0.86;
}

@media (min-width: 760px) {
  .trust-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 56px;
  }

  .trust-list li:nth-child(2) {
    border-top: 1px solid rgba(15, 23, 42, 0.1);
  }
}

.contact-card {
  padding: 22px;
  box-shadow: none;
}

.contact-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--gray);
}

.contact-card a,
.contact-card strong {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
}

.meeting-preview {
  display: grid;
  gap: 18px;
  align-items: end;
  margin: 0 0 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.meeting-preview img {
  width: 100%;
  height: min(68vw, 360px);
  display: block;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  box-shadow: none;
}

.meeting-preview p {
  max-width: 560px;
  margin: 0;
  color: var(--gray);
  font-size: 1.02rem;
  line-height: 1.8;
}

.service-meeting-preview {
  max-width: 820px;
  margin-bottom: 0;
}

.contact-actions {
  margin-top: 28px;
}

.contact-primary-actions .btn {
  min-width: 168px;
}

.footer {
  padding: 56px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  background: #0b1020;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer p {
  max-width: 280px;
  margin: 14px 0 0;
  color: var(--white);
  font-weight: 800;
}

.footer p strong,
.footer p span {
  display: block;
}

.footer p span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-contact a,
.footer-contact span {
  overflow-wrap: anywhere;
}

.copyright {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.mobile-contact-bar {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  background: rgba(16, 26, 46, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.mobile-contact-bar a {
  min-height: 44px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  font-weight: 900;
  font-size: 0.92rem;
}

.service-header .nav {
  min-height: 96px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px 0;
}

.service-header .brand img {
  width: 88px;
  height: 88px;
}

.service-header .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  font-size: 0.9rem;
}

.service-main {
  background: var(--white);
}

.service-hero {
  padding: 76px 0 82px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.service-hero .container {
  max-width: 920px;
}

.service-hero-grid {
  position: relative;
  display: grid;
  gap: 34px;
  align-items: center;
}

.service-hero-copy {
  position: relative;
  z-index: 2;
}

.service-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 5.2vw, 4.25rem);
}

.service-hero-copy > p:last-of-type {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.08rem, 2.2vw, 1.32rem);
}

.service-layout {
  display: grid;
  gap: 72px;
}

.service-block {
  max-width: 920px;
}

.service-block h2 {
  max-width: 760px;
}

.service-list,
.faq-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-list {
  width: min(100%, 760px);
}

.service-list li {
  position: relative;
  padding: 18px 28px 18px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--navy);
  font-weight: 850;
}

.service-list li:first-child {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 999px;
  opacity: 0.86;
}

.service-note {
  max-width: 820px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-note p:last-child,
.service-block > p:last-child {
  margin-bottom: 0;
}

.faq-list {
  max-width: 920px;
}

.faq-list details {
  padding: 22px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.faq-list details:first-child {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.faq-list summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--gray);
}

.service-cta {
  padding: 38px 0 0;
  border-top: 1px solid var(--line);
}

.service-cta h2 {
  margin-bottom: 12px;
}

.service-cta p {
  max-width: 720px;
  color: var(--gray);
}

.service-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
}

.service-page-links a {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 750;
}

.service-page-links a:hover {
  color: var(--gold);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 750;
}

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

.accessibility-widget {
  position: fixed;
  left: 18px;
  right: auto;
  top: auto;
  bottom: 18px;
  z-index: 80;
  direction: rtl;
}

.accessibility-toggle {
  min-width: 0;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(200, 169, 91, 0.65);
  border-radius: 999px;
  color: var(--white);
  background: rgba(16, 26, 46, 0.94);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.accessibility-panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  width: min(230px, calc(100vw - 28px));
  padding: 12px;
  color: var(--navy);
  background: #fffdf8;
  border: 1px solid rgba(200, 169, 91, 0.42);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.accessibility-panel-title {
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 850;
  font-size: 0.95rem;
}

.accessibility-panel button {
  width: 100%;
  min-height: 34px;
  margin-top: 6px;
  padding: 6px 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  text-align: right;
  cursor: pointer;
}

.accessibility-panel button:hover,
.accessibility-panel button:focus-visible {
  border-color: var(--gold);
  color: #6f5422;
  background: #ffffff;
}

body.a11y-text-small {
  font-size: 94%;
}

body.a11y-text-large {
  font-size: 112%;
}

body.a11y-text-larger {
  font-size: 124%;
}

body.a11y-readable-font,
body.a11y-readable-font *:not(img):not(svg) {
  font-family: Assistant, Arial, sans-serif !important;
}

body.a11y-high-contrast {
  --navy: #020617;
  --navy-2: #000000;
  --gold: #ffd66b;
  --gold-soft: #ffe8a3;
  --text: #000000;
  --gray: #334155;
  --line: rgba(0, 0, 0, 0.24);
}

body.a11y-highlight-links a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

body.a11y-stop-motion *,
body.a11y-stop-motion *::before,
body.a11y-stop-motion *::after {
  animation: none !important;
  scroll-behavior: auto !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

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

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

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

@media (min-width: 940px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .service-hero-grid {
    max-width: var(--container);
  }

  .cards-grid,
  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .meeting-preview {
    grid-template-columns: minmax(260px, 0.42fr) 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: end;
  }

  .service-page .footer-grid {
    grid-template-columns: 1fr 1fr 1.2fr;
    align-items: start;
  }

  .mobile-contact-bar {
    display: none;
  }
}

@media (max-width: 939px) {
  .accessibility-widget {
    top: auto;
    right: auto;
    left: 14px;
    bottom: 82px;
  }

  .accessibility-toggle {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 0.86rem;
  }

  body {
    padding-bottom: 76px;
  }
}

@media (max-width: 540px) {
  .nav {
    min-height: 76px;
  }

  .brand img {
    width: 68px;
    height: 68px;
  }

  .service-header .brand img {
    width: 72px;
    height: 72px;
  }

  .service-header .nav-links {
    gap: 8px 12px;
    font-size: 0.84rem;
  }

  .service-hero {
    padding: 52px 0 58px;
  }

  .hero {
    padding: 38px 0 50px;
  }

  .hero-media img {
    height: 420px;
    object-position: center top;
  }

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

  .section {
    padding: 60px 0;
  }

  .practice-card,
  .contact-card {
    padding: 24px;
  }

  .footer-logo {
    width: 96px;
    height: 96px;
  }

  .feature-image,
  .feature-image.tall,
  .feature-image.wide {
    height: 430px;
  }
}
