:root {
  color-scheme: light;
  --ink: #24312d;
  --muted: #68736e;
  --green: #12483f;
  --brand: #176b5b;
  --brand-dark: #0d5145;
  --sand: #d9c6a5;
  --sand-light: #eee6d7;
  --cream: #f7f5ef;
  --white: #ffffff;
  --line: #e4e3dc;
  --shadow: 0 18px 55px rgba(25, 56, 48, .10);
  --radius: 1.4rem;
  --font: system-ui, "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .22em; }
a:hover { color: var(--brand); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #b7792b; outline-offset: 3px; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -5rem; z-index: 100; padding: .65rem 1rem; background: var(--white); border-radius: .6rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 245, 239, .94);
  border-bottom: 1px solid rgba(18, 72, 63, .08);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--green); white-space: nowrap; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-name { display: grid; line-height: 1.25; }
.brand-name strong { font-size: 1rem; font-weight: 800; }
.brand-name small { color: var(--muted); font-size: .69rem; font-weight: 500; }
.primary-nav { display: flex; align-items: center; gap: clamp(.65rem, 1.7vw, 1.45rem); }
.primary-nav a { color: #46534e; text-decoration: none; font-size: .88rem; font-weight: 650; white-space: nowrap; }
.primary-nav a[aria-current="page"], .primary-nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: .8rem; color: var(--green); cursor: pointer; }

.button {
  min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: .5rem;
  padding: .72rem 1.2rem; border: 1px solid transparent; border-radius: 999px;
  font-size: .94rem; font-weight: 750; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--brand); box-shadow: 0 8px 20px rgba(23, 107, 91, .18); }
.button-primary:hover { color: white; background: var(--brand-dark); }
.button-light { color: var(--green); background: white; border-color: var(--line); }
.button-light:hover { color: var(--brand); background: #fbfaf6; }
.button-outline { color: var(--green); border-color: rgba(18, 72, 63, .25); background: transparent; }
.button-outline:hover { background: var(--white); }
.button-small { min-height: 42px; padding: .55rem .95rem; font-size: .86rem; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--brand); font-weight: 750; text-decoration: none; }
.text-link::after { content: "←"; transition: transform .18s ease; }
.text-link:hover::after { transform: translateX(-3px); }

