:root {
  --primary: #0aa6a6;
  --primary-dark: #067f7f;
  --primary-light: #e6f7f7;
  --accent: #0d3b66;
  --dark: #12263a;
  --gray: #5a6b7b;
  --light-gray: #f4f8fb;
  --white: #ffffff;
  --whatsapp: #25d366;
  --star: #ffb400;
  --gold: #c99700;
  --gold-soft: #ffe27a;
  --gold-tint: #fbf2d6;
  --radius: 16px;
  --shadow-sm: 0 4px 14px rgba(13, 59, 102, 0.08);
  --shadow-md: 0 12px 34px rgba(13, 59, 102, 0.14);
  --shadow-lg: 0 24px 60px rgba(13, 59, 102, 0.20);
  --max-width: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #12263a;
  transition: opacity .6s ease, visibility .6s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-tooth {
  width: 90px;
  height: 90px;
  color: #c99700;
}
.loader-tooth path {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: draw-tooth 1.8s ease-in-out infinite;
}
@keyframes draw-tooth {
  0% { stroke-dashoffset: 140; }
  55% { stroke-dashoffset: 0; }
  75% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: .15; }
}

html { scroll-behavior: smooth; }

body {
  font-family: "Cairo", system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: normal;
  text-align: center;
  max-width: 100%;
  line-height: 1.4;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, #e6bb3a, var(--gold));
  color: var(--dark);
  box-shadow: 0 10px 24px rgba(201, 151, 0, .38);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--gold), #a87f00); color: var(--dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201, 151, 0, .5); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--dark); }

.btn-ghost {
  background: rgba(255, 255, 255, .16);
  color: var(--white);
  border-color: rgba(255, 255, 255, .5);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .28); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 38, 58, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(13, 59, 102, .25);
  border-bottom: 2px solid var(--gold);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.logo-mark { font-size: 1.7rem; }
.logo-img { height: 52px; width: auto; display: block; }
.logo-text { color: var(--white); }
.logo-text strong { color: var(--gold-soft); }
.main-nav { display: flex; gap: 26px; }
.main-nav a { color: rgba(255, 255, 255, .85); font-weight: 600; transition: color .18s; }
.main-nav a:hover { color: var(--gold-soft); }
.header-cta { padding: 9px 20px; }

