/* ============================================================
   MOTION HIVE STUDIOZ — STYLESHEET
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg-0: #ffffff;
  --bg-1: #F7F7F7;
  --bg-2: #EEEEEE;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  --text-primary: #000000;
  --text-secondary: #B5B5B5;
  --text-muted: #777777;

  --accent: #FFD400;
  --accent-dim: rgba(255, 106, 0, 0.14);

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-max: 1360px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.3s;
  --dur-med: 0.6s;
  --dur-slow: 1s;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0.01s; --dur-med: 0.01s; --dur-slow: 0.01s; }
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg-0);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(72px, 12vw, 160px) 0; position: relative; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }

.text-accent { color: var(--accent); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 999;
  background: var(--accent); color: #0A0A0A; padding: 10px 18px;
  border-radius: 4px; font-weight: 600; transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Focus states ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: 2px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform var(--dur-fast) var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-solid { background: var(--accent); color: #0A0A0A; }
.btn-solid:hover { background: #ff7f1f; }

.btn-outline { border: 1px solid var(--hairline-strong); color: var(--text-primary); background: transparent; padding: 12px 22px; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost { color: var(--text-primary); border-bottom: 1px solid var(--hairline-strong); border-radius: 0; padding: 16px 0; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Custom cursor (desktop only) ---------- */
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width var(--dur-fast) var(--ease), height var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  opacity: 0;
}
.cursor-dot.active { opacity: 1; }
.cursor-dot.expand { width: 42px; height: 42px; background: rgba(255,106,0,0.22); border: 1px solid var(--accent); }
@media (hover: none), (pointer: coarse) { .cursor-dot { display: none; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), backdrop-filter var(--dur-fast) var(--ease);
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline);
}
.navbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 130px;
  height: auto;
  display: block;
}

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--accent);
  transition: width var(--dur-fast) var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.navbar-right { display: flex; align-items: center; gap: 20px; }
.nav-cta { display: inline-flex; }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 40px; height: 40px;
}
.menu-toggle span { display: block; width: 22px; height: 1px; background: var(--text-primary); transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); margin: 0 auto; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 490;
  background: var(--bg-0);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 100px var(--gutter) 60px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease);
  pointer-events: none;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 20px; }
