/* ==========================================================
   شركة مكة للتنمية الزراعية — Design System
   ========================================================== */

:root {
  /* Brand */
  --green-900: #0d2f16;
  --green-800: #14532d;
  --green-700: #166534;
  --green-600: #1f7a3f;
  --green-100: #e7f3ea;
  --orange: #e07b1e;
  --orange-600: #c2650f;
  --orange-100: #fdf0e2;
  --red: #d61f26;

  /* Neutrals */
  --ink: #131a15;
  --ink-2: #3c4b41;
  --ink-3: #6d7d73;
  --paper: #ffffff;
  --paper-2: #fbfaf7;
  --tint: #f4f8f5;
  --line: #e6ece8;
  --line-2: #d6e0da;

  /* Elevation */
  --sh-sm: 0 2px 8px rgba(19, 26, 21, 0.05);
  --sh-md: 0 8px 24px rgba(19, 26, 21, 0.07);
  --sh-lg: 0 20px 50px rgba(19, 26, 21, 0.11);

  /* Geometry */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --hdr: 84px;
  --container: min(1220px, 100% - 3rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 12px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-2);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.28;
  color: var(--ink);
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

b,
strong {
  font-weight: 700;
  color: var(--ink);
}

button {
  font-family: inherit;
  cursor: pointer;
}

svg.i,
.feat-ico svg,
.c-ico svg,
.contact-meta svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -120px;
  inset-inline-start: 1rem;
  z-index: 300;
  background: var(--green-800);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-sm);
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--green-600));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pill-light {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(8px);
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7a0;
  box-shadow: 0 0 0 3px rgba(110, 231, 160, 0.28);
  animation: blip 2.4s ease-in-out infinite;
}

@keyframes blip {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.75rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

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

.btn-lg {
  min-height: 56px;
  padding: 0.9rem 1.9rem;
  font-size: 1.05rem;
}

.btn-sm {
  min-height: 42px;
  padding: 0.45rem 1.1rem;
  font-size: 0.92rem;
}

.btn-primary {
  background: var(--green-800);
  color: #fff;
  box-shadow: var(--sh-sm);
}

.btn-primary:hover {
  background: var(--green-900);
  box-shadow: var(--sh-md);
}

.btn-wa {
  background: #25d366;
  color: #08331a;
}

.btn-wa:hover {
  background: #1fbe5a;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--green-800);
  border-color: #fff;
}

/* ---------- Logo lockup ---------- */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.lockup-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
  border: none;
  padding: 0;
  box-sizing: border-box;
}

.lockup-text {
  display: grid;
  line-height: 1.15;
}

.lockup-text strong {
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--green-800);
  letter-spacing: -0.01em;
}

.lockup-text small {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.02em;
}

.lockup-dark .lockup-mark {
  background: transparent;
  border: none;
}

.lockup-dark .lockup-text strong {
  color: #fff;
}

.lockup-dark .lockup-text small {
  color: #f0a76a;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 150;
  height: var(--hdr);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: height 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.4s var(--ease);
}

.header.is-stuck {
  height: 70px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(19, 26, 21, 0.06);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header.is-stuck .lockup-mark {
  width: 42px;
  height: 42px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-inline-start: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.3rem 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color 0.2s;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  inset-inline: 0.7rem;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.28s var(--ease);
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--green-800);
}

.nav-list a:hover::after,
.nav-list a.is-active::after {
  transform: scaleX(1);
}

.socials {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: none;
}

.socials-header {
  order: 2;
}

.header-in .burger {
  order: 3;
}

.social {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-800);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
  transform: translateY(-1px);
}

.socials-footer {
  margin-top: 1.15rem;
}

.socials-footer .social {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.socials-footer .social:hover {
  background: #ffb765;
  border-color: #ffb765;
  color: var(--green-900);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff;
  padding: 12px 11px;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(-45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--hdr) + 3.5rem) 0 7rem;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease);
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 0;
  transform: scale(1.06);
}

