/* شركة الإعمار لخدمات الصرف الصحي — styles */

:root {
  --ink: #071526;
  --ink-2: #0a2540;
  --ink-3: #0f3356;
  --mist: #e8f1f6;
  --muted: #c2d0dc;
  --green: #1f8a52;
  --green-deep: #14663b;
  --green-light: #3ecf7a;
  --green-soft: #d8f3e4;
  --sand: #f4f7fa;
  --sand-2: #e2ebf2;
  --sand-ink: #0a2540;
  --sand-muted: #4a6278;
  --wa: #25d366;
  --line: rgba(31, 138, 82, 0.28);
  --line-soft: rgba(232, 241, 246, 0.1);

  --green-grad: linear-gradient(135deg, #5ee09a 0%, #1f8a52 40%, #14663b 70%, #3ecf7a 100%);
  --green-grad-text: linear-gradient(100deg, #9af0c0 0%, #3ecf7a 35%, #1f8a52 70%, #7ae0a8 100%);
  --hero-overlay: linear-gradient(180deg, rgba(7,21,38,.55) 0%, rgba(7,21,38,.72) 45%, rgba(7,21,38,.92) 100%);

  --font-display: "Reem Kufi", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 96px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 28px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.35;
}
h3 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.5;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.text-green {
  background: var(--green-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-green-deep { color: var(--green-deep); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.22s var(--ease-out), color 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out),
    transform 0.22s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn--green {
  background: var(--green-grad);
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 138, 82, 0.35);
}
.btn--green:hover {
  box-shadow: 0 14px 34px rgba(31, 138, 82, 0.45);
  filter: brightness(1.05);
}
.btn--wa {
  background: var(--wa);
  color: #05351a;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.28);
}
.btn--wa:hover { filter: brightness(1.06); }
.btn--ghost {
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.04);
  color: var(--mist);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: rgba(62, 207, 122, 0.45);
  background: rgba(31, 138, 82, 0.12);
}
.btn--sm {
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  font-size: 0.9rem;
}
.btn--dark {
  background: var(--ink-2);
  color: #fff;
}
.btn--dark:hover { background: var(--ink-3); }

/* Header */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
    backdrop-filter 0.3s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(7, 21, 38, 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px clamp(20px, 4vw, 40px);
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.brand__mark {
  width: clamp(72px, 9vw, 92px);
  height: clamp(72px, 9vw, 92px);
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px rgba(62, 207, 122, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.3);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
}
.brand__tag {
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
  color: #b6c7d6;
  letter-spacing: 0.02em;
}

.nav__list {
  display: none;
  align-items: center;
  gap: 1.35rem;
}
.nav__list a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s var(--ease-out);
}
.nav__list a:hover { color: #fff; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.menu-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  color: var(--mist);
}
.menu-toggle:hover { border-color: var(--line); }

.mobile-menu {
  padding: 8px clamp(20px, 4vw, 40px) 22px;
  background: rgba(7, 21, 38, 0.96);
  border-block-end: 1px solid var(--line-soft);
}
.mobile-menu ul {
  display: grid;
  gap: 0.35rem;
  margin-block-end: 1rem;
}
.mobile-menu a {
  display: block;
  padding: 0.7rem 0.4rem;
  font-weight: 500;
  color: var(--mist);
}
.mobile-menu__call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green-light);
  font-weight: 600;
}

@media (min-width: 980px) {
  .nav__list { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* Hero — brand + framed cinematic video */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 28px) 64px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 30%, rgba(31,138,82,0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(15,51,86,0.9), transparent 50%),
    var(--ink);
}
.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}
.hero__glow--a {
  inset-inline-end: -8%;
  inset-block-start: 10%;
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  background: rgba(31, 138, 82, 0.22);
}
.hero__glow--b {
  inset-inline-start: -12%;
  inset-block-end: -10%;
  width: min(60vw, 480px);
  height: min(60vw, 480px);
  background: rgba(15, 80, 140, 0.2);
}
.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(232,241,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,241,246,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.hero__grid-layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}
@media (min-width: 960px) {
  .hero__grid-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}
.hero__copy { max-width: 36rem; }
.hero__logo {
  width: clamp(140px, 22vw, 220px);
  height: clamp(140px, 22vw, 220px);
  border-radius: 50%;
  margin-block-end: 1.1rem;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.95),
    0 0 0 6px rgba(62, 207, 122, 0.4),
    0 18px 50px rgba(0, 0, 0, 0.4);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--green-light);
  font-size: 0.92rem;
  font-weight: 600;
  margin-block-end: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--green-grad);
}
.eyebrow--dark { color: var(--green-deep); }
.eyebrow--dark::before { background: var(--green); }

