/*
Theme Name: Lilac Group
Theme URI: https://lilacintgroup.com/
Author: Lilac Group
Description: قالب WordPress متجاوب بثلاث لغات (العربية والإنجليزية والتركية) يعيد بناء واجهة Lilac Group مع نموذج طلب خدمة متوافق مع SMTP.
Version: 1.1.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: lilac-group
Domain Path: /languages
*/
:root {
  --purple: #5a3a82;
  --purple-deep: #4b2e70;
  --purple-mid: #74439a;
  --purple-light: #a56dcc;
  --ink: #252033;
  --muted: #6f6978;
  --line: #eee8f3;
  --paper: #ffffff;
  --soft: #fbf9fd;
  --green: #25d366;
  --shadow: 0 16px 45px rgba(66, 39, 95, .12);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}
body {
  margin: 0;
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.8;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden !important;
  position: relative;
}
img { display: block; max-width: 100%; }
#page, .site, .site-header, main, section, .site-footer {
  max-width: 100%;
}
main, section, .site-footer {
  overflow-x: hidden;
}
.container,
.header-inner,
.hero-layout,
.stats-wrap,
.about-layout,
.contact-layout,
.footer-grid,
.footer-bottom,
.footer-grid > *,
.about-layout > *,
.contact-layout > * {
  min-width: 0;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: calc(100% - 44px); max-width: 1180px; margin-inline: auto; }
