/* ═══════════════════════════════════════════
   Liberman's Design — Premium Interior Portfolio
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/* ── Tokens ── */
:root {
  --bg: #F7F4EF;
  --bg-dark: #1A1814;
  --fg: #1A1814;
  --fg-muted: #5F5A54;
  --accent: #C4A16A;
  --accent-light: #E8D9BB;
  --white: #FFFFFF;
  --border: rgba(26,24,20,0.12);

  --font-serif: 'Playfair Display', 'Assistant', 'Helvetica Neue', system-ui, sans-serif;
  --font-hebrew: 'Assistant', 'Helvetica Neue', system-ui, sans-serif;
  --font-sans: 'Assistant', 'Helvetica Neue', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 72px;
  --section-pad: clamp(80px, 10vw, 140px);
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 60px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* Space for the fixed bottom bar */
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
select, input, textarea {
  font-family: inherit;
  font-size: inherit;
  direction: rtl;
}

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-hebrew); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
h4, h5, h6 { font-family: var(--font-sans); }
.italic { font-family: var(--font-serif); font-weight: 300; color: var(--accent); letter-spacing: 0.01em; }

.section-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── Layout ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-pad { padding: var(--section-pad) 0; }

/* ── Scroll Animations ── */
.reveal-fade,
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal-fade.in-view,
.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-fade {
  transform: translateY(0);
}

/* Whole-section fade-in */
.sec-fade {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.sec-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(247, 244, 239, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-logo-img {
  height: 46px;
  width: auto;
  display: block;
  transition: opacity 0.3s;
}
.nav-logo-light { display: none; }
body.menu-open .nav-logo-light { display: block; }
body.menu-open .nav-logo-dark { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-link {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fg);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--fg);
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover::after { width: 100%; }
.nav-cta {
  padding: 8px 20px;
  border: 1px solid var(--fg);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.25s, color 0.25s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--fg); color: var(--white); }

.nav-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
}
.nav-wa:hover { background: #1ebe5d; transform: scale(1.08); }
.nav-wa svg { display: block; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:first-child { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:last-child  { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Mobile Menu ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  color: var(--white);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-link {
  font-family: var(--font-hebrew);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s;
}
.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open li:nth-child(1) .mobile-link { transition-delay: 0.1s; }
.mobile-menu.open li:nth-child(2) .mobile-link { transition-delay: 0.15s; }
.mobile-menu.open li:nth-child(3) .mobile-link { transition-delay: 0.2s; }
.mobile-menu.open li:nth-child(4) .mobile-link { transition-delay: 0.25s; }
.mobile-menu-socials {
  display: flex;
  gap: 24px;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  opacity: 0;
  transition: opacity 0.4s 0.35s;
}
.mobile-menu.open .mobile-menu-socials { opacity: 1; }
.mobile-menu-socials a { color: rgba(255,255,255,0.5); }
.mobile-menu-socials a:hover { color: var(--white); }

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 8s var(--ease-out) forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.7) 0%,
    rgba(255,255,255,0.3) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding-top: var(--nav-h);
  color: #1a1814;
}
.hero-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #1a1814;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}
.hero-title {
  font-size: clamp(60px, 11vw, 148px);
  line-height: 0.9;
  margin-bottom: 28px;
  overflow: hidden;
  letter-spacing: -0.03em;
}
.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: slideUp 0.9s var(--ease-out) forwards;
}
.hero-line:first-child { animation-delay: 0.55s; }
.hero-italic {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #1a1814;
  opacity: 0;
  transform: translateY(100%);
  animation: slideUp 0.9s var(--ease-out) 0.7s forwards;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.75;
  color: #1a1814;
  max-width: 440px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.1s forwards;
}

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

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.5s forwards;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* Hero badge */
.hero-badge {
  position: absolute;
  bottom: 40px;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(0,0,0,0.7);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.5s forwards;
}
.hero-badge span:first-child {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #000;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: #a8884c; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  transition: border-color 0.25s, background 0.25s;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border: 1px solid var(--fg);
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.25s, color 0.25s;
}
.btn-outline:hover { background: var(--fg); color: var(--white); }
.btn-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.btn-text:hover { color: var(--fg); }
.btn-full { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
  color: var(--fg-muted);
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.m-sep { color: var(--accent); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* ── Logos Marquee ── */
.logos-marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
}
.logos-marquee-track {
  display: flex;
  width: max-content;
  animation: logos-marquee 40s linear infinite; /* Medium speed */
}
.logos-group {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-right: 80px; /* Space between groups */
}
.logos-group img {
  height: 110px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.logos-group img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

@keyframes logos-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  max-height: 600px;
  overflow: hidden;
}
.about-img { object-position: top center; }
.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--accent);
  z-index: -1;
}
.about-quote {
  position: absolute;
  bottom: 32px;
  left: -32px;
  background: var(--white);
  padding: 20px 24px;
  max-width: 260px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.about-quote p {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--fg);
}
.about-content { padding: 20px 0; }
.about-text {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.about-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 40px 0;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.stat-plus {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 300;
  color: var(--accent);
  vertical-align: super;
}
.stat-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 6px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}
.about-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════
   PROJECTS / CASE STUDIES — Fullscreen Takeover
   ════════════════════════════════════════════ */
