@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap");
:root {
  --primary: #0c2344;
  --secondary: #90a4ae;
  --cta: #314560;
  --text: #f7f7f7;
  --gold: #d6b24a;

  --container: 1240px;
  --line: rgba(247, 247, 247, 0.12);
  --line2: rgba(247, 247, 247, 0.08);

  /* Trust strip geometry, controls overlap and spacing */
  --trust-overlap: 52px;
  --trust-radius: 44px;
  --trust-pad-y: 20px;
  --trust-pad-x: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Heebo, system-ui, sans-serif;
  background: #07172e;
  color: var(--text);
}

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

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

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

/* ===============================
     Scroll reveal, fade and lift
     =============================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================================
     Header
     ================================ */

/* Header shell */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Top row */
.header-top {
  background: rgba(12, 35, 68, 0.95);
  border-bottom: 1px solid var(--line2);
}

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

.top-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 14px;
  opacity: 0.92;
}

.top-links a {
  padding: 10px 2px;
  transition: opacity 160ms ease, color 160ms ease;
}

.top-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

.top-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.top-phone-text {
  font-weight: 700;
  opacity: 0.9;
}

.top-phone-number {
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.3px;
}

.top-phone-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid rgba(214, 178, 74, 0.55);
  background: rgba(214, 178, 74, 0.08);
}

.top-phone-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Second row */
.header-main {
  background: rgba(8, 28, 52, 0.96);
}

.header-main-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 22px;
}

/* Logo on the right in RTL */
.logo-block {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-inline-end: 18px;
  border-inline-end: 1px solid rgba(247, 247, 247, 0.18);
}

.logo-img {
  height: 100px;
  width: auto;
}

/* Active navigation state */
.top-links a.is-active,
.services-links .svc.is-active {
  color: var(--secondary);
  position: relative;
}

.top-links a.is-active::after,
.services-links .svc.is-active::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: -6px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.services-links .svc.is-active {
  background: rgba(144, 164, 174, 0.14);
  border-color: rgba(144, 164, 174, 0.4);
}

/* Services row */
.services-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.svc {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease,
    transform 160ms ease;
}

.svc:hover {
  background: rgba(144, 164, 174, 0.1);
  border-color: rgba(144, 164, 174, 0.16);
  transform: translateY(-1px);
}

.svc-text {
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 12px;
  opacity: 0.95;
}

.svc-ico {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.svc:hover .svc-ico {
  transform: scale(1.08);
  transition: transform 160ms ease;
}

.services-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: 12px;
}

.cta-secondary {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(247, 247, 247, 0.35);
  font-weight: 800;
  font-size: 14px;
  transition: background 160ms ease, border-color 160ms ease;
}

.cta-secondary:hover {
  background: rgba(144, 164, 174, 0.12);
  border-color: rgba(144, 164, 174, 0.4);
}

.cta-primary {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cta);
  color: var(--text);
  font-weight: 900;
  font-size: 14px;
  transition: background 160ms ease, transform 160ms ease;
}

.cta-primary:hover {
  background: #3b5678;
  transform: translateY(-1px);
}

/* Mobile and tablet header */
.mobilebar {
  display: none;
  background: rgba(12, 35, 68, 0.96);
  border-bottom: 1px solid var(--line2);
}

.mobilebar-inner {
  height: 66px;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
}

.mob-call {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #d6b24a;
  border: 1px solid rgba(214, 178, 74, 0.35);
  background: rgba(214, 178, 74, 0.08);
}

.mob-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mob-logo img {
  height: 80px;
  width: auto;
}

.mob-toggle,
.mob-close {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(247, 247, 247, 0.16);
  background: rgba(247, 247, 247, 0.06);
  border-radius: 16px;
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.burger {
  width: 22px;
  height: 2px;
  background: var(--text);
  position: relative;
  border-radius: 999px;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.burger::before {
  top: -7px;
}

.burger::after {
  top: 7px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 80;
  background: rgba(0, 0, 0, 0.55);
}

.mobile-overlay.is-open {
  display: block;
}

.mobile-panel {
  height: 100%;
  background: rgba(12, 35, 68, 0.88);
  backdrop-filter: blur(10px);
  border-inline-start: 1px solid rgba(247, 247, 247, 0.12);
  padding: 12px 0 18px;
  overflow: auto;
}

.mobile-top {
  padding: 0 16px 12px;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  border-bottom: 1px solid rgba(247, 247, 247, 0.14);
}

.mobile-links {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  flex-wrap: wrap;
}

.mobile-link {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(247, 247, 247, 0.14);
  background: rgba(247, 247, 247, 0.06);
  font-weight: 800;
  font-size: 14px;
}

.mobile-services {
  padding: 8px 0;
}

.mobile-item {
  display: grid;
  grid-template-columns: 1fr 40px 28px;
  align-items: center;
  gap: 10px;
  padding: 16px 16px;
  border-bottom: 1px solid rgba(247, 247, 247, 0.14);
}

.mobile-item-text {
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 16px;
}

.mobile-item-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.mobile-item-arrow {
  opacity: 0.9;
  font-size: 18px;
  text-align: left;
}

.mobile-ctas {
  padding: 14px 16px 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(247, 247, 247, 0.14);
}

.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 900;
  font-family: Rubik, Heebo, sans-serif;
  border: 1px solid transparent;
}

.mobile-cta.secondary {
  background: rgba(247, 247, 247, 0.06);
  border-color: rgba(247, 247, 247, 0.18);
}

.mobile-cta.primary {
  background: var(--cta);
}

.mobile-link.is-active {
  color: var(--secondary);
  border-color: rgba(144, 164, 174, 0.45);
}

.mobile-item.is-active {
  background: rgba(144, 164, 174, 0.12);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
  z-index: 2500;
}

.mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Switch headers */
@media (max-width: 1024px) {
  .site-header {
    position: relative;
  }

  .header-top,
  .header-main {
    display: none;
  }

  .mobilebar {
    display: block;
  }
}

/* ================================
     Hero
     ================================ */

.hero {
  position: relative;
  min-height: calc(100vh - 136px);
  display: grid;
  align-items: center;
  overflow: visible;
  background: #07172e;

  /* Reserve space for the trust strip overlap automatically */
  padding: 64px 0 calc(190px + var(--trust-overlap));
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 35, 68, 0.25),
    rgba(12, 35, 68, 0.92)
  );
}

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

.hero-content {
  max-width: 780px;
}

.hero-title {
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08;
  margin: 0 0 14px;
  color: var(--text);
}

.hero-title-accent {
  display: inline-block;
  margin-right: 10px;
  color: var(--secondary);
}

.hero-sub {
  margin: 0 0 22px;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.9;
  color: rgba(247, 247, 247, 0.88);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  font-family: Rubik, Heebo, sans-serif;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease,
    border-color 160ms ease;
}

.btn-primary {
  background: var(--cta);
  color: var(--text);
}

.btn-primary:hover {
  background: #3b5678;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(247, 247, 247, 0.06);
  border-color: rgba(247, 247, 247, 0.18);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(247, 247, 247, 0.1);
  transform: translateY(-1px);
}

/* ================================
     Trust strip
     ================================ */

.hero .trust-strip {
  position: absolute;
  left: 50%;
  bottom: calc(var(--trust-overlap) * -1);
  transform: translateX(-50%);
  width: min(var(--container), calc(100% - 32px));
  z-index: 10;

  background: rgba(12, 35, 68, 0.92);
  border: 1px solid rgba(247, 247, 247, 0.14);
  border-radius: var(--trust-radius);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.3);
  padding: var(--trust-pad-y) var(--trust-pad-x);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 0;
}

.trust-item {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 14px 10px;
}

.trust-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.trust-item span {
  margin-top: 10px;
  font-weight: 900;
  font-size: 16px;
  color: rgba(247, 247, 247, 0.92);
}

.trust-item:not(:nth-child(4n + 1)) {
  border-inline-start: 1px solid rgba(247, 247, 247, 0.14);
}

/* ================================
     Shared section styles
     ================================ */

.section {
  padding: 84px 0;
}

.section-head {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-title {
  margin: 0 0 10px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3vw, 40px);
}

.section-sub {
  margin: 0;
  line-height: 1.9;
  opacity: 0.86;
  font-size: 16px;
}

.section-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =================================
     Services section
     ================================= */

.services-home {
  background: #f7f7f7;
  color: #0c2344;

  /* Always reserve the overlap so trust strip never covers content */
  padding: calc(84px + var(--trust-overlap)) 0 88px;
}

/* When services follows hero, add the same offset again for safer stacking */
.hero + .services-home {
  padding-top: calc(88px + var(--trust-overlap));
}

.services-home .section-head {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.services-home .section-title {
  margin: 0 0 12px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3vw, 40px);
  color: #0c2344;
}

.services-home .section-sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(12, 35, 68, 0.75);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(12, 35, 68, 0.12);
  border-radius: 22px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  box-shadow: 0 14px 36px rgba(12, 35, 68, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(12, 35, 68, 0.28);
  box-shadow: 0 22px 52px rgba(12, 35, 68, 0.18);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #0c2344;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.service-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.service-title {
  margin: 0 0 8px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #0c2344;
}

.service-desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(12, 35, 68, 0.8);
}

.service-cta {
  margin-top: auto;
  font-weight: 900;
  font-size: 14px;
  color: #314560;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.services-home .section-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.section-actions .btn-ghost {
  border-color: rgba(12, 35, 68, 0.25);
  background: rgba(12, 35, 68, 0.06);
  color: #0c2344;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) {
  transition-delay: 0ms;
}
.reveal-stagger.is-visible > *:nth-child(2) {
  transition-delay: 90ms;
}
.reveal-stagger.is-visible > *:nth-child(3) {
  transition-delay: 180ms;
}
.reveal-stagger.is-visible > *:nth-child(4) {
  transition-delay: 270ms;
}
.reveal-stagger.is-visible > *:nth-child(5) {
  transition-delay: 360ms;
}
.reveal-stagger.is-visible > *:nth-child(6) {
  transition-delay: 450ms;
}

/* =================================
     Projects section
     ================================= */

.projects-home {
  background: #081c34;
  color: #f7f7f7;
  padding: 92px 0;
}

.projects-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.projects-title {
  margin: 0 0 8px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3vw, 44px);
}

.projects-sub {
  margin: 0;
  line-height: 1.9;
  opacity: 0.86;
  max-width: 560px;
  color: rgba(247, 247, 247, 0.84);
}

.projects-link {
  font-weight: 900;
  color: rgba(247, 247, 247, 0.75);
  border-bottom: 1px solid rgba(247, 247, 247, 0.28);
  padding-bottom: 4px;
  transition: opacity 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.projects-link:hover {
  opacity: 0.9;
  border-color: rgba(247, 247, 247, 0.45);
}

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

.project-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(247, 247, 247, 0.12);
  background: rgba(247, 247, 247, 0.04);
  height: 420px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(144, 164, 174, 0.45);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 700ms ease;
}

.project-card:hover .project-img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 28, 52, 0.05),
    rgba(8, 28, 52, 0.55) 55%,
    rgba(8, 28, 52, 0.92)
  );
  opacity: 1;
}

.project-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 18px 16px;
  z-index: 2;
}

.project-name {
  margin: 0 0 6px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #f7f7f7;
}

.project-type {
  margin: 0;
  font-weight: 700;
  color: rgba(247, 247, 247, 0.78);
}

.projects-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ================================
     Responsive rules
     ================================ */

@media (max-width: 1024px) {
  :root {
    --trust-overlap: 78px;
    --trust-radius: 34px;
    --trust-pad-y: 16px;
    --trust-pad-x: 14px;
  }

  .hero {
    min-height: 84vh;
    padding: 54px 0 calc(210px + var(--trust-overlap));
  }
  
  .hero-inner {
    padding-bottom: 96px;
  }
  
  .hero-content {
    padding-bottom: 64px;
  }
  
  .hero-content .hero-sub{
      font-size: 24px;
  }

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

  .trust-item {
    border-inline-start: 0;
  }

  .trust-item:not(:nth-child(2n + 1)) {
    border-inline-start: 1px solid rgba(247, 247, 247, 0.14);
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid rgba(247, 247, 247, 0.14);
  }

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

  .projects-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .project-card {
    height: 360px;
  }
}

