/* =========================================================
   MILANO PALACE REAL ESTATE — Main Stylesheet
   Stack : Pure HTML5 + CSS3 · No frameworks
   Scope : Shared across AR (RTL) and EN (LTR) pages
   ========================================================= */

/* ── Google Fonts ──────────────────────────────────────────
   Preconnect links belong in <head>; this @import is the
   font-load request. Both are needed for best performance. */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&family=Cairo:wght@400;500;700&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Inter:wght@400;500;600;700&display=swap');


/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  /* Brand palette */
  --color-navy:       #0B1E3F;
  --color-navy-dark:  #061229;
  --color-gold:       #C9A961;
  --color-gold-light: #E0C68A;
  --color-gold-hover: #D4B574;   /* warmer/deeper — used for btn hover */
  --color-cream:      #FAF7F0;
  --color-charcoal:   #1A1A1A;
  --color-gray:       #6B7280;
  --color-light:      #F5F5F5;
  --color-white:      #FFFFFF;
  --color-wa:         #25D366;   /* WhatsApp green */

  /* Typography */
  --font-ar:          'Tajawal', 'Cairo', system-ui, sans-serif;
  --font-en-display:  'Playfair Display', Georgia, serif;
  --font-en-body:     'Inter', system-ui, sans-serif;

  /* Layout */
  --container:        min(1280px, 92vw);
  --section-py:       clamp(4rem, 8vw, 7rem);

  /* Border radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(11,30,63,.08);
  --shadow-lg:  0 20px 60px rgba(11,30,63,.15);

  /* Motion */
  --ease:       cubic-bezier(.4, 0, .2, 1);
  --dur:        260ms;
  --transition: var(--dur) var(--ease);
}


/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img, video, svg, picture { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; background: none; border: none; }


/* =========================================================
   BODY BASE — font-family driven by lang attribute on <html>
   ========================================================= */
html[lang="ar"],
html[lang="ar"] body {
  font-family:   var(--font-ar);
  color:         var(--color-charcoal);
  background:    var(--color-white);
  line-height:   1.75;
  font-size:     clamp(.95rem, 1.1vw, 1.05rem);
}

html[lang="en"],
html[lang="en"] body {
  font-family:   var(--font-en-body);
  color:         var(--color-charcoal);
  background:    var(--color-white);
  line-height:   1.75;
  font-size:     clamp(.95rem, 1.1vw, 1.05rem);
}

body { min-height: 100vh; }


/* =========================================================
   SKIP TO CONTENT (accessibility)
   ========================================================= */
.skip-link {
  position: absolute;
  top: -100%;
  inset-inline-start: 1rem;
  background: var(--color-navy);
  color:      var(--color-white);
  padding:    .5rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }


/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-py);
}
.section--cream     { background: var(--color-cream); }
.section--light     { background: var(--color-light); }
.section--navy      { background: var(--color-navy);  color: var(--color-white); }
.section--navy-dark { background: var(--color-navy-dark); color: var(--color-white); }


/* =========================================================
   TYPOGRAPHY
   ========================================================= */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6 {
  font-family: var(--font-ar);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-navy);
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4,
html[lang="en"] h5,
html[lang="en"] h6 {
  font-family: var(--font-en-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
}

h1 { font-size: clamp(2.4rem,  5vw,   4.5rem); }
h2 { font-size: clamp(1.8rem,  3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem,  2.2vw, 1.8rem); }
h4 { font-size: clamp(1.1rem,  1.6vw, 1.35rem); }
h5 { font-size: clamp(1rem,    1.2vw, 1.15rem); }
h6 { font-size: 1rem; }

p  { max-width: 70ch; }

/* On dark backgrounds, headings become white */
.section--navy    h1,
.section--navy    h2,
.section--navy    h3,
.section--navy    h4,
.section--navy-dark h1,
.section--navy-dark h2,
.section--navy-dark h3 { color: var(--color-white); }

/* Utilities */
.text-gold   { color: var(--color-gold); }
.text-white  { color: var(--color-white); }
.text-gray   { color: var(--color-gray); }
.text-navy   { color: var(--color-navy); }
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* Gold underline beneath section headings */
.heading-underline {
  display: inline-block;
  position: relative;
  padding-bottom: .65rem;
}
.heading-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 3rem;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
}
.text-center .heading-underline::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Gold accent line above hero headings */
.accent-line {
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

/* Section subtitle */
.section-intro {
  color: var(--color-gray);
  margin-top: .75rem;
  margin-inline: auto;
  max-width: 58ch;
}


/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             .5rem;
  padding:         .85rem 2rem;
  border-radius:   var(--radius-sm);   /* body sections use this */
  font-size:       .95rem;
  font-weight:     600;
  letter-spacing:  .04em;
  text-decoration: none;
  border:          2px solid transparent;
  white-space:     nowrap;
  line-height:     1;
  transition:
    transform      var(--transition),
    box-shadow     var(--transition),
    background     var(--transition),
    color          var(--transition),
    border-color   var(--transition);
}

