/* ============================================================
   Aqar Landscape — component styles
   ============================================================ */

/* ---------------- NAVBAR ---------------- */
.nav {
  position: sticky; top: 0; z-index: 80;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  background: rgba(251, 250, 246, 0);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 18px rgba(30, 42, 34, 0.05);
}
.nav__inner {
  display: flex; align-items: center; gap: 22px;
  min-height: 84px;
}
.nav--scrolled .nav__inner { min-height: 72px; }
.logo img { transition: height 0.3s var(--ease); }
.nav__links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__link {
  position: relative; font-weight: 600; font-size: 15.5px;
  color: var(--text); padding: 9px 15px; border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 2px;
  background: var(--primary); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__link:hover { color: var(--primary); }
.nav__link.is-active { color: var(--primary); }
.nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px;
  color: var(--text); white-space: nowrap;
}
.nav__phone:hover { color: var(--primary); }
.nav__quote { padding: 12px 22px; min-height: 46px; font-size: 14.5px; }
.nav__burger {
  display: none; background: var(--surface); border: 1px solid var(--border);
  width: 48px; height: 48px; border-radius: 12px; align-items: center; justify-content: center;
  color: var(--text); margin-left: auto;
}

/* mobile nav drawer */
.mobnav { position: fixed; inset: 0; z-index: 79; pointer-events: none; visibility: hidden; }
.mobnav.is-open { pointer-events: auto; visibility: visible; }
.mobnav__scrim {
  position: absolute; inset: 0; background: rgba(20, 30, 24, 0.45);
  border: none; opacity: 0; transition: opacity 0.3s var(--ease);
}
.mobnav.is-open .mobnav__scrim { opacity: 1; }
.mobnav__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: var(--bg); box-shadow: var(--shadow-lg);
  padding: 96px 24px 32px; transform: translateX(100%);
  transition: transform 0.36s var(--ease);
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.mobnav.is-open .mobnav__panel { transform: none; }
.mobnav__link {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 540;
  padding: 16px 4px; border-bottom: 1px solid var(--border); color: var(--text);
}
.mobnav__link.is-active { color: var(--primary); }
.mobnav__link svg { color: var(--muted); }
.mobnav__cta { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }

/* ---------------- HERO ---------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,26,18,0.86) 0%, rgba(14,26,18,0.6) 42%, rgba(14,26,18,0.28) 72%, rgba(14,26,18,0.12) 100%); }
.hero__inner { padding-block: clamp(72px, 13vw, 168px); max-width: 760px; }
.hero h1 { color: #fff; }
.hero__lede { color: rgba(255,255,255,0.9); font-size: clamp(1.08rem, 1.7vw, 1.35rem); margin-top: 22px; max-width: 56ch; line-height: 1.5; }
.hero__cta { margin-top: 38px; }
.hero__trust { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; }
.hero__trust-item { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.88); font-size: 14.5px; font-weight: 600; }
.hero__trust-item svg { color: var(--accent); }
.hero__trust-sep { width: 1px; height: 18px; background: rgba(255,255,255,0.25); }

/* ---------------- TRUST STRIP ---------------- */
.trust { background: var(--surface); border-block: 1px solid var(--border); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 34px 28px; text-align: center; border-right: 1px solid var(--border); }
.trust__item:last-child { border-right: none; }
.trust__fig { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 560; color: var(--primary); letter-spacing: -0.02em; }
.trust__lbl { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.4; }

/* ---------------- SERVICE CARDS ---------------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.svc-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card__icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.svc-card:hover .svc-card__icon { background: var(--primary); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc-card__title { font-size: 1.32rem; }
.svc-card__text { color: var(--muted); font-size: 15px; line-height: 1.55; flex: 1; }
.svc-card .link-arrow { margin-top: 2px; }

/* ---------------- WHY / FEATURE GRID ---------------- */
.why { background: var(--primary-soft); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.why__item { background: var(--surface); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.why__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--secondary-soft); color: var(--secondary); margin-bottom: 18px; }
.why__item h3 { font-size: 1.22rem; }
.why__item p { color: var(--muted); margin-top: 10px; font-size: 15px; line-height: 1.55; }

