:root {
  --ink: #14241f;
  --forest: #0b3329;
  --forest-deep: #06261f;
  --gold: #c9a76a;
  --gold-light: #e8d5aa;
  --cream: #f4f0e7;
  --paper: #fbfaf6;
  --muted: #65716c;
  --line: rgba(20, 36, 31, 0.14);
  --shadow: 0 24px 70px rgba(12, 43, 35, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  line-height: 1.85;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--gold-light); color: var(--forest-deep); }

.skip-link {
  position: fixed; top: -100px; right: 20px; z-index: 999;
  background: white; color: var(--forest); padding: 10px 18px; border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 110px 0; }

.site-header {
  position: absolute; z-index: 20; width: 100%; top: 0; right: 0;
  color: white; border-bottom: 1px solid rgba(255,255,255,.16);
}
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand-link { flex-shrink: 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1.25; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--gold);
  color: var(--gold-light); font-family: Georgia, serif; font-size: 29px;
}
.brand > span:last-child { display: grid; }
.brand strong { font-size: 20px; letter-spacing: -.5px; }
.brand small { font-size: 10px; opacity: .68; letter-spacing: .6px; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.main-nav a { position: relative; opacity: .82; transition: .25s ease; }
.main-nav a::after { content: ""; position: absolute; width: 0; right: 0; bottom: -8px; height: 1px; background: var(--gold); transition: .25s ease; }
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { width: 100%; }
.header-phone { border-right: 1px solid rgba(255,255,255,.24); padding-right: 22px; display: grid; line-height: 1.35; text-align: left; }
.header-phone span { font-size: 10px; opacity: .65; }
.header-phone bdi { color: var(--gold-light); font-size: 14px; letter-spacing: .8px; }
.header-phone bdi, .local-card bdi, .contact-direct bdi, .side-phone bdi, .footer-grid bdi { direction: ltr; unicode-bidi: isolate; }

.hero {
  min-height: 900px; color: white; padding: 170px 0 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(201,167,106,.16), transparent 34%),
    linear-gradient(135deg, var(--forest-deep), #0c3a2e 64%, #164436);
  position: relative; overflow: hidden;
}
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; left: -260px; top: 120px; border: 1px solid rgba(201,167,106,.18); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; gap: 76px; position: relative; }
.hero-copy { padding-bottom: 50px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--gold-light); font-size: 12px; letter-spacing: .4px; font-weight: 700; }
.eyebrow span { display: inline-block; width: 34px; height: 1px; background: currentColor; }
.eyebrow.dark { color: #96783f; }
.eyebrow.light { color: var(--gold-light); }
.hero h1 { margin: 0; font-size: clamp(43px, 5.3vw, 76px); line-height: 1.36; letter-spacing: -2.8px; font-weight: 700; }
.hero h1 em { color: var(--gold-light); font-style: normal; font-weight: 400; display: block; }
.hero-lead { max-width: 600px; color: rgba(255,255,255,.73); font-size: 16px; line-height: 2.05; margin: 28px 0 34px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; cursor: pointer; transition: .25s ease; font-weight: 700; font-size: 13px; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--forest-deep); box-shadow: 0 12px 35px rgba(201,167,106,.18); }
.button-gold:hover { background: #d8bb80; }
.button-outline-light { border-color: rgba(255,255,255,.4); color: white; }
.button-outline-light:hover { background: white; color: var(--forest); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: white; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.32); padding-bottom: 5px; }
.text-link.dark-link { color: var(--forest); border-color: rgba(11,51,41,.3); font-weight: 700; }
.hero-signature { display: flex; align-items: center; gap: 14px; margin-top: 45px; }
.signature-line { width: 45px; height: 1px; background: rgba(255,255,255,.25); }
.hero-signature div { display: grid; line-height: 1.5; }
.hero-signature strong { font-size: 12px; }
.hero-signature small { color: rgba(255,255,255,.5); font-size: 10px; }