.hero__title {
  font-size: clamp(2.15rem, 5.2vw, 3.65rem);
  max-width: 14ch;
  margin-block-end: 1rem;
}
.hero__title span { display: block; }
.hero__lead {
  max-width: 36ch;
  color: rgba(232, 241, 246, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  margin-block-end: 1.6rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-end: 1.5rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: #d0dde8;
  font-size: 0.92rem;
}
.hero__meta .icon { color: var(--green-light); }
.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
}
.hero-frame {
  position: absolute;
  inset: -10px -14px 18px 14px;
  border: 1px solid rgba(62, 207, 122, 0.35);
  border-radius: 28px;
  transform: rotate(-2deg);
  pointer-events: none;
}
.hero-stage {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #04101c;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255,255,255,0.06);
}
.hero-stage__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scroll {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-end: 22px;
  z-index: 4;
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(232,241,246,0.35);
  border-radius: 20px;
  transform: translateX(-50%);
}
.hero__scroll span {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 10px;
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--green-light);
  transform: translateX(-50%);
  animation: scroll-dot 1.8s var(--ease-out) infinite;
}
@keyframes scroll-dot {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%, 100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* Ribbon */
.ribbon {
  background: linear-gradient(90deg, #0a2540, #0f3a28 50%, #0a2540);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.ribbon__track {
  display: flex;
  gap: 2.5rem;
  padding-block: 0.95rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  color: rgba(232,241,246,0.9);
  font-weight: 600;
  font-size: 0.95rem;
}
.ribbon__track span {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}
.ribbon__track i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* Sections */
.section {
  position: relative;
  padding-block: clamp(64px, 10vw, 110px);
}
.section--sand {
  background: var(--sand);
  color: var(--sand-ink);
}
.section--sand .section-lead { color: var(--sand-muted); }
/* Dark media overlays inside light sections must force light text */
.section--sand .gallery__caption,
.section--sand .gallery__caption h3,
.section--sand .why__badge,
.section--sand .why__badge strong {
  color: #fff;
}
.section--sand .gallery__caption p { color: #c8f5dc; }
.section--sand .why__badge span { color: #b7f0cf; }
.section--ink-2 { background: var(--ink-2); }

.section-head {
  max-width: 42rem;
  margin-block-end: clamp(2rem, 4vw, 3rem);
}
.section-head--split {
  display: grid;
  gap: 1rem;
  max-width: none;
}
@media (min-width: 800px) {
  .section-head--split {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.55rem);
  margin-block-end: 0.75rem;
}
.section-lead {
  color: var(--muted);
  font-size: 1.02rem;
}

/* Trust strip */
.trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 800px) {
  .trust { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
.trust__item {
  padding: 1.25rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(10, 37, 64, 0.08);
  background: #fff;
  transition: border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}
.trust__item:hover {
  border-color: rgba(31, 138, 82, 0.35);
  box-shadow: 0 12px 28px rgba(10, 37, 64, 0.06);
}
.trust__num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--green);
  line-height: 1.2;
  margin-block-end: 0.25rem;
}
.trust__label {
  color: var(--sand-muted);
  font-size: 0.92rem;
}

/* Services */
.services {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .services { grid-template-columns: repeat(3, 1fr); }
}
.service {
  position: relative;
  padding: 1.45rem 1.3rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
  cursor: default;
}
.service::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 0;
  width: 3px;
  background: var(--green-grad);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}
.service:hover {
  border-color: rgba(62, 207, 122, 0.35);
  background: rgba(31, 138, 82, 0.08);
}
.service:hover::before { opacity: 1; }
.service__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(31, 138, 82, 0.14);
  color: var(--green-light);
  margin-block-end: 1rem;
}
.service__icon .icon { width: 1.4rem; height: 1.4rem; }
.service h3 {
  font-size: 1.1rem;
  margin-block-end: 0.45rem;
}
.service p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Work / gallery */
.gallery {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 2; }
}
@media (min-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery__item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .gallery__item:nth-child(2) { grid-column: span 5; grid-row: span 1; }
  .gallery__item:nth-child(3) { grid-column: span 5; grid-row: span 1; }
  .gallery__item:nth-child(4) { grid-column: span 4; grid-row: span 2; }
  .gallery__item:nth-child(5) { grid-column: span 4; grid-row: span 2; }
  .gallery__item:nth-child(6) { grid-column: span 4; grid-row: span 2; }
}
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-3);
  min-height: 220px;
}
.gallery__btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: pointer;
}
.gallery__btn img,
.gallery__btn video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-spring);
}
.gallery__btn:hover img,
.gallery__btn:hover video {
  transform: scale(1.05);
}
.gallery__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4,16,28,0.15) 0%, transparent 35%, rgba(4,16,28,0.55) 62%, rgba(4,16,28,0.92) 100%);
  pointer-events: none;
  z-index: 1;
}
.gallery__caption {
  position: absolute;
  inset-inline: 0.85rem;
  inset-block-end: 0.85rem;
  z-index: 2;
  pointer-events: none;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(4, 16, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #fff;
  max-width: calc(100% - 1.7rem);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.gallery__caption h3 {
  font-size: 1.05rem;
  margin-block-end: 0.2rem;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.gallery__caption p {
  color: #c8f5dc;
  font-size: 0.86rem;
  line-height: 1.45;
}
.gallery__play {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(4, 16, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  color: #fff;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Why */
.why {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .why { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2.5rem; }
}
.why__visual {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 320px;
  aspect-ratio: 4/3;
}
.why__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why__badge {
  position: absolute;
  inset-block-end: 1.2rem;
  inset-inline-start: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.15rem;
  border-radius: 16px;
  background: rgba(4, 16, 28, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(62, 207, 122, 0.45);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
.why__badge strong {
  display: block;
  font-size: 1.02rem;
  color: #fff;
  font-weight: 700;
}
.why__badge span {
  color: #b7f0cf;
  font-size: 0.86rem;
}
.why__badge .icon {
  color: var(--green-light);
  width: 1.45rem;
  height: 1.45rem;
}
.why__list {
  display: grid;
  gap: 1rem;
}
.why__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-block-end: 1px solid rgba(10, 37, 64, 0.08);
}
.why__item:last-child { border: 0; }
.why__item-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-deep);
}
.why__item h3 { font-size: 1.05rem; margin-block-end: 0.2rem; }
.why__item p { color: var(--sand-muted); font-size: 0.94rem; }

/* Process */
.process {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .process { grid-template-columns: repeat(4, 1fr); }
}
.process__step {
  position: relative;
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-soft);
}
.process__step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--green-light);
  margin-block-end: 0.75rem;
  opacity: 0.9;
}
.process__step h3 { margin-block-end: 0.4rem; }
.process__step p { color: var(--muted); font-size: 0.92rem; }

/* Contact */
.contact-panel {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(31,138,82,0.22), transparent 50%),
    linear-gradient(160deg, #0c2d4d, #071526 60%);
  border: 1px solid var(--line);
  overflow: hidden;
}
@media (min-width: 860px) {
  .contact-panel {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: center;
  }
}
.contact-panel__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-block-end: 0.7rem;
}
.contact-panel__lead {
  color: var(--muted);
  margin-block-end: 1.4rem;
  max-width: 36ch;
}
.contact-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.contact-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-soft);
}
.contact-card__row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding-block: 0.85rem;
  border-block-end: 1px solid var(--line-soft);
}
.contact-card__row:last-child { border: 0; padding-block-end: 0; }
.contact-card__row:first-child { padding-block-start: 0; }
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(31, 138, 82, 0.16);
  color: var(--green-light);
  flex-shrink: 0;
}
.contact-card__row strong {
  display: block;
  font-size: 0.98rem;
  margin-block-end: 0.15rem;
}
.contact-card__row span,
.contact-card__row a {
  color: var(--muted);
  font-size: 0.92rem;
}
.contact-card__row a:hover { color: var(--green-light); }