.skip-link { position: fixed; top: -100px; right: 20px; z-index: 9999; padding: 10px 16px; background: #fff; color: var(--purple); border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 18px; }

.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(91, 58, 130, .08);
  position: relative;
  z-index: 50;
}
.header-inner { height: 88px; display: flex; align-items: center; gap: 36px; }
.brand { width: 190px; margin-inline-start: 0; }
.brand img { width: 100%; height: 76px; object-fit: contain; }
.main-nav { margin-inline: auto; display: flex; align-items: center; gap: 28px; font-size: 14.3px; font-weight: 500; color: #5a4d68; }
.main-nav > a { position: relative; padding: 30px 0 26px; }
.main-nav > a::after { content: ""; position: absolute; right: 50%; left: 50%; bottom: 20px; height: 2px; background: var(--purple); transition: .2s; }
.main-nav > a:hover::after, .main-nav > a.active::after { right: 0; left: 0; }
.language-switcher { display: flex; gap: 9px; border-inline-start: 1px solid var(--line); padding-inline-start: 18px; }
.language-switcher button, .language-switcher a { border: 0; padding: 3px; background: transparent; color: var(--purple); font-size: 12.1px; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; background: var(--purple); color: #fff; padding: 10px 15px; font-size: 12.1px; min-width: 166px; justify-content: center; }
.header-phone svg { width: 14px; fill: currentColor; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 8px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--purple); transition: .25s; }

.hero-section { position: relative; min-height: 630px; background: #fff; overflow: hidden; }
.hero-backdrop {
  position: absolute;
  inset: 0 8.5% 0 0;
  background-image: linear-gradient(90deg, rgba(73, 44, 111, .05), rgba(62, 31, 91, .22)), url("assets/images/hero-archive.jpg");
  background-size: cover;
  background-position: center top;
  filter: saturate(.82) contrast(1.04);
}
.hero-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(66, 38, 103, .17)); }
.hero-layout { min-height: 630px; position: relative; }
.hero-copy {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 520px;
  min-height: 300px;
  background: var(--purple);
  color: #fff;
  padding: 46px 60px 34px;
  text-align: right;
  overflow: hidden;
}
.hero-copy::before, .hero-copy::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.hero-copy::before { width: 330px; height: 330px; left: -175px; bottom: -170px; }
.hero-copy::after { width: 230px; height: 230px; right: -155px; top: -120px; }
.hero-copy h1 { position: relative; z-index: 1; margin: 0 0 18px; font-size: clamp(30.8px, 3vw, 46.2px); line-height: 1.35; font-weight: 600; }
.hero-copy p { position: relative; z-index: 1; margin: 0 0 22px; font-size: 15.4px; color: rgba(255,255,255,.91); }
.hero-button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; min-width: 112px; min-height: 39px; padding: 7px 18px; background: #7a4a9d; color: #fff; font-size: 13.2px; font-weight: 600; border-radius: 2px; }
.hero-button:hover { background: #8b57ae; }

.stats-section { position: relative; background: #fff; min-height: 126px; }
.stats-wrap { display: flex; justify-content: flex-start; gap: 105px; padding-left: 120px; transform: translateY(-1px); direction: ltr; }
.stat-item { direction: rtl; display: flex; align-items: center; gap: 18px; min-width: 150px; padding-top: 13px; }
.stat-icon { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; }
.stat-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.stat-blue { color: #7473d8; background: #e8eafc; }
.stat-mint { color: #31c4b5; background: #dcf8f4; }
.stat-item strong { display: block; color: #41335a; font-size: 27.5px; line-height: 1.15; }
.stat-item sup { color: #46b7c0; font-size: 16.5px; margin-inline-start: 4px; }
.stat-item small { display: block; color: #77707e; font-size: 12.1px; margin-top: 5px; }

.about-section { padding: 90px 0 70px; background: #fff; }
.about-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 58px; align-items: center; direction: ltr; }
.about-layout > * { direction: rtl; }
.about-illustration { position: relative; min-width: 0; min-height: 660px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; overflow: clip; }
.about-illustration > img { width: 410px; max-height: 640px; object-fit: contain; position: relative; z-index: 2; }
.orbit { position: absolute; border: 1px solid rgba(91,58,130,.28); border-radius: 50%; z-index: 0; }
.orbit-one { width: 550px; height: 550px; left: 15px; bottom: 15px; border-right-color: transparent; border-bottom-color: transparent; transform: rotate(35deg); }
.orbit-two { width: 450px; height: 450px; left: 55px; bottom: 70px; border-left-color: transparent; border-top-color: transparent; transform: rotate(-20deg); }
.floating-service { position: absolute; z-index: 4; display: grid; grid-template-columns: 34px auto; align-items: center; column-gap: 8px; min-width: 178px; padding: 10px 13px; background: #fff; border: 1px solid #eee9f3; box-shadow: 0 8px 24px rgba(63, 37, 92, .09); font-size: 13.2px; }
.floating-service span { grid-row: 1 / span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f4eff8; }
.floating-service b { font-weight: 600; }
.floating-service small { color: #8c8691; font-size: 9.9px; line-height: 1.3; }
.floating-one { left: 0; top: 60px; }
.floating-two { right: 10px; top: 48px; }
.floating-three { left: -8px; top: 340px; }
.floating-four { right: 0; bottom: 22px; }

.small-title { display: inline-flex; align-items: center; gap: 8px; color: #5f4a79; font-size: 14.3px; font-weight: 600; }
.small-title > span { width: 9px; height: 9px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.small-title > span::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: currentColor; position: absolute; inset: 1px; margin: auto; }
.small-title.light { color: #fff; }
.about-content h2 { margin: 16px 0 18px; font-size: clamp(27.5px, 2.4vw, 39.6px); line-height: 1.55; font-weight: 500; }
.about-content > p { margin: 0 0 20px; color: #8b8390; font-size: 15.4px; }
.translation-list { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin: 18px 0 28px; }
.translation-list ul { list-style: none; margin: 0; padding: 0; }
.translation-list li { position: relative; color: #6d6575; font-size: 14.3px; padding-right: 17px; margin: 7px 0; }
.translation-list li::before { content: "●"; position: absolute; right: 0; top: 0; color: #814a9f; font-size: 9.9px; }
.about-quote { position: relative; border-top: 1px solid #f0ebf4; padding-top: 20px; padding-left: 96px; }
.quote-symbol { position: absolute; left: 72px; top: 5px; font-family: Georgia, serif; font-size: 52.8px; color: #e2d6eb; line-height: 1; }
.about-quote > p { margin: 0 0 14px; font-size: 15.4px; font-style: italic; font-weight: 600; color: #4e4657; }
.ceo-mini { display: flex; align-items: center; gap: 12px; }
.ceo-mini img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: center 12%; }
.ceo-mini strong, .ceo-mini small { display: block; }
.ceo-mini strong { color: #744199; font-size: 16.5px; }
.ceo-mini small { color: #7e7685; font-size: 11px; }

.languages-section { position: relative; background: var(--purple); color: #fff; padding: 68px 0; overflow: hidden; }
.languages-section::before, .languages-section::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.languages-section::before { width: 420px; height: 420px; right: -180px; top: -160px; }
.languages-section::after { width: 280px; height: 280px; left: 15%; bottom: -220px; }
.languages-inner { position: relative; z-index: 1; text-align: center; }
.languages-inner .small-title { justify-content: center; }
.languages-inner h2 { margin: 12px 0 9px; font-size: 24.2px; font-weight: 500; }
.languages-inner p { margin: 0; color: rgba(255,255,255,.9); font-size: 15.4px; }

.testimonials-section { padding: 80px 0 0; background: #fff; }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 35px; }
.section-heading .small-title { justify-content: center; }
.section-heading h2 { margin: 7px 0 8px; font-size: 39.6px; line-height: 1.35; font-weight: 500; }
.section-heading p { margin: 0; color: #8c8493; font-size: 14.3px; }
.testimonial-card { position: relative; max-width: 980px; min-height: 310px; margin: auto; padding: 40px 90px 32px; background: #7b489c; color: #fff; overflow: hidden; }
.testimonial-pattern { position: absolute; inset: 0; opacity: .15; background-image: radial-gradient(circle at 0 0, transparent 0 95px, #fff 96px 97px, transparent 98px), radial-gradient(circle at 100% 100%, transparent 0 130px, #fff 131px 132px, transparent 133px); }
.testimonial-track { position: relative; z-index: 2; min-height: 220px; }
.testimonial { display: none; text-align: center; animation: testimonialFade .4s ease; }
.testimonial.active { display: block; }
@keyframes testimonialFade { from { opacity: .2; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.testimonial-quote { display: block; font-family: Georgia, serif; font-size: 59.4px; line-height: .8; color: #fff; }
.stars { color: #ffca4e; font-size: 14.3px; letter-spacing: 3px; margin: 4px 0 10px; }
.testimonial > p { margin: 0 auto 20px; max-width: 810px; color: rgba(255,255,255,.95); font-size: 14.3px; line-height: 2; }
.testimonial-user { display: inline-flex; align-items: center; gap: 10px; text-align: right; }
.testimonial-user img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.8); }
.testimonial-user strong, .testimonial-user small { display: block; }
.testimonial-user strong { font-size: 13.2px; }
.testimonial-user small { font-size: 9.9px; color: rgba(255,255,255,.75); }
.testimonial-arrow { position: absolute; top: 50%; z-index: 4; transform: translateY(-50%); border: 0; background: rgba(255,255,255,.13); color: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 25.3px; }
.testimonial-arrow.prev { left: 24px; }
.testimonial-arrow.next { right: 24px; }
.testimonial-dots { position: relative; z-index: 3; display: flex; direction: ltr; justify-content: center; gap: 6px; margin-top: 10px; }
.testimonial-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); }
.testimonial-dots button.active { background: #fff; }

.process-section { position: relative; background: var(--purple); color: #fff; padding: 75px 0 85px; overflow: hidden; }
.process-section::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 12% 14%, transparent 0 130px, rgba(255,255,255,.07) 131px 132px, transparent 133px), radial-gradient(circle at 82% 70%, transparent 0 170px, rgba(255,255,255,.06) 171px 172px, transparent 173px); }
.section-heading.light { position: relative; z-index: 1; color: #fff; }
.section-heading.light h2 { color: #fff; }
.process-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.process-card { background: #fff; color: var(--ink); text-align: center; padding: 25px 18px 28px; min-height: 250px; }
.process-icon { width: 58px; height: 58px; margin: 0 auto 15px; display: grid; place-items: center; border-radius: 50%; background: #ead7f4; color: #844da3; font-size: 26.4px; }
.process-card h3 { margin: 0 0 9px; font-size: 18.7px; font-weight: 600; color: #4a3a5d; }
.process-card p { margin: 0; color: #817989; font-size: 13.2px; line-height: 2; }

.contact-section { padding: 90px 0 100px; background: #fff; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: center; direction: ltr; }
.contact-layout > * { direction: rtl; }
.request-form { background: #fff; padding: 35px 38px; box-shadow: 0 18px 45px rgba(67, 39, 95, .12); border: 1px solid #f6f2f8; }
.form-grid.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-main-columns { align-items: start; margin-top: 1px; }
.request-form label { display: block; margin-bottom: 11px; color: #4f435c; font-size: 12.1px; font-weight: 600; }
.request-form label > span:not(.file-ui) { color: #d43131; }
.request-form input, .request-form select, .request-form textarea { width: 100%; margin-top: 5px; padding: 9px 10px; border: 1px solid #ece7ef; background: #fbfafc; color: #3e3547; font-size: 12.1px; outline: none; border-radius: 2px; transition: .2s; }
.request-form input:focus, .request-form select:focus, .request-form textarea:focus { border-color: #a87bc0; box-shadow: 0 0 0 3px rgba(123,72,156,.07); }
.request-form textarea { resize: vertical; min-height: 130px; }
.file-field input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-ui { display: flex; align-items: center; margin-top: 5px; border: 1px solid #ece7ef; background: #fbfafc; min-height: 38px; color: #8d8493 !important; }
.file-ui b { align-self: stretch; display: flex; align-items: center; padding: 0 13px; background: #8350a0; color: #fff; font-size: 11px; font-weight: 500; }
.file-ui em { padding: 0 11px; font-style: normal; font-size: 11px; }
.form-submit { display: inline-flex; align-items: center; gap: 8px; border: 0; background: #654188; color: #fff; min-width: 86px; padding: 9px 16px; justify-content: center; font-size: 12.1px; border-radius: 2px; float: left; }
.form-submit svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.form-status { clear: both; min-height: 22px; margin: 12px 0 0; color: var(--purple); font-size: 11px; }
.contact-content h2 { margin: 12px 0 16px; font-size: 36.3px; font-weight: 500; color: #3e3152; }
.contact-content > p { margin: 0 0 30px; color: #8c8392; font-size: 15.4px; line-height: 2; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 34px; }
.contact-details > * { display: flex; align-items: flex-start; gap: 11px; }
.detail-icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-size: 17.6px; }
.detail-blue { background: #e4f0ff; color: #5095dc; }
.detail-mint { background: #e1f7f4; color: #44b8ad; }
.detail-lavender { background: #ede6f7; color: #7862c1; }
.detail-green { background: #e8f7df; color: #72ba4a; }
.contact-details strong, .contact-details small { display: block; }
.contact-details strong { color: #4b3b5d; font-size: 14.3px; margin-bottom: 2px; }
.contact-details small { color: #8d8593; font-size: 11px; }

.site-footer { position: relative; background: var(--purple); color: #fff; padding: 68px 0 20px; overflow: hidden; }
.footer-pattern { position: absolute; inset: 0; opacity: .11; background-image: radial-gradient(circle at 12% 10%, transparent 0 160px, #fff 161px 162px, transparent 163px), radial-gradient(circle at 85% 100%, transparent 0 130px, #fff 131px 132px, transparent 133px); }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .7fr 1fr; gap: 80px; }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.footer-contact-list { list-style: none; margin: 0 0 17px; padding: 0; }
.footer-contact-list li { color: rgba(255,255,255,.87); font-size: 12.1px; margin: 7px 0; overflow-wrap: anywhere; }
.social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  direction: ltr;
}
.social-links a {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.social-links a:hover,
.social-links a:focus-visible { transform: translateY(-2px); border-color: transparent; outline: none; }
.social-links svg { display: block; width: 14px; height: 16px; fill: currentColor; }
.social-links .social-facebook svg { width: 10px; }
.social-links .social-twitter svg { width: 15px; }
.social-links .social-instagram svg { width: 15px; }
.social-links .social-linkedin svg { width: 14px; }
.social-links .social-telegram svg { width: 16px; height: 16px; }
.social-links .social-facebook:hover, .social-links .social-facebook:focus-visible { background: #1877f2; }
.social-links .social-twitter:hover, .social-links .social-twitter:focus-visible { background: #1da1f2; }
.social-links .social-instagram:hover, .social-links .social-instagram:focus-visible { background: #c13584; }
.social-links .social-linkedin:hover, .social-links .social-linkedin:focus-visible { background: #0a66c2; }
.social-links .social-telegram:hover, .social-links .social-telegram:focus-visible { background: #229ed9; }
.site-footer h3 { margin: 0 0 16px; font-size: 16.5px; font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.87); font-size: 13.2px; }
.footer-about p { margin: 0; color: rgba(255,255,255,.88); font-size: 13.2px; line-height: 2; }
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.82); font-size: 11px; direction: ltr; }
.footer-bottom > * { direction: rtl; }
.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(23, 93, 48, .28);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.03);
  background: #20bd5a;
  box-shadow: 0 14px 34px rgba(23, 93, 48, .34);
  outline: none;
}
.whatsapp-float svg { display: block; width: 29px; height: 34px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .header-phone { display: none; }
  .hero-backdrop { inset-inline-end: 0; }
  .hero-copy { left: 0; }
  .stats-wrap { padding-left: 35px; }
  .about-layout { gap: 30px; }
  .floating-one { left: 10px; }
  .floating-two { right: 0; }
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-layout { gap: 45px; }
  .footer-grid { gap: 45px; }
}

@media (max-width: 820px) {
  .header-inner { height: 74px; }
  .brand { width: 155px; }
  .brand img { height: 62px; }
  .menu-toggle { display: flex; margin-inline-start: auto; }
  .main-nav { position: fixed; inset: 74px 15px auto 15px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 15px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav > a { padding: 9px 12px; }
  .main-nav > a::after { display: none; }
  .language-switcher { border: 0; padding: 7px 10px 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-section, .hero-layout { min-height: 620px; }
  .hero-backdrop { inset: 0; background-position: 58% top; }
  .hero-copy { width: min(92%, 520px); left: 0; min-height: 275px; padding: 38px 40px 30px; }
  .stats-wrap { justify-content: center; padding: 0; gap: 55px; }
  .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .about-layout { direction: rtl; }
  .about-illustration { min-height: 620px; order: 2; }
  .about-content { order: 1; }
  .contact-layout { direction: rtl; }
  .request-form { order: 2; }
  .contact-content { order: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 28px); max-width: 1180px; }
  .hero-section, .hero-layout { min-height: 540px; }
  .hero-backdrop { background-position: center top; }
  .hero-copy { width: 100%; min-height: 230px; padding: 28px 24px 24px; }
  .hero-copy h1 { font-size: 29.7px; }
  .hero-copy p { font-size: 13.2px; }
  .stats-section { min-height: auto; padding: 18px 0 25px; }
  .stats-wrap {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .stat-item { min-width: 0; gap: 8px; justify-content: center; }
  .stat-icon { width: 48px; height: 48px; }
  .stat-item strong { font-size: 23.1px; }
  .about-section { padding-top: 60px; }
  .about-content h2 { font-size: 26.4px; }
  .translation-list { grid-template-columns: 1fr; gap: 0; }
  .about-illustration {
    min-height: 540px;
    width: 100%;
    max-width: 100%;
    transform: none;
    margin-inline: 0;
    overflow: hidden;
  }
  .about-illustration > img { width: min(82vw, 350px); max-width: 88%; }
  .orbit-one { width: min(128vw, 470px); height: min(128vw, 470px); left: 50%; bottom: 10px; transform: translateX(-50%) rotate(35deg); }
  .orbit-two { width: min(104vw, 385px); height: min(104vw, 385px); left: 50%; bottom: 58px; transform: translateX(-50%) rotate(-20deg); }
  .floating-service { min-width: 0; max-width: 46%; padding: 8px; font-size: 11px; }
  .floating-one { left: 5px; }
  .floating-two { right: 5px; }
  .floating-three { left: 0; }
  .floating-four { right: 0; }
  .testimonial-card { padding: 35px 43px 28px; }
  .testimonial-arrow.prev { left: 6px; }
  .testimonial-arrow.next { right: 6px; }
  .process-grid { grid-template-columns: 1fr; }
  .form-grid.two-columns, .contact-details { grid-template-columns: 1fr; }
  .request-form { padding: 25px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-about { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 27px; height: 31px; }
}

/* Mobile overflow and footer alignment hardening */
@media (max-width: 600px) {
  .header-inner,
  .main-nav,
  .hero-copy,
  .stats-wrap,
  .about-layout,
  .about-illustration,
  .testimonial-card,
  .process-grid,
  .contact-layout,
  .request-form,
  .footer-grid,
  .footer-bottom { max-width: 100%; }

  .main-nav { max-width: calc(100% - 30px); }
  .hero-copy { left: 0; right: auto; }
  .testimonial-card { width: 100%; }
  .request-form input,
  .request-form select,
  .request-form textarea,
  .file-ui { min-width: 0; max-width: 100%; }

  .footer-brand,
  .footer-links,
  .footer-about { width: 100%; text-align: right; }
  .social-links { justify-content: flex-end; margin-right: 0; margin-left: auto; }
}

html[dir="ltr"] .social-links { justify-content: flex-end; }
@media (max-width: 600px) {
  html[dir="ltr"] .footer-brand,
  html[dir="ltr"] .footer-links,
  html[dir="ltr"] .footer-about { text-align: left; }
}

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


/* WordPress theme integration */
body.admin-bar .site-header { margin-top: 0; }
.custom-logo-link { display: block; width: 100%; height: 100%; }
.custom-logo { width: 100%; height: 76px; object-fit: contain; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.form-honeypot {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.form-honeypot input {
  position: absolute !important;
  inset: 0 !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.form-submit[disabled] { opacity: .65; cursor: wait; }
.form-status.is-success { color: #198754; }
.form-status.is-error { color: #b42318; }
.file-field.has-error .file-ui,
.request-form input[aria-invalid="true"],
.request-form select[aria-invalid="true"],
.request-form textarea[aria-invalid="true"] { border-color: #b42318; }
@media (max-width: 782px) {
  body.admin-bar .main-nav { top: 120px; }
}


/* Built-in AR / EN / TR language system */
.language-switcher .language-option {
  min-width: 27px;
  text-align: center;
  border-radius: 4px;
  transition: background-color .2s, color .2s;
}
.language-switcher .language-option:hover,
.language-switcher .language-option.active {
  background: var(--purple);
  color: #fff;
}

html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
  font-family: "Inter", "Cairo", Arial, sans-serif;
}
html[dir="ltr"] .hero-copy { text-align: left; }
html[dir="ltr"] .about-layout > *,
html[dir="ltr"] .contact-layout > * { direction: ltr; }
html[dir="ltr"] .stat-item { direction: ltr; }
html[dir="ltr"] .translation-list li { padding-right: 0; padding-left: 17px; }
html[dir="ltr"] .translation-list li::before { right: auto; left: 0; }
html[dir="ltr"] .testimonial-user { text-align: left; }
html[dir="ltr"] .footer-bottom > * { direction: ltr; }
html[dir="ltr"] .request-form input,
html[dir="ltr"] .request-form select,
html[dir="ltr"] .request-form textarea { text-align: left; }
html[dir="ltr"] .form-submit { float: right; }
html[dir="ltr"] .file-ui { flex-direction: row; }
html[dir="ltr"] .main-nav { font-size: 13.2px; gap: 22px; }
html[dir="ltr"] .about-content h2 { font-size: clamp(25.3px, 2.2vw, 35.2px); line-height: 1.45; }
html[dir="ltr"] .contact-content h2 { line-height: 1.35; }
html[dir="ltr"] .floating-service { text-align: left; }

@media (max-width: 820px) {
  html[dir="ltr"] .about-layout,
  html[dir="ltr"] .contact-layout { direction: ltr; }
  html[dir="ltr"] .main-nav { text-align: left; }
}


/* 1.1.3 — iOS Safari horizontal-scroll containment */
.site-header,
main,
.site-footer {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 820px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
  }

  body > .site-header,
  body > main,
  body > .site-footer {
    width: 100%;
    max-width: 100%;
  }

  .container {
    width: calc(100% - 28px);
    max-width: calc(100vw - 28px);
  }

  .header-inner,
  .hero-layout,
  .stats-wrap,
  .about-layout,
  .about-illustration,
  .languages-inner,
  .section-heading,
  .testimonial-card,
  .process-grid,
  .contact-layout,
  .request-form,
  .contact-content,
  .footer-grid,
  .footer-bottom {
    min-width: 0;
    max-width: 100%;
  }

  .main-nav {
    left: 15px;
    right: 15px;
    width: auto;
    max-width: none;
  }

  .hero-backdrop,
  .hero-copy {
    max-width: 100%;
  }

  .hero-copy {
    left: 0;
    right: 0;
    width: auto;
  }

  .social-links {
    width: 100%;
    max-width: 100%;
    justify-content: flex-end;
    margin-inline: 0;
  }

  html[dir="rtl"] .social-links,
  html[dir="ltr"] .social-links {
    justify-content: flex-end;
  }
}
