:root {
  --navy: #0d1f2d;
  --navy-2: #07131d;
  --gold: #c49a52;
  --olive: #6b7f46;
  --teal: #0e6b6f;
  --light: #f2f2f2;
  --white: #ffffff;
  --muted: #6d7782;
  --dark-muted: #9da9b4;
  --border: rgba(196, 154, 82, 0.28);
  --shadow: 0 18px 50px rgba(7, 19, 29, 0.16);
}


/* =========================
   BASE / RESET
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "cairo", "Tajawal", sans-serif;
  color: var(--navy);
  background: #fff;
  overflow-x: hidden;
  direction: rtl;
}

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

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

button,
input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: min(1220px, calc(100% - 40px));
  margin-inline: auto;
}

/* =========================
   SHARED DECOR / TYPOGRAPHY
========================= */
.geo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.geo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 154, 82, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 154, 82, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
}

.diamond {
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(196, 154, 82, 0.22);
  transform: rotate(45deg);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.section-kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.3;
  font-weight: 800;
  color: var(--navy);
}

.section-title span {
  color: var(--gold);
}

.section-desc {
  margin-top: 12px;
  color: #59636e;
  font-size: 1.02rem;
  line-height: 2;
  max-width: 680px;
}

.dark .section-title {
  color: #fff;
}

.dark .section-desc {
  color: rgba(255, 255, 255, 0.68);
}

.dark .section-kicker {
  color: var(--gold);
}

/* =========================
   TOP BAR
========================= */
.top-strip {
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}

.top-strip .container {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.top-info {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}

.top-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-info i {
  color: var(--gold);
}

.iso-badge {
  background: rgba(196, 154, 82, 0.16);
  border: 1px solid rgba(196, 154, 82, 0.32);
  color: var(--gold);
  padding: 5px 12px;
  font-weight: 700;
  font-size: 0.76rem;
}

/* =========================
   HEADER / NAVIGATION
========================= */
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(13, 31, 45, 0.1);
  box-shadow: 0 8px 28px rgba(7, 19, 29, 0.06);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  transition: 0.4s ease;
}

.brand:hover img {
  transform: rotate(-4deg) scale(1.03);
}

.brand-text strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 28px;
}

.brand-text small {
  display: block;
  color: #6b7280;
  font-weight: 700;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 13px 13px;
  font-size: 0.96rem;
  font-weight: 700;
  color: #223241;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 14px;
  left: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: 0.25s;
}

.nav a:hover {
  color: var(--gold);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(13, 31, 45, 0.15);
  background: #fff;
  color: var(--navy);
  font-size: 1.3rem;
}

.mobile-nav{
  position:fixed;
  top:86px;
  right:-100%;
  width:280px;
  height:calc(100vh - 86px);

  background:#fff;

  z-index:999;

  display:flex;
  flex-direction:column;

  padding:30px 24px;

  box-shadow:
    -10px 0 30px rgba(0,0,0,.08);

  transition:right .35s ease;
}

.mobile-nav.active{
  right:0;
}

.mobile-nav a{
  padding:14px 0;

  border-bottom:
    1px solid rgba(13,31,45,.08);

  font-weight:800;

  color:var(--navy);

  transition:.3s ease;
}

.mobile-nav a:hover{
  color:var(--gold);
  padding-right:6px;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  cursor: pointer;
  padding: 14px 30px;
  font-size: 0.96rem;
  font-weight: 700;
  transition: 0.25s ease;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 12px 30px rgba(196, 154, 82, 0.22);
}

.btn-gold:hover {
  background: #b88d43;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover {
  background: var(--teal);
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-2);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 19, 29, 0.82) 0%,
      rgba(7, 19, 29, 0.86) 42%,
      rgba(7, 19, 29, 0.45) 70%,
      rgba(7, 19, 29, 0.18) 100%
    ),
    linear-gradient(
      0deg,
      rgba(7, 19, 29, 0.75),
      transparent 50%
    );
}

.hero .diamond.d1 {
  left: 10%;
  top: 15%;
}

.hero .diamond.d2 {
  left: 10%;
  top: 15%;
  rotate: 65deg;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
  padding: 90px 0 120px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0d1f2d;
  border: 1px solid rgba(196, 154, 82, 0.36);
  background: rgba(255, 255, 255, 0.31);
  padding: 9px 16px;
  font-weight: 900;
  margin-bottom: 28px;
}