.hero-slide.is-active img {
  animation: kenburns 12s ease-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.13); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(8, 24, 13, 0.86) 0%, rgba(8, 24, 13, 0.6) 45%, rgba(8, 24, 13, 0.32) 100%),
    linear-gradient(to top, rgba(6, 20, 10, 0.85) 0%, transparent 55%);
}

.hero-in {
  position: relative;
  max-width: 700px;
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1.1rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.hero-title em {
  font-style: normal;
  color: #ffb765;
  position: relative;
  white-space: nowrap;
}

.hero-title em::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0.08em;
  height: 0.14em;
  background: rgba(255, 183, 101, 0.3);
  border-radius: 4px;
  z-index: -1;
}

.hero-lead {
  font-size: clamp(1rem, 1.9vw, 1.18rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 56ch;
  margin-bottom: 1.9rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.75rem;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-strip li {
  display: grid;
  gap: 0.1rem;
}

.hero-strip b {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.hero-strip span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-thumbs {
  position: absolute;
  bottom: 2rem;
  inset-inline-end: max(1.5rem, calc((100% - var(--container)) / 2));
  display: flex;
  gap: 0.6rem;
  z-index: 2;
}

.hero-thumb {
  width: 84px;
  height: 56px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  overflow: hidden;
  background: none;
  opacity: 0.55;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.hero-thumb:hover {
  opacity: 0.85;
  transform: translateY(-3px);
}

.hero-thumb.is-active {
  opacity: 1;
  border-color: #ffb765;
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  width: 100%;
  max-width: 100vw;
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.82);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  will-change: transform;
  animation: slideLoop 45s linear infinite;
}

.marquee-track span {
  font-weight: 700;
  font-size: 0.98rem;
}

.marquee-track i {
  color: var(--orange);
  font-style: normal;
}

@keyframes slideLoop {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ---------- Section shell ---------- */
.sec {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.sec-tint {
  background: var(--tint);
}

.sec-dark {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.78);
}

.sec-green {
  background: linear-gradient(150deg, var(--green-800), var(--green-900));
  color: rgba(255, 255, 255, 0.82);
}

.sec-head {
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.sec-head h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.5rem);
}

.sec-head p:last-child {
  font-size: 1.08rem;
  margin: 0;
}

.sec-head.light h2 {
  color: #fff;
}

.sec-dark h3,
.sec-green h3,
.sec-dark b,
.sec-green b {
  color: #fff;
}

.note {
  margin: 2rem 0 0;
  padding: 1rem 1.25rem;
  background: var(--orange-100);
  border-inline-start: 4px solid var(--orange);
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-weight: 600;
}

/* Reveal */
[data-r] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

[data-r].in {
  opacity: 1;
  transform: none;
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 2rem;
}

.check-list li {
  position: relative;
  padding-inline-start: 2rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.about-visual {
  position: relative;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
}

.brand-card {
  position: absolute;
  bottom: -1.75rem;
  inset-inline-start: -1.5rem;
  width: clamp(130px, 26%, 180px);
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 50%;
  box-shadow: none;
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* ---------- Bento features ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.feat {
  padding: 1.9rem 1.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--line-2);
}

.feat-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 1.6rem;
}

.feat h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feat p {
  margin: 0;
  font-size: 0.99rem;
}

/* ---------- Tabs ---------- */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
  padding: 0.4rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}

.sec-tint .tab-bar {
  background: #fff;
}

.tab {
  min-height: 46px;
  padding: 0.5rem 1.45rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.98rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.tab:hover {
  color: var(--green-800);
}

.tab.is-active {
  background: var(--green-800);
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: fadeUp 0.5s var(--ease);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Product cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.35rem;
}

.cards-5 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}

.card-img {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.6s var(--ease);
}

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

.tagx {
  position: absolute;
  top: 0.85rem;
  inset-inline-start: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 800;
}

.card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-size: 1.18rem;
  margin-bottom: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
}

.card-body h3 small {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-3);
  direction: ltr;
}