.btn:focus-visible {
  outline:        2px solid var(--color-gold);
  outline-offset: 3px;
  box-shadow:     0 0 0 4px rgba(201,169,97,.2);
}

/* Pill modifier — hero buttons only */
.btn-pill { border-radius: 999px; }

/* Small variant */
.btn-sm { padding: .6rem 1.4rem; font-size: .875rem; }

/* Primary — gold bg + navy text */
.btn-primary {
  background:   var(--color-gold);
  color:        var(--color-navy-dark);
  border-color: var(--color-gold);
}
.btn-primary:hover {
  background:   var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  transform:    translateY(-2px);
  box-shadow:   0 8px 24px rgba(11,30,63,.2);
}

/* Secondary — outline gold */
.btn-secondary {
  background:   transparent;
  color:        var(--color-gold);
  border-color: var(--color-gold);
}
.btn-secondary:hover {
  background:   var(--color-gold);
  color:        var(--color-navy-dark);
  transform:    translateY(-2px);
  box-shadow:   0 8px 24px rgba(11,30,63,.2);
}

/* Ghost — outline white, hero use */
.btn-ghost {
  background:   transparent;
  color:        var(--color-white);
  border-color: rgba(255,255,255,.55);
}
.btn-ghost:hover {
  background:   rgba(255,255,255,.1);
  border-color: var(--color-white);
  transform:    translateY(-2px);
}

/* WhatsApp variant */
.btn-wa {
  background:   var(--color-wa);
  color:        var(--color-white);
  border-color: var(--color-wa);
}
.btn-wa:hover {
  background:   #1EBD5B;
  border-color: #1EBD5B;
  transform:    translateY(-2px);
  box-shadow:   0 8px 24px rgba(37,211,102,.3);
}


/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--color-white);
  border-bottom: 1px solid rgba(11,30,63,.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(11,30,63,.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.header-logo a   { display: block; }
.header-logo img { height: 48px; width: auto; }

/* Desktop nav — hidden on mobile */
.main-nav { display: none; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.main-nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--color-navy);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
  transition: width var(--transition);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--color-gold); }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.lang-toggle {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  color: var(--color-navy);
  padding: .3rem .75rem;
  border: 1.5px solid var(--color-navy);
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}
.lang-toggle:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.header-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-wa);
  color: var(--color-white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.header-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
}
.header-wa-btn svg { width: 20px; height: 20px; }

/* Mobile hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform  var(--transition),
    opacity    var(--transition),
    width      var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--color-white);
  z-index: 890;
  overflow-y: auto;
  border-top: 1px solid rgba(11,30,63,.07);
  padding: 1.5rem 1.25rem;
}
.mobile-nav.open { display: block; }
.mobile-nav ul   { display: flex; flex-direction: column; }
.mobile-nav a {
  display: block;
  padding: 1rem .25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy);
  border-bottom: 1px solid rgba(11,30,63,.06);
  transition: color var(--transition), padding-inline-start var(--transition);
}
.mobile-nav a:hover {
  color: var(--color-gold);
  padding-inline-start: .5rem;
}
.mobile-nav-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}


/* =========================================================
   HERO (Home — full viewport)
   background-image set via inline style in HTML
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-navy-dark);   /* fallback */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Gradient overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    158deg,
    rgba(11,30,63,.80)  0%,
    rgba(11,30,63,.58) 55%,
    rgba(6,18,41,.68)  100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 6rem 5rem;
  max-width: 740px;
}
.hero-content .accent-line { margin-bottom: 1.25rem; }

.hero h1 {
  color: var(--color-white);
  font-weight: 900;
  margin-bottom: 1.25rem;
}
html[lang="en"] .hero h1 { font-family: var(--font-en-display); }

.hero-tagline {
  color: rgba(255,255,255,.85);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.8;
  margin-bottom: 2.75rem;
  max-width: 56ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}


/* =========================================================
   ABOUT SNIPPET (Home — two-column)
   ========================================================= */
.about-snippet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-snippet__img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.about-snippet__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--ease);
}
.about-snippet__img:hover img { transform: scale(1.04); }