@media (max-width: 768px) {
  :root {
    --trust-overlap: 92px;
    --trust-radius: 26px;
    --trust-pad-y: 14px;
    --trust-pad-x: 14px;
  }

  .hero {
    padding: 54px 0 calc(200px + var(--trust-overlap));
  }
  
  .hero-inner {
    padding-bottom: 96px;
  }
  
  .hero-content .hero-sub{
      font-size: 18px;
  }

  .hero .trust-strip {
    width: calc(100% - 24px);
  }

  .trust-item img {
    width: 32px;
    height: 32px;
  }

  .trust-item span {
    font-size: 14px;
    margin-top: 6px;
  }
}

@media (max-width: 520px) {
    
    .hero-inner {
    padding-bottom: 96px;
  }
  .services-home {
    padding: calc(64px + var(--trust-overlap)) 0 64px;
  }

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

  .service-card {
    min-height: unset;
  }

  .projects-home {
    padding: 70px 0;
  }

  .projects-link {
    display: none;
  }

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

  .project-card {
    height: 320px;
  }
}

/* =================================
   ABOUT TEASER
   ================================= */

.about-teaser {
  background: #07172e;
  color: var(--text);
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(247, 247, 247, 0.14);
  background: rgba(247, 247, 247, 0.04);
  min-height: 420px;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.about-badge {
  position: absolute;
  bottom: 16px;
  inset-inline-end: 16px;
  background: rgba(12, 35, 68, 0.88);
  border: 1px solid rgba(247, 247, 247, 0.14);
  border-radius: 22px;
  padding: 14px 16px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.about-badge-num {
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  color: var(--text);
}

.about-badge-txt {
  margin-top: 6px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.6px;
  opacity: 0.88;
}

.about-content .section-title {
  margin-bottom: 10px;
}

.about-head {
  margin-bottom: 16px;
}

.about-points {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(247, 247, 247, 0.12);
  background: rgba(247, 247, 247, 0.04);
  line-height: 1.75;
  font-weight: 800;
  color: rgba(247, 247, 247, 0.92);
}

.about-check {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  background: rgba(144, 164, 174, 0.14);
  border: 1px solid rgba(144, 164, 174, 0.35);
  color: var(--text);
  font-weight: 900;
  margin-top: 1px;
}

.about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-wrap {
    grid-template-columns: 1fr;
  }

  .about-media {
    min-height: 360px;
  }
}

/* =================================
   FAQ SECTION – WHITE VERSION
   ================================= */

.faq-home {
  background: #f7f7f7;
  color: #0c2344;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 28px;
  align-items: start;
}

.faq-col {
  display: grid;
  gap: 12px;
}

/* FAQ item card */
.faq-item {
  border-radius: 22px;
  border: 1px solid rgba(12, 35, 68, 0.12);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(12, 35, 68, 0.08);
  transition: border-color 180ms ease, transform 180ms ease,
    box-shadow 180ms ease, background 180ms ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(144, 164, 174, 0.55);
  box-shadow: 0 16px 40px rgba(12, 35, 68, 0.12);
}

/* Question row */
.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: #0c2344;

  transition: background 180ms ease, color 180ms ease;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-item:hover .faq-q {
  background: rgba(12, 35, 68, 0.03);
}

/* Plus icon */
.faq-ico {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  border: 1px solid rgba(12, 35, 68, 0.18);
  background: rgba(12, 35, 68, 0.06);
  color: #0c2344;

  font-weight: 900;
  line-height: 1;

  transition: transform 220ms ease, background 220ms ease,
    border-color 220ms ease, color 220ms ease;
}

/* Answer, keep your structure, improve the feel */
.faq-a {
  padding: 0 18px 18px;
  line-height: 1.9;
  font-size: 15px;
  color: rgba(12, 35, 68, 0.78);

  max-height: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: max-height 380ms ease, opacity 260ms ease, transform 260ms ease;
  overflow: hidden;
}

/* Open state */
.faq-item[open] {
  border-color: rgba(49, 69, 96, 0.35);
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(12, 35, 68, 0.14);
}

.faq-item[open] .faq-q {
  background: rgba(144, 164, 174, 0.1);
}

.faq-item[open] .faq-ico {
  transform: rotate(45deg);
  background: rgba(49, 69, 96, 0.14);
  border-color: rgba(49, 69, 96, 0.35);
  color: #314560;
}

/* Increase this so you never clip content */
.faq-item[open] .faq-a {
  max-height: 900px;
  opacity: 1;
  transform: translateY(0);
}

/* Side CTA box */
.faq-side {
  border-radius: 26px;
  border: 1px solid rgba(12, 35, 68, 0.14);
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(12, 35, 68, 0.12);
}

.faq-side-title {
  margin: 0 0 10px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: #0c2344;
}

.faq-side-sub {
  margin: 0 0 16px;
  line-height: 1.9;
  color: rgba(12, 35, 68, 0.75);
}

.faq-side-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.faq-side-actions .btn-ghost {
  border-color: rgba(12, 35, 68, 0.25);
  background: rgba(12, 35, 68, 0.06);
  color: #0c2344;
}

/* Responsive */
@media (max-width: 1024px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-side-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .faq-side-actions {
    grid-template-columns: 1fr;
  }

  .faq-q {
    padding: 16px 16px;
  }

  .faq-a {
    padding: 0 16px 16px;
  }
}

.section-divider {
  height: 1px;
  width: 100%;
  background: rgba(12, 35, 68, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* =================================
   CONTACT SECTION
   ================================= */

.contact-home {
  background: #f7f7f7;
  color: #0c2344;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
  margin-top: 32px;
  align-items: start;
}

/* Info box */
.contact-info {
  background: #ffffff;
  border: 1px solid rgba(12, 35, 68, 0.14);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(12, 35, 68, 0.12);
}

.contact-info-title {
  margin: 0 0 8px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 22px;
}

.contact-info-sub {
  margin: 0 0 18px;
  line-height: 1.9;
  color: rgba(12, 35, 68, 0.75);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 13px;
  font-weight: 800;
  opacity: 0.65;
}

.contact-value {
  font-weight: 900;
  font-size: 16px;
  color: #0c2344;
}

.contact-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  gap: 12px;
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(247, 247, 247, 0.16);
  background: rgba(9, 174, 17, 0.875);
  font-size: 14px;
  font-weight: 600;
  color: #f7f7f7;
  transition: background 160ms ease, transform 160ms ease,
    border-color 160ms ease;
}

.contact-whatsapp:hover {
  transform: translateY(-1px);
  background: rgba(12, 35, 68, 0.1);
  border-color: rgba(12, 35, 68, 0.28);
  color: #0c2344;
}

.contact-whatsapp .wa-ico {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-block;
  background: url("/assets/icons/Whatsapp.png") center / contain no-repeat;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.contact-whatsapp .wa-ico:hover {
  background: url("/assets/icons/Whatsapp.png") center / contain no-repeat;
  filter: brightness(1) invert(0);
}

.contact-socials {
  align-items: flex-start;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* BUTTON */
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(40, 38, 38, 0.479);
  background: rgba(247, 247, 247, 0.06);
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  transition: background 160ms ease, transform 160ms ease,
    border-color 160ms ease;
}

.social-btn:hover {
  transform: translateY(-1px);
}

/* FACEBOOK */
.social-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

/* INSTAGRAM */
.social-instagram:hover {
  background: radial-gradient(
    circle at 30% 110%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  border-color: rgba(255, 255, 255, 0.35);
}

/* ICON FIX */
.social-btn i {
  line-height: 1;
}

/* Form */
.contact-form {
  background: #ffffff;
  border: 1px solid rgba(12, 35, 68, 0.14);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(12, 35, 68, 0.12);
  display: grid;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 14px;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  border-radius: 14px;
  border: 1px solid rgba(12, 35, 68, 0.18);
  padding: 12px 14px;
  font-family: Heebo, system-ui, sans-serif;
  font-size: 14px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(49, 69, 96, 0.55);
}
.contact-form label,
.form-label {
  display: block;
  margin: 0 0 8px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  color: rgba(12, 35, 68, 0.88);
}
/* Contact form select, match input style */
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  height: 54px;
  border-radius: 999px;

  padding: 0 18px 0 56px;
  text-align: right;

  border: 1px solid rgba(10, 33, 67, 0.14);
  background: #ffffff;

  color: rgba(10, 33, 67, 0.92);
  font-weight: 700;
  font-size: 14px;

  box-shadow: 0 10px 30px rgba(10, 33, 67, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease,
    transform 160ms ease;
}

.contact-form select:focus {
  outline: none;
  border-color: rgba(214, 178, 74, 0.8);
  box-shadow: 0 14px 40px rgba(10, 33, 67, 0.12);
  transform: translateY(-1px);
}

.contact-form .form-field:has(select:focus)::after {
  transform: translateY(-50%) rotate(180deg);
  transition: transform 160ms ease;
}

.contact-form select:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Placeholder option color */
.contact-form select:required:invalid {
  color: rgba(10, 33, 67, 0.45);
}

/* Make sure options look normal */
.contact-form select option {
  color: rgba(10, 33, 67, 0.92);
}

/* Wrap select to draw custom arrow */
.contact-form .form-field {
  position: relative;
}

.contact-form .form-field:has(select)::after {
  content: "⌄";
  position: absolute;
  left: 22px;
  top: 63%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 900;
  color: rgba(10, 33, 67, 0.55);
  pointer-events: none;
  line-height: 1;
}

/* Remove the ugly focus outline in some browsers */
.contact-form select::-ms-expand {
  display: none;
}

.contact-form input,
.contact-form textarea,
.form-input,
.form-textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(12, 35, 68, 0.14);
  background: #ffffff;
  color: #0c2344;
  padding: 14px 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(12, 35, 68, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus,
.form-input:focus,
.form-textarea:focus {
  border-color: rgba(49, 69, 96, 0.55);
  box-shadow: 0 0 0 4px rgba(49, 69, 96, 0.12);
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .contact-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .contact-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

/* =================================
   FOOTER, PRO VERSION, FULLY RESPONSIVE
   ================================= */

.site-footer {
  background: #07172e;
  color: rgba(247, 247, 247, 0.82);
  border-top: 1px solid rgba(247, 247, 247, 0.08);
  padding: 78px 0 34px;
  direction: rtl;
}

.footer-inner {
  display: grid;
  gap: 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 0.85fr 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

/* Headings */
.footer-title {
  margin: 0 0 8px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.2px;
  color: rgba(247, 247, 247, 0.98);
}

.footer-col {
  display: grid;
  gap: 12px;
}

/* Brand */
.footer-logo {
  height: 100px;
  width: 100px;
}

.footer-desc {
  margin: 0;
  max-width: 380px;
  line-height: 1.9;
  font-size: 14px;
  color: rgba(247, 247, 247, 0.72);
}

/* FOOTER SOCIALS */
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* BASE */
.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 247, 247, 0.06);
  border: 1px solid rgba(247, 247, 247, 0.14);
  color: #f7f7f7;
  font-size: 16px;
  transition: background 160ms ease, border-color 160ms ease,
    transform 160ms ease;
}

.footer-social:hover {
  transform: translateY(-1px);
}

/* FACEBOOK */
.footer-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

/* INSTAGRAM */
.footer-instagram:hover {
  background: radial-gradient(
    circle at 30% 110%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  border-color: rgba(255, 255, 255, 0.35);
}

/* ICON FIX */
.footer-social i {
  line-height: 1;
}

/* Lists */
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-list a {
  font-size: 14px;
  opacity: 0.78;
  transition: opacity 160ms ease;
}

.footer-list a:hover {
  opacity: 1;
}

/* Contact */
.footer-contact-list {
  display: grid;
  gap: 14px;
}

.footer-contact-item {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-contact-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: rgba(247, 247, 247, 0.6);
}

.footer-contact-value {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(247, 247, 247, 0.9);
  text-decoration: none;
  width: fit-content;
  transition: opacity 160ms ease, color 160ms ease, background 160ms ease,
    border-color 160ms ease, transform 160ms ease;
}

.footer-contact-value:hover {
  opacity: 1;
}

/* Phone stays readable */
.footer-contact-value--phone {
  direction: ltr;
  text-align: right;
  white-space: nowrap;
}

/* Email wraps nicely but stays LTR */
.footer-contact-value--email {
  direction: ltr;
  text-align: right;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Address behaves like normal text link */
.footer-contact-value--address {
  opacity: 0.88;
}

/* WhatsApp button, aligned with the rest */
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(247, 247, 247, 0.14);
  background: rgba(247, 247, 247, 0.06);
}

.footer-whatsapp::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background: url("/assets/icons/Whatsapp.png") center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-whatsapp:hover {
  background: rgba(247, 247, 247, 0.09);
  border-color: rgba(144, 164, 174, 0.35);
  transform: translateY(-1px);
}

/* Newsletter card column */
.footer-news-card {
  border-radius: 22px;
  border: 1px solid rgba(247, 247, 247, 0.12);
  background: #f7f7f7;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
}

.footer-news-media {
  height: 130px;
  background: rgba(12, 35, 68, 0.35);
}

.footer-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.footer-news-body {
  padding: 14px 14px 16px;
  display: grid;
  gap: 10px;
}

.footer-news-body .footer-title {
  color: var(--primary);
  font-size: 16px;
}

.footer-note {
  margin: -6px 0 2px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--primary);
}

/* Newsletter form */
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: center;
}

.newsletter-form input {
  height: 44px;
  border-radius: 999px;
  padding: 0 14px;
  border: 1px solid rgb(22, 21, 21);
  background: rgba(247, 247, 247, 0.828);
  color: var(--primary);
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--primary);
}

.newsletter-form input:focus {
  border-color: rgba(144, 164, 174, 0.55);
  background: rgba(247, 247, 247, 0.075);
}

.newsletter-form button {
  height: 44px;
  border-radius: 999px;
  padding: 0 16px;
  border: 1px solid rgba(247, 247, 247, 0.14);
  background: rgba(49, 69, 96, 0.95);
  color: rgba(247, 247, 247, 0.96);
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.newsletter-form button:hover {
  background: #3b5678;
  transform: translateY(-1px);
}

/* Bottom row, legal right, copyright centered, credits left */
.footer-bottom {
  border-top: 1px solid rgba(247, 247, 247, 0.08);
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.footer-legal-links {
  justify-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: rgba(247, 247, 247, 0.68);
}

.footer-legal-links a {
  opacity: 0.85;
  transition: opacity 160ms ease;
}

.footer-legal-links a:hover {
  opacity: 1;
}

.footer-dot {
  opacity: 0.35;
}

.footer-copy {
  text-align: center;
  font-size: 13px;
  color: rgba(247, 247, 247, 0.62);
}

/* Credits, stacked, Orbitron, pinned to the left side in RTL layout */
.footer-credits {
  justify-self: end;
  display: grid;
  gap: 6px;
  text-align: left;
  direction: ltr;
  font-family: Orbitron, system-ui, sans-serif;
  font-size: 12px;
  color: rgba(247, 247, 247, 0.62);
}

.credit-line {
  line-height: 1.6;
}

.credit-link {
  color: rgba(247, 247, 247, 0.9);
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

.credit-link:hover {
  color: #b8001f;
  opacity: 1;
}

/* Accessibility helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-news-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-legal-links {
    justify-self: center;
  }

  .footer-credits {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding: 60px 0 28px;
  }

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

  .footer-contact-row {
    grid-template-columns: 92px 1fr;
    align-items: start;
  }

  .footer-whatsapp {
    width: 100%;
    justify-content: center;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form button {
    width: 100%;
  }

  .footer-news-media {
    height: 120px;
  }
}

/* MEGA MENU */
.mega-nav {
  position: relative;
}

.mega-drop {
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  top: calc(100% + 14px);
  z-index: 200;
}

.mega-shell {
  border-radius: 26px;
  border: 1px solid rgba(247, 247, 247, 0.12);
  background: rgba(8, 28, 52, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.mega-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 18px;
  padding: 18px;
  align-items: stretch;
}

.mega-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-height: 240px;
}

.mega-img {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(247, 247, 247, 0.12);
  background: rgba(247, 247, 247, 0.04);
  height: 240px;
}

.mega-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 700ms ease;
}

.mega-img:hover img {
  transform: scale(1.08);
}

.mega-side {
  border-radius: 22px;
  border: 1px solid rgba(247, 247, 247, 0.12);
  background: rgba(247, 247, 247, 0.04);
  padding: 16px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.mega-title {
  margin: 0;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: rgba(247, 247, 247, 0.96);
  text-align: right;
}

.mega-pills {
  display: grid;
  gap: 12px;
}

.mega-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px;
  border-radius: 16px;
  border: 1px solid rgba(247, 247, 247, 0.12);
  background: rgba(247, 247, 247, 0.03);
  color: rgba(247, 247, 247, 0.92);
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease,
    background 160ms ease;
}

.mega-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(144, 164, 174, 0.35);
  background: rgba(247, 247, 247, 0.045);
}

.mega-pill-ico {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 247, 247, 0.14);
  background: rgba(247, 247, 247, 0.06);
  opacity: 0.9;
}

.mega-trigger.is-mega-active {
  background: rgba(144, 164, 174, 0.14);
  border-color: rgba(144, 164, 174, 0.4);
}

@media (max-width: 1024px) {
  .mega-drop {
    display: none;
  }
}

/* =================================
   ABOUT PAGE
   ================================= */

.about-hero {
  position: relative;
  min-height: 80vh;
  display: grid;
  align-items: center;
  padding: 88px 0 64px;
  overflow: hidden;
  background: #07172e;
}

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

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 23, 46, 0.55),
    rgba(7, 23, 46, 0.92)
  );
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-kicker {
  margin: 0 0 10px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(144, 164, 174, 0.92);
}

.about-title {
  margin: 0 0 14px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.08;
  color: var(--text);
}

.about-title-accent {
  display: inline-block;
  margin-right: 10px;
  color: var(--secondary);
}

.about-sub {
  margin: 0 auto 20px;
  max-width: 880px;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.9;
  color: rgba(247, 247, 247, 0.86);
}

.about-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Story */
.about-story {
  background: #07172e;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.about-story-media {
  position: relative;
}

.about-story-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(247, 247, 247, 0.12);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.28);
}