/* ---------------- SPLIT / FEATURE ROW ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--rev .split__text { order: 2; }
.bullets { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.bullets li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--text); }
.bullets li svg { color: var(--primary); flex: none; margin-top: 3px; background: var(--primary-soft); border-radius: 50%; padding: 4px; box-sizing: content-box; width: 16px; height: 16px; }

/* ---------------- PROJECT CARDS ---------------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj-card {
  display: block; text-align: left; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); padding: 0;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.proj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.proj-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.proj-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.proj-card:hover .proj-card__media img { transform: scale(1.07); }
.proj-card__cat { position: absolute; top: 14px; left: 14px; }
.proj-card__zoom {
  position: absolute; bottom: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: var(--text); display: grid; place-items: center;
  opacity: 0; transform: translateY(8px) scale(0.9); transition: opacity 0.3s, transform 0.3s var(--ease);
}
.proj-card:hover .proj-card__zoom { opacity: 1; transform: none; }
.proj-card__body { padding: 22px 24px 26px; }
.proj-card__name { font-size: 1.38rem; }
.proj-card__blurb { color: var(--muted); font-size: 14.5px; margin-top: 8px; line-height: 1.5; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter {
  font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  transition: all 0.22s var(--ease);
}
.filter:hover { border-color: var(--primary); color: var(--primary); }
.filter.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------------- LIGHTBOX ---------------- */
.lb { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; }
.lb__scrim { position: absolute; inset: 0; background: rgba(12, 20, 15, 0.9); backdrop-filter: blur(4px); border: none; animation: pageIn 0.3s ease both; }
.lb__inner { position: relative; max-width: 1040px; width: 100%; z-index: 1; animation: lbPop 0.36s var(--ease) both; }
@keyframes lbPop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.lb__img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lb__cap { color: #fff; margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.lb__cap h3 { color: #fff; font-size: 1.5rem; }
.lb__cap p { color: rgba(255,255,255,0.78); width: 100%; max-width: 60ch; }
.lb__close, .lb__arrow {
  position: absolute; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  backdrop-filter: blur(6px); transition: background 0.2s; z-index: 2;
}
.lb__close:hover, .lb__arrow:hover { background: rgba(255,255,255,0.28); }
.lb__close { top: -8px; right: 0; }
.lb__arrow { top: 50%; transform: translateY(-50%); }
.lb__arrow--prev { left: -66px; }
.lb__arrow--next { right: -66px; }
.lb__arrow--next svg { transform: scaleX(1); }
.lb__arrow--prev svg { transform: scaleX(-1); }

/* ---------------- CTA BAND ---------------- */
.cta-band { position: relative; overflow: hidden; background:
  radial-gradient(120% 140% at 88% 10%, var(--secondary) 0%, transparent 46%),
  linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 62%, #2f7a40 100%); }
.cta-band__inner { position: relative; padding-block: clamp(52px, 8vw, 92px); display: grid; grid-template-columns: 1fr auto; gap: 34px 56px; align-items: center; }
.cta-band__leaf { position: absolute; right: -10px; top: -30px; color: rgba(255,255,255,0.08); pointer-events: none; }

/* ---------------- MOBILE ACTION BAR ---------------- */
.mbar { display: none; }

/* ---------------- WHATSAPP FAB ---------------- */
.wafab {
  position: fixed; right: 26px; bottom: 26px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%; background: #1FAF54; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(31,175,84,0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  animation: fabIn 0.5s var(--ease) 0.6s both;
}
.wafab:hover { transform: scale(1.08); box-shadow: 0 16px 38px rgba(31,175,84,0.55); }
@keyframes fabIn { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: none; } }

/* ---------------- FOOTER ---------------- */
.footer { background: #16231B; color: rgba(255,255,255,0.72); margin-top: auto; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 44px; padding-block: 64px 48px; }
.footer__brand .logo img { filter: brightness(0) invert(1) opacity(0.96); }
.footer__tag { margin-top: 18px; font-size: 14.5px; line-height: 1.6; max-width: 38ch; color: rgba(255,255,255,0.6); }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 42px; height: 42px; border-radius: 11px; border: 1px solid rgba(255,255,255,0.16); display: grid; place-items: center; color: #fff; transition: background 0.2s, border-color 0.2s; }
.footer__social a:hover { background: var(--primary); border-color: var(--primary); }
.footer__col h4 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14.5px; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.footer__contact svg { color: var(--accent); flex: none; margin-top: 2px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---------------- PAGE HEADER (interior pages) ---------------- */
.phead { position: relative; isolation: isolate; overflow: hidden; }
.phead__media { position: absolute; inset: 0; z-index: -2; }
.phead__media img { width: 100%; height: 100%; object-fit: cover; }
.phead__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,26,18,0.84) 0%, rgba(14,26,18,0.56) 50%, rgba(14,26,18,0.3) 100%); }
.phead__inner { padding-block: clamp(60px, 9vw, 118px); max-width: 720px; }
.phead h1 { color: #fff; }
.phead__lede { color: rgba(255,255,255,0.88); font-size: clamp(1.05rem, 1.5vw, 1.25rem); margin-top: 18px; max-width: 54ch; line-height: 1.5; }
.crumbs { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 13.5px; font-weight: 600; margin-bottom: 20px; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: 0.5; }

/* ---------------- BREATHE on plain interior page header ---------------- */
.phead--plain { background: var(--primary-soft); border-bottom: 1px solid var(--border); }
.phead--plain .phead__inner { padding-block: clamp(48px, 7vw, 92px); }
.phead--plain h1 { color: var(--text); }
.phead--plain .phead__lede { color: var(--muted); }
.phead--plain .crumbs { color: var(--muted); }