.hero {
  position: relative;
  padding: 70px 0 80px;
  background:
    linear-gradient(135deg, rgba(13, 59, 102, .92), rgba(10, 166, 166, .85)),
    url("https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-block;
  background: rgba(201, 151, 0, .18);
  border: 1px solid var(--gold-soft);
  color: var(--gold-soft);
  padding: 7px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero-title .highlight { color: var(--gold-soft); }
.hero-sub { font-size: 1.15rem; color: rgba(255, 255, 255, .92); margin-bottom: 22px; max-width: 560px; }
.hero-points { margin-bottom: 30px; display: grid; gap: 8px; }
.hero-points li { font-size: 1.05rem; font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.form-card {
  background: var(--white);
  color: var(--dark);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
}
.form-title { font-size: 1.6rem; font-weight: 800; }
.form-desc { color: var(--gray); margin-bottom: 20px; font-size: .98rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.field input,
.field select {
  width: 100%;
  padding: 13px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--light-gray);
  transition: border-color .18s, background .18s;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}
.error-msg { display: none; color: #e23c3c; font-size: .85rem; margin-top: 5px; font-weight: 600; }
.field.invalid input { border-color: #e23c3c; }
.field.invalid .error-msg { display: block; }
.form-note { text-align: center; color: var(--gray); font-size: .85rem; margin-top: 14px; }

.trust-bar { background: var(--accent); color: var(--white); padding: 26px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item strong { display: block; font-size: 2rem; font-weight: 900; color: var(--gold-soft); }
.trust-item span { font-size: .95rem; opacity: .9; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 10px;
  background: var(--gold-tint);
  padding: 5px 16px;
  border-radius: 50px;
}
.section-head h2 { font-size: 2.1rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.section-head p { color: var(--gray); font-size: 1.05rem; }

.services { padding: 84px 0; background: var(--light-gray); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  padding: 34px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #eef2f6;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  background: var(--gold-tint);
  border: 1px solid #f0e2ac;
  border-radius: 18px;
  margin: 0 auto 18px;
}
.service-icon svg { width: 40px; height: 40px; }
.service-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.service-card p { color: var(--gray); margin-bottom: 18px; }
.service-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.svc-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: .95rem;
  padding: 10px 12px;
  border-radius: 12px;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.svc-btn:hover { transform: translateY(-2px); }
.svc-wa { background: var(--whatsapp); color: var(--white); }
.svc-wa:hover { opacity: .9; }

.video-section { padding: 84px 0; }
.video-wrapper {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

.reviews { padding: 84px 0; background: var(--light-gray); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  padding: 28px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-stars { color: var(--star); font-size: 1.25rem; letter-spacing: 3px; }
.review-text { color: var(--dark); font-size: 1.02rem; flex-grow: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem;
}
.review-author strong { display: block; }
.g-badge { font-size: .8rem; color: var(--gray); }
.reviews-cta { text-align: center; margin-top: 40px; }

.location { padding: 84px 0; }
.branches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.branch-card {
  background: var(--white);
  border: 1px solid #eef2f6;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.branch-head { display: flex; gap: 14px; align-items: center; }
.info-icon {
  font-size: 1.4rem;
  background: var(--gold-tint);
  border: 1px solid #f0e2ac;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}
.branch-head strong { font-size: 1.15rem; display: block; }
.branch-head p { color: var(--gray); }
.branch-map {
  border-radius: 14px;
  overflow: hidden;
  min-height: 300px;
  box-shadow: var(--shadow-sm);
}
.branch-map iframe { width: 100%; height: 100%; min-height: 300px; display: block; }
.location-actions-center { text-align: center; margin-top: 40px; }

.site-footer { background: var(--dark); color: rgba(255, 255, 255, .85); padding: 50px 0 30px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-logo-img { height: 80px; width: auto; margin-bottom: 4px; }
.footer-brand .logo-text strong { color: var(--gold-soft); }
.site-footer { border-top: 3px solid var(--gold); }
.footer-brand p { max-width: 440px; opacity: .8; font-size: .96rem; }
.footer-copy { font-size: .9rem; opacity: .85; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; width: 100%; }
.footer-credit { display: block; margin-top: 8px; font-size: .88rem; }
.footer-credit a { color: var(--gold-soft); font-weight: 700; text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }

.floating-widgets {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fab {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  padding: 12px 18px 12px 14px;
  border-radius: 50px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease;
}
.fab:hover { transform: scale(1.05); }
.fab-whatsapp { background: var(--whatsapp); }
.fab-call { background: linear-gradient(135deg, #e6bb3a, var(--gold)); color: var(--dark); animation: pulse 2s infinite; }
.fab-label { font-size: .95rem; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 151, 0, .5); }
  70% { box-shadow: 0 0 0 16px rgba(201, 151, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 151, 0, 0); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-title { font-size: 2.3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 48px 0 56px; }
  .hero-title { font-size: 1.85rem; }
  .hero-sub { font-size: 1.02rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .section-head h2 { font-size: 1.5rem; }
  .section-head p { font-size: .98rem; }
  .header-cta { display: none; }
  .form-card { padding: 26px 20px; }
  .reviews-cta .btn { width: 100%; }
  .branch-map, .branch-map iframe { min-height: 260px; }
  .fab-label { display: none; }
  .fab { padding: 14px; }
  .floating-widgets { bottom: 16px; left: 16px; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 1.6rem; }
  .btn { font-size: .95rem; padding: 12px 18px; }
  .btn-lg { font-size: 1rem; padding: 14px 20px; }
}