.about-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(12, 35, 68, 0.88);
  border: 1px solid rgba(247, 247, 247, 0.14);
  border-radius: 18px;
  padding: 14px 16px;
  backdrop-filter: blur(10px);
}

.about-badge-num {
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--secondary);
  line-height: 1;
}

.about-badge-text {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(247, 247, 247, 0.78);
}

.about-pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(144, 164, 174, 0.35);
  background: rgba(144, 164, 174, 0.12);
  color: rgba(247, 247, 247, 0.9);
  font-weight: 900;
  font-size: 12px;
  margin: 0 0 12px;
}

.about-h2 {
  margin: 0 0 12px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.2;
  color: var(--text);
}

.about-h2-accent {
  color: var(--secondary);
}

.about-p {
  margin: 0 0 12px;
  line-height: 1.95;
  color: rgba(247, 247, 247, 0.84);
}

.about-points {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.about-point {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(247, 247, 247, 0.06);
  border: 1px solid rgba(247, 247, 247, 0.12);
}

.about-point-ico {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(144, 164, 174, 0.14);
  color: rgba(247, 247, 247, 0.92);
  font-weight: 900;
}

.about-point-text {
  font-weight: 900;
  color: rgba(247, 247, 247, 0.9);
}

/* Values */
.about-values {
  background: #f7f7f7;
  color: #0c2344;
}

.about-values .section-title {
  color: #0c2344;
}

.about-values .section-sub {
  color: rgba(12, 35, 68, 0.75);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.about-value {
  background: #ffffff;
  border: 1px solid rgba(12, 35, 68, 0.12);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 14px 36px rgba(12, 35, 68, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease,
    border-color 180ms ease;
}

.about-value:hover {
  transform: translateY(-6px);
  border-color: rgba(12, 35, 68, 0.26);
  box-shadow: 0 22px 50px rgba(12, 35, 68, 0.14);
}

.about-value-ico {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(12, 35, 68, 0.06);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 12px;
}

.about-value-title {
  margin: 0 0 8px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #0c2344;
}

.about-value-text {
  margin: 0;
  line-height: 1.9;
  color: rgba(12, 35, 68, 0.78);
}

/* Stats */
.about-stats {
  background: #081c34;
  border-top: 1px solid rgba(247, 247, 247, 0.1);
  border-bottom: 1px solid rgba(247, 247, 247, 0.1);
  padding: 56px 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  text-align: center;
}

.about-stat {
  padding: 12px;
}

.about-stat-num {
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 42px);
  color: var(--secondary);
}

.about-stat-label {
  margin-top: 6px;
  color: rgba(247, 247, 247, 0.78);
  font-weight: 700;
}

/* CTA */
.about-cta {
  background: #f7f7f7;
  color: #0c2344;
}

.about-cta-inner {
  text-align: center;
  border-radius: 28px;
  border: 1px solid rgba(12, 35, 68, 0.12);
  background: #ffffff;
  padding: 30px 22px;
  box-shadow: 0 18px 45px rgba(12, 35, 68, 0.1);
}

.about-cta-title {
  margin: 0 0 10px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 3vw, 40px);
  color: #0c2344;
}

.about-cta-sub {
  margin: 0 auto 18px;
  max-width: 860px;
  line-height: 1.9;
  color: rgba(12, 35, 68, 0.75);
}

.about-cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.about-cta-actions .btn-ghost {
  border-color: rgba(12, 35, 68, 0.25);
  background: rgba(12, 35, 68, 0.06);
  color: #0c2344;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-story-img {
    height: 420px;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .about-hero {
    padding: 86px 0 54px;
  }

  .about-story-img {
    height: 320px;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .about-stats {
    padding: 46px 0;
  }
}

/* =================================
   PROJECTS PAGE – GLOBAL
   ================================= */

.projects-page {
  background: #020617;
  color: #f7f7f7;
}

.container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.center {
  text-align: center;
}

/* HERO */
.projects-hero {
  padding: 140px 0 80px;
}

.projects-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  background: linear-gradient(90deg, #d6b24a, #f1d27a);
  color: transparent;
  background-clip: text;
}

.projects-sub {
  max-width: 620px;
  margin: 16px auto 0;
  line-height: 1.9;
  opacity: 0.75;
}

/* FILTERS */
.filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #ddd;
  font-weight: 800;
  cursor: pointer;
}

.filter-btn.is-active {
  background: rgba(214, 178, 74, 0.25);
  border-color: #d6b24a;
  color: #fff;
}

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

.project-card {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
}

.project-meta {
  position: absolute;
  bottom: 0;
  padding: 18px;
}

.project-tag {
  font-size: 12px;
  color: #d6b24a;
  font-weight: 900;
}

.project-name {
  font-size: 18px;
  font-weight: 900;
}

.project-place {
  font-size: 14px;
  opacity: 0.7;
}

/* CTA */
.projects-cta {
  padding: 100px 0;
}

.cta-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 3000;
}

.lightbox.is-open {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.lightbox-panel {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 900px;
  background: #020617;
  border-radius: 22px;
  overflow: hidden;
}

.lightbox-img {
  width: 100%;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 26px;
  background: none;
  color: white;
  border: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  font-size: 36px;
  background: none;
  border: none;
  color: white;
}

.lightbox-nav.prev {
  right: 10px;
}
.lightbox-nav.next {
  left: 10px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    height: 320px;
  }
}

/* =================================
   CONTACT PAGE, PAGE LEVEL
   ================================= */

.contact-hero {
  height: 50vh;
  position: relative;
  padding: 140px 0 70px;
  overflow: hidden;
  background: linear-gradient(180deg, #0206172e, #07172e27);
}

/* Background container */
.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* Shared background style */
.hero-bg {
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(1.05);
}

/* Individual images */
.hero-bg-1 {
  background-image: url("/assets/contact-hero.jpg");
}

.hero-bg-2 {
  background-image: url("/assets/contact-hero2.jpg");
}

.hero-bg-3 {
  background-image: url("/assets/contact-hero3.jpg");
}

/* Dark overlay for readability */
.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.177));
  z-index: 1;
}

/* Content above backgrounds */
.contact-hero .container {
  position: relative;
  z-index: 2;
}

