@charset "UTF-8";
:root {
  color-scheme: light;
  --ink: #193f42;
  --ink-2: #274f51;
  --muted: #657779;
  --paper: #f7f6f1;
  --white: #ffffff;
  --line: #e7e6de;
  --gold: #c79b5b;
  --shadow: 0 18px 48px rgba(25, 63, 66, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: #263b3d;
  font-family: "Vazirmatn", Tahoma, "Segoe UI", "Noto Sans Arabic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.95;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 44px)); margin-inline: auto; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 20; padding: 8px 14px; background: white; color: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(25,63,66,.08); position: relative; z-index: 2; }
.header-inner { min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; font-size: 1.35rem; letter-spacing: -.04em; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.header-contact { color: var(--ink); font-size: .93rem; font-weight: 700; border-bottom: 1px solid var(--gold); padding: 3px 0; }
.header-contact span { color: var(--gold); margin-inline-start: 7px; }
.hero { position: relative; overflow: hidden; background-color: var(--ink); background-image: linear-gradient(90deg, rgba(13, 35, 36, .88), rgba(13, 35, 36, .70)), url("/assets/power-of-attorney.webp"); background-position: center 48%; background-size: cover; background-repeat: no-repeat; color: white; min-height: 385px; display: flex; align-items: center; }
.hero::before, .hero::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; pointer-events: none; }
.hero::before { width: 540px; height: 540px; inset-inline-start: -140px; top: -280px; }
.hero::after { width: 380px; height: 380px; inset-inline-start: -60px; top: -200px; }
.hero-pattern { position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(rgba(255,255,255,.55) .8px, transparent .8px); background-size: 20px 20px; mask-image: linear-gradient(90deg, black, transparent 68%); }
.hero-content { position: relative; z-index: 1; padding-block: 70px 76px; max-width: 1120px; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: .88rem; font-weight: 700; letter-spacing: .01em; }
.hero .eyebrow { color: #dfc296; }
.eyebrow span { display: inline-block; width: 22px; height: 2px; background: currentColor; vertical-align: middle; margin-inline-end: 8px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.25; margin: 0 0 14px; font-weight: 800; letter-spacing: -.05em; }
.hero-copy { max-width: 670px; color: rgba(255,255,255,.82); font-size: clamp(1rem, 2vw, 1.16rem); line-height: 2.1; margin-bottom: 25px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; padding: 9px 20px; border-radius: 9px; font-size: .92rem; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #172f31; }
.button-primary:hover { background: #d5ae75; }
.button-primary svg { width: 19px; height: 19px; fill: currentColor; }
.button-outline { border: 1px solid rgba(255,255,255,.55); color: white; }
.button-outline:hover { background: rgba(255,255,255,.1); }
.hero-bottom { position: absolute; inset-inline-end: max(24px, calc((100% - 1120px)/2)); bottom: 27px; display: flex; gap: 7px; }
.hero-bottom span { display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.42); }
.hero-bottom span:first-child { width: 22px; border-radius: 8px; background: var(--gold); }
.section { padding-block: 82px 88px; }
.section-heading { text-align: center; margin: 0 auto 38px; max-width: 700px; }
.section-heading .eyebrow { margin-bottom: 4px; }
.section-heading h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); color: var(--ink); line-height: 1.6; margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; align-items: stretch; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 22px 52px rgba(25,63,66,.12); }
.service-image-wrap { aspect-ratio: 2 / 1; position: relative; overflow: hidden; background: #e8e7df; }
.service-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover .service-image-wrap img { transform: scale(1.035); }
.service-copy { padding: 22px 22px 25px; }
.service-copy h3 { color: var(--ink); font-size: 1.25rem; margin: 0 0 10px; }
.service-copy h3::after { content: ""; display: block; width: 34px; height: 2px; margin-top: 9px; background: var(--gold); }
.service-copy p { color: var(--muted); font-size: .93rem; line-height: 2.15; margin: 0; }
.contact-section { padding-block: 0 80px; }
.contact-panel { background: #eceee8; border-radius: 18px; padding: clamp(26px, 5vw, 52px); display: grid; grid-template-columns: 1.12fr .88fr; gap: 45px; align-items: center; }
.contact-copy .eyebrow { margin-bottom: 5px; }
.contact-copy h2 { color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.25rem); margin: 0 0 12px; }
.contact-copy p:last-child { color: #53686a; line-height: 2.15; margin: 0; font-size: .96rem; }
.contact-methods { display: grid; gap: 11px; }
.contact-item { background: rgba(255,255,255,.8); border: 1px solid rgba(25,63,66,.08); border-radius: 11px; padding: 13px 15px; display: flex; align-items: center; gap: 13px; transition: background .2s ease, transform .2s ease; min-width: 0; }
.contact-item:hover { background: white; transform: translateX(-3px); }
.contact-icon { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border-radius: 10px; background: #e1e8e2; color: var(--ink); font-size: 1.15rem; }
.contact-icon svg { width: 21px; height: 21px; display: block; fill: currentColor; }
.contact-item span:last-child { display: grid; min-width: 0; }
.contact-item small { color: #738486; font-size: .76rem; }
.contact-item strong { color: var(--ink); font-size: .94rem; font-weight: 700; overflow-wrap: anywhere; }
.site-footer { background: #15383b; color: rgba(255,255,255,.72); }
.footer-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: .83rem; }
.footer-inner p { margin: 0; }
.footer-brand { color: white; font-size: 1.1rem; font-weight: 800; }
.back-to-top { color: #e0c59c; white-space: nowrap; }
:focus-visible { outline: 3px solid #d4a968; outline-offset: 3px; }
@media (max-width: 820px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; width: min(100%, 520px); justify-self: center; }
  .contact-panel { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 30px, 440px); }
  .header-inner { min-height: 72px; }
  .brand { font-size: 1.16rem; gap: 8px; }
  .brand img { width: 39px; height: 39px; }
  .header-contact { font-size: .82rem; }
  .hero { min-height: auto; }
  .hero-content { padding-block: 56px 64px; }
  .hero h1 { font-size: 2.65rem; }
  .hero-copy { font-size: .98rem; }
  .hero-actions { align-items: stretch; }
  .button { flex: 1 1 100%; }
  .section { padding-block: 58px 64px; }
  .section-heading { margin-bottom: 26px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card:last-child { grid-column: auto; width: auto; }
  .service-copy { padding: 18px 18px 21px; }
  .contact-section { padding-bottom: 56px; }
  .contact-panel { padding: 24px 18px; }
  .footer-inner { padding-block: 20px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; }
  .footer-inner p { grid-column: 1 / -1; grid-row: 2; }
  .back-to-top { grid-column: 2; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