.hero-title {
  color: #fff;
  font-size: clamp(3rem, 7vw, 5.3rem);
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--gold);
}

.hero-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.18rem;
  line-height: 2;
  max-width: 660px;
  margin-bottom: 34px;
}

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

.hero-mini {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  max-width: 680px;
  border: 1px solid rgba(196, 154, 82, 0.25);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.hero-mini div {
  padding: 22px 20px;
  border-left: 1px solid rgba(196, 154, 82, 0.2);
}

.hero-mini div:last-child {
  border-left: 0;
}

.hero-mini strong {
  display: block;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.hero-mini span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 700;
  margin-top: 8px;
  font-size: 0.9rem;
}

.hero-cut {
  position: absolute;
  bottom: -1px;
  right: 0;
  left: 0;
  height: 92px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* =========================
   QUICK CARDS
========================= */
.quick {
  position: relative;
  margin-top: -78px;
  z-index: 5;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  box-shadow: 0 25px 60px rgba(7, 19, 29, 0.12);
  border: 1px solid rgba(13, 31, 45, 0.08);
}

.quick-card {
  position: relative;
  overflow: hidden;
  padding: 34px 28px;
  background: #fff;
  border-left: 1px solid rgba(13, 31, 45, 0.08);
  transition:
    transform 0.45s ease,
    background 0.45s ease,
    box-shadow 0.45s ease;
}

.quick-card:last-child {
  border-left: 0;
}

.quick-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), #f5d08a);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s ease;
}

.quick-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(196, 154, 82, 0.08),
      transparent 40%
    );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.quick-card:hover {
  transform: translateY(-12px);
  background: #ffffff;
  box-shadow:
    0 30px 60px rgba(7, 19, 29, 0.14),
    0 0 30px rgba(196, 154, 82, 0.08);
}

.quick-card:hover::before {
  transform: scaleY(1);
}

.quick-card:hover::after {
  opacity: 1;
}

.quick-icon {
  position: relative;
  width: 58px;
  height: 58px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  clip-path: polygon(
    9px 0,
    100% 0,
    100% calc(100% - 9px),
    calc(100% - 9px) 100%,
    0 100%,
    0 9px
  );
  transition:
    transform 0.45s ease,
    background 0.45s ease,
    color 0.45s ease;
}

.quick-card:hover .quick-icon {
  transform: rotate(-6deg) scale(1.08);
  background: var(--gold);
  color: var(--navy);
}

.quick-card h3 {
  font-size: 1.12rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--navy);
  transition: color 0.3s ease;
}

.quick-card:hover h3 {
  color: var(--gold);
}

.quick-card p {
  font-size: 0.93rem;
  color: #65707a;
  line-height: 1.9;
}

/* =========================
   ABOUT
========================= */
.about {
  padding: 125px 0 105px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: start;
}

.about-visual {
  position: relative;
}

.about-visual .main-img {
  height: 575px;
  width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 28px -24px -24px 28px;
  border: 2px solid rgba(196, 154, 82, 0.45);
  z-index: -1;
}

.about-stamp {
  position: absolute;
  bottom: 32px;
  right: -30px;
  background: var(--navy);
  color: #fff;
  padding: 24px 28px;
  min-width: 190px;
  border-right: 5px solid var(--gold);
  box-shadow: var(--shadow);
}

.about-stamp strong {
  display: block;
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.about-stamp span {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.82);
}

.about-list {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.about-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 15px;
  align-items: start;
  padding: 16px 20px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 1),
      rgba(248, 248, 246, 1)
    );
  border: 1px solid rgba(13, 31, 45, 0.08);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  animation: aboutItemReveal 0.8s ease forwards;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    background 0.45s ease;
}

.about-item:nth-child(1) {
  animation-delay: 0.15s;
}

.about-item:nth-child(2) {
  animation-delay: 0.35s;
}

.about-item:nth-child(3) {
  animation-delay: 0.55s;
}

.about-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background:
    linear-gradient(
      to bottom,
      var(--gold),
      #f2d08d
    );
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s ease;
}

.about-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(196, 154, 82, 0.04) 20%,
      rgba(196, 154, 82, 0.12) 45%,
      rgba(255, 255, 255, 0.18) 50%,
      rgba(196, 154, 82, 0.12) 55%,
      rgba(196, 154, 82, 0.04) 80%,
      transparent 100%
    );
  opacity: 0;
  pointer-events: none;
  transition:
    left 1.8s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.5s ease;
}

