/* ==========================================================================
   AKNAN DENTAL — Design Tokens & Base
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&family=Cairo:wght@400;500;600;700;800&display=swap');

:root{
  /* Palette — drawn from the Aknan Dental mark */
  --green:        #5EB233;
  --green-dark:   #3E8A22;
  --green-light:  #A9DD6E;
  --navy:         #0E2A47;
  --blue:         #2C86B8;
  --blue-light:   #6FB8DE;
  --bg:           #F6F9F7;
  --bg-alt:       #EEF4F1;
  --white:        #FFFFFF;
  --ink:          #16262F;
  --ink-soft:     #4C5E67;
  --line:         #E1EAE5;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 10px 30px -12px rgba(14,42,71,0.16);
  --shadow-lift: 0 20px 45px -18px rgba(14,42,71,0.28);

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-ar: 'Cairo', sans-serif;

  --header-h: 112px;
}

html[dir="rtl"] body{ font-family: var(--font-ar); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4{
  font-family: var(--font-ar);
  font-weight: 700;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,select,textarea{ font-family:inherit; font-size:1rem; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--navy);
  margin:0 0 .5em;
  line-height:1.15;
  font-weight:600;
}
h1{ font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2{ font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3{ font-size: 1.3rem; }
p{ margin:0 0 1em; color: var(--ink-soft); }

.container{ max-width:1180px; margin:0 auto; padding:0 24px; }
.section{ padding: 88px 0; }
.section-alt{ background: var(--bg); }
.section-head{ max-width:640px; margin:0 auto 48px; text-align:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.78rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color: var(--green-dark); margin-bottom:14px;
}
.eyebrow::before{
  content:''; width:7px; height:7px; border-radius:50%;
  background: var(--navy); display:inline-block;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 28px; border-radius: 999px; font-weight:600; font-size:.95rem;
  border:2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space:nowrap;
}
.btn-primary{ background: var(--green); color:#fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover{ background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-outline{ border-color: var(--navy); color: var(--navy); background:transparent; }
.btn-outline:hover{ background: var(--navy); color:#fff; transform: translateY(-2px); }
.btn-ghost{ border-color: rgba(255,255,255,.6); color:#fff; }
.btn-ghost:hover{ background: rgba(255,255,255,.15); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 20px; font-size:.85rem; }

/* ==========================================================================
   Top bar + Header
   ========================================================================== */
.topbar{
  background: var(--navy); color:#cfe3d8; font-size:.82rem;
}
.topbar .container{ display:flex; align-items:center; justify-content:space-between; padding-top:9px; padding-bottom:9px; flex-wrap:wrap; gap:8px; }
.topbar-info{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.topbar-info a, .topbar-info span{ display:inline-flex; align-items:center; gap:6px; color:#dfeee6; }
.topbar-info a:hover{ color: var(--green-light); }
.topbar-right{ display:flex; align-items:center; gap:16px; }

.lang-switch{ display:flex; align-items:center; gap:4px; background:rgba(255,255,255,.08); border-radius:999px; padding:3px; }
.lang-switch button{
  background:none; border:none; color:#cfe3d8; padding:4px 12px; border-radius:999px; font-size:.8rem; font-weight:600;
}
.lang-switch button.active{ background: var(--green); color:#fff; }

header.site-header{
  position: sticky; top:0; z-index:100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom:1px solid var(--line);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; padding:8px 0; gap:24px; }
.brand{ display:flex; align-items:center; gap:14px; }
.brand img{ height:95px; width:auto; }
.brand-name{ font-family: var(--font-display); font-weight:700; font-size:1.6rem; color: var(--navy); line-height:1.1; }
.brand-name small{ display:block; font-family: var(--font-body); font-weight:600; font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color: var(--green-dark); }
html[dir="rtl"] .brand-name{ font-size:1.9rem; line-height:1.3; }
html[dir="rtl"] .brand-name small{ font-size:1.05rem; font-weight:600; letter-spacing:0; text-transform:none; margin-top:2px; }

.main-nav{ display:flex; align-items:center; gap:6px; }
.main-nav a{
  padding:10px 14px; border-radius:999px; font-weight:600; font-size:.92rem; color: var(--ink);
}
.main-nav a:hover, .main-nav a.active{ background: var(--bg-alt); color: var(--green-dark); }

.nav-actions{ display:flex; align-items:center; gap:12px; }
.nav-toggle{ display:none; background:none; border:2px solid var(--line); border-radius:10px; padding:8px 10px; }
.nav-toggle span{ display:block; width:22px; height:2px; background: var(--navy); margin:4px 0; border-radius:2px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position:relative; overflow:hidden;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.94) 0%, rgba(255,255,255,.8) 28%, rgba(255,255,255,.4) 52%, rgba(255,255,255,.1) 72%, rgba(255,255,255,0) 100%),
    url('../images/home/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 78px 0 100px;
}
html[dir="rtl"] .hero{
  background-image:
    linear-gradient(to left, rgba(255,255,255,.94) 0%, rgba(255,255,255,.8) 28%, rgba(255,255,255,.4) 52%, rgba(255,255,255,.1) 72%, rgba(255,255,255,0) 100%),
    url('../images/home/hero-bg-ar.jpg');
  background-position: left center;
}
.hero-dots{ position:absolute; inset:0; opacity:.5; pointer-events:none;
  background-image: radial-gradient(var(--green-light) 1.6px, transparent 1.6px);
  background-size: 26px 26px; mask-image: radial-gradient(circle at 80% 20%, black, transparent 60%);
}
.hero-grid{ position:relative; display:grid; grid-template-columns: 1.05fr .95fr; gap:56px; align-items:center; }
.hero-eyebrow{ display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); padding:7px 16px; border-radius:999px; font-size:.8rem; font-weight:700; color: var(--green-dark); box-shadow: var(--shadow-soft); margin-bottom:22px;}
.hero h1{ margin-bottom:20px; }
.hero h1 .accent{ color: var(--green); }
.hero-lead{ font-size:1.1rem; max-width:520px; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-top:30px; }
.hero-stats{ display:flex; gap:34px; margin-top:44px; flex-wrap:wrap; }
.hero-stat b{ display:block; font-family:var(--font-display); font-size:1.7rem; color:var(--navy); }
.hero-stat span{ font-size:.82rem; color:var(--ink-soft); }

.hero-logo-box{
  aspect-ratio: 4/3.2; border-radius: var(--radius-md); background: linear-gradient(160deg, #FAFBFA, #F0F3F1);
  display:flex; align-items:center; justify-content:center; padding:26px;
}
.hero-logo-box img{ width:100%; height:100%; object-fit:contain; display:block; }

/* Placeholder image box */
.ph-box{
  width:100%; height:100%; min-height:160px;
  border:2px dashed #C9DACF; border-radius: var(--radius-md);
  background: repeating-linear-gradient(135deg, #FBFDFC 0 12px, #F3F8F5 12px 24px);
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:8px; color:#9AAFA3; padding:16px;
}
.ph-box svg{ width:34px; height:34px; opacity:.6; }
.about-story-photo{
  width:100%; aspect-ratio:6/5; object-fit:cover; object-position:center;
  border-radius: var(--radius-md); display:block; box-shadow: var(--shadow-soft);
}
.ph-box span{ font-size:.78rem; font-weight:600; letter-spacing:.02em; }

/* Quick actions strip */
.quick-strip{ background: var(--navy); }
.quick-strip .container{ display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center; padding:20px 24px; }
.quick-strip-items{ display:flex; gap:28px; flex-wrap:wrap; }
.quick-strip-items div{ display:flex; align-items:center; gap:10px; color:#dfeee6; font-size:.88rem; font-weight:600; }
.quick-strip-items svg{ color: var(--green-light); flex:none; }

/* ==========================================================================
   Cards / Grids
   ========================================================================== */
.grid{ display:grid; gap:28px; }
.grid-2{ grid-template-columns: repeat(2,1fr); }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }

.card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 30px; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.service-card .icon-wrap{
  width:54px; height:54px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--green-light), var(--green)); color:#fff; margin-bottom:18px;
}
.service-card a.more{ font-weight:700; color: var(--blue); font-size:.88rem; display:inline-flex; align-items:center; gap:6px; margin-top:6px;}

.why-card{ text-align:left; }
.why-card .icon-wrap{ background: linear-gradient(135deg, var(--blue-light), var(--blue)); }

.doctor-card{ text-align:center; padding:0; overflow:hidden; }
.doctor-card .ph-box{ border-radius: var(--radius-md) var(--radius-md) 0 0; border-width:0 0 2px 0; aspect-ratio:1/1;}
.doctor-card .doctor-photo{
  width:100%; aspect-ratio:1/1; object-fit:cover; display:block;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.doctor-photo-placeholder{
  width:100%; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(160deg, #F4F6F5, #E9EDEB);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  color:#B7C2BC;
}
.doctor-photo-placeholder svg{ width:25%; height:25%; min-width:44px; min-height:44px; }
.doctor-photo-logo{ padding:22px; background:#fff; }
.doctor-photo-logo img{ width:100%; height:100%; object-fit:contain; display:block; }
.doctor-card .doc-body{ padding:24px; }
.doctor-card .spec{ color: var(--green-dark); font-weight:700; font-size:.85rem; margin-bottom:6px; display:flex; align-items:center; justify-content:center; gap:6px; }
.doctor-card .spec .dot{ width:7px; height:7px; border-radius:50%; background: var(--green); flex:none; font-style:normal; }
.doctor-card h3{ margin-bottom:14px; }

.testimonial-card{ position:relative; }
.testimonial-card .stars{ color:#F0AA2E; letter-spacing:2px; margin-bottom:10px; font-size:.95rem; }
.testimonial-card .who{ display:flex; align-items:center; gap:12px; margin-top:18px; }
.testimonial-card .avatar{ width:44px; height:44px; border-radius:50%; background: var(--bg-alt); border:2px dashed #C9DACF; flex:none; }

.ba-photo{
  width:100%; aspect-ratio:4/5; object-fit:cover; object-position:center;
  border-radius: var(--radius-md); display:block; box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ba-photo:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.container-wide{ max-width:1320px; margin:0 auto; padding:0 24px; }
.grid-8{ grid-template-columns: repeat(8,1fr); gap:14px; }
@media (max-width: 980px){
  .grid-8{ grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 760px){
  .grid-8{ grid-template-columns: repeat(2,minmax(0,1fr)); gap:10px; }
}
.grid-7{ grid-template-columns: repeat(7,1fr); gap:14px; }
@media (max-width: 980px){
  .grid-7{ grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 760px){
  .grid-7{ grid-template-columns: repeat(2,minmax(0,1fr)); gap:10px; }
}

.ba-divider{ display:flex; align-items:center; gap:16px; max-width:520px; margin:30px auto; }
.ba-divider-line{ flex:1; height:2px; border-radius:1px; background: linear-gradient(90deg, transparent, var(--green), transparent); }
.ba-divider-icon{
  width:38px; height:38px; border-radius:50%; flex:none; color:#fff;
  background: linear-gradient(135deg, var(--green-light), var(--green));
  display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-soft);
}
@media (max-width: 760px){
  .ba-divider{ margin:22px auto; max-width:280px; }
}

.branch-card{ display:flex; gap:16px; align-items:flex-start; }
.branch-card .icon-wrap{ width:44px; height:44px; border-radius:12px; background: var(--bg-alt); color: var(--green-dark); display:flex; align-items:center; justify-content:center; flex:none; }

.doctor-video-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; max-width:880px; margin:0 auto; }
.doctor-video{
  width:100%; aspect-ratio:9/16; border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
  display:block; background:#111; transition: transform .2s ease, box-shadow .2s ease;
}
.doctor-video:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lift); }
@media (max-width: 980px){
  .doctor-video-grid{ grid-template-columns:repeat(2,1fr); max-width:460px; }
}
@media (max-width: 760px){
  .doctor-video-grid{ grid-template-columns:1fr; max-width:280px; }
}

.about-video-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:40px; max-width:740px; margin:0 auto; }
.about-video{
  width:100%; aspect-ratio:9/16; border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
  display:block; background:#111; transition: transform .2s ease, box-shadow .2s ease;
}
.about-video:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lift); }
@media (max-width: 760px){
  .about-video-grid{ grid-template-columns:1fr; max-width:320px; gap:24px; }
}

.blog-card .ph-box{ aspect-ratio:16/10; border-radius: var(--radius-md); }
.blog-card .meta{ font-size:.78rem; color: var(--green-dark); font-weight:700; text-transform:uppercase; letter-spacing:.06em; margin:14px 0 6px;}

/* Smile-arc divider (signature element) */
.smile-divider{ width:100%; height:70px; display:block; }
.smile-divider path{ fill: var(--white); }

/* Why choose / feature list */
.feature-list li{ display:flex; gap:12px; align-items:flex-start; margin-bottom:16px; }
.feature-list .check{ width:26px; height:26px; border-radius:50%; background: var(--green); color:#fff; display:flex; align-items:center; justify-content:center; flex:none; font-size:.75rem; }

/* Insurance strip */
.logo-strip{ display:flex; flex-wrap:wrap; gap:18px; justify-content:center; }
.logo-strip .ph-box{ width:240px; height:150px; min-height:unset; }
.logo-card{
  width:240px; height:150px; background:#fff; border:1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft); display:flex; align-items:center; justify-content:center; padding:22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.logo-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.logo-card img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; display:block; }

.installment-wrap{ max-width:1320px; margin:0 auto; padding:0 24px; }
.installment-grid{ display:flex; flex-wrap:wrap; gap:18px; justify-content:center; }
.installment-card{
  width:240px; height:150px; background:#fff; border:1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft); display:flex; align-items:center; justify-content:center; padding:22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.installment-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.installment-card img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; display:block; }
@media (max-width: 760px){
  .installment-card{ width:calc(50% - 9px); height:130px; padding:18px; }
}

/* FAQ accordion */
.faq-item{ border:1px solid var(--line); border-radius: var(--radius-md); margin-bottom:14px; overflow:hidden; background:#fff; }
.faq-q{ display:flex; align-items:center; justify-content:space-between; padding:20px 24px; font-weight:700; color:var(--navy); }
.faq-q .plus{ transition: transform .25s ease; flex:none; }
.faq-item.open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .3s ease; padding:0 24px; }
.faq-item.open .faq-a{ max-height:300px; padding-bottom:20px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding:36px; box-shadow: var(--shadow-soft); }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom:18px; display:flex; flex-direction:column; gap:7px; }
.field label{ font-size:.85rem; font-weight:700; color: var(--navy); }
.field input, .field select, .field textarea{
  padding:13px 16px; border-radius: var(--radius-sm); border:1.5px solid var(--line); background: var(--bg);
  outline:none; transition: border-color .18s ease, background .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--green); background:#fff; }
.field.full{ grid-column: 1/-1; }
.recaptcha-ph{ border:1.5px dashed #C9DACF; border-radius: var(--radius-sm); padding:14px 16px; font-size:.82rem; color:var(--ink-soft); background:var(--bg); display:flex; align-items:center; gap:10px; }
.form-note{ font-size:.78rem; color:var(--ink-soft); margin-top:10px; }
.form-success{ display:none; background:#EAF7EA; border:1px solid #BFE3BF; color:#2C6E2C; padding:14px 18px; border-radius: var(--radius-sm); font-weight:600; margin-bottom:18px; }
.form-success.show{ display:block; }
.form-error{ display:none; background:#FCEAEA; border:1px solid #E3BFBF; color:#6E2C2C; padding:14px 18px; border-radius: var(--radius-sm); font-weight:600; margin-bottom:18px; }
.form-error.show{ display:block; }

/* Branch selector + map */
.branch-select-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:26px; }
.branch-pill{ padding:10px 20px; border-radius:999px; border:1.5px solid var(--line); font-weight:700; font-size:.85rem; color:var(--navy); background:#fff; }
.branch-pill.active{ background: var(--navy); border-color: var(--navy); color:#fff; }
.map-wrap{ border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-soft); border:1px solid var(--line); }
.map-wrap iframe{ width:100%; height:380px; border:0; display:block; }
.branch-detail{ display:flex; flex-wrap:wrap; gap:24px; padding:22px 26px; background:#fff; }
.branch-detail div{ min-width:180px; }
.branch-detail b{ display:block; color:var(--navy); font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:6px; }
.branch-detail a[data-branch-address]{ color: var(--green-dark); font-weight:600; text-decoration:underline; text-underline-offset:2px; }
.branch-detail a[data-branch-address]:hover{ color: var(--navy); }

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer{ background: var(--navy); color:#c8dbd0; padding-top:70px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-logo-row{ display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.footer-logo-card{
  background:#fff; border-radius:12px; padding:8px 10px; flex:none;
  display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-soft);
}
.footer-logo-card img{ height:40px; width:auto; display:block; }
.footer-brand-name{ font-family: var(--font-display); font-weight:700; font-size:1.15rem; color:#fff; line-height:1.1; }
.footer-brand-name small{ display:block; font-family: var(--font-body); font-weight:600; font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; color: var(--green-light); margin-top:2px; }
.footer-brand p{ color:#9fb8ac; font-size:.9rem; }
.footer-col h4{ color:#fff; font-family:var(--font-body); font-size:.85rem; text-transform:uppercase; letter-spacing:.1em; margin-bottom:18px; }
.footer-col li{ margin-bottom:11px; }
.footer-branch-block{ margin-bottom:18px; }
.footer-branch-block:last-child{ margin-bottom:0; }
.footer-branch-name{ color:#fff; font-weight:700; font-size:.92rem; margin-bottom:4px; }
.footer-branch-name a{ color:#fff; text-decoration:underline; text-underline-offset:2px; }
.footer-branch-name a:hover{ color: var(--green-light); }
.footer-branch-hours{ color:#c8dbd0; font-size:.88rem; line-height:1.6; margin:0; }
.footer-col a{ color:#c8dbd0; font-size:.92rem; }
.footer-col a:hover{ color: var(--green-light); }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ background: var(--green); }
.newsletter-row{ display:flex; gap:8px; margin-top:10px; }
.newsletter-row input{ flex:1; padding:11px 14px; border-radius: var(--radius-sm); border:none; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:22px 0; font-size:.82rem; color:#8fa79c; flex-wrap:wrap; gap:10px;}
.footer-bottom a{ color:#c8dbd0; }

/* Floating buttons */
.floating-btns{ position:fixed; bottom:24px; z-index:200; inset-inline-end:24px; display:flex; flex-direction:column; gap:14px; }
.fab{ width:58px; height:58px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-lift); color:#fff; }
.fab-wa{ background:#25D366; }
.fab-call{ background: var(--navy); display:none; }

/* Page hero (interior pages) */
.page-hero{ background: linear-gradient(160deg, var(--bg-alt), var(--bg)); padding:56px 0 46px; text-align:center; }
.page-hero h1{ text-transform:uppercase; letter-spacing:.02em; }

.page-hero.has-banner{
  position:relative; background-color:#0e2a47;
  min-height:340px; display:flex; align-items:center; justify-content:center; padding:56px 0;
  overflow:hidden;
}
.page-hero.has-banner::before{
  content:''; position:absolute; inset:-10px;
  background-image:inherit; background-size:cover; background-position:center; background-repeat:no-repeat;
  filter:blur(1.5px); z-index:0;
}
.page-hero.has-banner::after{
  content:''; position:absolute; inset:0; background:rgba(0,0,0,.45); z-index:1;
}
.page-hero.has-banner .container{ position:relative; z-index:2; }
.page-hero.has-banner .eyebrow{ color:#fff; text-shadow:0 1px 6px rgba(0,0,0,.5); }
.page-hero.has-banner .eyebrow::before{ background:#fff; }
.page-hero.has-banner h1{ color:#fff; font-weight:800; text-shadow:0 2px 10px rgba(0,0,0,.5); }
.page-hero.has-banner p{ color:rgba(255,255,255,.95); text-shadow:0 1px 6px rgba(0,0,0,.45); }
.page-hero.has-banner .breadcrumb{ color:rgba(255,255,255,.9); text-shadow:0 1px 5px rgba(0,0,0,.5); }
.page-hero.has-banner .breadcrumb a{ color:#fff; }
.breadcrumb{ font-size:.85rem; color: var(--ink-soft); margin-top:10px; }
.breadcrumb a{ color: var(--green-dark); font-weight:600; }

/* Utility */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.mb-0{ margin-bottom:0; }
.tag-pill{ display:inline-block; background: var(--bg-alt); color: var(--green-dark); font-weight:700; font-size:.75rem; padding:5px 12px; border-radius:999px; margin-bottom:10px;}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero{
    background-image:
      linear-gradient(to bottom, rgba(255,255,255,.94) 0%, rgba(255,255,255,.75) 32%, rgba(255,255,255,.35) 58%, rgba(255,255,255,.08) 80%, rgba(255,255,255,0) 100%),
      url('../images/home/hero-bg.jpg');
  }
  html[dir="rtl"] .hero{
    background-image:
      linear-gradient(to bottom, rgba(255,255,255,.94) 0%, rgba(255,255,255,.75) 32%, rgba(255,255,255,.35) 58%, rgba(255,255,255,.08) 80%, rgba(255,255,255,0) 100%),
      url('../images/home/hero-bg-ar.jpg');
  }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .grid-4{ grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-3{ grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-2{ grid-template-columns: minmax(0,1fr); }
  .form-grid{ grid-template-columns:1fr; }
}
@media (max-width: 900px){
  .main-nav{
    position:fixed; inset-inline-start:0; top:var(--header-h); width:100%; background:#fff;
    flex-direction:column; align-items:stretch; padding:14px 20px; box-shadow: var(--shadow-lift);
    transform: translateY(-130%); transition: transform .25s ease; max-height:80vh; overflow:auto;
  }
  .main-nav.open{ transform: translateY(0); }
  .main-nav a{ padding:14px 10px; border-bottom:1px solid var(--line); border-radius:0; }
  .nav-toggle{ display:block; }
}
@media (max-width: 760px){
  .topbar .container{ justify-content:center; text-align:center; }
  .topbar-info{ justify-content:center; }
  .grid-4{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .grid-3{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:minmax(0,1fr); }
  .footer-grid{ grid-template-columns:1fr; }
  .fab-call{ display:flex; }
  .section{ padding:60px 0; }
}

/* Before & After gallery lightbox */
body.lightbox-open{ overflow:hidden; }
.lightbox{
  position:fixed; inset:0; z-index:1000;
  background: rgba(14,42,71,.92);
  display:flex; align-items:center; justify-content:center;
  padding:32px;
  opacity:0; visibility:hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.active{ opacity:1; visibility:visible; }
.lightbox-img{
  max-width:90vw; max-height:85vh; width:auto; height:auto;
  display:block; object-fit:contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  transform: scale(.92);
  transition: transform .3s ease;
}
.lightbox.active .lightbox-img{ transform: scale(1); }
.lightbox-close, .lightbox-nav{
  position:absolute; border:none; cursor:pointer; color:#fff;
  background: rgba(255,255,255,.15);
  display:flex; align-items:center; justify-content:center;
  border-radius:50%; line-height:1;
  transition: background .2s ease, transform .2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover{ background: rgba(255,255,255,.32); }
.lightbox-close{ top:20px; right:20px; width:44px; height:44px; font-size:26px; z-index:2; }
.lightbox-nav{ top:50%; transform:translateY(-50%); width:52px; height:52px; font-size:28px; }
.lightbox-nav:hover{ transform:translateY(-50%) scale(1.06); }
.lightbox-prev{ left:16px; }
.lightbox-next{ right:16px; }

@media (max-width: 760px){
  .lightbox{ padding:16px; }
  .lightbox-img{ max-width:94vw; max-height:78vh; }
  .lightbox-close{ top:12px; right:12px; width:38px; height:38px; font-size:22px; }
  .lightbox-nav{ width:40px; height:40px; font-size:22px; }
  .lightbox-prev{ left:8px; }
  .lightbox-next{ right:8px; }
}
