:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #0f1e2e;
  --ink-soft: #475569;
  --muted: #6b7a90;
  --line: #e3e8ef;
  --brand: #0b66c2;
  --brand-dark: #084c8f;
  --accent: #f4b400;
  --dark: #0c1a2b;
  --shadow: 0 10px 30px rgba(15, 30, 46, 0.08);
  --radius: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 12px; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 14px; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(11, 102, 194, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(11, 102, 194, 0.25); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(11, 102, 194, 0.3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1rem; }
.brand-text small { font-size: 0.72rem; color: var(--muted); }

.main-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
  align-items: center;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--brand); background: rgba(11, 102, 194, 0.06); }
.main-nav a.btn { color: #fff; }
.main-nav a.btn:hover { background: var(--brand-dark); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1000px 500px at 90% -10%, rgba(11, 102, 194, 0.12), transparent 60%),
    radial-gradient(700px 400px at 0% 10%, rgba(244, 180, 0, 0.08), transparent 60%),
    var(--bg);
  padding: 70px 0 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}
.hero h1 span { color: var(--brand); }
.hero-copy p { font-size: 1.05rem; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 30px; }

.hero-stats {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0; margin: 0;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.6rem; color: var(--brand); font-weight: 800; }
.hero-stats span { color: var(--muted); font-size: 0.9rem; }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  justify-self: center;
  width: 100%;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(12, 26, 43, 0.35);
  transform: rotate(-2deg);
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 2px dashed rgba(11, 102, 194, 0.4);
  border-radius: 28px;
  transform: rotate(3deg);
  pointer-events: none;
}

/* ===== About ===== */
.about { padding: 80px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.about-img {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 420px;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.img-badge {
  position: absolute;
  bottom: -24px;
  inset-inline-start: -24px;
  background: var(--accent);
  color: var(--dark);
  border-radius: var(--radius);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.img-badge strong { font-size: 1.6rem; }
.img-badge span { font-size: 0.85rem; font-weight: 600; }

.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li {
  position: relative;
  padding-inline-start: 28px;
  color: var(--ink-soft);
}
.checks li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  width: 20px; height: 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ===== Services ===== */
.services { padding: 80px 0; background: #fff; }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}
.section-head.light .eyebrow { background: rgba(255,255,255,0.15); color: #fff; }
.section-head.light h2 { color: #fff; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 102, 194, 0.4);
  box-shadow: var(--shadow);
}
.card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f4f8;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px 24px 24px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: 0.95rem; margin: 0; }

/* ===== Why ===== */
.why {
  padding: 80px 0;
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(11, 102, 194, 0.5), transparent 60%),
    linear-gradient(135deg, #0c1a2b, #142a44);
  color: #fff;
}
.why .section-head p { color: rgba(255,255,255,0.7); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.why-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
}
.why-item .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.why-item h3 { color: #fff; }
.why-item p { color: rgba(255,255,255,0.7); margin: 0; }

/* ===== Gallery ===== */
.gallery { padding: 80px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.g-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a2b40;
  margin: 0;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.g-item:hover { transform: scale(1.02); }
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.g-item:hover img { transform: scale(1.08); }
.g-item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}
.g5 { grid-column: span 2; }

/* ===== CTA banner ===== */
.cta {
  padding: 60px 0;
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { color: rgba(255,255,255,0.85); margin: 0; }
.cta .btn-primary { background: #fff; color: var(--brand); }
.cta .btn-primary:hover { background: var(--accent); color: var(--dark); }

/* ===== Contact ===== */
.contact { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 16px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
}
.contact-list strong { font-size: 0.85rem; color: var(--muted); margin-bottom: 4px; }
.contact-list a { color: var(--brand); font-weight: 700; }

.contact-form {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 102, 194, 0.15);
}
.form-note {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0;
  font-size: 0.9rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255,255,255,0.6); }
.site-footer h4 { color: #fff; margin-bottom: 14px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-links a:hover { color: var(--accent); }
.foot-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  background: #25d366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  z-index: 40;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.05); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g5 { grid-column: auto; }
  .hero-art { max-width: 340px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    inset-inline-end: 16px;
    inset-inline-start: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .main-nav a { display: block; }
  .cards,
  .why-grid,
  .gallery-grid,
  .footer-grid,
  .contact-form .row { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 40px; }
  .img-badge { inset-inline-start: 0; }
}