.about-item:hover {
  transform: translateY(-8px);
  border-color: rgba(196, 154, 82, 0.28);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 1),
      rgba(255, 250, 240, 1)
    );
  box-shadow:
    0 20px 45px rgba(7, 19, 29, 0.08),
    0 0 30px rgba(196, 154, 82, 0.06);
}

.about-item:hover::before {
  transform: scaleY(1);
}

.about-item:hover::after {
  opacity: 1;
  left: 120%;
}

.about-item i {
  color: var(--teal);
  font-size: 1.45rem;
}

.about-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 5px;
  color: var(--navy);
  transition: color 0.3s ease;
}

.about-item:hover strong {
  color: var(--gold);
}

.about-item p {
  font-size: 0.93rem;
  line-height: 1.8;
  color: #68727b;
}

/* =========================
   SERVICES
========================= */
.services {
  padding: 105px 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.services-head {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: end;
  margin-bottom: 44px;
}

.services-head .section-desc {
  max-width: 520px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  background: #fff;
  border: 1px solid rgba(13, 31, 45, 0.06);
  box-shadow: 0 10px 32px rgba(13, 31, 45, 0.07);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background:
    linear-gradient(
      to bottom,
      var(--gold),
      #f0cf8f
    );
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(196, 154, 82, 0.18);
  box-shadow:
    0 25px 50px rgba(7, 19, 29, 0.10),
    0 0 30px rgba(196, 154, 82, 0.04);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card:hover::after {
  opacity: 1;
  left: 120%;
}

.service-img {
  height: 220px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1s ease,
    filter 0.6s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.06);
  filter:
    contrast(1.04)
    saturate(1.02);
}

.service-no {
  position: absolute;
  top: 184px;
  left: 24px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 900;
  clip-path: polygon(
    11px 0,
    100% 0,
    100% calc(100% - 11px),
    calc(100% - 11px) 100%,
    0 100%,
    0 11px
  );
  transition:
    transform 0.45s ease,
    background 0.45s ease,
    color 0.45s ease;
}

.service-card:hover .service-no {
  transform: rotate(-6deg) scale(1.06);
  background: var(--navy);
  color: var(--gold);
}

.service-body {
  padding: 60px 34px 34px;
}

.service-body h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.service-card:hover .service-body h3 {
  color: var(--gold);
}

.service-body p {
  line-height: 1.9;
  color: #65707a;
  font-size: 0.96rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 900;
  transition:
    gap 0.3s ease,
    color 0.3s ease;
}

.service-card:hover .service-link {
  gap: 12px;
  color: var(--gold);
}

/* =========================
   FIELD / GALLERY
========================= */
.field {
  padding: 105px 0;
  background: var(--navy-2);
  position: relative;
  overflow: hidden;
}

.field::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(196, 154, 82, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 12% 85%,
      rgba(14, 107, 111, 0.18),
      transparent 30%
    );
}

.field-content .section-title {
  font-size: 42px;
  line-height: 4rem;
}

.field-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 50px;
  align-items: stretch;
}