.card-body p {
  font-size: 0.97rem;
  margin-bottom: 1rem;
  flex: 1;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.specs li {
  padding: 0.28rem 0.7rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-2);
}

.sec-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.sec-cta span {
  font-weight: 600;
  color: var(--ink-2);
  flex: 1;
  min-width: 240px;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.steps {
  display: grid;
  gap: 0;
}

.steps li {
  position: relative;
  padding: 0 0 2rem 0;
  padding-inline-start: 4.25rem;
}

.steps li::before {
  content: "";
  position: absolute;
  inset-inline-start: 22px;
  top: 46px;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li:last-child::before {
  display: none;
}

.step-n {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffb765;
  font-weight: 900;
  font-size: 0.95rem;
}

.steps h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  padding-top: 0.5rem;
}

.steps p {
  margin: 0;
  font-size: 0.99rem;
}

.process-media {
  display: grid;
  gap: 1.15rem;
  position: sticky;
  top: calc(var(--hdr) + 2rem);
}

.process-media figure {
  margin: 0;
}

.process-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Gallery ---------- */
.video-grid {
  display: none;
}

.g-video {
  margin: 0;
  padding: 0;
  background: #0b1a10;
  grid-row: span 2;
}

.g-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  border-radius: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 1rem;
}

.g-item {
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.6s var(--ease), filter 0.4s;
}

.g-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.06);
}

.g-tall {
  grid-row: span 2;
}

.g-wide {
  grid-column: span 2;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 900px;
}

.faq {
  display: grid;
  gap: 0.85rem;
}