/* Title styling stays premium */
.contact-page .contact-hero .section-title {
  background: linear-gradient(90deg, #d6b24a, #f1d27a);
  background-clip: text;
  font-size: 32px;
  -webkit-background-clip: text;
  color: transparent;
}

.contact-hero .section-sub {
  font-size: 24px;
  color: rgb(247, 247, 247);
}

.contact-page-grid {
  background: #f8fafc;
}

.contact-page .section.contact-home {
  padding: 80px 0 90px;
}

/* 3 columns on desktop, collapses cleanly */
.contact-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

@media (min-width: 1100px) {
  .contact-grid-3 {
    grid-template-columns: 0.9fr 1.1fr 1fr;
    gap: 18px;
  }
}

.contact-badges {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(10, 33, 67, 0.14);
  background: rgba(10, 33, 67, 0.05);
  color: rgba(10, 33, 67, 0.85);
  font-weight: 800;
  font-size: 12px;
}

/* Make sure email is readable in RTL */
.contact-email {
  direction: ltr;
  text-align: right;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Map card */
.contact-map {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(10, 33, 67, 0.14);
  background: #fff;
  box-shadow: 0 18px 55px rgba(10, 33, 67, 0.08);
}

.map-shell {
  aspect-ratio: 16 / 12;
  background: #0a2143;
}

.map-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-actions {
  padding: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.map-actions .btn-ghost {
  border-color: rgba(10, 33, 67, 0.25);
  background: rgba(10, 33, 67, 0.06);
  color: #0c2344;
}

/* Honeypot hidden field */
.hp-field {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}


/* Small screens */
@media (max-width: 1099px) {
  .contact-grid-3 {
    grid-template-columns: 1fr;
  }
  
  
  .map-shell {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 768px) {
  .contact-hero-bg {
    grid-template-columns: 1fr;
  }

  .hero-bg {
    min-height: 160px;
  }
}

@media (max-width: 520px) {
  .map-actions {
    flex-direction: column;
  }
    .contact-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    height: auto;
    padding: 80px 0 70px;
  }

  .contact-hero .container {
    width: 100%;
  }

  .contact-hero .section-head {
    text-align: center;
    margin: 0 auto;
  }

  .contact-hero .section-title,
  .contact-hero .section-lead,
  .contact-hero .section-sub {
    margin-inline: auto;
  }

  .contact-hero .section-title {
    font-size: clamp(24px, 3.0vw, 32px);
    line-height: 1.12;
  }

  .contact-hero .section-lead {
    font-size: clamp(20px, 2.0vw, 26px);
    line-height: 1.35;
  }

  .contact-hero .section-sub {
    font-size: 16px;
    line-height: 1.75;
    max-width: 52ch;
  }
}

/* Tablet typography boost – Contact hero */
@media (min-width: 768px) and (max-width: 1024px) {
    .contact-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30vh;
    height: auto;
    padding: 120px 0 110px;
  }

  .contact-hero .container {
    width: 100%;
  }

  .contact-hero .section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
  }

  .contact-hero .section-title,
  .contact-hero .section-lead,
  .contact-hero .section-sub {
    margin-inline: auto;
  }

  .contact-hero .section-title {
    font-size: clamp(38px, 4.4vw, 52px);
    line-height: 1.12;
  }

  .contact-hero .section-lead {
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.35;
  }

  .contact-hero .section-sub {
    font-size: 20px;
    line-height: 1.75;
    max-width: 52ch;
  }
}


/* ================================
   SERVICES PAGE
   plugs into your global system
   ================================ */
.services-page {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3fb 45%, #e8eef8 100%);
  color: #07172e;
  position: relative;
}

.services-page .section {
  padding: 78px 0;
}

.services-page .services-hero {
  height: 70dvh;
  position: relative;
  padding: 150px 0 72px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #07172eb6 0%,
    #07172ea6 60%,
    rgba(7, 23, 46, 0.488) 100%
  );
}

.services-page .services-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  padding: 14px;
  opacity: 0.22;
  filter: saturate(0.95) contrast(1.05);
}

.services-page .services-hero-tile {
  border-radius: 26px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 320px;
}

.services-page .services-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.482),
    rgba(0, 0, 0, 0.461)
  );
}

.services-page .services-hero-head {
  position: relative;
  align-items: start;
  justify-content: start;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.services-page .services-title {
  margin: 0 0 10px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.1;
  background: linear-gradient(90deg, #d6b24a, #f1d27a);
  -webkit-background-clip: text;
  background-clip: text;
  color: #f7f7f7;
}

.services-page .services-sub {
  margin: 0;
  color: rgba(247, 247, 247, 0.78);
  line-height: 1.95;
  font-size: 16px;
}

.services-page .services-quick {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  align-items: start;
  justify-content: start;
}

.services-page .quick-pill {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 160ms ease, background 160ms ease,
    border-color 160ms ease;
}

.services-page .quick-pill:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(214, 178, 74, 0.55);
}

.services-page .quick-pill.is-active {
  background: rgba(214, 178, 74, 0.22);
  border-color: rgba(214, 178, 74, 0.65);
}

.services-page .services-hero-cta {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  align-items: start;
  justify-content: start;
}

.services-page .services-overview {
  padding-top: 44px;
}

.services-page .services-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.services-page .svc-card {
  text-decoration: none;
  color: inherit;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(7, 23, 46, 0.1);
  box-shadow: 0 16px 44px rgba(7, 23, 46, 0.06);
  padding: 18px;
  display: grid;
  gap: 10px;
  transition: transform 220ms ease, border-color 220ms ease,
    box-shadow 220ms ease;
}

.services-page .svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 178, 74, 0.55);
  box-shadow: 0 26px 70px rgba(7, 23, 46, 0.1);
}

.services-page .svc-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(214, 178, 74, 0.14);
  border: 1px solid rgba(214, 178, 74, 0.22);
  display: grid;
  place-items: center;
}

.services-page .svc-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(10%);
  opacity: 0.9;
}

.services-page .svc-title {
  margin: 0;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #07172e;
}

.services-page .svc-desc {
  margin: 0;
  color: rgba(7, 23, 46, 0.72);
  line-height: 1.9;
  font-size: 14px;
}

.services-page .svc-link {
  margin-top: 4px;
  font-weight: 900;
  color: rgba(7, 23, 46, 0.9);
}

.services-page .svc-section {
  background: transparent;
}

.services-page .svc-alt {
  background: rgba(7, 23, 46, 0.03);
}

.services-page .svc-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  align-items: start;
}

.services-page .svc-panel {
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(7, 23, 46, 0.1);
  box-shadow: 0 16px 44px rgba(7, 23, 46, 0.06);
  padding: 20px;
}

.services-page .svc-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(7, 23, 46, 0.1);
  box-shadow: 0 16px 44px rgba(7, 23, 46, 0.06);
  background: #0b1220;
  min-height: 240px;
}

.services-page .svc-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  opacity: 0.98;
}

.services-page .svc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(214, 178, 74, 0.3);
  background: rgba(214, 178, 74, 0.14);
  color: #8a6a12;
  font-weight: 900;
  font-size: 12px;
}

.services-page .svc-h2 {
  margin: 12px 0 10px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.25;
  color: #07172e;
}

.services-page .svc-p {
  margin: 0;
  color: rgba(7, 23, 46, 0.72);
  line-height: 1.95;
  font-size: 15px;
}

.services-page .svc-bullets {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.services-page .svc-bullet {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(7, 23, 46, 0.8);
  line-height: 1.85;
  font-size: 14px;
}

.services-page .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(214, 178, 74, 0.9);
  margin-top: 6px;
}

.services-page .svc-accordions {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.services-page .acc {
  width: 100%;
  text-align: right;
  border-radius: 16px;
  border: 1px solid rgba(7, 23, 46, 0.1);
  background: rgba(7, 23, 46, 0.02);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease,
    transform 160ms ease;
}

.services-page .acc:hover {
  background: rgba(7, 23, 46, 0.035);
  border-color: rgba(214, 178, 74, 0.35);
  transform: translateY(-1px);
}

.services-page .acc-title {
  font-weight: 900;
  color: #07172e;
  font-size: 14px;
}

.services-page .acc-ico {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7, 23, 46, 0.12);
  background: #ffffff;
  color: rgba(7, 23, 46, 0.8);
  font-weight: 900;
}

.services-page .acc-panel {
  border-radius: 16px;
  border: 1px solid rgba(7, 23, 46, 0.1);
  background: #ffffff;
  padding: 12px 14px;
  color: rgba(7, 23, 46, 0.74);
  line-height: 1.9;
  font-size: 14px;
}

.services-page .svc-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.svc-actions .btn-ghost {
  border-color: rgba(214, 178, 74, 0.25);
  background: rgba(214, 178, 74, 0.06);
  color: #07172e;
}

.services-page .svc-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.services-page .svc-mini {
  border-radius: 18px;
  border: 1px solid rgba(7, 23, 46, 0.1);
  background: rgba(7, 23, 46, 0.02);
  padding: 14px;
}

.services-page .svc-h3 {
  margin: 0 0 10px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: #07172e;
}

.services-page .svc-list {
  margin: 0;
  padding: 0 18px 0 0;
  display: grid;
  gap: 10px;
  color: rgba(7, 23, 46, 0.74);
  line-height: 1.85;
  font-size: 14px;
}

.services-page .btn-inline {
  background: var(--cta);
  color: var(--text);
  margin-top: 12px;
}