.projects {
  background: var(--white);
  position: relative;
  /* overflow: clip instead of hidden — clips visually but doesn't break sticky */
  overflow: clip;
}

/* ── Projects header ── */
.projects { padding: var(--section-pad) 0; }

.proj-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.proj-head .section-eyebrow { color: var(--accent); margin-bottom: 12px; display: block; }
.proj-head .section-title   { color: var(--fg); font-size: clamp(30px, 4vw, 52px); }
.proj-head-sub { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; color: var(--fg-muted); margin-top: 10px; }

/* ── Showcase carousel — one big dynamic box ── */
.showcase {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 8.5;
  min-height: 420px;
  max-height: 660px;
  background: #14120F;
  box-shadow: 0 30px 80px rgba(26,24,20,0.18);
}
.sc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease-out), visibility 0s 0.9s;
  cursor: pointer;
}
.sc-slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s var(--ease-out);
  z-index: 2;
}
.sc-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s linear;
}
.sc-slide.active img { transform: scale(1); }
.sc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(10,9,8,0.88) 0%,
    rgba(10,9,8,0.45) 38%,
    rgba(10,9,8,0.05) 68%,
    transparent 100%);
}
.sc-info {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  padding: clamp(24px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--white);
}
.sc-info > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.sc-slide.active .sc-info > * { opacity: 1; transform: translateY(0); }
.sc-slide.active .sc-info > *:nth-child(1) { transition-delay: 0.3s; }
.sc-slide.active .sc-info > *:nth-child(2) { transition-delay: 0.42s; }
.sc-slide.active .sc-info > *:nth-child(3) { transition-delay: 0.54s; }
.sc-slide.active .sc-info > *:nth-child(4) { transition-delay: 0.66s; }
.sc-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.sc-name {
  font-family: var(--font-hebrew);
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.sc-count {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
}
.sc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px 26px;
  background: var(--accent);
  color: var(--white);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.sc-cta:hover {
  background: #a8884c;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(196,161,106,0.4);
}

/* Arrows */
.sc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(10,9,8,0.4);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.sc-prev { right: 20px; }
.sc-next { left: 20px; }
.sc-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Progress line */
.sc-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.12);
  z-index: 4;
}
.sc-progress-bar { height: 100%; width: 0%; background: var(--accent); }
.sc-progress-bar.running { transition: width 5.2s linear; width: 100%; }

/* Thumbs + counter below the box */
.showcase-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}
.sc-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  padding: 4px;
}
.sc-thumbs::-webkit-scrollbar { display: none; }
.sc-thumb {
  flex-shrink: 0;
  width: 86px; height: 58px;
  border-radius: 10px;
  overflow: hidden;
  opacity: 0.45;
  border: 2px solid transparent;
  transition: opacity 0.25s, border-color 0.25s, transform 0.25s;
  cursor: pointer;
}
.sc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-thumb:hover { opacity: 0.8; }
.sc-thumb.active {
  opacity: 1;
  border-color: var(--accent);
  transform: translateY(-2px);
}
.sc-counter {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ── Lightbox ── */
/* ════════════════════════════════════════════
   LIGHTBOX — luxury fullscreen gallery
   ════════════════════════════════════════════ */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: #07060504;
  background: #080706;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s var(--ease-out);
}
.lb-overlay.open { opacity: 1; pointer-events: all; }