.about-snippet__text { display: flex; flex-direction: column; gap: 1rem; }
.about-snippet__text h2 { margin-bottom: .25rem; }
.about-snippet__text p  { color: var(--color-gray); line-height: 1.8; }


/* =========================================================
   SERVICES GRID (Home)
   ========================================================= */
.services-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--color-white);
  border: 1px solid rgba(11,30,63,.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition:
    transform    var(--transition),
    box-shadow   var(--transition),
    border-color var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 3px;
  height: 0;
  background: var(--color-gold);
  border-radius: 0 0 2px 2px;
  transition: height .38s var(--ease);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,169,97,.22);
}
.service-card:hover::before { height: 100%; }

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,169,97,.1);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}
.service-card:hover .service-card__icon { background: rgba(201,169,97,.18); }
.service-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  color: var(--color-navy);
}
.service-card p {
  font-size: .9rem;
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.service-card .btn { font-size: .875rem; }


/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

.why-item { display: flex; flex-direction: column; gap: .75rem; }

.why-item__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(201,169,97,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.why-item:hover .why-item__icon {
  background: rgba(201,169,97,.22);
  transform: scale(1.08);
}
.why-item__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item h4 { color: var(--color-navy); margin-bottom: .2rem; }
.why-item p  { font-size: .9rem; color: var(--color-gray); max-width: 34ch; }


/* =========================================================
   STATS COUNTER STRIP
   ========================================================= */
.stats-strip {
  background: var(--color-navy);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: center;
}

.stat-item { display: flex; flex-direction: column; align-items: center; gap: .45rem; }

.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  letter-spacing: -.02em;
}
html[lang="en"] .stat-number { font-family: var(--font-en-display); }

.stat-label {
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  max-width: 20ch;
  line-height: 1.4;
}

.stat-divider {
  display: none;
  width: 1px;
  background: rgba(255,255,255,.1);
  align-self: stretch;
}

.stats-source {
  text-align: center;
  margin-top: 2.5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  font-style: italic;
}


/* =========================================================
   FINAL CTA BAND
   ========================================================= */
.cta-band {
  background: var(--color-cream);
  text-align: center;
  padding-block: clamp(4rem, 7vw, 6rem);
}
.cta-band h2 { margin-bottom: .85rem; }
.cta-band p  { color: var(--color-gray); margin-inline: auto; margin-bottom: 2rem; }
.cta-band .btn { min-width: 220px; }


/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255,255,255,.7);
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand .footer-logo img {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: .88rem;
  line-height: 1.75;
  max-width: 28ch;
}

.footer-col-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.footer-links ul  { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition), padding-inline-start var(--transition);
}
.footer-links a:hover {
  color: var(--color-gold);
  padding-inline-start: .35rem;
}

.footer-contact ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact li a {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
  transition: color var(--transition);
}
.footer-contact li a:hover { color: var(--color-gold); }
.footer-contact svg {
  width: 15px;
  height: 15px;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-legal { display: flex; flex-direction: column; gap: .75rem; }

.license-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(201,169,97,.1);
  border: 1px solid rgba(201,169,97,.25);
  color: var(--color-gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .45rem .9rem;
  border-radius: var(--radius-sm);
  width: fit-content;
}
.license-badge svg { width: 14px; height: 14px; fill: var(--color-gold); stroke: none; flex-shrink: 0; }

.footer-legal p { font-size: .84rem; color: rgba(255,255,255,.45); line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--color-gold); }


/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  z-index: 1000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

[dir="rtl"] .whatsapp-float { left:  2rem; }
[dir="ltr"] .whatsapp-float { right: 2rem; }

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.4);
  animation: wa-pulse 2.4s ease-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
.whatsapp-float:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(201,169,97,.2);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
  position: relative;
  z-index: 1;
}

@keyframes wa-pulse {
  0%   { opacity: 1;  transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.65); }
  100% { opacity: 0; }
}


/* =========================================================
   PAGE HERO (inner pages: About, Services)
   ========================================================= */
.page-hero {
  background-color: var(--color-navy-dark);
  background-size: cover;
  background-position: center;
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding-block: 5rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(11,30,63,.88) 0%, rgba(6,18,41,.93) 100%);
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset-inline-end: -6rem;
  top: -6rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  border: 1px solid rgba(201,169,97,.08);
  pointer-events: none;
  z-index: 1;
}

