:root{
  --bg: #fbfaf7;
  --ink: #0b1220;
  --muted: #667085;
  --teal: #0f766e;
  --teal2:#115e59;
  --gold: #d7b46a;
  --card: rgba(255,255,255,.78);
  --border: rgba(11,18,32,.10);
  --shadow: 0 18px 55px rgba(11,18,32,.14);
}

html{scroll-behavior:smooth;}
body{
  font-family:"Cairo",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(15,118,110,.14), transparent 60%),
    radial-gradient(900px 420px at 95% 5%, rgba(215,180,106,.18), transparent 55%),
    var(--bg);
  color:var(--ink);
  overflow-x:hidden;
}

/* Splash */
#splash{
  position:fixed; inset:0; z-index:99999;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(215,180,106,.22), transparent 60%),
    radial-gradient(900px 520px at 80% 20%, rgba(15,118,110,.22), transparent 60%),
    linear-gradient(135deg, rgba(10,20,30,.96), rgba(15,60,55,.92));
  display:flex; align-items:center; justify-content:center;
  color:#fff;
}
#splash .box{
  width:min(520px, 92vw);
  border-radius:26px;
  padding: 28px 26px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 90px rgba(0,0,0,.30);
  backdrop-filter: blur(10px);
  text-align:center;
}
#splash .logo{
  width:92px; height:92px; border-radius:28px;
  margin: 0 auto 14px auto;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  display:grid; place-items:center;
  overflow:hidden;
  transform: translateY(2px);
  animation: floaty 2.6s ease-in-out infinite;
}
#splash .logo img{width:100%;height:100%;object-fit:contain;padding:10px;background:#fff;border-radius:24px;}
#splash h1{font-weight:900; letter-spacing:.2px; margin: 0 0 6px 0;}
#splash p{margin:0; color:rgba(255,255,255,.78);}
#splash .bar{
  height:10px; border-radius:999px; overflow:hidden;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  margin-top: 18px;
}
#splash .bar span{
  display:block; height:100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(215,180,106,1), rgba(255,255,255,.55), rgba(15,118,110,1));
  border-radius:999px;
  animation: loadbar 1.8s ease-in-out forwards;
}
@keyframes loadbar{ to{ width: 100%; } }
@keyframes floaty{ 0%,100%{ transform: translateY(2px);} 50%{ transform: translateY(-6px);} }
.splash-hide{ animation: splashOut .55s ease forwards; }
@keyframes splashOut{ to{ opacity:0; visibility:hidden; } }