.services-page .svc-extras {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.services-page .extras-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.services-page .extra-card {
  border-radius: 18px;
  border: 1px solid rgba(7, 23, 46, 0.1);
  background: rgba(7, 23, 46, 0.02);
  padding: 14px;
}

.services-page .extra-title {
  margin: 0 0 6px;
  font-weight: 900;
  color: #07172e;
}

.services-page .extra-desc {
  margin: 0;
  color: rgba(7, 23, 46, 0.72);
  line-height: 1.9;
  font-size: 14px;
}

.services-page .extras-note .note-card {
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(7, 23, 46, 0.1);
  box-shadow: 0 16px 44px rgba(7, 23, 46, 0.06);
  padding: 18px;
  position: sticky;
  top: 120px;
}

.services-page .note-title {
  margin: 0 0 10px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #07172e;
}

.services-page .note-steps {
  margin: 0;
  padding: 0 18px 0 0;
  display: grid;
  gap: 10px;
  color: rgba(7, 23, 46, 0.74);
  line-height: 1.85;
  font-size: 14px;
}

.services-page .services-final-cta {
  padding: 54px 0 90px;
}

.services-page .final-cta-card {
  border-radius: 26px;
  padding: 22px;
  background: var(--primary);
  border: 1px solid rgba(214, 178, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.services-page .final-cta-title {
  margin: 0 0 6px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  color: #f7f7f7;
}

.services-page .final-cta-sub {
  margin: 0;
  color: var(--text);
  line-height: 1.9;
}

.services-page .final-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .services-page .services-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-page .svc-split {
    grid-template-columns: 1fr;
  }

  .services-page .svc-grid {
    grid-template-columns: 1fr;
  }

  .services-page .svc-extras {
    grid-template-columns: 1fr;
  }

  .services-page .extras-note .note-card {
    position: relative;
    top: auto;
  }

  .services-page .services-hero-bg {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .services-page .services-hero {
    padding: 132px 0 64px;
  }

  .services-page .services-hero-bg {
    grid-template-columns: 1fr;
    opacity: 0.18;
  }

  .services-page .services-overview-grid {
    grid-template-columns: 1fr;
  }
}

.pergola-page {
  background: #f6f8fb;
  color: #07172e;
}

.pergola-page .container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.pergola-page .section {
  padding: 90px 0;
}

.pergola-page .section-head.center {
  text-align: center;
  margin-bottom: 36px;
}

.pergola-page .section-title {
  margin: 0 0 12px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4.2vw, 44px);
  color: #07172e;
}

.pergola-page .section-sub {
  margin: 0 auto;
  max-width: 760px;
  line-height: 1.9;
  opacity: 0.85;
  font-size: 16px;
}

/* HERO */
.pergola-page .pergola-hero {
  padding: 140px 0 80px;
  background: radial-gradient(
      1200px 700px at 80% -10%,
      rgba(214, 178, 74, 0.18),
      transparent 55%
    ),
    linear-gradient(180deg, #07172e, #0b2346);
  color: #f7f7f7;
}

.pergola-page .pergola-hero .section-title,
.pergola-page .pergola-hero .section-sub {
  color: #f7f7f7;
}

.pergola-page .pergola-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.pergola-page .pergola-kicker {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: rgba(241, 210, 122, 0.95);
}

.pergola-page .pergola-title {
  margin: 0 0 14px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  background: linear-gradient(90deg, #d6b24a, #f1d27a);
  -webkit-background-clip: text;
  background-clip: text;
  color: #f7f7f7;
}

.pergola-page .pergola-sub {
  margin: 0 0 22px;
  line-height: 1.95;
  opacity: 0.9;
  max-width: 56ch;
}

.pergola-page .pergola-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.pergola-page .pergola-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.pergola-page .proof-item {
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.pergola-page .proof-title {
  display: block;
  font-weight: 900;
  margin-bottom: 4px;
}

.pergola-page .proof-sub {
  display: block;
  font-size: 13px;
  opacity: 0.85;
}

/* HERO MEDIA */
.pergola-page .pergola-hero-media {
  position: relative;
}

.pergola-page .media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 12px;
  border-radius: 26px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.pergola-page .media-tile {
  border-radius: 18px;
  background: #0b2346;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-size: cover;
  background-position: center;
}

.pergola-page .tile-a {
  grid-column: 1 / 3;
  background-image: url("/assets/pergola2.jpg");
}

.pergola-page .tile-b {
  background-image: url("/assets/about-us-img.jpg");
}

.pergola-page .tile-c {
  background-image: url("/assets/Hero section img.png");
}

.pergola-page .media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.05),
    rgba(2, 6, 23, 0.55)
  );
}

.pergola-page .media-float {
  position: absolute;
  left: 14px;
  bottom: -16px;
  width: min(320px, 88%);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #07172e;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

.pergola-page .float-title {
  display: block;
  font-weight: 900;
  margin-bottom: 2px;
}

.pergola-page .float-sub {
  display: block;
  font-size: 13px;
  opacity: 0.8;
}

/* TYPES */
.pergola-page .pergola-types {
  background: #f6f8fb;
}

.pergola-page .types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pergola-page .type-card {
  border-radius: 22px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(7, 23, 46, 0.08);
  box-shadow: 0 18px 50px rgba(7, 23, 46, 0.06);
}

.pergola-page .type-title {
  margin: 0 0 10px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: 20px;
}

.pergola-page .type-desc {
  margin: 0 0 14px;
  line-height: 1.85;
  opacity: 0.86;
}

.pergola-page .type-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pergola-page .type-list li {
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(7, 23, 46, 0.04);
  border: 1px solid rgba(7, 23, 46, 0.06);
}

.pergola-page .type-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  border: 1px solid rgba(214, 178, 74, 0.45);
  background: rgba(214, 178, 74, 0.14);
  color: #07172e;
  text-decoration: none;
}

/* BENEFITS */
.pergola-page .benefits-shell {
  border-radius: 28px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(7, 23, 46, 0.08);
  box-shadow: 0 22px 60px rgba(7, 23, 46, 0.07);
}

.pergola-page .benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.pergola-page .benefit {
  border-radius: 20px;
  padding: 16px;
  background: rgba(7, 23, 46, 0.04);
  border: 1px solid rgba(7, 23, 46, 0.06);
}

.pergola-page .benefit-title {
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 16px;
}

.pergola-page .benefit-text {
  margin: 0;
  opacity: 0.85;
  line-height: 1.8;
}

.pergola-page .benefits-cta {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.benefits-cta .btn-ghost {
  border-color: rgba(214, 178, 74, 0.25);
  background: rgba(214, 178, 74, 0.06);
  color: #07172e;
}

/* FAQ */
.pergola-page .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pergola-page .faq-item {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(7, 23, 46, 0.08);
  overflow: hidden;
}

.pergola-page .faq-q {
  cursor: pointer;
  padding: 16px 46px 16px 16px;
  font-weight: 900;
  position: relative;
  list-style: none;
}

.pergola-page .faq-q::-webkit-details-marker {
  display: none;
}

.pergola-page .faq-q::after {
  content: "+";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 14px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #07172e;
  background: rgba(7, 23, 46, 0.06);
  border: 1px solid rgba(7, 23, 46, 0.08);
}

.pergola-page details[open] .faq-q::after {
  content: "–";
}

.pergola-page .faq-a {
  padding: 0 16px 16px;
  line-height: 1.9;
  opacity: 0.85;
}

.pergola-page .faq-item:hover .faq-q::after {
  background: rgba(214, 178, 74, 0.18);
  border-color: rgba(214, 178, 74, 0.45);
}

/* STRIP */
.pergola-page .pergola-strip {
  padding: 70px 0;
  background: linear-gradient(180deg, #f6f8fb, #eef3fb);
}

.pergola-page .strip-inner {
  border-radius: 28px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(7, 23, 46, 0.08);
  box-shadow: 0 22px 60px rgba(7, 23, 46, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pergola-page .strip-title {
  margin: 0 0 6px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
}

.pergola-page .strip-sub {
  margin: 0;
  opacity: 0.85;
  line-height: 1.9;
}

.pergola-page .strip-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.strip-actions .btn-ghost {
  border-color: rgba(214, 178, 74, 0.25);
  background: rgba(214, 178, 74, 0.06);
  color: var(--text);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .pergola-page .pergola-hero-inner {
    grid-template-columns: 1fr;
  }

  .pergola-page .pergola-proof {
    grid-template-columns: 1fr;
  }

  .pergola-page .types-grid {
    grid-template-columns: 1fr;
  }

  .pergola-page .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pergola-page .faq-grid {
    grid-template-columns: 1fr;
  }

  .pergola-page .media-float {
    position: static;
    margin-top: 10px;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .pergola-page .pergola-hero {
    padding: 120px 0 70px;
  }

  .pergola-page .media-grid {
    grid-template-rows: 150px 150px;
  }

  .pergola-page .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.pergola-page .type-card {
  padding: 0;
  overflow: hidden;
}

.pergola-page .type-media {
  height: 170px;
  background-image: url("/assets/hitech-per3.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.pergola-page .type-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.05),
    rgba(2, 6, 23, 0.35)
  );
}

.pergola-page .type-media--louvers {
  background-image: url("/assets/folded-pergola3.jpg");
}

.pergola-page .type-media--retractable {
  background-image: url("/assets/folded-pergola.jpg");
}

.pergola-page .type-body {
  padding: 18px;
}

.pergola-page .pergola-gallery {
  background: #f6f8fb;
  padding-top: 40px;
}

.pergola-page .gallery-head {
  text-align: center;
  margin-bottom: 18px;
}

.pergola-page .gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 220px 180px;
  gap: 12px;
}

.pergola-page .gallery-tile {
  border-radius: 22px;
  border: 1px solid rgba(7, 23, 46, 0.08);
  background: #0b2346;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(7, 23, 46, 0.08);
}

.pergola-page .gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.05),
    rgba(2, 6, 23, 0.4)
  );
  opacity: 0.95;
  transition: opacity 180ms ease;
}

.pergola-page .gallery-tile:hover::after {
  opacity: 0.75;
}

.pergola-page .gallery-tile.g1 {
  grid-row: 1 / 3;
  background-image: url("/assets/pergola-page.jpg");
}

.pergola-page .gallery-tile.g2 {
  background-image: url("/assets/pergola-page3.jpg");
}

.pergola-page .gallery-tile.g3 {
  background-image: url("/assets/pergola-page4.jpg");
}

.pergola-page .gallery-tile.g4 {
  background-image: url("/assets/pergola-page5.jpg");
}

.pergola-page .gallery-tile.g5 {
  background-image: url("/assets/pergola2.jpg");
}

.pergola-page .gallery-cta {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.pergola-page .gallery-cta .btn-ghost{
    background-color: var(--primary);
    color: var(--text);
}

.pergola-page .pergola-process {
  background: #eef3fb;
}

.pergola-page .process-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: stretch;
  border-radius: 28px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(7, 23, 46, 0.08);
  box-shadow: 0 22px 60px rgba(7, 23, 46, 0.07);
}

.pergola-page .process-steps {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pergola-page .process-steps li {
  border-radius: 18px;
  padding: 12px 12px;
  background: rgba(7, 23, 46, 0.04);
  border: 1px solid rgba(7, 23, 46, 0.06);
}

.pergola-page .step-title {
  display: block;
  font-weight: 900;
  margin-bottom: 4px;
}

.pergola-page .step-sub {
  display: block;
  opacity: 0.85;
  line-height: 1.8;
  font-size: 14px;
}

.pergola-page .process-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.pergola-page .process-actions .btn-ghost {
  border-color: rgba(214, 178, 74, 0.25);
  background: rgba(214, 178, 74, 0.06);
  color: #0c2344;
}

.pergola-page .process-media {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.pergola-page .process-img {
  border-radius: 22px;
  border: 1px solid rgba(7, 23, 46, 0.08);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.pergola-page .process-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.05),
    rgba(2, 6, 23, 0.35)
  );
}

.pergola-page .process-img.p1 {
  background-image: url("/assets/pregola-page2.jpg");
}

.pergola-page .process-img.p2 {
  background-image: url("/assets/pergola-page3.jpg");
}

@media (max-width: 1024px) {
  .pergola-page .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 160px 160px;
  }

  .pergola-page .gallery-tile.g1 {
    grid-row: auto;
  }

  .pergola-page .process-shell {
    grid-template-columns: 1fr;
  }

  .pergola-page .process-media {
    display: none;
  }
}

@media (max-width: 560px) {
  .pergola-page .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 190px 160px 160px 160px 160px;
  }

  .pergola-page .process-media {
    display: none;
  }
}

/* =================================
   SERVICE PAGE, SCREEN CLOSURES
   scoped to .svcsc-page
   ================================= */

.svcsc-page {
  background: linear-gradient(180deg, #f8fafc, #f2f6ff 45%, #eef2ff);
  color: #0b1324;
}

.svcsc-page .container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

/* HERO */
.svcsc-page .svcsc-hero {
  padding: 140px 0 80px;
  background: radial-gradient(
      1200px 700px at 80% -10%,
      rgba(214, 178, 74, 0.18),
      transparent 55%
    ),
    linear-gradient(180deg, #07172e, #0b2346);
  color: #f7f7f7;
  overflow: hidden;
}

.svcsc-page .svcsc-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.svcsc-page .svcsc-kicker {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: rgba(241, 210, 122, 0.95);
}

.svcsc-page .svcsc-title {
  margin: 0 0 14px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  background: linear-gradient(90deg, #d6b24a, #f1d27a);
  -webkit-background-clip: text;
  background-clip: text;
  color: #f7f7f7;
}

.svcsc-page .svcsc-sub {
  margin: 0 0 22px;
  line-height: 1.95;
  opacity: 0.9;
  max-width: 56ch;
  color: #f7f7f7;
}

.svcsc-page .svcsc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

/* PROOF GRID, match pergolas */
.svcsc-page .svcsc-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.svcsc-page .svcsc-proof-item {
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.svcsc-page .svcsc-proof-title {
  display: block;
  font-weight: 900;
  margin-bottom: 4px;
}

.svcsc-page .svcsc-proof-sub {
  display: block;
  font-size: 13px;
  opacity: 0.85;
}

/* HERO MEDIA, match pergolas */
.svcsc-page .svcsc-hero-media {
  position: relative;
}

.svcsc-page .svcsc-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 12px;
  border-radius: 26px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.svcsc-page .svcsc-media-tile {
  border-radius: 18px;
  background: #0b2346;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-size: cover;
  background-position: center;
}

.svcsc-page .svcsc-tile-a {
  grid-column: 1 / 3;
  background-image: url("/assets/zip.jpg");
}

.svcsc-page .svcsc-tile-b {
  background-image: url("/assets/zip2.jpg");
}

.svcsc-page .svcsc-tile-c {
  background-image: url("/assets/glassed-per3.jpg");
}

.svcsc-page .svcsc-media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.05),
    rgba(2, 6, 23, 0.55)
  );
}

.svcsc-page .svcsc-media-float {
  position: absolute;
  left: 14px;
  bottom: -16px;
  width: min(320px, 88%);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #07172e;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

.svcsc-page .svcsc-float-title {
  display: block;
  font-weight: 900;
  margin-bottom: 2px;
}

.svcsc-page .svcsc-float-sub {
  display: block;
  font-size: 13px;
  opacity: 0.8;
}

.svcsc-trust {
  padding: 20px 0 10px;
}

.svcsc-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.svcsc-trust-item {
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(7, 23, 46, 0.12);
}

.svcsc-trust-item h3 {
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 14px;
  color: #07172e;
}

.svcsc-trust-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(7, 23, 46, 0.74);
}

.svcsc-types,
.svcsc-process,
.svcsc-faq,
.svcsc-cta {
  padding: 64px 0;
}

.svcsc-head {
  margin-bottom: 22px;
}

.svcsc-h2 {
  margin: 0 0 10px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  color: #07172e;
  font-size: clamp(22px, 2.6vw, 34px);
}

.svcsc-p {
  margin: 0;
  color: rgba(7, 23, 46, 0.74);
  line-height: 1.9;
}

.svcsc-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.svcsc-type-card {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(7, 23, 46, 0.12);
  box-shadow: 0 18px 70px rgba(7, 23, 46, 0.1);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 18px;
}

.svcsc-type-top {
  display: grid;
  gap: 8px;
}

.svcsc-pill {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: #07172e;
  background: rgba(214, 178, 74, 0.2);
  border: 1px solid rgba(214, 178, 74, 0.35);
}

.svcsc-h3 {
  margin: 0;
  font-weight: 900;
  color: #07172e;
  font-size: 18px;
}

.svcsc-text {
  margin: 12px 0 0;
  color: rgba(7, 23, 46, 0.74);
  line-height: 1.9;
}

.svcsc-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(7, 23, 46, 0.72);
}

.svcsc-list li {
  position: relative;
  padding-inline-start: 18px;
}

.svcsc-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(214, 178, 74, 0.9);
}

.svcsc-type-media {
  margin-top: 14px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(7, 23, 46, 0.12);
}

.svcsc-type-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

/* MID GALLERY, pergola style clone, scoped */
.svcsc-page .svcsc-gallery {
  background: #f6f8fb;
  padding-top: 40px;
}

.svcsc-page .gallery-head {
  text-align: center;
  margin-bottom: 18px;
}

.svcsc-page .gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 220px 180px;
  gap: 12px;
}