.field-features {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.field-feature {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.field-feature::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.field-feature:hover {
  border-color: rgba(196, 154, 82, 0.18);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.field-feature:hover::before {
  transform: scaleY(1);
}

.field-feature i {
  color: var(--gold);
  font-size: 1.4rem;
  transition:
    transform 0.35s ease,
    color 0.35s ease;
}

.field-feature:hover i {
  transform: scale(1.08);
}

.field-feature strong {
  display: block;
  color: #fff;
  font-weight: 900;
  margin: 12px 0 5px;
}

.field-feature span {
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.8;
  font-size: 0.9rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  height: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.gallery-item.big {
  grid-row: span 2;
  min-height: 250px;
  height: 100%;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(7, 19, 29, 0.92),
      rgba(7, 19, 29, 0.22) 55%,
      transparent 100%
    );
}

.gallery-item:hover {
  border-color: rgba(196, 154, 82, 0.22);
  box-shadow: 0 20px 40px #c49a5220;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.08);
  transition: 0.45s;
}

.gallery-item:hover img {
  transform: scale(1.07);
  filter: none;
}

.gallery-caption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-weight: 900;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.gallery-caption small {
  display: block;
  color: var(--gold);
  font-weight: 800;
  margin-top: 3px;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(-4px);
}

/* =========================
   STATS
========================= */
.stats {
  background: var(--teal);
  position: relative;
  overflow: hidden;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  padding: 30px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.stat:last-child {
  border-left: 0;
}

.stat strong {
  font-size: 3.4rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--gold);
}

.stat span {
  font-weight: 800;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.stat small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* =========================
   QUALITY
========================= */
.quality {
  padding: 105px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

.quality-panels {
  height: 100%;
  display: grid;
  gap: 16px;
}

.quality-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(13, 31, 45, 0.1);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.quality-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.quality-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 154, 82, 0.22);
  background: rgba(255, 250, 240, 0.45);
  box-shadow: 0 18px 40px rgba(7, 19, 29, 0.08);
}

.quality-panel:hover::before {
  transform: scaleY(1);
}

.q-icon {
  width: 64px;
  height: 64px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.quality-panel:hover .q-icon {
  background: var(--gold);
  color: var(--navy);
}

.quality-panel strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.quality-panel p {
  color: #66717b;
  line-height: 1.8;
  font-size: 0.94rem;
}

.certificate {
  height: 100%;
  min-height: 100%;
  padding: 42px;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(7, 19, 29, 0.18);
  background:
    linear-gradient(135deg, rgba(13, 31, 45, 0.94), rgba(13, 31, 45, 0.78)),
    url("img/03.jpeg") center/cover;
}

.certificate::before {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(196, 154, 82, 0.35);
}

.certificate-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.cert-logo {
  width: 150px;
  opacity: 0.96;
  margin-inline: auto;
  display: block;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.certificate:hover .cert-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 0 20px rgba(196, 154, 82, 0.16));
}

.cert-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.2;
}

.cert-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.cert-brand span {
  position: relative;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
  padding: 0 8px;
}

.cert-brand span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -12px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

.cert-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.cert-row div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 14px;
  text-align: center;
}

.cert-row strong {
  display: block;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 900;
}

.cert-row span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  margin-top: 5px;
}

/* =========================
   CONTACT
========================= */
.contact {
  position: relative;
  padding: 115px 0;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(7, 19, 29, 0.96),
      rgba(7, 19, 29, 0.86)
    ),
    url("img/04.jpeg") center/cover fixed;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.18;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: stretch;
}

.contact-card {
  position: relative;
  padding: 38px;
  color: #fff;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.contact-item {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px 16px;
  border-radius: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.contact-item::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.10);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.contact-item:hover {
  border-color: rgba(196, 154, 82, 0.18);
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02),
      rgba(196, 154, 82, 0.03)
    );
}