/* Navbar */
.navbar{
  transition: all .25s ease;
  background: rgba(251,250,247,.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar.scrolled{
  background: rgba(255,255,255,.86);
  box-shadow: 0 12px 34px rgba(11,18,32,.08);
}
.brand{display:flex;align-items:center;gap:.85rem;}
.brand .mark{
  width:46px;height:46px;border-radius:18px;
  background: linear-gradient(135deg, rgba(15,118,110,.95), rgba(17,94,89,.92));
  box-shadow: 0 16px 40px rgba(11,18,32,.18);
  display:grid; place-items:center; overflow:hidden;
}
.brand .mark img{width:100%;height:100%;object-fit:contain;padding:8px;background:#fff;}
.brand .name{font-weight:900;line-height:1.1;}
.brand .sub{color:var(--muted); font-size:.92rem;}

.nav-link{font-weight:800;color:rgba(11,18,32,.78)!important;}
.nav-link:hover{color:rgba(15,118,110,.95)!important;}

.btn-teal{
  background: linear-gradient(135deg, rgba(15,118,110,.98), rgba(17,94,89,.94));
  border:0; color:#fff; font-weight:900;
  box-shadow: 0 14px 34px rgba(15,118,110,.20);
}
.btn-teal:hover{filter:brightness(.98);color:#fff;}
.btn-gold{
  background: linear-gradient(135deg, var(--gold), #f2e2b5);
  border:0; color:rgba(11,18,32,.95); font-weight:900;
  box-shadow: 0 14px 34px rgba(215,180,106,.26);
}
.btn-gold:hover{filter:brightness(.98);}

/* Hero */
.hero{
  position:relative;
  border-radius: 30px;
  overflow:hidden;
  box-shadow: 0 28px 90px rgba(11,18,32,.18);
  background:
    radial-gradient(900px 520px at 15% 15%, rgba(215,180,106,.34), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(15,118,110,.28), transparent 60%),
    linear-gradient(135deg, rgba(10,20,30,.95), rgba(15,60,55,.92));
  color:#fff;
}
.hero .noise{
  position:absolute; inset:0; opacity:.18; pointer-events:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
.hero .grid{
  position:absolute; inset:-2px; opacity:.18; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 30% 20%, #000 30%, transparent 70%);
}
.hero .blob{
  position:absolute; width: 560px; height: 560px; border-radius: 999px;
  filter: blur(20px);
  opacity:.55;
  background: radial-gradient(circle at 30% 30%, rgba(215,180,106,.95), rgba(215,180,106,0) 60%);
  right:-220px; top:-180px;
  animation: drift 10s ease-in-out infinite;
}
.hero .blob2{
  position:absolute; width: 520px; height: 520px; border-radius: 999px;
  filter: blur(22px);
  opacity:.45;
  background: radial-gradient(circle at 30% 30%, rgba(15,118,110,.95), rgba(15,118,110,0) 60%);
  left:-240px; bottom:-220px;
  animation: drift2 12s ease-in-out infinite;
}
@keyframes drift{ 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(-24px, 18px);} }
@keyframes drift2{ 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(26px, -16px);} }

.hero .content{position:relative; z-index:2; padding: 26px;}
@media (min-width:992px){ .hero .content{padding: 44px;} }

.hero h1{font-weight:900; line-height:1.2;}
.hero p{color: rgba(255,255,255,.80);}

.pill{
  display:inline-flex; align-items:center; gap:.55rem;
  padding:.45rem .95rem; border-radius:999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  font-weight:800;
}

.kpis{
  margin-top: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
.kpi{padding: 14px 10px;}
.kpi .n{font-weight:900; font-size: 1.1rem;}
.kpi .l{color: rgba(255,255,255,.76); font-size:.9rem;}

/* Reveal */
.reveal{
  opacity:0;
  transform: translateY(16px) scale(.99);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.show{
  opacity:1;
  transform: translateY(0) scale(1);
}

/* Sections */
.section-title{font-weight:900; letter-spacing:.2px;}
.cardx{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow:hidden;
  backdrop-filter: blur(12px);
}
.hover-up{transition: transform .18s ease, box-shadow .18s ease;}
.hover-up:hover{transform: translateY(-3px); box-shadow: 0 26px 70px rgba(11,18,32,.16);}

.tag{
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.28rem .72rem; border-radius:999px;
  font-size:.86rem;
  background: rgba(15,118,110,.10);
  border: 1px solid rgba(15,118,110,.18);
  color: rgba(11,18,32,.85);
}

.service-card img{height:190px; width:100%; object-fit:cover;}
.service-card .head{display:flex; justify-content:space-between; align-items:center; padding: 16px 18px 10px;}
.service-card .body{padding: 0 18px 18px; color: var(--muted);}

.branch-card img{height:240px; width:100%; object-fit:cover;}
.branch-card .meta{padding:18px; color: var(--muted);}
.branch-card .meta h5{color: var(--ink); font-weight:900;}

.form-control, .form-select{
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,.14);
  padding:.85rem 1rem;
}
.ratio iframe{border:0;}

.footer{
  background: linear-gradient(135deg, rgba(10,20,30,.96), rgba(15,60,55,.92));
  color:#fff;
  border-top: 1px solid rgba(255,255,255,.10);
}
.footer a{color:#fff;text-decoration:none;}
.footer a:hover{text-decoration:underline;}

/* Floating buttons */
.fab{
  position:fixed; left:18px; bottom:18px; z-index:9999;
  display:flex; gap:10px; align-items:center;
}
.fab a{
  display:inline-flex; align-items:center; gap:.55rem;
  padding:.75rem 1rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.fab .toTop{background: rgba(255,255,255,.88); color: var(--ink); border:1px solid rgba(11,18,32,.12);}
.fab .toWhats{background: #25D366; color:#fff;}
@media (max-width:576px){
  .fab a span{display:none;}
  .fab a{padding:.78rem;}
}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important;}
}