.qa {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.qa[open] {
  border-color: var(--line-2);
  box-shadow: var(--sh-md);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa-x {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-100);
  transition: background 0.25s, transform 0.3s var(--ease);
}

.qa-x::before,
.qa-x::after {
  content: "";
  position: absolute;
  inset: 50% 5px auto;
  height: 2px;
  background: var(--green-700);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: opacity 0.25s;
}

.qa-x::after {
  transform: translateY(-50%) rotate(90deg);
}

.qa[open] .qa-x {
  background: var(--green-800);
  transform: rotate(180deg);
}

.qa[open] .qa-x::before,
.qa[open] .qa-x::after {
  background: #fff;
}

.qa[open] .qa-x::after {
  opacity: 0;
}

.qa-a {
  padding: 0 1.4rem 1.35rem;
}

.qa-a p {
  margin: 0;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.contact-copy h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

.contact-meta {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.contact-meta li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.contact-meta svg {
  color: #ffb765;
  width: 1.3em;
  height: 1.3em;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.c-card {
  display: grid;
  gap: 0.3rem;
  padding: 1.6rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.c-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 183, 101, 0.6);
  transform: translateY(-3px);
}

.c-ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 0.5rem;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.4rem;
}

.c-ico svg {
  width: 1.5em;
  height: 1.5em;
  fill: currentColor;
}

.c-wa .c-ico {
  background: #25d366;
  color: #08331a;
}

.c-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.08rem;
  color: #fff;
}

.c-label b {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #25d366;
  color: #08331a;
}

.c-val {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */
.footer {
  background: #081a0d;
  color: rgba(255, 255, 255, 0.62);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  margin: 1.1rem 0 0;
  font-size: 0.97rem;
  max-width: 38ch;
}

.footer-col h3 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: grid;
  gap: 0.6rem;
}

.footer-col a,
.footer-col li {
  font-size: 0.96rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #ffb765;
}

.footer-bottom {
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- Floating buttons ---------- */
.fab {
  position: fixed;
  z-index: 120;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s var(--ease), background 0.25s, opacity 0.3s, visibility 0.3s;
}

.fab svg {
  width: 26px;
  height: 26px;
}

.fab-wa {
  bottom: 1.5rem;
  inset-inline-start: 1.5rem;
  background: #25d366;
  color: #08331a;
  fill: currentColor;
}

.fab-wa:hover {
  transform: scale(1.08);
}

.fab-top {
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  background: var(--green-800);
  color: #fff;
  opacity: 0;
  visibility: hidden;
}

.fab-top.show {
  opacity: 1;
  visibility: visible;
}

.fab-top:hover {
  background: var(--green-900);
  transform: translateY(-3px);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(6, 16, 9, 0.92);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.25s var(--ease);
}

.lightbox[hidden] {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88svh;
  width: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lb-close {
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.25rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
}

.lb-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1080px) {
  :root {
    --container: min(1220px, 100% - 2.5rem);
  }

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

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

  .nav-list a {
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 940px) {
  :root {
    --hdr: 72px;
  }

  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--hdr) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin: 0;
    padding: 1rem 1.5rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    max-height: calc(100svh - var(--hdr));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .nav-list a {
    min-height: 50px;
    padding: 0.4rem 0.75rem;
    font-size: 1.05rem;
    border-radius: var(--r-sm);
  }

  .nav-list a::after {
    display: none;
  }

  .nav-list a:hover,
  .nav-list a.is-active {
    background: var(--tint);
  }

  .nav-cta {
    width: 100%;
    min-height: 50px;
  }

  .socials-header {
    margin-inline-end: 0.35rem;
  }

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

  .about-visual {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .brand-card {
    inset-inline-start: auto;
    inset-inline-end: -0.5rem;
    bottom: -1.25rem;
  }

  .process-media {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
  }

  .g-video {
    grid-row: span 2;
  }

  .g-wide {
    grid-column: span 2;
  }

  .hero-thumbs {
    inset-inline-end: 1.25rem;
    bottom: 1.25rem;
  }

  .hero-thumb {
    width: 66px;
    height: 46px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
    line-height: 1.75;
  }

  :root {
    --container: min(1220px, 100% - 2rem);
  }

  .lockup-mark,
  .header.is-stuck .lockup-mark {
    width: 40px;
    height: 40px;
  }

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

  .lockup-text small {
    font-size: 0.7rem;
  }

  .hero {
    padding: calc(var(--hdr) + 2.5rem) 0 8.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 2rem;
  }

  .hero-strip {
    gap: 1.25rem 2rem;
  }

  .hero-strip li {
    min-width: 90px;
  }

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

  .feat {
    padding: 1.5rem 1.35rem;
  }

  .tab-bar {
    width: 100%;
    justify-content: stretch;
  }

  .tab {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .cards,
  .cards-5 {
    grid-template-columns: 1fr;
  }

  .card-img img {
    aspect-ratio: 16 / 11;
  }

  .steps li {
    padding-inline-start: 3.5rem;
    padding-bottom: 1.75rem;
  }

  .step-n {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  .steps li::before {
    inset-inline-start: 19px;
    top: 40px;
  }

  .process-media {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }

  .g-video {
    grid-column: span 2;
    grid-row: span 2;
  }

  .g-tall {
    grid-row: span 1;
  }

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

  .sec-cta {
    padding: 1.25rem;
  }

  .btn,
  .sec-cta .btn {
    width: 100%;
  }

  .qa summary {
    font-size: 0.99rem;
    padding: 1rem 1.15rem;
  }

  .qa-a {
    padding: 0 1.15rem 1.15rem;
  }

  .fab {
    width: 52px;
    height: 52px;
  }

  .fab-wa {
    bottom: 1rem;
    inset-inline-start: 1rem;
  }

  .fab-top {
    bottom: 1rem;
    inset-inline-end: 1rem;
  }
}

@media (max-width: 400px) {
  .hero-thumbs {
    display: none;
  }

  .hero-strip {
    gap: 1rem 1.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-r] {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none;
  }

  .hero-slide.is-active img {
    animation: none;
    transform: scale(1.02);
  }
}