/* ── Top bar ── */
.lb-topbar {
  flex-shrink: 0;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(8,7,6,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.lb-topbar-left  { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.lb-topbar-right { display: flex; align-items: center; gap: 22px; }
.lb-type  { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.lb-title { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 0.04em; }
.lb-counter {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.lb-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ── Canvas ── */
.lb-canvas {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #050403;
}
.lb-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.55s var(--ease-out);
}
.lb-img.active { opacity: 1; }

/* ── Arrows ── */
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: all 0.25s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lb-prev { right: 24px; }
.lb-next { left: 24px; }
.lb-prev:hover, .lb-next:hover {
  background: rgba(196,161,106,0.16);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Progress line (bottom of canvas) ── */
.lb-progress-line {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.05);
}
.lb-progress-bar { height: 100%; width: 0%; background: var(--accent); }
.lb-progress-bar.running { transition: width 3.5s linear; width: 100%; }

/* ── Thumbnail strip ── */
.lb-strip-wrap {
  flex-shrink: 0;
  height: 82px;
  background: #0a0908;
  border-top: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.lb-strip {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  padding: 10px 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.lb-strip::-webkit-scrollbar { display: none; }
.lb-thumb {
  flex-shrink: 0;
  width: 50px; height: 62px;
  overflow: hidden;
  opacity: 0.3;
  border: 1px solid transparent;
  transition: opacity 0.22s, border-color 0.22s, transform 0.22s;
  cursor: pointer;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb:hover { opacity: 0.65; }
.lb-thumb.active {
  opacity: 1;
  border-color: var(--accent);
  transform: scaleY(1.04);
}

/* ════════════════════════════════════════════
   SOCIAL SECTION
   ════════════════════════════════════════════ */
.social {
  background: var(--bg);
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}
.social-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.social-text .section-eyebrow { color: var(--accent); margin-bottom: 14px; display: block; }
.social-text .section-title   { color: var(--fg); font-size: clamp(28px, 3.5vw, 46px); line-height: 1.15; }
.social-sub {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 320px;
}
.social-ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 13px 26px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.social-ig-btn:hover {
  background: var(--accent);
  color: var(--white);
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.social-tile {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: block;
}
.social-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-out), filter 0.55s;
}
.social-tile-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(196,161,106,0.0);
  color: rgba(255,255,255,0);
  transition: background 0.3s, color 0.3s;
}
.social-tile:hover img {
  transform: scale(1.07);
  filter: brightness(0.75);
}
.social-tile:hover .social-tile-overlay {
  background: rgba(196,161,106,0.14);
  color: rgba(255,255,255,0.9);
}

/* ════════════════════════════════════════════
   IMAGE BREAK
   ════════════════════════════════════════════ */
.image-break {
  position: relative;
  height: 50vh;
  min-height: 300px;
  overflow: hidden;
}
.image-break-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8s var(--ease-out);
}
.image-break:hover .image-break-img { transform: scale(1.03); }
.image-break-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,24,20,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-break-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.5vw, 44px);
  font-weight: 200;
  letter-spacing: 0.03em;
  color: var(--white);
  text-align: center;
  max-width: 700px;
  padding: 0 var(--gutter);
  opacity: 0;
}
.image-break-quote.in-view { animation: fadeUp 1s var(--ease-out) forwards; }

/* ════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════ */
.testimonials { background: var(--bg); color: var(--fg); }
.testimonials .section-eyebrow { color: var(--accent); }
.testimonials .section-title { color: var(--fg); }

.testi-carousel { position: relative; margin-top: 56px; }
.testi-track { position: relative; min-height: 260px; }

.testi-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transform: translateY(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.testi-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.testi-google-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 400px;
  margin-bottom: 24px;
}
.testi-stars {
  display: flex;
  gap: 2px;
}
.google-logo-svg {
  width: 24px;
  height: 24px;
}
.testi-quote-mark {
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 0.8;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 300;
}
.testi-text {
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 400;
  line-height: 1.85;
  color: rgba(26,24,20,0.88);
  max-width: 760px;
  margin-bottom: 32px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  flex-shrink: 0;
}
.testi-author strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.testi-author span {
  font-size: 14px;
  color: var(--fg-muted);
}

.testi-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}
.testi-prev, .testi-next {
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  transition: all 0.2s;
}
.testi-prev svg, .testi-next svg { width: 18px; height: 18px; }
.testi-prev:hover, .testi-next:hover {
  border-color: var(--fg);
  color: var(--fg);
}
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(26,24,20,0.2);
  transition: all 0.3s;
  cursor: pointer;
}
.testi-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 3px;
}