.page-hero__content { position: relative; z-index: 2; }
.page-hero h1       { color: var(--color-white); margin-bottom: .75rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.breadcrumb a       { color: var(--color-gold); transition: opacity var(--transition); }
.breadcrumb a:hover { opacity: .8; }
.breadcrumb .sep    { color: rgba(255,255,255,.2); }


/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-story p { color: var(--color-gray); margin-bottom: 1rem; line-height: 1.85; }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.mission-card {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border-top: 3px solid var(--color-gold);
}
.mission-card h3 { margin-bottom: 1rem; }
.mission-card p  { color: var(--color-gray); }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.value-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--color-white);
  border: 1px solid rgba(11,30,63,.07);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.value-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.value-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(201,169,97,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.value-item:hover .value-item__icon { background: rgba(201,169,97,.18); }
.value-item__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value-item h4 { margin-bottom: .3rem; }
.value-item p  { font-size: .88rem; color: var(--color-gray); }

.license-trust {
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.license-trust h3 { color: var(--color-white); margin-bottom: .75rem; }
.license-trust p  { color: rgba(255,255,255,.6); margin-inline: auto; max-width: 50ch; }

.license-number {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--color-gold);
  letter-spacing: .1em;
  margin-block: 1.25rem;
  line-height: 1;
}
html[lang="en"] .license-number { font-family: var(--font-en-display); }

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201,169,97,.12);
  border: 1px solid rgba(201,169,97,.28);
  color: var(--color-gold);
  font-weight: 700;
  font-size: .88rem;
  padding: .55rem 1.35rem;
  border-radius: 999px;
  margin-top: 1.5rem;
}
.verified-badge svg { width: 17px; height: 17px; fill: var(--color-gold); stroke: none; }


/* =========================================================
   SERVICES PAGE — Detailed sections
   ========================================================= */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: var(--section-py);
  border-bottom: 1px solid rgba(11,30,63,.06);
}
.service-detail:last-of-type { border-bottom: none; }

.service-detail__img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.service-detail__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--ease);
}
.service-detail__img:hover img { transform: scale(1.04); }

.service-detail__body { display: flex; flex-direction: column; gap: 1rem; }
.service-detail__body h2 { margin-bottom: .25rem; }
.service-detail__body > p { color: var(--color-gray); line-height: 1.85; }

.service-detail__list { display: flex; flex-direction: column; gap: .6rem; }
.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .92rem;
  color: var(--color-charcoal);
  line-height: 1.6;
}
.service-detail__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
  margin-top: .52rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(201,169,97,.1);
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}


/* =========================================================
   FADE-UP SCROLL ANIMATION
   Triggered by IntersectionObserver in script.js
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity   .65s var(--ease),
    transform .65s var(--ease);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .10s; }
.fade-up:nth-child(3) { transition-delay: .20s; }
.fade-up:nth-child(4) { transition-delay: .30s; }
.fade-up:nth-child(5) { transition-delay: .40s; }


/* =========================================================
   RTL OVERRIDES  [dir="rtl"]
   ========================================================= */

/* Service card gold bar — right side in RTL */
[dir="rtl"] .service-card::before {
  inset-inline-start: unset;
  inset-inline-end: 0;
}

/* Footer link hover — nudge right in RTL */
[dir="rtl"] .footer-links a:hover {
  padding-inline-start: 0;
  padding-inline-end: .35rem;
}

/* Mobile nav link hover — nudge right in RTL */
[dir="rtl"] .mobile-nav a:hover {
  padding-inline-start: 0;
  padding-inline-end: .5rem;
}


/* =========================================================
   MEDIA QUERIES — Mobile-first
   ========================================================= */

/* ── 640px and up ── */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .mission-grid  { grid-template-columns: repeat(2, 1fr); }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }

  .stats-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
  }
  .stat-divider { display: block; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 1024px and up ── */
@media (min-width: 1024px) {
  .main-nav   { display: flex; }
  .nav-toggle { display: none; }

  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid      { grid-template-columns: repeat(4, 1fr); }
  .footer-grid   { grid-template-columns: 2fr 1fr 1.5fr 1.4fr; }

  .about-snippet-grid { grid-template-columns: 1fr 1fr; }

  .service-detail { grid-template-columns: 1fr 1fr; gap: 5rem; }

  /* Alternating image/text — LTR only */
  [dir="ltr"] .service-detail:nth-child(even) .service-detail__img  { order: 2; }
  [dir="ltr"] .service-detail:nth-child(even) .service-detail__body { order: 1; }
}

/* ── 1280px and up ── */
@media (min-width: 1280px) {
  .footer-grid   { grid-template-columns: 2.2fr 1fr 1.5fr 1.4fr; }
  .hero-content  { max-width: 820px; }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:        .01ms !important;
    animation-iteration-count: 1    !important;
    transition-duration:       .01ms !important;
    scroll-behavior:           auto  !important;
  }
  html     { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; }
}