/* Footer */
.site-footer {
  padding-block: 2.5rem 2rem;
  border-block-start: 1px solid var(--line-soft);
  background: #050f1c;
}
.site-footer__inner {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }
}
.site-footer__brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}
.site-footer__brand img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(62, 207, 122, 0.35);
}
.site-footer__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.site-footer__brand span {
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer__meta {
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer__meta a {
  color: var(--green-light);
}
.site-footer__meta a:hover { text-decoration: underline; }

/* Floating WhatsApp */
.fab-wa {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-end: 22px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #05351a;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.fab-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.5);
}
.fab-wa .icon { width: 1.7rem; height: 1.7rem; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(5, 15, 28, 0.92);
  backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none; }
.lightbox__inner {
  position: relative;
  width: min(960px, 100%);
  max-height: 86vh;
}
.lightbox__media {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
  background: #000;
}
.lightbox__close {
  position: absolute;
  inset-block-start: -8px;
  inset-inline-end: -8px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  color: #fff;
  display: grid;
  place-items: center;
}
.lightbox__caption {
  margin-block-start: 0.85rem;
  text-align: center;
  color: #d7e4ef;
  font-size: 0.98rem;
}

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
.js .reveal-delay-1 { transition-delay: 0.08s; }
.js .reveal-delay-2 { transition-delay: 0.16s; }
.js .reveal-delay-3 { transition-delay: 0.24s; }
.js .reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon__track,
  .hero__scroll span { animation: none !important; }
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .gallery__btn:hover img,
  .gallery__btn:hover video { transform: none; }
  .btn, .service, .trust__item { transition: none; }
}