/* ════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════ */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 56px;
}
.service-card {
  background: var(--white);
  padding: 40px 32px;
  transition: background 0.3s;
}
.service-card:hover { background: var(--bg); }
.service-icon {
  width: 48px; height: 48px;
  margin-bottom: 24px;
  color: var(--accent);
  transition: transform 0.35s var(--ease-out);
}
.service-card:hover .service-icon { transform: translateY(-5px) scale(1.06); }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--font-hebrew);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--fg-muted);
}

/* ════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════ */
.contact {
  position: relative;
  overflow: hidden;
}

/* Animated house sketch — draws itself on scroll */
.house-sketch {
  position: absolute;
  bottom: 24px;
  right: -30px;
  width: min(46vw, 640px);
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.contact .container { position: relative; z-index: 1; }
.house-sketch path {
  stroke: var(--accent);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
}
.contact.in-view .house-sketch path {
  animation: drawPath 2.4s var(--ease-out) forwards;
  animation-delay: calc(0.3s + var(--i) * 0.22s);
}
@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

/* Animated rule under heading */
.contact-rule {
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-bottom: 28px;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}
.contact-rule.in-view { width: 72px; }

.contact-text {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--fg-muted);
  margin-bottom: 40px;
}
.contact-text em {
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--accent);
  font-weight: 400;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.cd-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.cd-val {
  font-size: 17px;
  font-weight: 600;
  transition: color 0.2s;
}
.contact-detail:hover .cd-val { color: var(--accent); }
.contact-social { display: flex; gap: 16px; margin-top: 4px; }
.social-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.social-link:hover { color: var(--fg); border-color: var(--fg); }

/* Form — clean light card */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 24px 70px rgba(26,24,20,0.09);
}
.form-head { margin-bottom: 30px; }
.form-head-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.form-head h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.form-head p { font-size: 13px; color: var(--fg-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 18px;
  position: relative;
}
.form-group label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #FAF8F4;
  font-size: 15px;
  font-weight: 400;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(26,24,20,0.32); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(196,161,106,0.14);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C4A16A' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  cursor: pointer;
}
.form-group select option {
  background: var(--white);
  color: var(--fg);
}
.contact-form .btn-primary {
  margin-top: 6px;
  padding: 16px 32px;
  background: var(--fg);
  color: var(--white);
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 14px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.contact-form .btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(196,161,106,0.35);
}
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 16px 18px;
  background: rgba(196,161,106,0.1);
  border: 1px solid rgba(196,161,106,0.35);
  border-radius: 12px;
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
}
.form-success.show { display: flex; animation: fadeUp 0.5s var(--ease-out); }
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--accent); }

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.footer-logo-img {
  height: 72px;
  width: auto;
  display: block;
}
.footer-tagline { font-size: 14px; font-weight: 500; }
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 13px; margin-top: 16px; }

/* ── Contact Stats & SVG Animation ── */
.contact-stats {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.contact-stat-num {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 80px);
  line-height: 1;
  color: var(--accent);
}
.contact-stat-label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-top: 4px;
}
.contact-svg-wrap {
  margin-bottom: 32px;
  width: 80px;
  height: 80px;
  color: var(--accent);
}
.stat-icon-svg {
  width: 100%;
  height: 100%;
}
.contact.in-view .draw-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: svgDraw 2.5s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 0.12s + 0.3s);
}
@keyframes svgDraw {
  to { stroke-dashoffset: 0; }
}