.hero-visual { height: 620px; position: relative; background-image: linear-gradient(to top, rgba(6,38,31,.55), transparent 55%), url("/og.jpg"); background-size: cover; background-position: 55% center; box-shadow: 0 35px 90px rgba(0,0,0,.28); }
.hero-frame { position: absolute; inset: 25px; border: 1px solid rgba(255,255,255,.42); pointer-events: none; }
.hero-caption { position: absolute; right: -45px; bottom: 42px; width: 235px; padding: 22px 24px; background: rgba(6,38,31,.92); border-right: 3px solid var(--gold); display: grid; backdrop-filter: blur(8px); }
.hero-caption span, .hero-caption small { color: rgba(255,255,255,.55); font-size: 10px; }
.hero-caption strong { color: white; font-size: 17px; margin: 3px 0; }
.stats-strip { min-height: 130px; margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.13); }
.stat { display: flex; align-items: center; justify-content: center; gap: 13px; border-left: 1px solid rgba(255,255,255,.13); }
.stat:last-child { border-left: 0; }
.stat strong { color: var(--gold-light); font-size: 37px; font-weight: 400; line-height: 1; }
.stat span { font-size: 12px; color: rgba(255,255,255,.63); }
.stat-text { display: grid; gap: 5px; align-content: center; }
.stat-text strong { font-size: 14px; color: white; }
.stat-text span { font-size: 10px; }