main { min-height: 65vh; }
.hero { padding-block: clamp(2.25rem, 6vw, 5.7rem); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.hero-copy { max-width: 570px; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; color: var(--brand); font-size: .83rem; font-weight: 800; letter-spacing: .01em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--sand); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--green); line-height: 1.35; text-wrap: balance; }
h1 { margin-bottom: 1.15rem; font-size: clamp(2.25rem, 5.2vw, 4.2rem); font-weight: 850; letter-spacing: -.035em; }
h2 { margin-bottom: .9rem; font-size: clamp(1.65rem, 3.4vw, 2.55rem); font-weight: 800; letter-spacing: -.025em; }
h3 { margin-bottom: .65rem; font-size: 1.2rem; font-weight: 780; }
.lead { max-width: 52ch; color: #53615b; font-size: clamp(1.04rem, 1.5vw, 1.2rem); line-height: 1.95; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.hero-note { display: flex; align-items: center; gap: .55rem; margin-top: 1.25rem; color: var(--muted); font-size: .86rem; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }
.hero-media { position: relative; min-height: 350px; }
.hero-photo { width: 100%; height: 100%; min-height: 350px; max-height: 540px; object-fit: cover; object-position: center; border-radius: 2.1rem .5rem 2.1rem .5rem; box-shadow: var(--shadow); }
.hero-media::before { content: ""; position: absolute; z-index: -1; inset: auto -1.1rem -1.1rem auto; width: 42%; height: 38%; border: 1px solid var(--sand); border-radius: .35rem 1.4rem .35rem 1.4rem; }
.media-caption { position: absolute; inset-inline-start: 1rem; bottom: 1rem; padding: .45rem .75rem; color: white; background: rgba(22, 47, 41, .72); border-radius: .55rem; font-size: .73rem; backdrop-filter: blur(8px); }

.section { padding-block: clamp(3.5rem, 7vw, 6.3rem); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-soft { background: #f0eee6; }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.04rem; }
.section-kicker { margin-bottom: .45rem; color: var(--brand); font-size: .82rem; font-weight: 800; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-card { position: relative; min-height: 250px; display: flex; flex-direction: column; align-items: flex-start; padding: 1.55rem; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .18s ease, box-shadow .18s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 1rem; color: var(--brand); background: #eaf2ee; border-radius: 15px 6px 15px 6px; }
.service-icon svg { width: 24px; height: 24px; }
.service-card p { color: var(--muted); font-size: .94rem; }
.service-card .text-link { margin-top: auto; }
.card-number { position: absolute; inset-inline-end: 1.25rem; top: .7rem; color: rgba(18, 72, 63, .09); font-size: 3.3rem; font-weight: 850; line-height: 1; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.split-copy p { color: #58655f; }
.note-panel { padding: 1.4rem 1.5rem; background: var(--sand-light); border-inline-start: 3px solid var(--sand); border-radius: .6rem 1.1rem 1.1rem .6rem; }
.note-panel p:last-child { margin-bottom: 0; }
.check-list { display: grid; gap: .75rem; padding: 0; margin: 1.25rem 0 0; list-style: none; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: 0 0 auto; width: 23px; height: 23px; display: grid; place-items: center; margin-top: .12rem; color: var(--brand-dark); background: #e5efe9; border-radius: 50%; font-size: .77rem; font-weight: 850; }
.coverage-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.6rem, 4vw, 3rem); color: white; background: var(--green); border-radius: 1.8rem .5rem 1.8rem .5rem; }
.coverage-band h2 { color: white; }
.coverage-band p { max-width: 54ch; margin-bottom: 0; color: rgba(255,255,255,.78); }
.coverage-band .button { flex: 0 0 auto; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.article-card { padding: 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: 1.15rem; }
.article-card .meta { margin-bottom: .55rem; color: var(--muted); font-size: .79rem; }
.article-card p { color: var(--muted); }
.article-card .text-link { margin-top: .4rem; }

.page-hero { padding-block: clamp(2.6rem, 6vw, 4.7rem) 2rem; }
.page-hero-inner { max-width: 820px; }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.1rem, 4.4vw, 3.65rem); }
.page-hero .lead { max-width: 65ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; padding: 1rem 0; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .separator { color: #a5aaa5; }
.prose { max-width: 790px; }
.prose p, .prose li { color: #4e5c56; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-inline-start: 1.4rem; }
.prose li { margin-block: .45rem; }
.prose a { color: var(--brand-dark); font-weight: 700; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: clamp(2rem, 5vw, 4rem); }
.article-aside { position: sticky; top: 105px; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; }
.article-aside p { color: var(--muted); font-size: .9rem; }
.article-aside .button { width: 100%; margin-top: .45rem; }
.article-date { color: var(--muted); font-size: .86rem; }

.faq-list { display: grid; gap: .7rem; }
details.faq-item { padding: 1rem 1.15rem; background: var(--white); border: 1px solid var(--line); border-radius: .95rem; }
details.faq-item summary { color: var(--green); font-weight: 750; cursor: pointer; }
details.faq-item p { margin: .8rem 0 0; color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr); gap: 2rem; align-items: start; }
.contact-card, .form-card { padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: 1.25rem; box-shadow: 0 10px 35px rgba(25,56,48,.045); }
.contact-method { display: flex; align-items: center; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.contact-method:last-child { border-bottom: 0; }
.contact-method .service-icon { flex: 0 0 auto; margin: 0; }
.contact-method p { margin: 0; color: var(--muted); font-size: .86rem; }
.contact-method a { color: var(--green); font-weight: 750; text-decoration: none; }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label { color: var(--green); font-size: .9rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .85rem; color: var(--ink); background: #fcfbf8; border: 1px solid #d8ddd8; border-radius: .7rem; }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { margin: .8rem 0 0; color: var(--muted); font-size: .8rem; }
.map-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: .65rem; color: var(--brand); font-weight: 750; text-decoration: none; }

.cta-strip { padding-block: 2rem; background: var(--sand-light); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cta-inner h2 { margin: 0; font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.cta-inner .hero-actions { margin: 0; }
.site-footer { padding-block: 3.2rem 1.2rem; color: rgba(255,255,255,.82); background: #153f37; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr; gap: 2rem; padding-bottom: 2rem; }
.site-footer .brand { color: white; }
.site-footer .brand-name small { color: rgba(255,255,255,.65); }
.footer-about { max-width: 42ch; margin-top: 1rem; color: rgba(255,255,255,.72); font-size: .9rem; }
.site-footer h3 { color: white; font-size: 1rem; }
.footer-links { display: grid; gap: .55rem; padding: 0; margin: .7rem 0 0; list-style: none; }
.footer-links a { color: rgba(255,255,255,.74); font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.64); font-size: .78rem; }
.floating-contact { position: fixed; z-index: 50; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: grid; gap: .6rem; }
.floating-contact a { width: 54px; height: 54px; display: grid; place-items: center; color: white; border-radius: 50%; box-shadow: 0 8px 25px rgba(12, 41, 35, .22); text-decoration: none; transition: transform .18s ease; }
.floating-contact a:hover { transform: translateY(-3px) scale(1.04); color: white; }
.floating-contact a svg { width: 25px; height: 25px; }
.float-whatsapp { background: #178c63; }
.float-phone { background: var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .primary-nav { gap: .75rem; }
  .primary-nav a { font-size: .82rem; }
  .header-actions .button { padding-inline: .8rem; }
  .hero-inner { gap: 2rem; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 250px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 1.5rem, 620px); }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name strong { font-size: .93rem; }
  .brand-name small { font-size: .64rem; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .primary-nav { position: absolute; inset-inline: .75rem; top: calc(100% + .4rem); display: none; align-items: stretch; gap: 0; padding: .45rem; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: .75rem .85rem; border-radius: .6rem; font-size: .95rem; }
  .primary-nav a:hover { background: var(--cream); }
  .header-actions .button { display: none; }
  .hero { padding-top: 2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-media { min-height: 250px; order: 2; }
  .hero-photo { min-height: 250px; max-height: 370px; }
  h1 { font-size: clamp(2.15rem, 10vw, 3.25rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 220px; }
  .split, .contact-layout, .article-layout { grid-template-columns: 1fr; }
  .split { gap: 1.5rem; }
  .article-aside { position: static; order: -1; }
  .coverage-band, .cta-inner { align-items: flex-start; flex-direction: column; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 420px) {
  .container { width: min(100% - 1.2rem, 620px); }
  .brand-name small { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 100%; }
  .floating-contact a { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
