﻿:root {
  --primary: #073b86;
  --primary-2: #0b70ba;
  --letter-red: #b3212a;
  --gold: #b99a55;
  --teal: #00a7a7;
  --teal-dark: #00888d;
  --ink: #102033;
  --muted: #607083;
  --line: #d9e8f2;
  --soft: #f3f9fc;
  --white: #fff;
  --shadow: 0 18px 46px rgba(7, 59, 134, .13);
  --radius: 8px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.62;
}

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

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

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

.topbar {
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  border-bottom: 2px solid var(--gold);
}

.topbar .container {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 8px;
}

.topbar-group,
.topbar a,
.topbar span {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.topbar-group {
  gap: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(185, 154, 85, .58);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  color: var(--primary);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-ar {
  color: var(--letter-red);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  direction: rtl;
}

.brand-sub {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  color: #25435d;
  font-size: 14px;
  font-weight: 800;
  transition: .2s ease;
}

.nav-links a:hover,
body[data-page="home"] .nav-home,
body[data-page="about"] .nav-about,
body[data-page="products"] .nav-products,
body[data-page="services"] .nav-services,
body[data-page="contact"] .nav-contact {
  background: #fff7e7;
  color: var(--letter-red);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--primary);
  font-size: 19px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary-2);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}

.btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(7, 59, 134, .24);
}

.btn.secondary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(112deg, #f7fbfe 0%, #eef8fb 52%, #fff 100%);
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(360px, 1.04fr);
  align-items: center;
  gap: 48px;
  padding: 64px 0;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--letter-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
}

h1,
.page-title {
  color: var(--primary);
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-copy p,
.page-intro p,
.section-head p,
.text-muted {
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-item {
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(7, 59, 134, .06);
}

.trust-item strong {
  display: block;
  color: var(--primary);
  font-size: 25px;
  line-height: 1;
  margin-bottom: 8px;
}

.trust-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: grid;
  align-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 7% auto auto;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(185, 154, 85, .18);
}

.hero-visual img {
  position: relative;
  width: 100%;
  aspect-ratio: 1.18 / .86;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  left: -20px;
  bottom: 28px;
  width: min(330px, 70%);
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  box-shadow: none;
}

.hero-card strong {
  color: var(--primary);
}

.page-hero {
  background: linear-gradient(112deg, rgba(7, 59, 134, .95), rgba(11, 112, 186, .80), rgba(179, 33, 42, .42)), var(--hero-image) center/cover;
  color: var(--white);
  padding: 94px 0;
}

.page-hero .eyebrow,
.page-hero .page-title,
.page-hero p {
  color: var(--white);
}

.page-intro {
  max-width: 780px;
}

section {
  padding: 82px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  color: var(--primary);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.14;
  margin: 9px 0 12px;
}

h3 {
  color: var(--primary);
  line-height: 1.25;
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.feature,
.service-row,
.contact-method {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}

.feature i,
.service-row i,
.contact-method i,
.icon-box {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-2), var(--letter-red));
  font-size: 20px;
}

.band {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(7, 59, 134, .06);
  transition: .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 167, 167, .45);
  box-shadow: var(--shadow);
}

.card .icon-box {
  margin-bottom: 17px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.mini-list {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  list-style: none;
  color: #385064;
  font-size: 14px;
  font-weight: 700;
}

.mini-list li {
  display: flex;
  gap: 8px;
}

.mini-list i {
  color: var(--teal-dark);
  margin-top: 4px;
  font-size: 12px;
}

.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--white);
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-box h2,
.cta-box p {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 26px;
  align-items: start;
}

.panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(7, 59, 134, .06);
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.contact-method {
  align-items: center;
  min-height: 66px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  overflow-wrap: anywhere;
}

.contact-method strong {
  display: block;
  color: var(--primary);
  font-size: 14px;
}

.map {
  height: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #dcecf7;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: #27445d;
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c9dce9;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: .2s ease;
}

textarea {
  min-height: 138px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 167, 167, .14);
}

.error {
  min-height: 18px;
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
}

.form-note {
  min-height: 24px;
  margin-top: 14px;
  color: var(--teal-dark);
  font-weight: 800;
}

.footer {
  background: #071e42;
  color: var(--white);
  padding: 58px 0 22px;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .8fr .9fr;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  padding: 5px;
  border-radius: var(--radius);
  background: var(--white);
}

.footer h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--white);
}

.footer p,
.footer a,
.footer span {
  color: rgba(255, 255, 255, .78);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-contact a,
.footer-contact span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  overflow-wrap: anywhere;
}

.footer-contact i {
  color: var(--gold);
  margin-top: 4px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  color: var(--white);
}

.socials a:hover {
  background: var(--letter-red);
  border-color: var(--letter-red);
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 20px;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
}

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #20b15a;
  color: var(--white);
  box-shadow: 0 14px 30px rgba(32, 177, 90, .32);
  font-size: 26px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    inset: 100% 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 20px 38px rgba(7, 59, 134, .12);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
    border-radius: var(--radius);
  }

  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 52px 0 64px;
  }

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

@media (max-width: 720px) {
  .topbar .container,
  .topbar-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-ar {
    font-size: 12px;
  }

  .brand-sub {
    max-width: 210px;
  }

  h1,
  .page-title {
    font-size: 38px;
  }

  section {
    padding: 62px 0;
  }

  .hero-card {
    position: relative;
    left: 0;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .trust-row,
  .card-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .panel {
    padding: 22px;
  }
}