/* ── Floating Sticky Nav ── */
.floating-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  z-index: 9000;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
.float-btn {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: 64px;
  background: var(--bg);
  border: none;
  border-top: 1px solid var(--border);
  color: var(--fg);
  border-radius: 0;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  gap: 12px;
}
.float-btn:first-child {
  border-left: 1px solid var(--border);
}
.float-btn span {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.float-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.float-btn-primary {
  background: var(--fg);
  color: var(--bg);
  border-top-color: var(--fg);
}
.float-btn-primary:hover {
  background: var(--accent);
  color: var(--white);
  border-top-color: var(--accent);
}

/* ── Process ── */
.process {
  position: relative;
  padding: 140px 0;
  background: var(--bg-dark);
  color: var(--white);
  overflow: hidden;
}
.process-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/domus/08.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
  transition: transform 1s;
}
.process:hover .process-bg {
  transform: scale(1.05);
}
.process-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,24,20,0.85), rgba(26,24,20,0.6));
}
.process-container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.process-title {
  color: var(--white);
  font-size: clamp(36px, 6vw, 56px);
  margin-bottom: 80px;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 600px;
  margin: 0 auto 80px;
}
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.4s var(--ease-out);
}
.process-step:hover {
  transform: translateY(-8px);
}
/* The animated drawing line */
.process-step::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 0.8s var(--ease-out) 0.5s;
}
.process-step.in-view::after {
  height: 60px;
}
/* The animated arrow head */
.process-step::before {
  content: '';
  position: absolute;
  top: calc(100% + 60px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--accent);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out) 1.2s, transform 0.3s var(--ease-out) 1.2s;
}
.process-step.in-view::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* Final arrow extending to CTA */
.process-step:last-child.in-view::after {
  height: 70px;
}
.process-step:last-child::before {
  top: calc(100% + 70px);
}
.step-num {
  font-family: var(--font-serif);
  font-size: 140px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  opacity: 0.9;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}
.step-text {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
  max-width: 400px;
}
.process-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--fg);
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  
  body, .section-eyebrow, .section-title, p, .about-text {
    text-align: center;
  }
  .about-content { align-items: center; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-logo-img { height: 38px; }

  .house-sketch { display: none; }

  .hero-title { font-size: clamp(52px, 15vw, 100px); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-scroll-indicator { display: none; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-img-wrap { max-height: 400px; }
  .about-quote { left: 0; bottom: 16px; max-width: 200px; padding: 14px; }

  /* Projects showcase — mobile */
  .proj-head { flex-direction: column; align-items: center; text-align: center; gap: 20px; margin-bottom: 28px; }
  .showcase {
    aspect-ratio: 4/5;
    min-height: 400px;
    max-height: 560px;
    border-radius: 16px;
  }
  .sc-info { gap: 6px; }
  .sc-name { font-size: clamp(24px, 7vw, 34px); }
  .sc-cta { padding: 10px 20px; font-size: 12px; }
  .sc-arrow { width: 42px; height: 42px; }
  .sc-prev { right: 10px; }
  .sc-next { left: 10px; }
  .sc-thumb { width: 64px; height: 46px; border-radius: 8px; }
  .sc-counter { font-size: 12px; }
  /* Lightbox mobile */
  .lb-topbar { padding: 0 14px; height: 46px; }
  .lb-prev { right: 8px; }
  .lb-next { left: 8px; }
  .lb-prev, .lb-next { width: 40px; height: 40px; }
  .lb-strip-wrap { height: 68px; }
  .lb-thumb { width: 42px; height: 52px; }
  /* Social mobile */
  .social-inner { grid-template-columns: 1fr; gap: 36px; align-items: center; text-align: center; }
  .social-text { order: 1; align-items: center; text-align: center; }
  .social-grid  { order: 2; }

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

  /* Contact — centered on mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-info { text-align: center; }
  .contact-rule {
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
  }
  .contact-rule.in-view { width: 80px; }
  .contact-text { font-size: 15px; }
  .contact-details { align-items: center; }
  .contact-detail { align-items: center; }
  .contact-social { justify-content: center; }
  .cd-val { font-size: 15px; }

  /* Form */
  .contact-form { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* prevent iOS zoom on focus */
  }

  .about-stats { gap: 16px; }
  .stat-num { font-size: 36px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(42px, 18vw, 80px); }
  .testi-text { font-size: 16px; }
  .showcase { min-height: 360px; }
  .footer-logo-img { height: 56px; }
}