.mobile-menu-links a {
  font-family: var(--font-display); font-size: clamp(32px, 10vw, 48px); font-weight: 600;
  opacity: 0; transform: translateY(16px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.mobile-menu.open .mobile-menu-links a { opacity: 1; transform: translateY(0); }
.mobile-menu.open .mobile-menu-links a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open .mobile-menu-links a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu-links a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu-links a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu-links a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-menu-links a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu-cta { align-self: flex-start; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 140px var(--gutter) 100px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; opacity: 0; animation: fadeIn 1.4s var(--ease) 0.1s forwards; }
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background-image: url("../Asset/images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 40%, black, transparent 90%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.75) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-headline {
  font-size: clamp(48px, 8vw, 128px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}
.hero-headline em { font-style: normal; color: var(--accent); }
.hero-headline .line { display: block; overflow: hidden; }

.hero-sub {
  max-width: 520px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: #FFFFFF;
  margin-top: 28px;
}
.hero-ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 44px; }

.scroll-indicator {
  position: absolute; bottom: 44px; left: var(--gutter); z-index: 2;
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted);
}
.scroll-line { width: 1px; height: 40px; background: var(--hairline-strong); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--accent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* ---------- Hero reveal sequence ---------- */
.reveal-item { opacity: 0; transform: translateY(24px); }
.hero-headline .line[data-reveal] { opacity: 0; transform: translateY(100%); }
.hero.loaded .reveal-item, .hero.loaded .line[data-reveal] { opacity: 1; transform: translateY(0); }
.hero.loaded [data-reveal="1"] { transition: opacity var(--dur-med) var(--ease) 0.3s, transform var(--dur-med) var(--ease) 0.3s; }
.hero.loaded [data-reveal="2"] { transition: opacity var(--dur-slow) var(--ease) 0.5s, transform var(--dur-slow) var(--ease) 0.5s; }
.hero.loaded [data-reveal="3"] { transition: opacity var(--dur-slow) var(--ease) 0.65s, transform var(--dur-slow) var(--ease) 0.65s; }
.hero.loaded [data-reveal="4"] { transition: opacity var(--dur-med) var(--ease) 0.95s, transform var(--dur-med) var(--ease) 0.95s; }
.hero.loaded [data-reveal="5"] { transition: opacity var(--dur-med) var(--ease) 1.1s, transform var(--dur-med) var(--ease) 1.1s; }
.hero.loaded [data-reveal="6"] { transition: opacity var(--dur-med) var(--ease) 1.3s, transform var(--dur-med) var(--ease) 1.3s; }

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

/* ============================================================
   SCROLL REVEAL (generic, used across sections)
   ============================================================ */
.reveal-up { opacity: 0; transform: translateY(32px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal-up.in-view { opacity: 1; transform: translateY(0); }

.reveal-image { opacity: 0; clip-path: inset(0 0 100% 0); transition: opacity var(--dur-slow) var(--ease), clip-path 1.1s var(--ease); }
.reveal-image.in-view { opacity: 1; clip-path: inset(0 0 0% 0); }

/* ============================================================
   INTRO STATEMENT
   ============================================================ */
.intro-statement .container { max-width: 980px; }
.statement-heading {
  font-size: clamp(34px, 6vw, 68px);
  margin-bottom: 28px;
}
.statement-text { font-size: clamp(16px, 1.6vw, 20px);color: #000000; max-width: 620px; }

/* ============================================================
   STATS
   ============================================================ */
.stats { border-top: 1px solid #000000;border-bottom: 1px solid #000000; padding: clamp(56px, 8vw, 100px) 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.stat-item { border-left: 1px solid #000000; padding-left: 24px; }
.stat-value { font-family: var(--font-display); font-size: clamp(40px, 5vw, 68px); font-weight: 600; color: var(--text-primary); }
.stat-value .accent-suffix { color: var(--accent); }
.stat-label { margin-top: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; ccolor: #000000; }
.stats-note { margin-top: 36px; font-size: 13px; color: #000000; }

/* ============================================================
   SECTION HEADINGS (shared)
   ============================================================ */
.section-heading { font-size: clamp(36px, 5.5vw, 76px); margin-bottom: 24px; }
.section-sub { font-size: clamp(15px, 1.4vw, 18px); color: #000000; max-width: 560px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }

.services-list { border-top: 1px solid #000000; }
.service-item {
 border-bottom: 1px solid #000000;
  padding: 30px 0;
  cursor: pointer;
  display: grid; grid-template-columns: 56px 1fr; column-gap: 24px; row-gap: 14px;
}
.service-item .s-num {
  font-family: var(--font-display); font-size: 15px; color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease);
}
.service-item .s-title {
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 34px); font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease);
}
.service-item .s-desc {
  grid-column: 2 / 3;
  font-size: 15px; color: #000000;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease), margin var(--dur-med) var(--ease);
}
.service-item:hover .s-num,
.service-item.active .s-num { color: var(--accent); }
.service-item:hover .s-title,
.service-item.active .s-title { color: var(--text-primary); }
.service-item.active .s-desc { max-height: 200px; opacity: 1; margin-top: 4px; }

.services-visual {
  position: sticky; top: 120px;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hairline);
  background: var(--bg-1);
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.services-visual-inner {
  width: 100%; height: 100%;
  background: linear-gradient(155deg, var(--bg-2) 0%, var(--bg-0) 100%);
  position: relative;
  display: flex; align-items: flex-end; padding: 28px;
  transition: background var(--dur-med) var(--ease);
}
.services-visual-inner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 70% 20%, rgba(255,106,0,0.18), transparent 65%);
  opacity: 0.9;
}
.services-visual-label {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary);
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.portfolio-card {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hairline);
  background: var(--bg-1);
}
.portfolio-card-media {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--bg-2), var(--bg-0));
  transition: transform var(--dur-med) var(--ease);
}
.portfolio-card-media::before {
  content: attr(data-label);
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted);
  background: radial-gradient(60% 60% at 30% 20%, rgba(255,106,0,0.10), transparent 70%);
}
.portfolio-card:hover .portfolio-card-media { transform: scale(1.06); }

.portfolio-card-overlay {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75) 100%);
}
.portfolio-card-top {
  position: absolute; top: 22px; left: 26px; right: 26px; z-index: 1;
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text-secondary);
}
.portfolio-card-num { color: var(--accent); font-family: var(--font-display); }
.portfolio-card-title { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; }
.portfolio-card-meta {
  display: flex; justify-content: space-between; align-items: center; margin-top: 8px;
  font-size: 13px; color: var(--text-secondary);
}
.portfolio-card-arrow {
  display: inline-block; transition: transform var(--dur-fast) var(--ease);
}
.portfolio-card:hover .portfolio-card-arrow { transform: translate(4px, -4px); }

