:root {
  color-scheme: light;
  --ink: #132838;
  --muted: #526371;
  --paper: #f7f5f0;
  --surface: #fffdf8;
  --line: #d8e1e6;
  --dark: #0b2030;
  --accent: #b9dcee;
  font-family: Geist, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
.service-photo { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:6px; margin-bottom:22px; }
.project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.project-card { margin:0; background:var(--surface); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.project-photo { display:block; position:relative; }
.project-photo img { width:100%; aspect-ratio:4/3; object-fit:cover; transition:filter .2s; }
.project-photo:hover img { filter:brightness(.92); }
.project-photo span { position:absolute; bottom:12px; inset-inline-end:12px; background:var(--dark); color:white; border-radius:4px; padding:7px 10px; font-size:.875rem; }
.project-card figcaption { padding:18px; }
.project-card h3 { font-size:1.1rem; margin:0 0 8px; }
.project-card p { color:var(--muted); font-size:.9rem; margin:0; }
.whatsapp-link { margin:14px 0 24px; }
.portfolio-back { display:inline-block; margin-bottom:30px; }
.portfolio-page h1 { font-size:clamp(2.2rem,5vw,4rem); }
#photo-dialog { max-width:94vw; width:1100px; padding:12px; border:0; border-radius:8px; background:var(--dark); color:#fff; }
#photo-dialog::backdrop { background:rgb(0 0 0 / .85); }
#photo-dialog img { margin:auto; max-height:78vh; width:auto; object-fit:contain; }
#photo-dialog p { text-align:center; margin:14px 48px; }
.photo-close { position:absolute; top:16px; inset-inline-end:16px; width:44px; height:44px; border:0; border-radius:50%; color:#fff; background:#132838; font-size:28px; }
@media(max-width:900px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.header-inner{flex-wrap:wrap;}}
@media(max-width:560px){.project-grid{grid-template-columns:1fr;gap:18px;}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.project-photo img{transition:none}}
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #247eaa;
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 10; background: #fff; padding: 12px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 77px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { flex: 0 0 auto; display: block; width: 173px; }
.brand img { width: 100%; height: auto; }
nav { display: flex; gap: clamp(16px, 3vw, 42px); }
nav a, .site-footer a { text-decoration: none; font-size: .92rem; font-weight: 600; }
nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 17px;
  min-height: 52px; padding: 12px 20px; border: 1px solid var(--dark); border-radius: 4px;
  background: var(--dark); color: white; text-decoration: none; font-weight: 650; cursor: pointer;
}
.button:hover { background: #174260; border-color: #174260; }
.button-small { min-height: 42px; padding: 8px 14px; font-size: .9rem; }
.menu-toggle { background: transparent; border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; color: var(--ink); }
.hero { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(24px, 5vw, 70px); padding-block: 58px 66px; }
.hero-copy { padding-block: 13px; }
.location { margin: 0 0 24px; font-size: .86rem; font-weight: 650; color: #116a91; }
.location::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 9px; border-radius: 50%; background: #298fb9; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(3.05rem, 6vw, 5.65rem); line-height: .97; letter-spacing: -.073em; font-weight: 650; }
h1 em { display: block; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 1.1em; letter-spacing: -.035em; color: #116a91; }
h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 650; }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.026em; }
p { line-height: 1.6; }
.intro { margin-top: 24px; max-width: 33ch; font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: baseline; gap: 9px; font-weight: 650; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-photo { margin: 0; min-width: 0; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1.35; object-fit: cover; border-radius: 7px; background: #d8e3ea; }
figcaption { margin-top: 10px; color: var(--muted); font-size: .78rem; }
.section { padding-block: clamp(55px, 8vw, 105px); }
.services { background: #eef3f6; border-block: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; margin-bottom: 30px; }
.section-heading p { color: var(--muted); max-width: 55ch; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #c7d5dd; }
.service { padding: 26px clamp(18px, 2.6vw, 34px) 4px; border-inline-end: 1px solid #c7d5dd; display: flex; flex-direction: column; align-items: flex-start; }
.service:first-child { padding-inline-start: 0; }
.service:last-child { border-inline-end: 0; padding-inline-end: 0; }
.service p { color: var(--muted); margin-block: 12px 10px; }
.service-examples { margin: 0 0 22px; padding-inline-start: 1.1em; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.service-examples li + li { margin-top: 4px; }
.service-examples li::marker { color: #146d96; }
.service .text-link { margin-top: auto; font-size: .89rem; }
.service-symbol { width: 43px; height: 34px; margin-bottom: 22px; position: relative; color: #176d93; }
.symbol-building { border: 2px solid currentColor; background: repeating-linear-gradient(to right, transparent 0 8px, currentColor 8px 10px) center / 80% 6px repeat-y; }
.symbol-glass { border: 2px solid currentColor; }
.symbol-glass::after { content: ""; position: absolute; inset: 0 50% 0 0; border-inline-end: 2px solid currentColor; }
.symbol-pergola { border: 2px solid currentColor; border-bottom: 0; background: repeating-linear-gradient(to right, transparent 0 7px, currentColor 7px 9px, transparent 9px 10px) top / 100% 8px no-repeat; }
.symbol-renovation { border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; background: repeating-linear-gradient(to top, transparent 0 8px, currentColor 8px 10px); }
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.process > div > p { max-width: 41ch; margin-top: 17px; color: var(--muted); }
.process ol { list-style: none; margin: 0; padding: 0; counter-reset: steps; }
.process li { border-top: 1px solid var(--line); display: flex; gap: 17px; padding-block: 17px; }
.process li::before { counter-increment: steps; content: counter(steps) "."; color: #146d96; font-weight: 700; }
.process li p { color: var(--muted); margin-top: 6px; }
.faq { background: #eef3f6; border-top: 1px solid var(--line); }
.faq-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; }
.faq-items details { border-top: 1px solid #c7d5dd; }
.faq-items details:last-child { border-bottom: 1px solid #c7d5dd; }
.faq-items summary { padding: 14px 0; cursor: pointer; font-weight: 650; }
.faq-items summary:focus-visible { outline: 3px solid #247eaa; outline-offset: 3px; }
.faq-items p { padding-bottom: 15px; color: var(--muted); }
.contact { background: var(--dark); color: #f7f5ee; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(24px, 8vw, 112px); }
.contact-copy p { color: #d5e5ee; max-width: 37ch; margin-block: 17px 22px; }
.contact-email { display: inline-block; font-size: 1.15rem; font-weight: 650; color: #e2f1f9; text-underline-offset: 4px; overflow-wrap: anywhere; }
address { font-style: normal; line-height: 1.6; margin: 19px 0 12px; color: #d5e5ee; }
.quote-form { background: var(--surface); color: var(--ink); padding: clamp(19px, 4vw, 34px); border-radius: 6px; }
.quote-form h3 { margin-bottom: 19px; font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 650; min-width: 0; }
.quote-form > label { margin-block: 14px; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; min-height: 45px; padding: 10px; color: var(--ink); background: #fff; border: 1px solid #b8c9d3; border-radius: 4px; font-weight: 400; }
.quote-form textarea { resize: vertical; }
.form-note, #quote-status { font-size: .83rem; color: var(--muted); margin-top: 10px; }
#quote-status:empty { display: none; }
.copy-button { background: #e6f1f7; color: var(--ink); border: 1px solid #b8c9d3; padding: 8px 10px; margin-top: 10px; border-radius: 4px; font-weight: 650; }
#quote-text { margin-top: 10px; }
.footer-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner .brand { width: 135px; }
.footer-inner p { color: var(--muted); font-size: .87rem; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 35px 45px; }
  .hero-copy { padding-block: 0; }
  h1 { max-width: 13ch; }
  .hero-photo img { aspect-ratio: 1.62; }
  .contact-grid { gap: 26px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(odd) { padding-inline-start: 0; }
  .service:nth-child(even) { border-inline-end: 0; padding-inline-end: 0; }
  .service:nth-child(-n+2) { padding-bottom: 22px; border-bottom: 1px solid #c7d5dd; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 74px; }
  .wrap { width: calc(100% - 34px); }
  .header-inner { min-height: 63px; gap: 12px; flex-wrap: wrap; padding-block: 9px; }
  .brand { width: 139px; }
  .header-cta { display: none; }
  nav { display: grid; width: 100%; gap: 0; }
  nav a { padding: 10px 0; }
  nav a + a { border-top: 1px solid var(--line); }
  .section-heading, .service-grid, .process, .faq-inner, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: start; }
  .service { border: 0; border-bottom: 1px solid #c7d5dd; padding: 21px 0; }
  .service:last-child { border-bottom: 0; padding-bottom: 0; }
  .service-symbol { margin-bottom: 14px; }
  .process { gap: 22px; }
  .hero-actions { gap: 13px 18px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 24px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.language-switch { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.language-switch a { padding: 6px 5px; font-size: .83rem; text-decoration: none; border-radius: 4px; }
.language-switch a:hover, .language-switch a[aria-current="page"] { background: #e6f1f7; color: #0b2030; }
.language-switch a[aria-current="page"] { font-weight: 750; }
html[dir="rtl"] { font-family: Vazirmatn, Tahoma, Arial, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h1 em { letter-spacing: 0; line-height: 1.25; }
[dir="rtl"] h1 em { font-family: inherit; font-style: normal; font-size: 1em; }
.contact-email, input[type="email"] { direction: ltr; }
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 8px 12px; padding-block: 9px; }
  .header-cta { display: none; }
  .header-inner nav { order: 4; display: grid; width: 100%; gap: 0; }
  .header-inner nav a { padding: 9px 0; }
  .header-inner nav a + a { border-top: 1px solid var(--line); }
  .language-switch { margin-inline-start: auto; }
}
@media (max-width: 470px) {
  html { scroll-padding-top: 106px; }
  .header-inner .brand { width: 122px; }
  .header-inner .menu-toggle { margin-inline-start: auto; }
  .language-switch { width: 100%; justify-content: center; margin: 0; }
}

html[lang="ar"] { font-family: Tajawal, "Noto Sans Arabic", Arial, sans-serif; }
html[lang="ar"] body { line-height: 1.7; }
[lang="ar"] p, [lang="ar"] .service-examples { line-height: 1.75; }
[lang="ar"] h1 { font-size: clamp(2.65rem, 5.5vw, 5rem); line-height: 1.25; }
[lang="ar"] h1 em { line-height: inherit; }