.svcsc-page .gallery-tile {
  border-radius: 22px;
  border: 1px solid rgba(7, 23, 46, 0.08);
  background: #0b2346;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(7, 23, 46, 0.08);
}

.svcsc-page .gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.05),
    rgba(2, 6, 23, 0.4)
  );
  opacity: 0.95;
  transition: opacity 180ms ease;
}

.svcsc-page .gallery-tile:hover::after {
  opacity: 0.75;
}

/* Images, update paths if you want different picks */
.svcsc-page .gallery-tile.g1 {
  grid-row: 1 / 3;
  background-image: url("/assets/projects/סגירת פרגולה במסכי זיפ בהפעלה חשמלית-3.jpeg");
}

.svcsc-page .gallery-tile.g2 {
  background-image: url("/assets/projects/zipped.jpeg");
}

.svcsc-page .gallery-tile.g3 {
  background-image: url("/assets/projects/סגירה7.jpeg");
}

.svcsc-page .gallery-tile.g4 {
  background-image: url("/assets/glassed-per.jpg");
}

.svcsc-page .gallery-tile.g5 {
  background-image: url("/assets/projects/סגירת פרגולה במסכי זיפ בהפעלה חשמלית-3.jpeg");
}

.svcsc-page .gallery-cta {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.svcsc-gallery .gallery-cta .btn {
    margin-top: 25px;
    background-color: var(--primary);
    color: var(--text);
}

.svcsc-process-wrap {
  border-radius: 26px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(7, 23, 46, 0.12);
  box-shadow: 0 18px 80px rgba(7, 23, 46, 0.08);
}

.svcsc-steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.svcsc-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(7, 23, 46, 0.1);
  background: rgba(248, 250, 252, 0.8);
}

.svcsc-step-num {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #07172e;
  background: rgba(214, 178, 74, 0.22);
  border: 1px solid rgba(214, 178, 74, 0.35);
}

.svcsc-step-body h3 {
  margin: 0 0 4px;
  font-weight: 900;
  color: #07172e;
}

.svcsc-step-body p {
  margin: 0;
  color: rgba(7, 23, 46, 0.72);
  line-height: 1.85;
}

.svcsc-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.svcsc-faq-item {
  border-radius: 18px;
  border: 1px solid rgba(7, 23, 46, 0.12);
  background: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.svcsc-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 16px 16px;
  font-weight: 900;
  color: #07172e;
  display: grid;
  grid-template-columns: 1fr 22px;
  gap: 12px;
  align-items: center;
}

.svcsc-faq-q::-webkit-details-marker {
  display: none;
}

.svcsc-faq-ico {
  width: 22px;
  height: 22px;
  position: relative;
  border-radius: 999px;
  border: 1px solid rgba(7, 23, 46, 0.18);
  background: rgba(7, 23, 46, 0.04);
}

.svcsc-faq-ico::before,
.svcsc-faq-ico::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 2px;
  background: rgba(7, 23, 46, 0.78);
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.svcsc-faq-ico::after {
  transform: rotate(90deg);
}

.svcsc-faq-item[open] .svcsc-faq-ico::after {
  transform: rotate(0deg);
  opacity: 0;
}

.svcsc-faq-a {
  padding: 0 16px 16px;
  color: rgba(7, 23, 46, 0.74);
  line-height: 1.9;
}

.svcsc-cta-card {
  border-radius: 26px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(214, 178, 74, 0.18),
    rgba(255, 255, 255, 0.85)
  );
  border: 1px solid rgba(7, 23, 46, 0.12);
  box-shadow: 0 18px 80px rgba(7, 23, 46, 0.1);
}

.svcsc-cta-card h2 {
  margin: 0 0 6px;
  font-weight: 900;
  color: #07172e;
}

.svcsc-cta-card p {
  margin: 0;
  color: rgba(7, 23, 46, 0.74);
  line-height: 1.9;
}

.svcsc-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.svcsc-cta-actions .btn-ghost {
  border-color: rgba(214, 178, 74, 0.25);
  background: rgba(214, 178, 74, 0.06);
  color: #07172e;
}

@media (max-width: 1024px) {
  .svcsc-page .svcsc-hero-inner {
    grid-template-columns: 1fr;
  }

  .svcsc-page .svcsc-proof {
    grid-template-columns: 1fr;
  }

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

  .svcsc-types-grid {
    grid-template-columns: 1fr;
  }

  .svcsc-page .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 160px 160px;
  }

  .svcsc-page .gallery-tile.g1 {
    grid-row: auto;
  }

  .svcsc-faq-grid {
    grid-template-columns: 1fr;
  }

  .svcsc-cta-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .svcsc-cta-actions {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .svcsc-page .svcsc-hero {
    padding: 120px 0 70px;
  }

  .svcsc-page .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 190px 160px 160px 160px 160px;
  }
}

/* ===============================
   GATES + FENCES PAGE, scoped
   Paste into styles.css
   =============================== */

.gatesfences-page {
  padding: 26px 0 56px;
  background: radial-gradient(
      1200px 520px at 12% -10%,
      rgba(244, 176, 0, 0.18),
      transparent 55%
    ),
    radial-gradient(
      980px 520px at 92% 0%,
      rgba(0, 174, 239, 0.12),
      transparent 52%
    ),
    radial-gradient(
      880px 540px at 50% 105%,
      rgba(255, 255, 255, 0.06),
      transparent 60%
    ),
    linear-gradient(180deg, #07172e 0%, #041026 100%);
}

.gatesfences-page .section {
  padding: 26px 0;
}

.gatesfences-page .container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

@media (max-width: 520px) {
  .gatesfences-page .container {
    width: calc(100% - 22px);
  }
}

/* Typography helpers scoped */
.gatesfences-page .section-title {
  font-family: "Rubik", "Heebo", system-ui, -apple-system, sans-serif;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 8px;
  line-height: 1.15;
}

.gatesfences-page .section-sub {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  line-height: 1.7;
}

.gatesfences-page .section-head.center {
  text-align: center;
  margin: 0 auto 18px;
  max-width: 760px;
}

/* Shared CTAs, relies on your .btn base */
.gatesfences-page .btn {
  border-radius: 16px;
}

.gatesfences-page .btn.btn-primary {
  box-shadow: 0 16px 44px rgba(0, 174, 239, 0.18);
}

.gatesfences-page .btn.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.gatesfences-page .btn.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ================================
   HERO
================================ */

.gatesfences-hero {
  padding-top: 8px;
}

.gatesfences-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(10, 33, 67, 0.96),
    rgba(10, 33, 67, 0.9)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
}

.gatesfences-hero-inner::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background: radial-gradient(
      900px 420px at 10% 0%,
      rgba(244, 176, 0, 0.2),
      transparent 55%
    ),
    radial-gradient(
      900px 460px at 90% 10%,
      rgba(0, 174, 239, 0.14),
      transparent 60%
    );
  opacity: 0.9;
}

.gatesfences-hero-text,
.gatesfences-hero-media {
  position: relative;
  z-index: 1;
}

.gatesfences-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 12px;
  font-weight: 500;
  font-size: 0.95rem;
}

.gatesfences-title {
  margin: 0 0 10px;
  font-family: "Rubik", "Heebo", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.96);
}

.gatesfences-sub {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  max-width: 54ch;
}

.gatesfences-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

/* Proof */
.gatesfences-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.gatesfences-proof .proof-item {
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.gatesfences-proof .proof-title {
  display: block;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 2px;
  font-family: "Rubik", "Heebo", system-ui, -apple-system, sans-serif;
}

.gatesfences-proof .proof-sub {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Hero media grid */
.gatesfences-hero-media {
  border-radius: 22px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.gatesfences-hero-media .media-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 150px 150px;
  gap: 10px;
}

.gatesfences-hero-media .media-tile {
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

.gatesfences-hero-media .media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 23, 46, 0.12),
    rgba(7, 23, 46, 0.55)
  );
}

.gatesfences-hero-media .tile-a {
  grid-row: 1 / span 2;
  background-image: url("/assets/gate.jpg");
}

.gatesfences-hero-media .tile-b {
  background-image: url("/assets/calssic-fence2.jpg");
}

.gatesfences-hero-media .tile-c {
  background-image: url("/assets/zip2.jpg");
}

.gatesfences-hero-media .media-float {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gatesfences-hero-media .float-title {
  display: block;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
  font-family: "Rubik", "Heebo", system-ui, -apple-system, sans-serif;
  margin-bottom: 2px;
}

.gatesfences-hero-media .float-sub {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .gatesfences-hero-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gatesfences-hero-media .media-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px;
  }
  .gatesfences-hero-media .tile-a {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .gatesfences-proof {
    grid-template-columns: 1fr;
  }
}

/* ================================
   OVERVIEW
================================ */

.gatesfences-overview .gatesfences-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.gatesfences-overview .overview-card {
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 260px;
}

.gatesfences-overview .overview-media {
  background-size: cover;
  background-position: center;
  position: relative;
}

.gatesfences-overview .overview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 23, 46, 0.15),
    rgba(7, 23, 46, 0.7)
  );
}

.gatesfences-overview .overview-media.om-a {
  background-image: url("/assets/calssic-fence2.jpg");
}

.gatesfences-overview .overview-media.om-b {
  background-image: url("/assets/gate.jpg");
}

.gatesfences-overview .overview-body {
  padding: 16px 16px;
}

.gatesfences-overview .overview-title {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Rubik", "Heebo", system-ui, -apple-system, sans-serif;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.gatesfences-overview .overview-text {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.gatesfences-overview .overview-list {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.gatesfences-overview .overview-list li {
  position: relative;
  padding-right: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.gatesfences-overview .overview-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(244, 176, 0, 0.9);
  box-shadow: 0 10px 24px rgba(244, 176, 0, 0.25);
  transform: translateY(-50%);
}

.gatesfences-page .type-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.gatesfences-page .type-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 980px) {
  .gatesfences-overview .gatesfences-overview-grid {
    grid-template-columns: 1fr;
  }
  .gatesfences-overview .overview-card {
    grid-template-columns: 1fr;
  }
  .gatesfences-overview .overview-media {
    min-height: 190px;
  }
}

/* ================================
   TYPES cards
================================ */

.gatesfences-types .types-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.gatesfences-page .type-card {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  display: grid;
  grid-template-rows: 170px auto;
  transition: transform 180ms ease, border-color 180ms ease,
    background 180ms ease;
}

.gatesfences-page .type-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.075),
    rgba(255, 255, 255, 0.03)
  );
}

.gatesfences-page .type-media {
  background-size: cover;
  background-position: center;
  position: relative;
}

.gatesfences-page .type-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 23, 46, 0.08),
    rgba(7, 23, 46, 0.72)
  );
}

.gatesfences-page .type-media.gf-media-1 {
  background-image: url("/assets/calssic-fence2.jpg");
}

.gatesfences-page .type-media.gf-media-2 {
  background-image: url("/assets/gate.jpg");
}