/* ============================================================
   ABOUT DEEP
   ============================================================ */
.about-deep-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about-deep h2,
.about-deep h3 {
  color: #000000;
}

.about-deep p {
  color: #555555;
}
.about-deep-p { font-size: clamp(15px, 1.4vw, 18px); color: #000000; max-width: 480px; margin-top: 18px; }
.about-deep-visual { aspect-ratio: 3 / 4; border: 1px solid var(--hairline); }
.about-deep-visual-inner {
  width: 100%; height: 100%;
  background:
    radial-gradient(60% 50% at 75% 15%, rgba(255,106,0,0.16), transparent 60%),
    linear-gradient(160deg, var(--bg-2), var(--bg-0));
}

/* ============================================================
   WHY MOTION HIVE
   ============================================================ */
.why-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #000000; border: 1px solid #000000; }
.why-item { background: var(--bg-0); padding: 40px 28px; }
.why-item .w-num { font-family: var(--font-display); font-size: 14px; color: var(--accent); margin-bottom: 22px; }
.why-item .w-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.why-item .w-desc { font-size: 14.5px; color: var(--text-muted); }

/* ============================================================
   PROCESS
   ============================================================ */
.process-timeline { margin-top: 56px; position: relative; }
.process-step {
  display: grid; grid-template-columns: 90px 1fr; gap: 24px;
  padding: 34px 0; border-top: 1px solid #000000;
  position: relative;
}
.process-step:last-child { border-bottom: 1px solid var(--hairline); }
.process-step .p-num {
  font-family: var(--font-display); font-size: 15px; color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease);
}
.process-step.active .p-num { color: var(--accent); }
.process-step .p-body { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.process-step .p-title {
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 500; color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease); min-width: 200px;
}
.process-step.active .p-title { color: var(--text-primary); }
.process-step .p-desc { font-size: 14.5px; color: var(--text-muted); max-width: 460px; }
.process-progress {
  position: absolute; left: 0; top: 0; width: 2px; background: var(--accent);
  height: 0; transition: height 0.2s linear;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-carousel { margin-top: 56px; max-width: 820px; }
.testimonial-track { overflow: hidden; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; animation: fadeIn 0.6s var(--ease); }
.t-stars { color: var(--accent); font-size: 14px; letter-spacing: 3px; margin-bottom: 24px; }
.t-quote { font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 32px); font-weight: 500; line-height: 1.4; }
.t-name { margin-top: 28px; font-weight: 600; }
.t-role { color: var(--text-muted); font-size: 14px; }
.testimonial-controls { display: flex; align-items: center; gap: 20px; margin-top: 40px; }
.t-btn {
  width: 44px; height: 44px; border: 1px solid var(--hairline-strong); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.t-btn:hover { border-color: var(--accent); color: var(--accent); }
.t-dots { display: flex; gap: 8px; }
.t-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hairline-strong); transition: background var(--dur-fast) var(--ease); }
.t-dot.active { background: var(--accent); }