.contact-item:hover::before {
  transform: scaleX(1);
  background: var(--gold);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item i {
  width: 52px;
  height: 52px;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.contact-item:hover i {
  transform: scale(1.04);
  background: var(--gold);
  color: var(--navy);
  box-shadow:
    0 0 20px rgba(196, 154, 82, 0.22),
    0 0 40px rgba(196, 154, 82, 0.08);
}

.contact-item span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 4px;
  transition: color 0.35s ease;
}

.contact-item strong {
  display: block;
  color: #fff;
  font-weight: 700;
  direction: ltr;
  text-align: end;
  letter-spacing: 2px;
  transition: color 0.35s ease;
}

.contact-item:hover span {
  color: rgba(255, 255, 255, 0.82);
}

.contact-item:hover strong {
  color: var(--gold);
}

.form {
  position: relative;
  padding: 42px;
  background: #fff;
  overflow: hidden;
  border: 1px solid rgba(13, 31, 45, 0.06);
  box-shadow: 0 25px 60px rgba(7, 19, 29, 0.12);
}

.form h3 {
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-weight: 900;
  margin-bottom: 7px;
  font-size: 0.9rem;
  color: #33414f;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(13, 31, 45, 0.10);
  background: #f8f8f6;
  padding: 15px 16px;
  outline: 0;
  font-size: 0.95rem;
  color: var(--navy);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(196, 154, 82, 0.08);
  transform: translateY(-2px);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form .btn {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.form .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(196, 154, 82, 0.22);
}


/* =========================
   PARTNERS
========================= */

.partners{
  position:relative;
  padding:105px 0;
  background:var(--light);
  overflow:hidden;
}

.partners::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      rgba(13,31,45,.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(13,31,45,.025) 1px,
      transparent 1px
    );

  background-size:70px 70px;

  opacity:.35;

  pointer-events:none;
}

.partners-head{
  text-align:center;
  margin-bottom:55px;
}

.partners-head .section-kicker{
  justify-content:center;
}

.partners-head .section-desc{
  margin-inline:auto;
}

.partners-slider{
  position:relative;
  overflow:hidden;
  mask-image:linear-gradient(
    to left,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

.partners-track{
  display:flex;
  align-items:center;
  gap:24px;
  width:max-content;

  animation:partnersScroll 28s linear infinite;
}

.partner-item{
  width:220px;
  height:120px;

  background:#fff;

  border:
    1px solid rgba(13,31,45,.08);

  display:flex;
  align-items:center;
  justify-content:center;

  padding:24px;

  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease,
    background .35s ease;

  flex-shrink:0;
}

.partner-item img{
  max-width:100%;
  max-height:58px;

  object-fit:contain;

  filter:
    grayscale(1)
    opacity(.72);

  transition:
    filter .35s ease,
    transform .35s ease;
}

.partner-item:hover{
  transform:translateY(-6px);

  border-color:
    rgba(196,154,82,.24);

  box-shadow:
    0 18px 35px rgba(7,19,29,.08);
}

.partner-item:hover img{
  filter:none;

  transform:scale(1.04);
}

@keyframes partnersScroll{
  from{
    transform:translateX(0);
  }

  to{
    transform:translateX(50%);
  }
}


/* =========================
   TESTIMONIALS
========================= */

.testimonials{
  position:relative;
  padding:105px 0;
  background:#fff;
  overflow:hidden;
}

.testimonials::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(196,154,82,.08),
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(14,107,111,.08),
      transparent 25%
    );

  pointer-events:none;
}

.testimonials-head{
  text-align:center;
  margin-bottom:55px;
}

.testimonials-head .section-kicker{
  justify-content:center;
}

.testimonials-head .section-desc{
  margin-inline:auto;
}

.testimonials-grid{
  position:relative;
  z-index:2;

  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.testimonial-card{
  position:relative;

  background:#fff;

  padding:32px;

  border:
    1px solid rgba(13,31,45,.08);

  overflow:hidden;

  transition:
    transform .4s ease,
    border-color .4s ease,
    box-shadow .4s ease,
    background .4s ease;
}

.testimonial-card::before{
  content:"";

  position:absolute;

  top:0;
  right:0;

  width:4px;
  height:100%;

  background:
    linear-gradient(
      to bottom,
      var(--gold),
      #f2d08d
    );

  transform:scaleY(0);

  transform-origin:top;

  transition:transform .4s ease;
}

.testimonial-card:hover{
  transform:translateY(-8px);

  border-color:
    rgba(196,154,82,.22);

  box-shadow:
    0 22px 45px rgba(7,19,29,.08);
}

.testimonial-card:hover::before{
  transform:scaleY(1);
}

.testimonial-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px;
}

.quote-icon{
  width:58px;
  height:58px;

  background:var(--navy);

  color:var(--gold);

  display:grid;
  place-items:center;

  font-size:1.4rem;

  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );

  transition:
    background .35s ease,
    color .35s ease,
    transform .35s ease;
}

.testimonial-card:hover .quote-icon{
  background:var(--gold);
  color:var(--navy);

  transform:scale(1.05);
}

.stars{
  display:flex;
  gap:4px;

  color:var(--gold);

  font-size:.9rem;
}

.testimonial-text{
  color:#5f6973;

  line-height:2;

  font-size:.96rem;

  margin-bottom:26px;
}

.testimonial-user strong{
  display:block;

  font-size:1rem;

  font-weight:900;

  color:var(--navy);

  margin-bottom:4px;
}

.testimonial-user span{
  color:#7a848e;

  font-size:.88rem;
}

/* =========================
   FOOTER
========================= */
.footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-top: 80px;
  border-top: 4px solid var(--gold);
  background:
    linear-gradient(
      180deg,
      #08141f,
      #06111a
    );
}

.footer::before {
  content: "HPS";
  position: absolute;
  left: 6%;
  top: 10px;
  font-size: 13rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.08em;
  pointer-events: none;
}

.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.15;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  /* grid-template-columns: 1.35fr 1fr 1fr 1fr; */
  grid-template-columns: 1.6fr 1fr 1fr 1.6fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand img {

  width: 110px;
  margin-bottom: 18px;
  position: relative;

  filter:
    drop-shadow(0 0 10px rgba(255,255,255,.1))
    drop-shadow(0 0 22px rgba(255,255,255,.08))
    drop-shadow(0 12px 30px rgba(255,255,255,.06));
/* 
  transition:a
    transform .45s ease,
    filter .45s ease; */
  transition:
    transform .45s ease,
    filter .45s ease;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.9;
  max-width: 100%;
  text-align: center;
}