.gatesfences-page .type-media.gf-media-3 {
  background-image: url("/assets/projects/שער חניה מתרומם כולל שער הולכי רגל2.jpeg");
}

.gatesfences-page .type-body {
  padding: 14px 14px 16px;
}

.gatesfences-page .type-title {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Rubik", "Heebo", system-ui, -apple-system, sans-serif;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.gatesfences-page .type-desc {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.gatesfences-page .type-list {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.gatesfences-page .type-list li {
  position: relative;
  padding-right: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.gatesfences-page .type-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 174, 239, 0.85);
  box-shadow: 0 10px 24px rgba(0, 174, 239, 0.22);
  transform: translateY(-50%);
}

@media (max-width: 1100px) {
  .gatesfences-types .types-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .gatesfences-types .types-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   GALLERY, reuses your .gallery-grid + .gallery-tile markup
================================ */

.gatesfences-gallery .gallery-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 14px;
}

.gatesfences-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}

.gatesfences-gallery .gallery-tile {
  border-radius: 22px;
  min-height: 170px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.gatesfences-gallery .gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 23, 46, 0.08),
    rgba(7, 23, 46, 0.68)
  );
  opacity: 0.9;
  transition: opacity 160ms ease;
}

.gatesfences-gallery .gallery-tile:hover::after {
  opacity: 0.75;
}

.gatesfences-gallery .gallery-tile.g1 {
  grid-column: 1 / span 5;
  background-image: url("/assets/calssic-fence2.jpg");
}

.gatesfences-gallery .gallery-tile.g2 {
  grid-column: 6 / span 3;
  background-image: url("/assets/gate.jpg");
}

.gatesfences-gallery .gallery-tile.g3 {
  grid-column: 9 / span 4;
  background-image: url("/assets/projects/wooden-fence.jpg");
}

.gatesfences-gallery .gallery-tile.g4 {
  grid-column: 1 / span 4;
  background-image: url("/assets/dimond-fence.jpg");
}

.gatesfences-gallery .gallery-tile.g5 {
  grid-column: 5 / span 8;
  background-image: url("/assets/gate.jpg");
}

.gatesfences-gallery .gallery-cta {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .gatesfences-gallery .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .gatesfences-gallery .gallery-tile.g1 {
    grid-column: 1 / span 6;
  }
  .gatesfences-gallery .gallery-tile.g2 {
    grid-column: 1 / span 3;
  }
  .gatesfences-gallery .gallery-tile.g3 {
    grid-column: 4 / span 3;
  }
  .gatesfences-gallery .gallery-tile.g4 {
    grid-column: 1 / span 3;
  }
  .gatesfences-gallery .gallery-tile.g5 {
    grid-column: 4 / span 3;
  }
}

@media (max-width: 520px) {
  .gatesfences-gallery .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gatesfences-gallery .gallery-tile {
    grid-column: auto !important;
    min-height: 190px;
  }
}

/* ================================
   PROCESS
================================ */

.gatesfences-process .process-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.gatesfences-process .process-text .section-title {
  margin-bottom: 8px;
}

.gatesfences-process .process-steps {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  counter-reset: step;
}

.gatesfences-process .process-steps li {
  counter-increment: step;
  display: grid;
  gap: 3px;
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.gatesfences-process .process-steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-family: "Rubik", "Heebo", system-ui, -apple-system, sans-serif;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(
    180deg,
    rgba(244, 176, 0, 0.9),
    rgba(244, 176, 0, 0.55)
  );
  box-shadow: 0 12px 32px rgba(244, 176, 0, 0.18);
}

.gatesfences-process .step-title,
.gatesfences-process .step-sub {
  padding-inline-start: 46px;
}

.gatesfences-process .step-title {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 900;
  font-family: "Rubik", "Heebo", system-ui, -apple-system, sans-serif;
}

.gatesfences-process .step-sub {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.gatesfences-process .process-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.process-actions .btn-ghost {
  background-color: #f7f7f7;
  color: #f7f7f7;
}
.gatesfences-process .process-media {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.gatesfences-process .process-img {
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.gatesfences-process .process-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 23, 46, 0.12),
    rgba(7, 23, 46, 0.65)
  );
}

.gatesfences-process .process-img.p1 {
  background-image: url("/assets/calssic-fence2.jpg");
}

.gatesfences-process .process-img.p2 {
  background-image: url("/assets/gate.jpg");
}

@media (max-width: 980px) {
  .gatesfences-process .process-shell {
    grid-template-columns: 1fr;
  }
  .gatesfences-process .process-media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 170px;
  }
  .gatesfences-process .process-img {
    min-height: 170px;
  }
}

@media (max-width: 520px) {
  .gatesfences-process .process-media {
    grid-template-columns: 1fr;
    grid-template-rows: 180px 180px;
  }
}

/* ================================
   FAQ
================================ */

.gatesfences-faq .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.gatesfences-faq .faq-item {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.gatesfences-faq .faq-q {
  cursor: pointer;
  padding: 14px 14px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 900;
  font-family: "Rubik", "Heebo", system-ui, -apple-system, sans-serif;
  list-style: none;
}

.gatesfences-page .faq-q {
  position: relative;
  padding-inline-start: 54px;
}
.gatesfences-faq .faq-q::-webkit-details-marker {
  display: none;
}

.gatesfences-page .faq-q::-webkit-details-marker {
  display: none;
}

.gatesfences-page .faq-q::after {
  content: "+";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 14px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #f7f7f7;
  background: rgba(7, 23, 46, 0.06);
  border: 1px solid rgba(7, 23, 46, 0.08);
}

.gatesfences-page details[open] .faq-q::after {
  content: "–";
}

.gatesfences-page .faq-a {
  padding: 0 16px 16px;
  line-height: 1.9;
  opacity: 0.85;
}

.gatesfences-faq .faq-item[open] .faq-q {
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gatesfences-faq .faq-a {
  padding: 12px 14px 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

@media (max-width: 820px) {
  .gatesfences-faq .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   CTA STRIP
================================ */

.gatesfences-strip .strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(
    90deg,
    rgba(244, 176, 0, 0.15),
    rgba(0, 174, 239, 0.1)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.gatesfences-strip .strip-title {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.96);
  font-family: "Rubik", "Heebo", system-ui, -apple-system, sans-serif;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.15;
}

.gatesfences-strip .strip-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.gatesfences-strip .strip-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.gatesfences-strip .btn .btn-ghost {
    color: var(--text);
}

@media (max-width: 820px) {
  .gatesfences-strip .strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .gatesfences-faq .faq-q {
    font-size: 14px;
  }
}

/* ================================
   Optional reveal fallback
   If your global reveal system is missing on this page,
   this prevents content staying hidden
================================ */

.gatesfences-page .reveal {
  opacity: 1;
  transform: none;
}

/* ===============================
         Tools page, scoped styling
         Swap images below as needed
         =============================== */

.tools-page .tools-hero {
  padding: 140px 0 80px;
  background: radial-gradient(
      1200px 700px at 80% -10%,
      rgba(214, 178, 74, 0.18),
      transparent 55%
    ),
    linear-gradient(180deg, #07172e, #0b2346);
  color: #f7f7f7;
  position: relative;
  overflow: hidden;
}

.tools-page .tools-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.tools-page .tools-kicker {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: rgba(241, 210, 122, 0.95);
}

.tools-page .tools-title {
  margin: 0 0 14px;
  font-family: Rubik, Heebo, sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  background: linear-gradient(90deg, #d6b24a, #f1d27a);
  -webkit-background-clip: text;
  background-clip: text;
  color: #f7f7f7;
}

.tools-page .tools-sub {
  margin: 0 0 22px;
  line-height: 1.95;
  opacity: 0.9;
  max-width: 60ch;
}

.tools-page .tools-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tools-page .tools-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.tools-page .proof-item {
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.tools-page .proof-title {
  display: block;
  font-weight: 900;
  margin-bottom: 4px;
}

.tools-page .proof-sub {
  display: block;
  font-size: 13px;
  opacity: 0.85;
}

.tools-page .tools-hero-media {
  position: relative;
}

.tools-page .media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 12px;
  border-radius: 26px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.tools-page .media-tile {
  border-radius: 18px;
  background-color: #0b2346;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-size: cover;
  background-position: center;
}

.tools-page .tile-a {
  grid-column: 1 / 3;
  background-image: url("/assets/tarpaulin.jpg");
}

.tools-page .tile-b {
  background-image: url("/assets/awnings.jpg");
}

.tools-page .tile-c {
  background-image: url("/assets/about-us-img.jpg");
}

.tools-page .media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.05),
    rgba(2, 6, 23, 0.55)
  );
}

.tools-page .media-float {
  position: absolute;
  left: 14px;
  bottom: -16px;
  width: min(340px, 88%);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #07172e;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

.tools-page .float-title {
  display: block;
  font-weight: 900;
  margin-bottom: 2px;
}

.tools-page .float-sub {
  display: block;
  font-size: 13px;
  opacity: 0.8;
}

/* OVERVIEW */
.tools-page .tools-overview {
  background: #ffffff;
}

.tools-page .tools-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.tools-page .overview-card {
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(7, 23, 46, 0.1);
  box-shadow: 0 18px 55px rgba(7, 23, 46, 0.07);
  display: grid;
  grid-template-rows: 160px 1fr;
}

.tools-overview-grid .overview-card h3 {
  color: var(--primary);
}

.tools-overview-grid .overview-card p {
  color: #020617;
}

.tools-page .overview-media {
  background: #0b2346;
  background-size: cover;
  background-position: center;
  position: relative;
}

.tools-page .overview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.1),
    rgba(2, 6, 23, 0.25)
  );
}

.tools-page .om-a {
  background-image: url("/assets/tarpaulin.jpg");
}

.tools-page .om-b {
  background-image: url("/assets/awnings.jpg");
}

.tools-page .om-c {
  background-image: url("/assets/about-us-img.jpg");
}

.tools-page .overview-body {
  padding: 16px 16px 18px;
}

.tools-page .section-title {
  margin: 0 0 8px;
  font-weight: 900;
  color: var(--primary);
}

.tools-page .section-sub {
  margin: 0 0 10px;
  line-height: 1.85;
  color: rgba(7, 23, 46, 0.82);
}

.tools-page .overview-list {
  margin: 0;
  padding: 0 18px 0 0;
  display: grid;
  gap: 6px;
  color: rgba(7, 23, 46, 0.85);
}

.tools-page .overview-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 900;
  color: #0b2346;
  text-decoration: none;
}

/* MID GALLERY */
.tools-page .tools-gallery {
  background: #f6f8fb;
  padding-top: 40px;
}

.tools-page .gallery-head {
  text-align: center;
  margin-bottom: 18px;
}

.tools-page .gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 220px 180px;
  gap: 12px;
}

.tools-page .gallery-tile {
  border-radius: 22px;
  border: 1px solid rgba(7, 23, 46, 0.08);
  background: #0b2346;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(7, 23, 46, 0.08);
}

.tools-page .gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.05),
    rgba(2, 6, 23, 0.4)
  );
  opacity: 0.95;
  transition: opacity 180ms ease;
}

.tools-page .gallery-tile:hover::after {
  opacity: 0.75;
}

.tools-page .gallery-tile.g1 {
  grid-row: 1 / 3;
  background-image: url("/assets/tarpaulin.jpg");
}

.tools-page .gallery-tile.g2 {
  background-image: url("/assets/awnings.jpg");
}

.tools-page .gallery-tile.g3 {
  background-image: url("/assets/about-us-img.jpg");
}

.tools-page .gallery-tile.g4 {
  background-image: url("/assets/tarpaulin.jpg");
}

.tools-page .gallery-tile.g5 {
  background-image: url("/assets/awnings.jpg");
}