/* ============================================================
   INSIGHTS
   ============================================================ */
.insights-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.insight-card { display: block; }
.insight-media {
  aspect-ratio: 4 / 3; border: 1px solid var(--hairline); overflow: hidden; position: relative;
  background: linear-gradient(145deg, var(--bg-2), var(--bg-0));
}
.insight-media::before {
  content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted);
}
.insight-meta { display: flex; gap: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-top: 20px; }
.insight-meta .accent { color: var(--accent); }
.insight-title { font-family: var(--font-display); font-size: 19px; font-weight: 500; margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.insight-title .arrow { transition: transform var(--dur-fast) var(--ease); flex-shrink: 0; }
.insight-card:hover .insight-title .arrow { transform: translate(3px, -3px); }
.insight-card:hover .insight-title { color: var(--accent); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { position: relative; overflow: hidden; text-align: left; }
.final-cta-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--bg-0) 70%);
}
.final-cta-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(55% 60% at 80% 30%, rgba(255,106,0,0.22), transparent 65%);
}
.final-cta-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.15); }
.final-cta-content { position: relative; z-index: 1; max-width: 780px; }
.final-cta-heading { font-size: clamp(38px, 6.5vw, 84px); }
.final-cta-sub { color: var(--text-secondary); font-size: clamp(15px, 1.4vw, 19px); margin-top: 20px; max-width: 520px; }
.final-cta .hero-ctas { margin-top: 44px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
.contact-details { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.contact-details dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 6px; }
.contact-details dd { font-family: var(--font-display); font-size: 19px; }
.contact-details a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row-split { flex-direction: row; gap: 20px; }
.form-row-split > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.form-row input, .form-row select, .form-row textarea {
  background: var(--bg-1); border: 1px solid var(--hairline-strong); color: var(--text-primary);
  padding: 14px 16px; font-family: var(--font-body); font-size: 15px; border-radius: 2px;
  transition: border-color var(--dur-fast) var(--ease);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--accent); }
.form-row textarea { resize: vertical; }
.form-row select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 20px) center, calc(100% - 15px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-row.invalid input, .form-row.invalid select, .form-row.invalid textarea { border-color: #ff4d4d; }
.form-error { font-size: 12.5px; color: #ff4d4d; min-height: 16px; }
.form-submit { margin-top: 8px; align-self: flex-start; }
.form-status { font-size: 14px; color: var(--text-secondary); min-height: 20px; }
.form-status.success { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #000000;
  border-top: 1px solid var(--hairline);
  padding-top: clamp(56px, 8vw, 96px);
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 56px;
}
.footer-brand-name { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; line-height: 1.1; }
.footer-tagline { color: var(--text-muted); margin-top: 16px; font-size: 14px; max-width: 260px; }
.footer-col-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); transition: color var(--dur-fast) var(--ease); }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding: 26px 0 40px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--text-muted);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--accent); }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 400;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #0A0A0A;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: whatsappPulse 2.6s ease-in-out infinite;
  transition: transform var(--dur-fast) var(--ease);
}
.whatsapp-btn:hover { transform: scale(1.08); }
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 0 10px rgba(37,211,102,0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-visual { position: static; aspect-ratio: 16/9; }
  .about-deep-grid { grid-template-columns: 1fr; }
  .about-deep-visual { order: -1; aspect-ratio: 16/9; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 50px 1fr; }
  .process-step .p-body { flex-direction: column; gap: 8px; }
  .form-row-split { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 430px) {
  .hero { padding-top: 120px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-item { padding-left: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- No horizontal overflow safeguard ---------- */
html, body { max-width: 100%; overflow-x: hidden; }