.footer h4 {
  position: relative;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 22px;
  color: #fff;
  padding-bottom: 12px;
  letter-spacing: 0.02em;
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 38px;
  height: 2px;
  background: var(--gold);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  position: relative;
  width: 80%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.94rem;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.footer .contact-list li{
  margin-bottom: 10px;
}

.footer ul li::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      #f2d08d42,
      var(--gold)
    );
  transition: width 0.35s ease;
}

.footer ul li:hover {
  color: var(--gold);
}

.footer ul li:hover::after {
  width: 100%;
}

.footer li i {
  color: var(--gold);
  font-size: 0.95rem;
  margin-top: 3px;
  min-width: 16px;
}

.footer li span,
.footer li a {
  line-height: 1.8;
}

.contact-list li {
  opacity: 0.82;
  transition: opacity 0.3s ease;
}

.contact-list li::after {
  display: none;
}

.contact-list li:hover {
  opacity: 1;
  transform: none;
  color: rgba(255, 255, 255, 0.82);
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social a {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    transform 0.28s ease,
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.social a:hover {
  transform: scale(1.08);
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
}

.footer-bottom a {
  color: var(--gold);
  font-weight: 700;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

/* =========================
   ANIMATIONS
========================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes aboutItemReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .mobile-toggle {
    display: grid;
    place-items: center;
  }

  .quick-grid,
  .stats .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .field-grid,
  .quality-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 26px, 1220px);
  }

  .top-strip .container {
    justify-content: center;
    text-align: center;
  }

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

  .brand-text strong {
    font-size: 1rem;
  }

  .brand-text small {
    font-size: 0.78rem;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 80px 0 115px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-mini {
    grid-template-columns: 1fr;
  }

  .hero-mini div {
    border-left: 0;
    border-bottom: 1px solid rgba(196, 154, 82, 0.2);
  }

  .quick-grid,
  .service-grid,
  .stats .container,
  .footer-grid,
  .field-features,
  .form-row,
  .cert-row {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item.big,
  .gallery-item {
    height: 310px;
  }

  .services-head {
    display: block;
  }

  .about-visual .main-img {
    height: 390px;
  }

  .about-stamp {
    right: 16px;
    bottom: 16px;
  }

  .form {
    padding: 26px;
  }

  .partners{
    padding:80px 0;
  }

  .partner-item{
    width:160px;
    height:95px;
    padding:18px;
  }

  .partner-item img{
    max-height:42px;
  }

  .testimonials-grid{
    grid-template-columns:1fr;
  }

  .about,
  .services,
  .field,
  .quality,
  .partners,
  .testimonials,
  .contact{
    padding:80px 0;
  }

  .section-title{
    font-size:2rem;
    line-height:1.5;
  }

  .hero-title{
    font-size:2.5rem;
    line-height:1.5;
  }

  .field-content .section-title{
    font-size:2rem;
    line-height:1.5;
  }

  .footer-grid{
    gap:34px;
  }

  .footer ul li{
    width:100%;
  }

  .footer{
    text-align:center;
  }

  .footer h4::after{
    right:50%;
    transform:translateX(50%);
  }

  .social{
    justify-content:center;
  }

  .contact-list li{
    justify-content:center;
  }

  .contact-grid{
    gap:28px;
  }

  .contact-card,
  .form{
    padding:26px;
  }

  .contact-item{
    grid-template-columns:48px 1fr;
    gap:14px;
    padding:18px 10px;
  }

  .contact-item strong{
    font-size:.92rem;
    letter-spacing:1px;
  }

  .hero-text{
    font-size:1rem;
    line-height:1.9;
  }

  .hero-actions{
    flex-direction:column;
  }

  .hero-actions .btn{
    width:100%;
  }

  .stat{
    min-height:auto;
    text-align:center;
    border-left:0;
    border-bottom:
      1px solid rgba(255,255,255,.12);
  }

  .stat:last-child{
    border-bottom:0;
  }

  .partners-track{
    animation-duration:40s;
  }

  .service-img{
    height:200px;
  }

  .gallery-item.big,
  .gallery-item{
    height:240px;
  }

}