.section-heading { margin-bottom: 48px; }
.section-heading h2 { font-size: clamp(31px, 4vw, 49px); line-height: 1.55; margin: 0; letter-spacing: -1.5px; max-width: 700px; }
.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.split-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.centered { text-align: center; }
.centered .eyebrow { justify-content: center; }
.centered h2 { margin-inline: auto; }
.section-intro { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.service-card { min-height: 345px; padding: 36px 30px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: .3s ease; background: rgba(255,255,255,.2); }
.service-card:hover { background: white; transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-number { color: #a48751; font-family: Georgia, serif; font-size: 13px; }
.service-card h3 { margin: 56px 0 15px; font-size: 20px; }
.service-card p { color: var(--muted); font-size: 12px; margin: 0; line-height: 2.05; }
.service-card a { color: var(--forest); margin-top: auto; padding-top: 20px; font-size: 12px; font-weight: 700; }

.experience { padding: 0; background: var(--forest); color: white; }
.experience-grid { width: 100%; max-width: none; display: grid; grid-template-columns: 1fr 1fr; }
.experience-image { min-height: 760px; position: relative; background-image: linear-gradient(to top, rgba(6,38,31,.6), transparent 55%), url("/og.jpg"); background-size: cover; background-position: 18% center; }
.experience-image span { position: absolute; right: 54px; bottom: 46px; width: 250px; color: rgba(255,255,255,.78); border-right: 2px solid var(--gold); padding: 10px 18px; font-size: 12px; }
.experience-copy { padding: 100px max(7vw, 68px); align-self: center; }
.experience-copy h2 { font-size: clamp(31px, 3.7vw, 50px); line-height: 1.62; margin: 0 0 25px; letter-spacing: -1.4px; }
.experience-copy > p { color: rgba(255,255,255,.66); font-size: 13px; margin: 0; }
.experience-points { display: grid; margin: 32px 0 40px; border-top: 1px solid rgba(255,255,255,.12); }
.experience-points > div { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.experience-points > div > span { color: var(--gold-light); }
.experience-points p { display: grid; gap: 2px; margin: 0; color: rgba(255,255,255,.54); font-size: 11px; }
.experience-points strong { color: white; font-size: 13px; }

.process { background: var(--cream); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 58px; counter-reset: process; }
.process-card { background: rgba(255,255,255,.64); min-height: 265px; padding: 30px; border-top: 2px solid transparent; }
.process-card:hover { border-color: var(--gold); background: white; }
.process-card > span { display: inline-grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--gold); color: #8f713c; font-family: Georgia, serif; }
.process-card h3 { margin: 44px 0 12px; font-size: 18px; }
.process-card p { color: var(--muted); font-size: 12px; margin: 0; }

.local-section { position: relative; overflow: hidden; }
.local-section::after { content: "شهریار"; position: absolute; left: -20px; bottom: -70px; font-size: 180px; font-weight: 700; color: rgba(11,51,41,.035); z-index: -1; }
.local-grid { display: grid; grid-template-columns: 1fr 410px; gap: 100px; align-items: center; }
.local-grid h2 { margin: 0 0 20px; font-size: clamp(31px, 4vw, 49px); line-height: 1.58; letter-spacing: -1.5px; }
.local-grid > div > p { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.local-card { background: var(--forest); color: white; padding: 45px; box-shadow: 18px 18px 0 var(--gold-light); }
.local-card .pin { font-size: 38px; color: var(--gold-light); }
.local-card small { display: block; color: var(--gold-light); margin-top: 20px; }
.local-card h3 { font-size: 41px; margin: 5px 0; }
.local-card p { color: rgba(255,255,255,.65); font-size: 12px; }
.local-card a { display: inline-block; margin-top: 15px; color: var(--gold-light); font-size: 18px; letter-spacing: 1px; }

.articles-preview { background: #eeeadf; }
.split-heading.compact { grid-template-columns: 1fr auto; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { background: var(--paper); padding: 35px; min-height: 300px; display: flex; flex-direction: column; border-bottom: 3px solid transparent; transition: .25s ease; }
.article-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow); }
.article-card > span { font-size: 10px; color: #8d713f; }
.article-card h3 { font-size: 21px; line-height: 1.75; margin: 34px 0 12px; }
.article-card h2 { font-size: 23px; line-height: 1.75; margin: 34px 0 12px; }
.article-card p { font-size: 12px; color: var(--muted); margin: 0; }
.article-card small { margin-top: auto; color: var(--forest); font-weight: 700; }

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.faq-grid h2 { font-size: clamp(31px, 4vw, 47px); line-height: 1.6; margin: 0 0 18px; }
.faq-grid > div:first-child > p:last-child { color: var(--muted); font-size: 12px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 0 5px; }
.faq-list summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 14px; padding: 24px 0; position: relative; padding-left: 34px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "+"; position: absolute; left: 3px; color: #94743b; font-size: 22px; font-weight: 400; }
.faq-list details[open] summary::before { content: "−"; }
.faq-list details p { margin: -6px 0 24px; color: var(--muted); font-size: 12px; padding-left: 30px; }

.contact-section { background: var(--forest-deep); color: white; padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 95px; align-items: start; }
.contact-copy h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.52; margin: 0 0 22px; letter-spacing: -1.7px; }
.contact-copy > p { color: rgba(255,255,255,.65); font-size: 13px; }
.contact-direct { margin-top: 50px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); display: grid; }
.contact-direct small { color: rgba(255,255,255,.5); }
.contact-direct a { color: var(--gold-light); font-size: 27px; letter-spacing: 1px; margin: 4px 0; }
.contact-direct span { font-size: 11px; color: rgba(255,255,255,.6); }
.contact-form { background: var(--paper); color: var(--ink); padding: 45px; box-shadow: 0 25px 80px rgba(0,0,0,.18); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; color: #34463f; font-size: 11px; margin-bottom: 18px; }
.contact-form label span { color: #9e7038; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #d8d8d0; background: #fff; color: var(--ink); padding: 12px 14px; outline: none; transition: .2s ease; border-radius: 0; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,167,106,.15); }
.contact-form textarea { resize: vertical; }
.button-wide { width: 100%; border: 0; }
.form-note { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 10px; }
.form-status { min-height: 20px; margin: 5px 0 0; text-align: center; color: #806128; font-size: 10px; }

.site-footer { background: #041d18; color: white; padding: 75px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 80px; padding-bottom: 60px; }
.footer-grid .brand { margin-bottom: 20px; }
.footer-intro { max-width: 390px; color: rgba(255,255,255,.5); font-size: 12px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid h2 { font-size: 13px; color: var(--gold-light); margin: 0 0 14px; }
.footer-grid a, .footer-grid p { color: rgba(255,255,255,.55); font-size: 11px; margin: 0; }
.footer-grid a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; color: rgba(255,255,255,.35); font-size: 9px; }
.mobile-actions { display: none; }

/* Inner pages */
.inner-header .site-header, .article-layout .site-header { position: relative; background: var(--forest-deep); }
.page-hero { background: var(--forest); color: white; padding: 115px 0 90px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(201,167,106,.2); border-radius: 50%; left: -120px; top: -210px; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumbs { display: flex; gap: 8px; color: rgba(255,255,255,.48); font-size: 10px; margin-bottom: 26px; }
.breadcrumbs a:hover { color: white; }
.page-hero h1 { max-width: 850px; font-size: clamp(41px, 6vw, 70px); line-height: 1.45; letter-spacing: -2px; margin: 0; }
.page-hero .lead { max-width: 720px; color: rgba(255,255,255,.65); font-size: 15px; margin: 24px 0 0; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 75px; align-items: start; }
.rich-content { font-size: 14px; }
.rich-content h2 { font-size: 32px; line-height: 1.6; margin: 65px 0 18px; letter-spacing: -.7px; }
.rich-content h2:first-child { margin-top: 0; }
.rich-content h3 { font-size: 20px; margin: 34px 0 10px; }
.rich-content p { color: #53625d; }
.rich-content ul, .rich-content ol { color: #53625d; padding-right: 23px; }
.rich-content li { margin-bottom: 8px; }
.note-box { padding: 28px; background: var(--cream); border-right: 3px solid var(--gold); margin: 35px 0; color: #4b5b55; }
.side-cta { position: sticky; top: 30px; padding: 30px; background: var(--forest); color: white; }
.side-cta h2 { margin: 0 0 10px; font-size: 22px; }
.side-cta p { color: rgba(255,255,255,.62); font-size: 11px; }
.side-cta a { width: 100%; margin-top: 14px; }
.side-cta .side-phone { display: block; text-align: center; color: var(--gold-light); letter-spacing: .7px; }
.article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.article-list .article-card { border: 1px solid var(--line); }
.article-meta { display: flex; gap: 18px; margin-top: 22px; color: rgba(255,255,255,.5); font-size: 10px; }
.article-author { display: flex; align-items: center; gap: 10px; padding: 22px 0; border-top: 1px solid var(--line); margin-top: 55px; font-size: 11px; color: var(--muted); }
.author-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold-light); }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.not-found strong { font-family: Georgia, serif; font-size: 100px; color: var(--gold); line-height: 1; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero { min-height: auto; padding-top: 145px; }
  .hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .hero-copy { max-width: 690px; }
  .hero-visual { height: 520px; width: calc(100% - 30px); margin-right: auto; }
  .hero-caption { right: -20px; }
  .stats-strip { margin-top: 50px; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .service-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-image { min-height: 560px; }
  .experience-copy { padding: 85px 50px; }
  .local-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .local-card { width: min(100%, 500px); }
  .contact-copy { max-width: 720px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .content-layout { grid-template-columns: 1fr; }
  .side-cta { position: static; max-width: 500px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 61px; }
  .container { width: min(100% - 30px, 1180px); }
  .section { padding: 78px 0; }
  .header-inner { min-height: 78px; }
  .brand-mark { width: 39px; height: 39px; font-size: 24px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 8px; }
  .header-phone { padding-right: 12px; }
  .header-phone { display: none; }
  .hero { padding-top: 125px; }
  .hero h1 { font-size: 42px; line-height: 1.47; letter-spacing: -1.6px; }
  .hero-lead { font-size: 13px; }
  .hero-visual { height: 420px; }
  .hero-caption { width: 205px; bottom: 25px; }
  .stats-strip { grid-template-columns: 1fr 1fr; padding: 18px 0; }
  .stat { min-height: 80px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat strong { font-size: 28px; }
  .stat:nth-child(2) { border-left: 0; }
  .section-heading h2, .local-grid h2 { font-size: 32px; }
  .service-grid, .process-grid, .article-grid, .article-list { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; }
  .experience-image { min-height: 420px; }
  .experience-copy { padding: 70px 22px; }
  .experience-copy h2 { font-size: 31px; }
  .local-card { padding: 32px; box-shadow: 10px 10px 0 var(--gold-light); }
  .local-section::after { font-size: 100px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px 20px; }
  .contact-copy h2 { font-size: 35px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { display: grid; gap: 5px; }
  .mobile-actions { position: fixed; z-index: 100; bottom: 0; right: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; background: white; box-shadow: 0 -10px 35px rgba(0,0,0,.12); }
  .mobile-actions a { min-height: 61px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--forest); }
  .mobile-actions a:last-child { background: var(--gold); }
  .page-hero { padding: 80px 0 65px; }
  .page-hero h1 { font-size: 39px; }
  .page-hero .lead { font-size: 13px; }
  .rich-content h2 { font-size: 27px; }
}

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