.tools-page .gallery-cta {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.tools-page .gallery-cta .btn-ghost {
  background-color: var(--primary);
  color: var(--text);
}

/* TEXT PROCESS, no images */
.tools-page .tools-process {
  background: #ffffff;
}

.tools-page .process-shell {
  border-radius: 26px;
  padding: 22px;
  background: radial-gradient(
      900px 420px at 80% -10%,
      rgba(214, 178, 74, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(7, 23, 46, 0.03), rgba(7, 23, 46, 0.01));
  border: 1px solid rgba(7, 23, 46, 0.08);
  box-shadow: 0 18px 55px rgba(7, 23, 46, 0.06);
}

.tools-page .process-steps {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.tools-page .process-steps li {
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(7, 23, 46, 0.08);
}

.tools-page .step-title {
  display: block;
  font-weight: 900;
  margin-bottom: 3px;
  color: #07172e;
}

.tools-page .step-sub {
  display: block;
  color: rgba(7, 23, 46, 0.78);
  line-height: 1.75;
}

.tools-page .process-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tools-page .process-actions .btn-ghost {
  background-color: #3b5678;
  color: var(--text);
}

/* FAQ plus icon stable position */
.tools-page .faq-q::-webkit-details-marker {
  display: none;
}

.tools-faq .section-head h2 {
  color: #f7f7f7;
}
.tools-faq .section-head p {
  color: var(--text);
}

.tools-page .faq-q {
  position: relative;
  padding-left: 54px;
}

.tools-page .faq-q::after {
  content: "+";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 14px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tools-page details[open] .faq-q::after {
  content: "-";
}

/* Tools page, CTA pill (white background) */
.tools-page .tools-strip {
  background: transparent;
  padding-top: 0;
}

.tools-page .tools-strip .strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(7, 23, 46, 0.12);
  box-shadow: 0 20px 60px rgba(7, 23, 46, 0.12);
}

.tools-page .tools-strip .strip-text {
  min-width: 0;
}

.tools-page .tools-strip .strip-title {
  margin: 0 0 4px;
  color: #07172e;
}

.tools-page .tools-strip .strip-sub {
  margin: 0;
  color: rgba(7, 23, 46, 0.72);
}

.tools-page .tools-strip .strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* Make the ghost button readable on white pill */
.tools-page .tools-strip .btn-ghost {
  background: rgba(7, 23, 46, 0.06);
  border: 1px solid rgba(7, 23, 46, 0.12);
  color: #07172e;
}

@media (max-width: 1024px) {
  .tools-page .tools-hero-inner {
    grid-template-columns: 1fr;
  }

  .tools-page .tools-overview-grid {
    grid-template-columns: 1fr;
  }

  .tools-page .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 160px 160px;
  }

  .tools-page .gallery-tile.g1 {
    grid-row: auto;
  }

  .tools-page .media-grid {
    grid-template-rows: 170px 170px;
  }
}

@media (max-width: 560px) {
  .tools-page .tools-hero {
    padding: 120px 0 70px;
  }

  .tools-page .tools-proof {
    grid-template-columns: 1fr;
  }

  .tools-page .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 190px 160px 160px 160px 160px;
  }

  .tools-page .media-grid {
    grid-template-rows: 150px 150px;
  }

  .tools-page .media-float {
    left: 12px;
    bottom: -14px;
  }
  .tools-page .tools-strip .strip-inner {
    border-radius: 26px;
    flex-direction: column;
    align-items: flex-start;
  }

  .tools-page .tools-strip .strip-actions {
    width: 100%;
  }
}

/* Legal pages */
.legal-page .legal-hero {
  padding: 26px 0 18px;
}

.legal-page .legal-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(10, 33, 67, 0.98),
    rgba(10, 33, 67, 0.92)
  );
  box-shadow: 0 18px 55px rgba(10, 33, 67, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.legal-page .legal-hero-inner::before {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(146, 165, 175, 0.24),
    rgba(146, 165, 175, 0)
  );
  filter: blur(1px);
  pointer-events: none;
}

.legal-page .legal-kicker {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.legal-page .legal-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.legal-page .legal-title {
  margin: 0 0 8px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.08;
  font-size: clamp(32px, 3.8vw, 48px);
}

.legal-page .legal-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.legal-page .legal-hero-badge {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 0 0 auto;
}

.legal-page .legal-hero-badge img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  opacity: 0.95;
  filter: saturate(1) contrast(0);
}

.legal-page .legal-lead {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
  max-width: 60ch;
}

.legal-page .legal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.legal-page .legal-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.legal-page .proof-item {
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(7, 23, 46, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-page .proof-title {
  display: block;
  color: #ffffff;
  font-weight: 900;
  margin-bottom: 3px;
}

.legal-page .proof-sub {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.6;
}

.legal-page .legal-hero-aside {
  display: grid;
  gap: 12px;
}

.legal-page .legal-hero-aside .legal-nav-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-page .legal-nav-title {
  margin: 0 0 10px;
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
}

.legal-page .legal-nav {
  display: grid;
  gap: 8px;
}

.legal-page .legal-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  background: rgba(7, 23, 46, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background 180ms ease,
    border-color 180ms ease;
}

.legal-page .legal-nav a:hover {
  transform: translateY(-1px);
  background: rgba(7, 23, 46, 0.32);
  border-color: rgba(255, 255, 255, 0.14);
}

.legal-page .legal-aside-note {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  font-size: 13px;
}

.legal-page .legal-aside-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(146, 165, 175, 0.9);
  box-shadow: 0 0 0 4px rgba(146, 165, 175, 0.16);
  flex: 0 0 auto;
}

.legal-page .legal-hero-image {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  margin-top: 25px;
}

.legal-page .legal-hero-image img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.legal-page .legal-content {
  padding-top: 18px;
}

.legal-page .legal-shell {
  display: grid;
  gap: 14px;
}

.legal-page .legal-card {
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(7, 23, 46, 0.08);
  box-shadow: 0 18px 55px rgba(7, 23, 46, 0.08);
}

.legal-page .legal-h {
  margin: 0 0 8px;
  color: #07172e;
  font-weight: 900;
  font-size: 20px;
}

.legal-page .legal-p {
  margin: 0;
  color: rgba(7, 23, 46, 0.78);
  line-height: 1.9;
}

.legal-page .legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.legal-page .legal-list li {
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(7, 23, 46, 0.04);
  border: 1px solid rgba(7, 23, 46, 0.06);
  color: rgba(7, 23, 46, 0.82);
  line-height: 1.85;
}

.legal-page .legal-link {
  color: #0a2143;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page .legal-bottom-actions {
  display: flex;
  margin-top: 14px;
}

/* MOBILE FIX PACK, legal page only */
@media (max-width: 980px) {
  .legal-page .legal-hero {
    padding: 18px 0 14px;
  }

  .legal-page .legal-hero-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .legal-page .legal-title-row {
    align-items: flex-start;
    gap: 10px;
  }

  .legal-page .legal-hero-badge {
    width: 40px;
    height: 40px;
  }

  .legal-page .legal-hero-badge img {
    width: 22px;
    height: 22px;
  }

  .legal-page .legal-title {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.12;
  }

  .legal-page .legal-lead {
    max-width: none;
  }

  .legal-page .legal-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .legal-page .legal-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .legal-page .legal-proof {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .legal-page .legal-hero-aside {
    gap: 10px;
  }

  .legal-page .legal-hero-aside .legal-nav-card {
    padding: 12px;
    border-radius: 16px;
  }

  .legal-page .legal-nav a {
    padding: 10px 12px;
  }

  .legal-page .legal-hero-image img {
    height: 160px;
  }
}

@media (max-width: 560px) {
  .legal-page .legal-hero-inner {
    padding: 12px;
    border-radius: 16px;
  }

  .legal-page .legal-kicker {
    font-size: 13px;
  }

  .legal-page .legal-sub {
    font-size: 13px;
  }

  .legal-page .legal-lead {
    font-size: 14px;
    line-height: 1.85;
  }

  .legal-page .legal-nav a {
    font-size: 14px;
  }
}

/* MAIN CONTENT (the actual policy body) */
.legal-page .legal-wrap {
  padding: 22px 0 46px;
}

.legal-page .legal-card {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(10, 33, 67, 0.1);
  border: 1px solid rgba(7, 23, 46, 0.08);
}

.legal-page .legal-card h2 {
  margin: 0 0 10px;
  font-weight: 900;
  color: #07172e;
  font-size: clamp(18px, 2.2vw, 22px);
}

.legal-page .legal-card p {
  margin: 0 0 14px;
  line-height: 1.9;
  color: rgba(7, 23, 46, 0.86);
}

.legal-page .legal-card ul {
  margin: 0;
  padding: 0 18px 0 0;
  display: grid;
  gap: 8px;
}

.legal-page .legal-card li {
  line-height: 1.85;
  color: rgba(7, 23, 46, 0.86);
}

@media (max-width: 680px) {
  .legal-page .legal-wrap {
    padding: 16px 0 38px;
  }

  .legal-page .legal-card {
    width: min(980px, calc(100% - 24px));
    padding: 14px;
    border-radius: 16px;
  }

  .legal-page .legal-card ul {
    padding-right: 16px;
  }
}

/** GDPR Cookies Bannner*/
/* Cookies, drop into styles.css */

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(12, 35, 68, 0.14);
  box-shadow: 0 18px 45px rgba(12, 35, 68, 0.14);
}

.cookie-wrap {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.cookie-text {
  flex: 1;
  min-width: 240px;
}

.cookie-title {
  margin: 0 0 4px;
  font-weight: 900;
  color: #0a2143;
  letter-spacing: 0.2px;
}

.cookie-desc {
  margin: 0;
  line-height: 1.7;
  color: rgba(12, 35, 68, 0.78);
  font-weight: 600;
  font-size: 14px;
}

.cookie-link {
  color: #0a2143;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.cookie-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.cookie-btn:active {
  transform: translateY(1px);
}

.cookie-btn-primary {
  background: #0a2143;
  color: #ffffff;
}

.cookie-btn-primary:hover {
  opacity: 0.92;
}

.cookie-btn-soft {
  background: rgba(12, 35, 68, 0.08);
  color: #0a2143;
  border: 1px solid rgba(12, 35, 68, 0.18);
}

.cookie-btn-soft:hover {
  background: rgba(12, 35, 68, 0.12);
}

.cookie-btn-ghost {
  background: transparent;
  color: rgba(12, 35, 68, 0.92);
  border: 1px solid rgba(12, 35, 68, 0.18);
}

.cookie-btn-ghost:hover {
  background: rgba(12, 35, 68, 0.06);
}

.cookie-modal.hidden {
  display: none;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.cookie-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.52);
}

.cookie-modal-card {
  position: relative;
  width: min(760px, calc(100% - 24px));
  margin: 56px auto 0;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(12, 35, 68, 0.14);
  box-shadow: 0 22px 70px rgba(2, 6, 23, 0.35);
  overflow: hidden;
}

.cookie-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(10, 33, 67, 0.98), rgba(10, 33, 67, 0.92));
}

.cookie-modal-title {
  margin: 0;
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.cookie-x {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 12px;
  width: 38px;
  height: 38px;
  cursor: pointer;
}

.cookie-x:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cookie-modal-body {
  padding: 16px 18px 8px;
}

.cookie-modal-note {
  margin: 0 0 14px;
  color: rgba(12, 35, 68, 0.78);
  font-weight: 700;
  line-height: 1.7;
}

.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(12, 35, 68, 0.12);
  background: rgba(12, 35, 68, 0.03);
  margin-bottom: 10px;
}

.cookie-row-disabled {
  opacity: 0.75;
}

.cookie-row-title {
  margin: 0 0 2px;
  font-weight: 900;
  color: #0a2143;
}

.cookie-row-sub {
  margin: 0;
  color: rgba(12, 35, 68, 0.7);
  font-weight: 600;
  line-height: 1.7;
  font-size: 13px;
}

.cookie-switch {
  position: relative;
  width: 52px;
  height: 30px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}

.cookie-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(12, 35, 68, 0.18);
  border: 1px solid rgba(12, 35, 68, 0.18);
  transition: background 160ms ease, border-color 160ms ease;
}

.cookie-slider::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 3px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.22);
  transition: inset-inline-start 160ms ease;
}

.cookie-switch input:checked + .cookie-slider {
  background: rgba(10, 33, 67, 0.92);
  border-color: rgba(10, 33, 67, 0.92);
}

.cookie-switch input:checked + .cookie-slider::after {
  inset-inline-start: 25px;
}

.cookie-modal-foot {
  padding: 14px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(12, 35, 68, 0.12);
  background: rgba(12, 35, 68, 0.02);
}

.cookie-foot-right {
  display: flex;
  gap: 10px;
}

@media (max-width: 860px) {
  .cookie-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cookie-actions {
    justify-content: center;
  }
  .cookie-modal-card {
    margin: 24px auto 0;
  }
}

@media (max-width: 520px) {
  .cookie-btn {
    width: 100%;
    padding: 12px 14px;
  }
  .cookie-modal-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-foot-right {
    width: 100%;
  }
  .cookie-foot-right .cookie-btn {
    width: 100%;
  }
}
