/* ============================================
   ARCTEC — Design System v2
   Warm minimalism with color accents.
   ============================================ */

:root {
  --bg: #F5F0EB;
  --bg-alt: #ECE6DE;
  --bg-sage: #EAEDE5;
  --bg-clay: #F2EBDF;
  --bg-rose: #F0EAE7;
  --bg-dark: #1A1715;
  --bg-card: #FDFBF9;

  --text: #1A1715;
  --text-secondary: #6B645B;
  --text-muted: #A39E96;

  --accent: #C44D24;
  --sage: #8B9A7B;
  --clay: #C4A282;
  --slate: #7E858C;
  --rose: #B8948A;
  --sand: #D4C5B0;

  --border: rgba(26, 23, 21, 0.08);
  --border-strong: rgba(26, 23, 21, 0.14);

  --ff-serif: 'Instrument Serif', Georgia, serif;
  --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

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

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
}


/* ============================================
   Reset
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }


/* ============================================
   Typography
   ============================================ */

em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.section-label-center {
  justify-content: center;
}

.section-title {
  font-family: var(--ff-sans);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-title em { font-size: 1.05em; }

.section-header { margin-bottom: 64px; }


/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(245, 240, 235, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(245, 240, 235, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(26, 23, 21, 0.04);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  z-index: 10;
  position: relative;
}

.logo-sq {
  color: var(--accent);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 24px;
  background: var(--text);
  color: var(--bg);
  border-radius: 100px;
  transition: all 0.35s var(--ease);
  z-index: 10;
  position: relative;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: ctaPulse 2s ease-in-out infinite;
}

.nav-cta::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: ctaRing 2s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes ctaRing {
  0% { opacity: 0.6; transform: scale(1); }
  70% { opacity: 0; transform: scale(2.5); }
  100% { opacity: 0; transform: scale(2.5); }
}

.nav-cta:hover {
  background: #333028;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 23, 21, 0.15);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav-toggle.active span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle.active span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 24px 28px;
  gap: 20px;
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.mobile-menu a:last-child { font-weight: 500; color: var(--text); }


/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}

.btn-primary {
  padding: 14px 32px;
  background: var(--text);
  color: var(--bg);
  border-radius: 100px;
}

.btn-primary:hover {
  background: #333028;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 23, 21, 0.18);
}

.btn-primary:active { transform: translateY(0); }

.btn-accent {
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
}

.btn-accent:hover {
  background: #b5441f;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 77, 36, 0.25);
}

.btn-outline {
  padding: 14px 32px;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
  border-radius: 100px;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn-outline-light {
  padding: 14px 32px;
  color: rgba(245, 240, 235, 0.85);
  border: 1.5px solid rgba(245, 240, 235, 0.2);
  border-radius: 100px;
  background: transparent;
}

.btn-outline-light:hover {
  border-color: rgba(245, 240, 235, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 14px 8px;
}

.btn-ghost:hover { color: var(--text); }

.btn-lg { padding: 18px 42px; font-size: 0.95rem; }


/* ============================================
   Page Header (sub-pages)
   ============================================ */

.page-header {
  padding: 160px 0 80px;
  text-align: center;
}

.page-header .section-label { justify-content: center; }

.page-title {
  font-family: var(--ff-sans);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.page-title em { font-size: 1.02em; }

.page-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ============================================
   Decorative Elements
   ============================================ */

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0;
  animation: glowIn 1.6s var(--ease) forwards;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196,77,36,0.12) 0%, rgba(196,77,36,0.04) 40%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: glowIn 1.6s var(--ease) 0.2s forwards, glowDrift1 22s ease-in-out 1.8s infinite;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139,154,123,0.14) 0%, rgba(139,154,123,0.05) 40%, transparent 70%);
  bottom: 0%;
  left: -8%;
  animation: glowIn 1.6s var(--ease) 0.4s forwards, glowDrift2 26s ease-in-out 2s infinite;
}

.hero-glow-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(196,162,130,0.1) 0%, rgba(196,162,130,0.03) 40%, transparent 70%);
  top: 35%;
  left: 15%;
  animation: glowIn 1.6s var(--ease) 0.6s forwards, glowDrift1 20s ease-in-out 2.2s infinite;
}

.hero-glow-4 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(184,148,138,0.1) 0%, rgba(184,148,138,0.03) 40%, transparent 70%);
  top: 10%;
  left: 40%;
  animation: glowIn 1.6s var(--ease) 0.8s forwards, glowDrift2 18s ease-in-out 2.4s infinite;
}

.hero-glow-5 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(126,133,140,0.08) 0%, rgba(212,197,176,0.06) 40%, transparent 70%);
  bottom: 10%;
  right: 10%;
  animation: glowIn 1.6s var(--ease) 1s forwards, glowDrift1 24s ease-in-out 2.6s infinite;
}

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

@keyframes glowDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-15px, 25px) scale(0.97); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

@keyframes glowDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-25px, 15px) scale(0.96); }
  50% { transform: translate(20px, -20px) scale(1.04); }
  75% { transform: translate(-10px, -15px) scale(1); }
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

.color-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--clay) 35%, var(--sage) 65%, var(--slate) 100%);
  border-radius: 3px;
}


/* ============================================
   Homepage: Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 24px 60px;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s var(--ease) 0.15s forwards;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  background: rgba(26,23,21,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.hero-loc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}

.hero-loc-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(196,77,36,0.35);
  animation: locPulse 2s ease-in-out infinite;
}

@keyframes locPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.8); opacity: 0; }
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 720px;
}

.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.2s forwards;
  pointer-events: none;
  overflow: visible;
}

.hero-visual-bg {
  position: absolute;
  width: 340px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(196,77,36,0.08) 0%, rgba(196,77,36,0.02) 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: heroGlowPulse 6s ease-in-out infinite;
}

@keyframes heroGlowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.7; }
}

.phone.hero-phone-single {
  width: 200px;
  height: 416px;
  box-shadow: 0 48px 100px rgba(26,23,21,0.22), 0 16px 40px rgba(26,23,21,0.12);
  border-radius: 32px;
  border-width: 3px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease) 0.5s forwards;
}

.phone.hero-phone-single .phone-label {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.phone.hero-phone-single .phone-play {
  width: 48px;
  height: 48px;
}

.phone.hero-phone-single .phone-play svg {
  width: 18px;
  height: 18px;
}

.phone.hero-phone-single .phone-title span {
  font-size: 0.75rem;
}

.phone.hero-phone-single .phone-title small {
  font-size: 0.6rem;
}

.hero-stat {
  position: absolute;
  z-index: 3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 12px 32px rgba(26,23,21,0.1);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards;
  backdrop-filter: blur(8px);
}

.hero-stat-num {
  font-family: var(--ff-sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-stat-pre {
  display: block;
  font-size: 0.5rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 1px;
}

.hero-stat-label {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero-stat-1 {
  top: 4%;
  left: -10px;
  animation-delay: 1s;
}

.hero-stat-2 {
  top: 18%;
  right: -10px;
  animation-delay: 1.15s;
}

.hero-stat-3 {
  bottom: 18%;
  left: -30px;
  animation-delay: 1.3s;
}

.hero-stat-4 {
  bottom: 4%;
  right: -10px;
  animation-delay: 1.45s;
}

.hero-title {
  font-family: var(--ff-sans);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}

.hero-title em {
  font-size: 1.02em;
  letter-spacing: -0.02em;
}

.squiggle-word {
  position: relative;
  display: inline-block;
  animation: squiggleWobble 3s ease-in-out infinite;
}

.squiggle-line {
  position: absolute;
  bottom: -4px;
  left: -4%;
  width: 108%;
  height: 12px;
  opacity: 0;
  animation: squiggleDraw 0.8s var(--ease) 1.2s forwards;
}

.squiggle-line path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: squiggleStroke 1s var(--ease) 1.2s forwards;
}

@keyframes squiggleStroke {
  to { stroke-dashoffset: 0; }
}

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

@keyframes squiggleWobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-0.8deg) translateY(-1px); }
  75% { transform: rotate(0.8deg) translateY(1px); }
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: 6px;
}

.line-inner {
  display: block;
  transform: translateY(110%);
  animation: revealLine 1s var(--ease) forwards;
}

.line:nth-child(1) .line-inner { animation-delay: 0.35s; }
.line:nth-child(2) .line-inner { animation-delay: 0.5s; }

@keyframes revealLine {
  to { transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s var(--ease) 0.7s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.2s forwards;
}

.scroll-indicator span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-track {
  width: 1px;
  height: 48px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}

.scroll-thumb {
  width: 1px;
  height: 16px;
  background: var(--accent);
  position: absolute;
  top: -16px;
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { top: -16px; opacity: 0; }
  20%  { opacity: 1; }
  100% { top: 48px; opacity: 0; }
}


/* ============================================
   Marquee
   ============================================ */

.marquee {
  background: var(--bg-dark);
  padding: 18px 0;
  overflow: hidden;
}

.marquee-track {
  display: inline-flex;
  gap: 24px;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  will-change: transform;
}

.marquee-track span {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.marquee-track .dot {
  color: var(--accent);
  font-size: 0.5rem;
  line-height: 2.4;
}

.marquee-track .dot::before { content: '\25CF'; }

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


/* ============================================
   Client Carousel
   ============================================ */

.clients {
  padding: 24px 0;
  background: var(--bg-dark);
}

.clients .section-label {
  justify-content: center;
  margin-bottom: 16px;
  color: rgba(245, 240, 235, 0.35);
  font-size: 0.62rem;
}

.client-track-wrapper {
  overflow: hidden;
  position: relative;
}

.client-track-wrapper::before,
.client-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.client-track-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 100%);
}

.client-track-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-dark) 0%, transparent 100%);
}

.client-track {
  display: inline-flex;
  gap: 32px;
  white-space: nowrap;
  animation: marqueeScroll 44s linear infinite;
  align-items: center;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.client-name {
  font-family: var(--ff-sans);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.6);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.client-name:hover { color: rgba(245, 240, 235, 0.85); }

.client-logo {
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
}

.client-logo.client-logo-sm {
  height: 24px;
}

.client-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  flex-shrink: 0;
  display: inline-block;
}


/* ============================================
   Homepage: Vertical Video Showcase
   ============================================ */

.video-showcase {
  padding: 130px 0;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}

.video-showcase .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.video-showcase .section-label { justify-content: center; }

.video-showcase .section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.phones-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
}

.phone {
  width: 220px;
  height: 390px;
  border-radius: 28px;
  border: 3px solid rgba(26, 23, 21, 0.08);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  background: var(--bg-dark);
}

.phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 3;
}

.phone:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(26, 23, 21, 0.2);
}

.phone-side { transform: scale(0.9); opacity: 0.8; }
.phone-side:first-child { transform: scale(0.9) rotate(-4deg); }
.phone-side:last-child { transform: scale(0.9) rotate(4deg); }
.phone-side:first-child:hover { transform: scale(0.92) rotate(-2deg) translateY(-8px); }
.phone-side:last-child:hover { transform: scale(0.92) rotate(2deg) translateY(-8px); }

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phone-screen-1 { background: linear-gradient(160deg, #2C2825 0%, #3D3530 100%); }
.phone-screen-2 { background: linear-gradient(160deg, #C44D24 0%, #D4663F 100%); }
.phone-screen-3 { background: linear-gradient(160deg, #7A6E5D 0%, #8B7F6E 100%); }

.phone-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.phone-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.phone:hover .phone-play {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

.phone-play svg { width: 18px; height: 18px; fill: white; margin-left: 2px; }

.phone-title {
  position: absolute;
  bottom: 24px;
  left: 16px;
  right: 16px;
}

.phone-title span { display: block; font-size: 0.7rem; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.phone-title small { font-size: 0.6rem; color: rgba(255, 255, 255, 0.4); }


/* ============================================
   Client Portal Section
   ============================================ */

.portal-section {
  padding: 125px 0 120px;
  background: var(--bg);
}

.portal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.portal-text .section-label { margin-bottom: 12px; }
.portal-text .section-title { margin-bottom: 24px; }

.portal-desc {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.portal-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}

.portal-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.portal-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.portal-feature strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.portal-feature p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.portal-preview {
  display: flex;
  justify-content: center;
}

.portal-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(26,23,21,0.15), 0 2px 6px rgba(26,23,21,0.08);
  cursor: grab;
}

.portal-card:active { cursor: grabbing; }

[data-tilt] {
  transform-style: preserve-3d;
}

[data-tilt]:hover {
  box-shadow: 0 32px 80px rgba(26,23,21,0.2), 0 4px 12px rgba(26,23,21,0.1);
}

.portal-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.portal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.8;
}

.portal-card-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(245,240,235,0.35);
  margin-left: auto;
}

.portal-card-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.portal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portal-label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245,240,235,0.35);
}

.portal-value {
  font-size: 0.85rem;
  color: rgba(245,240,235,0.8);
  font-weight: 500;
}

.portal-status {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: ctaPulse 2s ease-in-out infinite;
}

.portal-bar-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.portal-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
  transition: width 1.2s var(--ease);
}

.portal-bar-sage {
  background: var(--sage);
}

.portal-bar-num {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(245,240,235,0.7);
  min-width: 32px;
  text-align: right;
}

.portal-ai-tag {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(196,77,36,0.08);
  border: 1px solid rgba(196,77,36,0.12);
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(245,240,235,0.6);
}

.portal-ai-tag svg {
  flex-shrink: 0;
  margin-top: 1px;
}


/* ============================================
   VS Comparison Chart
   ============================================ */

.vs-section {
  padding: 120px 0 70px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.vs-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,77,36,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.vs-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,154,123,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.vs-section .section-header { text-align: center; position: relative; z-index: 1; }
.vs-section .section-label { justify-content: center; }
.vs-section .section-title em { color: var(--accent); }

.vs-chart {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.vs-col {
  padding: 40px;
  border-radius: var(--r-lg);
}

.vs-others {
  background: rgba(26,23,21,0.03);
  border: 1px solid var(--border);
}

.vs-arctec {
  background: var(--bg-light);
  border: 1px solid var(--accent);
  box-shadow: 0 8px 40px rgba(196,77,36,0.08), 0 1px 3px rgba(196,77,36,0.06);
}

.vs-divider {
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vs-divider::before {
  content: 'vs';
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--accent);
  background: var(--bg-alt);
  padding: 10px 8px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  line-height: 1;
}

.vs-col-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.vs-others .vs-col-title { color: var(--text-muted); }
.vs-arctec .vs-col-title { color: var(--accent); }

.vs-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vs-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  border-radius: var(--r-sm);
  transition: background 0.2s ease;
}

.vs-item:hover {
  background: rgba(26,23,21,0.03);
}

.vs-others .vs-item {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(26,23,21,0.12);
}

.vs-arctec .vs-item {
  color: var(--text);
}

.vs-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-x {
  flex-shrink: 0;
  color: #C25C4A;
  opacity: 0.8;
}

.vs-others .vs-icon {
  background: rgba(194,92,74,0.1);
}

.vs-check {
  flex-shrink: 0;
  color: #5D8A4D;
}

.vs-arctec .vs-icon {
  background: rgba(93,138,77,0.12);
}


/* ============================================
   Manifesto (Homepage — replaces VS)
   ============================================ */

.manifesto {
  padding: 130px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 77, 36, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 154, 123, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto-content {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.manifesto-text {
  font-family: var(--ff-sans);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.65;
  color: rgba(245, 240, 235, 0.4);
  margin-bottom: 56px;
}

.manifesto-text em {
  color: rgba(245, 240, 235, 0.95);
  font-size: 1.02em;
}

.manifesto-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.pill {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid rgba(245, 240, 235, 0.08);
  color: rgba(245, 240, 235, 0.45);
  transition: all 0.5s var(--ease);
}

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

.pill:nth-child(1) { border-color: rgba(196, 77, 36, 0.35); color: var(--accent); }
.pill:nth-child(2) { border-color: rgba(139, 154, 123, 0.35); color: var(--sage); }
.pill:nth-child(3) { border-color: rgba(196, 162, 130, 0.3); color: var(--clay); }
.pill:nth-child(4) { border-color: rgba(126, 133, 140, 0.3); color: var(--slate); }
.pill:nth-child(5) { border-color: rgba(184, 148, 138, 0.3); color: var(--rose); }
.pill:nth-child(6) { border-color: rgba(212, 197, 176, 0.25); color: var(--sand); }

.manifesto-compact { padding: 80px 0; }
.manifesto-compact::before,
.manifesto-compact::after { display: none; }
.manifesto-compact .manifesto-content { max-width: 640px; }
.manifesto-compact .manifesto-text {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.75;
  margin-bottom: 32px;
}
.manifesto-compact .manifesto-pills { gap: 8px; }
.manifesto-compact .pill { padding: 7px 16px; font-size: 0.72rem; }


/* ============================================
   Stats Hero (Homepage)
   ============================================ */

.stats-hero {
  padding: 120px 0 140px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.stats-hero::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 154, 123, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.stats-hero::after {
  content: '';
  position: absolute;
  top: -150px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 77, 36, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.stats-hero .section-header { text-align: center; position: relative; z-index: 2; }
.stats-hero .section-label { justify-content: center; color: rgba(245, 240, 235, 0.4); }
.stats-hero .section-title { color: rgba(245, 240, 235, 0.9); }
.stats-hero .section-title em { color: rgba(245, 240, 235, 0.95); }

.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.stat-card {
  text-align: center;
  padding: 48px 20px 40px;
  background: rgba(245, 240, 235, 0.04);
  border: 1px solid rgba(245, 240, 235, 0.08);
  border-radius: var(--r-lg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.stat-accent { border-color: rgba(196, 77, 36, 0.35); }
.stat-accent .stat-num { color: var(--accent); }
.stat-accent:hover { border-color: rgba(196, 77, 36, 0.55); }

.stat-sage { border-color: rgba(139, 154, 123, 0.35); }
.stat-sage .stat-num { color: var(--sage); }
.stat-sage:hover { border-color: rgba(139, 154, 123, 0.55); }

.stat-clay { border-color: rgba(196, 162, 130, 0.3); }
.stat-clay .stat-num { color: var(--clay); }
.stat-clay:hover { border-color: rgba(196, 162, 130, 0.5); }

.stat-slate { border-color: rgba(126, 133, 140, 0.3); }
.stat-slate .stat-num { color: var(--slate); }
.stat-slate:hover { border-color: rgba(126, 133, 140, 0.5); }

.stat-num-wrap {
  overflow: hidden;
  position: relative;
  height: 3.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.stat-num {
  display: block;
  font-family: var(--ff-sans);
  font-size: clamp(2.6rem, 4.5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}

.stat-num-inner {
  display: block;
  transform: translateY(120%);
  transition: transform 1s var(--ease);
}

.stat-card.in-view .stat-num-inner {
  transform: translateY(0);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.45);
  letter-spacing: 0.02em;
}

.stats-cards .stat-card:nth-child(2) { transition-delay: 0.06s; }
.stats-cards .stat-card:nth-child(2) .stat-num-inner { transition-delay: 0.08s; }
.stats-cards .stat-card:nth-child(3) { transition-delay: 0.12s; }
.stats-cards .stat-card:nth-child(3) .stat-num-inner { transition-delay: 0.16s; }
.stats-cards .stat-card:nth-child(4) { transition-delay: 0.18s; }
.stats-cards .stat-card:nth-child(4) .stat-num-inner { transition-delay: 0.24s; }

/* Stats Strip (compact inline) */
.stats-strip {
  padding: 56px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.strip-stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.strip-num {
  display: block;
  font-family: var(--ff-sans);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.strip-stat:nth-child(1) .strip-num { color: var(--accent); }
.strip-stat:nth-child(3) .strip-num { color: var(--sage); }
.strip-stat:nth-child(5) .strip-num { color: var(--clay); }
.strip-stat:nth-child(7) .strip-num { color: var(--slate); }

.strip-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.strip-divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* Legacy stats (about page) */
.stats { padding: 100px 0; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 32px 16px; }


/* ============================================
   Social-Style Testimonials
   ============================================ */

.testimonials {
  padding: 130px 0 90px;
  background: var(--bg-alt);
  overflow: hidden;
}

.testimonials .section-header { text-align: center; }
.testimonials .section-label { justify-content: center; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.social-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.social-card:nth-child(2) {
  margin-top: 40px;
}

.social-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 20px 48px rgba(26, 23, 21, 0.08);
}

.social-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.social-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.social-card:nth-child(1) .social-avatar { background: var(--accent); }
.social-card:nth-child(2) .social-avatar { background: var(--sage); }
.social-card:nth-child(3) .social-avatar { background: var(--slate); }

.social-name {
  font-weight: 500;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-verified {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-verified svg { width: 8px; height: 8px; fill: white; }

.social-handle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.social-text {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.social-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.social-react {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.social-react:hover { color: var(--accent); }

.social-react svg { width: 14px; height: 14px; }


/* ============================================
   Portfolio Page: Filter-Based Grid
   ============================================ */

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-strong);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.filter-btn:hover { color: var(--text); border-color: var(--text-secondary); }

.filter-btn.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.p-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.p-grid.grid-vertical {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.p-grid.grid-production {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.p-grid.grid-branding {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.grid-branding .p-wide {
  grid-column: span 2;
}

.grid-branding .p-vertical {
  grid-row: span 2;
}

.p-card {
  cursor: pointer;
  animation: tabFade 0.45s var(--ease) both;
}

.p-card.filtered-out {
  display: none;
}

.p-thumb {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.p-vertical .p-thumb {
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.06);
}

.p-wide .p-thumb {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
}

.p-square .p-thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
}

.p-card:hover .p-thumb {
  transform: scale(1.03);
  box-shadow: 0 16px 44px rgba(26, 23, 21, 0.18);
}

.p-initial {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
  transition: color 0.4s var(--ease);
}

.p-card:hover .p-initial {
  color: rgba(255, 255, 255, 0.14);
}

.p-play {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.35s var(--ease);
}

.p-play svg {
  width: 15px;
  height: 15px;
  margin-left: 2px;
}

.p-card:hover .p-play {
  opacity: 1;
  transform: scale(1);
}

.p-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
}

.p-badge {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  display: inline-block;
}

.badge-accent { background: rgba(196, 77, 36, 0.25); color: #F5F0EB; }
.badge-sage { background: rgba(139, 154, 123, 0.3); color: #F5F0EB; }
.badge-clay { background: rgba(196, 162, 130, 0.3); color: #F5F0EB; }
.badge-slate { background: rgba(126, 133, 140, 0.25); color: #F5F0EB; }
.badge-rose { background: rgba(184, 148, 138, 0.3); color: #F5F0EB; }

.p-info {
  padding: 12px 4px 0;
}

.p-info h4 {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.p-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
}


/* ============================================
   Portfolio Page (Legacy)
   ============================================ */

.tab-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-strong);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.tab-btn:hover { color: var(--text); border-color: var(--text-secondary); }

.tab-btn.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.tab-panel { display: none; }

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

@keyframes tabFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.portfolio-card { cursor: pointer; }

.portfolio-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(26, 23, 21, 0.15);
}

.portfolio-initial {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(3.5rem, 7vw, 6rem);
  color: rgba(255, 255, 255, 0.08);
  user-select: none;
  transition: color 0.6s var(--ease);
}

.portfolio-card:hover .portfolio-initial { color: rgba(255, 255, 255, 0.16); }

.portfolio-meta { padding: 16px 4px 0; }

.portfolio-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 6px;
}

.tag-accent { background: rgba(196, 77, 36, 0.1); color: var(--accent); }
.tag-sage { background: rgba(139, 154, 123, 0.15); color: var(--sage); }
.tag-clay { background: rgba(196, 162, 130, 0.2); color: #8B7355; }
.tag-slate { background: rgba(126, 133, 140, 0.12); color: var(--slate); }
.tag-rose { background: rgba(184, 148, 138, 0.15); color: #9A7268; }

.portfolio-meta h3 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.portfolio-section { padding: 0 0 160px; }


/* Thumbnail Grid (YouTube-style) */

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.thumb-card {
  cursor: pointer;
}

.thumb-img {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.thumb-card:hover .thumb-img {
  transform: scale(1.03);
  box-shadow: 0 12px 36px rgba(26, 23, 21, 0.15);
}

.thumb-initial {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 2.8rem;
  color: rgba(255, 255, 255, 0.07);
  user-select: none;
  transition: color 0.4s var(--ease);
}

.thumb-card:hover .thumb-initial {
  color: rgba(255, 255, 255, 0.14);
}

.thumb-play {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.35s var(--ease);
}

.thumb-play svg { width: 13px; height: 13px; margin-left: 1px; }

.thumb-card:hover .thumb-play {
  opacity: 1;
  transform: scale(1);
}

.thumb-meta {
  padding: 12px 2px 0;
}

.thumb-tag {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 4px;
}

.thumb-meta h4 {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.thumb-meta p {
  font-size: 0.75rem;
  color: var(--text-muted);
}


/* ============================================
   Services Page: Bento Grid
   ============================================ */

.services-section { padding: 0 0 160px; }

.svc-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: 36px 32px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  color: rgba(255, 255, 255, 0.85);
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(26, 23, 21, 0.2);
}

.bento-dark { background: var(--bg-dark); }
.bento-accent { background: var(--accent); }
.bento-sage { background: #6B7A5B; }
.bento-clay { background: #9A7E60; }
.bento-slate { background: #5C636A; }

.bento-lg { grid-column: span 2; min-height: 340px; }
.bento-full { grid-column: span 3; min-height: 240px; }

.bento-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  pointer-events: none;
  transition: transform 0.6s var(--ease);
}

.bento-card:hover .bento-deco {
  transform: scale(1.08) translateX(4px);
}

.bento-full .bento-deco { width: 40%; }

.bento-content {
  position: relative;
  z-index: 2;
}

.bento-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.bento-content h3 {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #fff;
}

.bento-lg .bento-content h3 { font-size: 1.6rem; }

.bento-content p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
  max-width: 400px;
}

.bento-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s var(--ease);
}

.bento-card:hover .bento-link {
  color: #fff;
}


/* Approach flow */

.services-approach {
  padding: 160px 0;
  background: var(--bg-alt);
}

.services-approach .section-label { justify-content: center; }
.services-approach .section-header { text-align: center; }

.approach-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 64px;
}

.approach-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.approach-step-num {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
}

.approach-step h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.approach-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.approach-connector {
  width: 60px;
  height: 1px;
  background: var(--border-strong);
  margin-top: 22px;
  flex-shrink: 0;
  position: relative;
}

.approach-connector::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--text-muted);
  border-top: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
}


/* ============================================
   Service Detail Pages
   ============================================ */

.svc-detail {
  padding: 80px 0 120px;
}

.svc-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.svc-detail-main h2 {
  margin-bottom: 32px;
}

.svc-detail-main p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.svc-detail-side h3 {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 16px;
}

.svc-detail-side h3:not(:first-child) {
  margin-top: 40px;
}

.svc-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-checklist li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.svc-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-tag {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  background: transparent;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 0.95rem;
}


/* ============================================
   About Page
   ============================================ */

.about-img {
  padding: 0 0 120px;
}

.about-img-block {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #2C2825 0%, #3D3530 40%, #4A3F35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-text {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 4rem);
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
}

.about-img-overlay {
  position: absolute;
  bottom: 32px;
  left: 32px;
  display: flex;
  gap: 8px;
}

.about-img-tag {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.about-story { padding: 0 0 160px; }

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

.about-story-text h2 {
  font-family: var(--ff-sans);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 24px;
}

.about-story-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-values {
  padding: 160px 0;
  background: var(--bg-clay);
}

.about-values .section-header { text-align: center; }
.about-values .section-label { justify-content: center; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 48px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.5s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26, 23, 21, 0.08);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: white;
}

.value-card:nth-child(1) .value-icon { background: var(--accent); }
.value-card:nth-child(2) .value-icon { background: var(--sage); }
.value-card:nth-child(3) .value-icon { background: var(--clay); }

.value-card h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

.team-v2 {
  padding: 140px 0;
  background: var(--bg);
}

.team-v2 .section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 16px auto 0;
  line-height: 1.6;
}

.team-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.team-v2-card {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.team-v2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(26,23,21,0.08);
  border-color: var(--border-strong);
}

.team-v2-photo {
  width: 200px;
  min-height: 260px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.team-v2-initial {
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  font-style: italic;
  color: rgba(255,255,255,0.2);
  letter-spacing: -0.02em;
}

.team-v2-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.team-v2-info h3 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.team-v2-role {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}

.team-v2-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.team-v2-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.team-v2-links a {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.team-v2-links a:hover {
  color: var(--accent);
}

.team-v2-grid [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.team-v2-grid [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.team-v2-grid [data-animate]:nth-child(4) { transition-delay: 0.24s; }

.team {
  padding: 160px 0;
  background: var(--bg-sage);
}

.team .section-header { text-align: center; }
.team .section-label { justify-content: center; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 44px 20px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.5s var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26, 23, 21, 0.08);
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: white;
  margin: 0 auto 20px;
}

.team-card:nth-child(1) .team-avatar { background: var(--accent); }
.team-card:nth-child(2) .team-avatar { background: var(--sage); }
.team-card:nth-child(3) .team-avatar { background: var(--slate); }
.team-card:nth-child(4) .team-avatar { background: var(--clay); }

.team-card h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 4px; }

.team-role {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ============================================
   Pricing Page
   ============================================ */

.pricing-section { padding: 0 0 80px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 24px;
  background: var(--bg-card);
  transition: all 0.4s var(--ease);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 23, 21, 0.08);
  border-color: var(--border-strong);
}

.pricing-card.featured {
  background: var(--bg-dark);
  color: rgba(245, 240, 235, 0.85);
  border-color: var(--bg-dark);
}

.pricing-card.featured .pricing-label,
.pricing-card.featured .pricing-feature { color: rgba(245, 240, 235, 0.5); }
.pricing-card.featured .pricing-price { color: #fff; }
.pricing-card.featured .pricing-feature::before { background: var(--accent); }

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-tier { color: rgba(245, 240, 235, 0.35); }

.pricing-name {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.pricing-price span {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}

.pricing-card.featured .pricing-price span { color: rgba(245, 240, 235, 0.35); }

.pricing-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.pricing-card.featured .pricing-divider { background: rgba(245, 240, 235, 0.08); }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-feature {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.pricing-feature::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.pricing-card .btn { width: 100%; justify-content: center; }

.btn-sm {
  padding: 10px 20px;
  font-size: 0.82rem;
}

.custom-block {
  margin-top: 80px;
  padding: 64px;
  background: var(--bg-dark);
  border-radius: var(--r-lg);
  color: rgba(245, 240, 235, 0.85);
}

.custom-block-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.custom-block h3 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #fff;
}

.custom-text p {
  font-size: 0.95rem;
  color: rgba(245, 240, 235, 0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}

.custom-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.custom-feature {
  font-size: 0.88rem;
  color: rgba(245, 240, 235, 0.6);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.custom-feature::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.custom-cta { margin-top: 36px; }

.compare-anchor {
  text-align: center;
  margin-top: 40px;
}

.pricing-compare {
  padding: 100px 0 120px;
  background: var(--bg);
}

.pricing-compare .section-header {
  margin-bottom: 48px;
}

.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-card);
}

.compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.compare-table thead th {
  padding: 20px 24px;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg);
}

.compare-table thead th:first-child {
  text-align: left;
  color: var(--text-muted);
  font-weight: 500;
  width: 240px;
}

.compare-table thead th.compare-highlight {
  color: var(--accent);
  position: relative;
}

.compare-table thead th.compare-highlight::after {
  content: 'Popular';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 20px;
}

.compare-group td {
  padding: 14px 24px 8px;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.compare-table tbody tr:not(.compare-group) td {
  padding: 14px 24px;
  text-align: center;
  color: var(--text-secondary);
  border-top: 1px solid rgba(0,0,0,0.03);
}

.compare-table tbody tr:not(.compare-group) td:first-child {
  text-align: left;
  color: var(--text-primary);
  font-weight: 400;
}

.compare-table tbody tr:not(.compare-group):hover {
  background: rgba(0,0,0,0.015);
}

td.compare-highlight {
  background: rgba(196,77,36,0.03);
}

.compare-check {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
}

.compare-x {
  color: var(--text-muted);
  opacity: 0.4;
  font-size: 0.9rem;
}

.compare-table tfoot td {
  padding: 20px 24px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.compare-table tfoot td:first-child {
  background: var(--bg);
}

.compare-table tfoot .btn {
  width: auto;
  display: inline-flex;
}

@media (max-width: 768px) {
  .pricing-compare { padding: 80px 0 100px; }
  .compare-table-wrap { border-radius: var(--r-md); }
  .compare-table { font-size: 0.78rem; }
  .compare-table thead th,
  .compare-table tbody td,
  .compare-table tfoot td { padding: 12px 16px; }
  .compare-table thead th:first-child { width: 160px; }
}

@media (max-width: 480px) {
  .compare-table { min-width: 580px; }
}

.pricing-faq { padding: 120px 0 160px; }
.pricing-faq .section-header { text-align: center; }
.pricing-faq .section-label { justify-content: center; }

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border-strong); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  transition: color 0.3s ease;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer p {
  padding-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ============================================
   Contact Flow — Interactive Multi-Step Form
   ============================================ */

.contact-flow {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.cf-progress {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  z-index: 999;
}

.cf-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #D4663F);
  border-radius: 0 3px 3px 0;
  transition: width 0.6s var(--ease);
}

.cf-step-counter {
  position: fixed;
  top: 92px;
  right: 32px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  z-index: 999;
}

.cf-step-current {
  color: var(--text);
  font-size: 0.85rem;
}

.cf-step-divider {
  margin: 0 4px;
  color: var(--border-strong);
}

.cf-step {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(60px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.cf-step.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  position: relative;
}

.cf-step.exit-left {
  opacity: 0;
  transform: translateX(-60px);
  position: absolute;
}

.cf-step.exit-right {
  opacity: 0;
  transform: translateX(60px);
  position: absolute;
}

.cf-step.enter-right { transform: translateX(60px); }
.cf-step.enter-left { transform: translateX(-60px); }

.cf-step-inner {
  max-width: 640px;
  width: 100%;
}

.cf-step-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cf-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.cf-step-center .cf-label { justify-content: center; }

.cf-title {
  font-family: var(--ff-sans);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cf-title em {
  font-family: var(--ff-serif);
  font-size: 1.05em;
}

.cf-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cf-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf-options-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cf-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  cursor: pointer;
  text-align: left;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.cf-option::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(196, 77, 36, 0.04), rgba(196, 77, 36, 0.01));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cf-option:hover {
  border-color: rgba(196, 77, 36, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 23, 21, 0.06);
}

.cf-option:hover::after { opacity: 1; }

.cf-option.selected {
  border-color: var(--accent);
  background: rgba(196, 77, 36, 0.05);
  box-shadow: 0 4px 20px rgba(196, 77, 36, 0.1);
}

.cf-option.selected::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  border-radius: 3px 0 0 3px;
  z-index: 2;
}

.cf-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease);
}

.cf-option-icon svg { width: 20px; height: 20px; }

.cf-option:hover .cf-option-icon,
.cf-option.selected .cf-option-icon {
  background: rgba(196, 77, 36, 0.1);
  color: var(--accent);
}

.cf-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 2;
}

.cf-option-text strong { font-size: 0.95rem; font-weight: 500; color: var(--text); }
.cf-option-text small { font-size: 0.78rem; color: var(--text-muted); }

.cf-option-compact {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  gap: 4px;
}

.cf-option-compact strong { font-size: 0.95rem; font-weight: 500; color: var(--text); }
.cf-option-compact small { font-size: 0.75rem; color: var(--text-muted); }

.cf-form { display: flex; flex-direction: column; gap: 20px; }

.cf-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cf-field { display: flex; flex-direction: column; gap: 6px; }

.cf-field-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.cf-input {
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cf-input::placeholder { color: var(--text-muted); }

.cf-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 77, 36, 0.08);
}

.cf-textarea { resize: vertical; min-height: 120px; }
.cf-submit { margin-top: 8px; align-self: flex-start; }

.cf-confirm-icon { width: 80px; height: 80px; margin-bottom: 28px; }
.cf-confirm-icon svg { width: 100%; height: 100%; }

.cf-check-path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: checkDraw 0.6s var(--ease) 0.3s forwards;
}

@keyframes checkDraw { to { stroke-dashoffset: 0; } }

.cf-confirm-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  justify-content: center;
  flex-wrap: wrap;
}

.cf-back {
  position: fixed;
  bottom: 36px;
  left: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease);
  z-index: 999;
}

.cf-back svg { width: 16px; height: 16px; }

.cf-back:hover {
  color: var(--text);
  border-color: var(--text-secondary);
  transform: translateX(-3px);
}

/* Contact Info Section */
.contact-info-v2 {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.ci-v2-header {
  margin-bottom: 32px;
}

.ci-v2-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  overflow: hidden;
}

.ci-v2-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s ease;
}

a.ci-v2-item:hover {
  background: var(--bg-alt);
}

.ci-v2-static {
  cursor: default;
}

.ci-v2-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.ci-v2-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}

.ci-v2-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ci-v2-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.ci-v2-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ci-v2-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

a.ci-v2-item:hover .ci-v2-arrow {
  opacity: 1;
  transform: translateX(0);
}

a.ci-v2-item:hover .ci-v2-value {
  color: var(--accent);
}

.ci-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ci-card {
  text-align: center;
  padding: 44px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.5s var(--ease);
}

.ci-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26, 23, 21, 0.08);
}

.ci-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(196, 77, 36, 0.08);
  color: var(--accent);
}

.ci-icon svg { width: 22px; height: 22px; }

.ci-card:nth-child(2) .ci-icon { background: rgba(139, 154, 123, 0.12); color: var(--sage); }
.ci-card:nth-child(3) .ci-icon { background: rgba(126, 133, 140, 0.1); color: var(--slate); }

.ci-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.ci-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  transition: color 0.3s ease;
}

a.ci-value:hover { color: var(--accent); }


/* ============================================
   CTA
   ============================================ */

/* ============================================
   Working With Us
   ============================================ */

.work-with-us {
  padding: 100px 0 120px;
  background: var(--bg);
}

.wwu-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.wwu-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.wwu-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--bg-dark) 0%, #2C2825 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: var(--r-lg);
  cursor: grab;
  box-shadow: 0 24px 60px rgba(26,23,21,0.15);
}

.wwu-img-placeholder:active { cursor: grabbing; }

.wwu-img-placeholder span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

.wwu-text .section-label {
  margin-bottom: 12px;
}

.wwu-text .section-title {
  margin-bottom: 24px;
}

.wwu-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.wwu-desc:last-of-type {
  margin-bottom: 28px;
}

.wwu-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}

.wwu-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.wwu-highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .work-with-us { padding: 100px 0; }
  .wwu-grid { grid-template-columns: 1fr; gap: 40px; }
  .wwu-image { aspect-ratio: 16 / 9; }
}

@media (max-width: 480px) {
  .work-with-us { padding: 80px 0; }
}


/* ============================================
   CTA
   ============================================ */

.cta {
  padding: 130px 0;
  background: var(--bg-alt);
}

.cta-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta .section-label { justify-content: center; }

.cta-title {
  font-family: var(--ff-sans);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-title em { color: var(--accent); font-size: 1.02em; }

.cta-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 44px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 80px 0 40px;
  background: var(--bg-dark);
  color: rgba(245, 240, 235, 0.5);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245, 240, 235, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: rgba(245, 240, 235, 0.85);
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(245, 240, 235, 0.4);
  max-width: 280px;
}

.footer-social { display: flex; gap: 16px; margin-top: 8px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(245, 240, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.footer-social a:hover {
  border-color: rgba(245, 240, 235, 0.25);
  background: rgba(245, 240, 235, 0.05);
}
.footer-social svg { width: 16px; height: 16px; fill: rgba(245, 240, 235, 0.5); }
.footer-social a:hover svg { fill: rgba(245, 240, 235, 0.85); }

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 235, 0.3);
  margin-bottom: 20px;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(245, 240, 235, 0.5);
  transition: color 0.3s ease;
}
.footer-col a:hover { color: rgba(245, 240, 235, 0.85); }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(245, 240, 235, 0.25);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(245, 240, 235, 0.25);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: rgba(245, 240, 235, 0.6);
}


/* ============================================
   Scroll Animations
   ============================================ */

[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

[data-animate-left] {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-animate-left].in-view { opacity: 1; transform: none; }

[data-animate-right] {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-animate-right].in-view { opacity: 1; transform: none; }

[data-animate-scale] {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-animate-scale].in-view { opacity: 1; transform: none; }

.svc-grid [data-animate]:nth-child(2) { transition-delay: 0.06s; }
.svc-grid [data-animate]:nth-child(3) { transition-delay: 0.12s; }
.svc-grid [data-animate]:nth-child(4) { transition-delay: 0.18s; }
.svc-grid [data-animate]:nth-child(5) { transition-delay: 0.24s; }
.svc-grid [data-animate]:nth-child(6) { transition-delay: 0.30s; }

.social-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.social-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }

.portfolio-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.portfolio-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.portfolio-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }

.stats-grid [data-animate]:nth-child(2) { transition-delay: 0.07s; }
.stats-grid [data-animate]:nth-child(3) { transition-delay: 0.14s; }
.stats-grid [data-animate]:nth-child(4) { transition-delay: 0.21s; }

.pricing-grid [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.pricing-grid [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.pricing-grid [data-animate]:nth-child(4) { transition-delay: 0.24s; }

.team-grid [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.team-grid [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.team-grid [data-animate]:nth-child(4) { transition-delay: 0.24s; }

.values-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.values-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }

.approach-flow [data-animate]:nth-child(3) { transition-delay: 0.1s; }
.approach-flow [data-animate]:nth-child(5) { transition-delay: 0.2s; }

.svc-bento [data-animate]:nth-child(2) { transition-delay: 0.06s; }
.svc-bento [data-animate]:nth-child(3) { transition-delay: 0.12s; }
.svc-bento [data-animate]:nth-child(4) { transition-delay: 0.18s; }
.svc-bento [data-animate]:nth-child(5) { transition-delay: 0.24s; }
.svc-bento [data-animate]:nth-child(6) { transition-delay: 0.30s; }

.thumb-grid [data-animate]:nth-child(2) { transition-delay: 0.06s; }
.thumb-grid [data-animate]:nth-child(3) { transition-delay: 0.12s; }
.thumb-grid [data-animate]:nth-child(4) { transition-delay: 0.18s; }
.thumb-grid [data-animate]:nth-child(5) { transition-delay: 0.24s; }
.thumb-grid [data-animate]:nth-child(6) { transition-delay: 0.30s; }


/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .svc-bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-column: span 2; }
  .bento-full { grid-column: span 2; }
  .thumb-grid { grid-template-columns: repeat(2, 1fr); }
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .p-grid.grid-vertical { grid-template-columns: repeat(4, 1fr); }
  .p-grid.grid-production { grid-template-columns: repeat(2, 1fr); }
  .p-grid.grid-branding { grid-template-columns: repeat(3, 1fr); }
  .stats-cards { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .social-card:nth-child(2) { margin-top: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .approach-grid { grid-template-columns: 1fr; }
  .about-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-v2-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .custom-block-inner { grid-template-columns: 1fr; gap: 36px; }
  .vs-chart { grid-template-columns: 1fr; gap: 0; }
  .vs-divider { width: 100%; height: auto; padding: 12px 0; }
  .vs-divider::before { position: static; transform: none; }
  .vs-others { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .vs-arctec { border-radius: 0 0 var(--r-lg) var(--r-lg); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta:not(.mobile-menu .nav-cta) { display: none; }
  .nav-toggle { display: flex; }
  .nav.mobile-open .mobile-menu { display: flex; }

  .hero { min-height: auto; }
  .hero-inner { padding: 100px 24px 40px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-top { justify-content: center; }
  .hero-title { font-size: clamp(2.8rem, 9vw, 3.6rem); }
  .hero-sub { margin: 0 auto 36px; max-width: 400px; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 460px; }
  .hero-visual-bg { width: 340px; height: 340px; }
  .phone.hero-phone-single { width: 170px; height: 354px; border-radius: 28px; }
  .hero-stat-1 { left: 5%; top: 3%; }
  .hero-stat-2 { right: 5%; top: 15%; }
  .hero-stat-3 { left: 2%; bottom: 15%; }
  .hero-stat-4 { right: 2%; bottom: 3%; }
  .hero-lines { display: none; }

  .hero-glow { filter: blur(70px); }
  .hero-glow-1 { width: 350px; height: 350px; }
  .hero-glow-2 { width: 300px; height: 300px; }
  .hero-glow-3 { width: 250px; height: 250px; }
  .hero-glow-4 { display: none; }
  .hero-glow-5 { display: none; }

  .page-header { padding: 140px 0 60px; }
  .page-title { font-size: clamp(2.2rem, 8vw, 3rem); }

  .clients { padding: 60px 0; }

  .stats-hero { padding: 80px 0 100px; }
  .stats-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-num-wrap { height: 3rem; }
  .stat-card { padding: 36px 16px 32px; }

  .manifesto { padding: 100px 0; }
  .manifesto-text { font-size: clamp(1.3rem, 3vw, 1.8rem); }
  .manifesto-pills { gap: 8px; }
  .pill { padding: 8px 18px; font-size: 0.78rem; }

  .vs-section { padding: 80px 0; }
  .vs-col { padding: 28px 20px; }
  .vs-item { font-size: 0.85rem; padding: 10px 10px; gap: 10px; }
  .vs-icon { width: 24px; height: 24px; }

  .stats { padding: 80px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .stats-strip { padding: 40px 0; }
  .stats-row { flex-wrap: wrap; gap: 28px; }
  .strip-divider { display: none; }
  .strip-stat { flex: 0 0 40%; padding: 0; }

  .testimonials { padding: 100px 0; }

  .svc-bento { grid-template-columns: 1fr; }
  .bento-lg, .bento-full { grid-column: span 1; }
  .bento-card { min-height: 260px; }
  .services-section { padding-bottom: 100px; }
  .portal-section { padding: 80px 0; }
  .portal-layout { grid-template-columns: 1fr; gap: 48px; }
  .portal-card { max-width: 100%; }

  .svc-detail { padding: 60px 0 80px; }
  .svc-detail-grid { grid-template-columns: 1fr; gap: 48px; }

  .services-approach { padding: 100px 0; }
  .approach-flow { flex-direction: column; gap: 32px; align-items: center; }
  .approach-connector { width: 1px; height: 40px; margin-top: 0; }
  .approach-connector::after { right: -3px; top: auto; bottom: -2px; transform: rotate(135deg); }
  .thumb-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .p-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .p-grid.grid-vertical { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .p-grid.grid-production { grid-template-columns: 1fr; gap: 20px; }
  .p-grid.grid-branding { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid-branding .p-wide { grid-column: span 2; }
  .grid-branding .p-vertical { grid-row: span 2; }
  .p-vertical .p-thumb { border-radius: 18px; }

  .portfolio-grid { grid-template-columns: 1fr; gap: 32px; }
  .portfolio-section { padding-bottom: 100px; }

  .about-img-block { aspect-ratio: 16 / 9; }
  .about-img { padding-bottom: 80px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-v2-grid { grid-template-columns: 1fr; }
  .team-v2-card { flex-direction: column; }
  .team-v2-photo { width: 100%; min-height: 180px; }

  .cta { padding: 100px 0; }
  .custom-block { padding: 40px 24px; }
  .pricing-faq { padding: 80px 0 100px; }

  .cf-options-row { grid-template-columns: 1fr 1fr; }
  .cf-form-row { grid-template-columns: 1fr; }
  .cf-step-counter { right: 20px; top: 88px; }
  .cf-back { bottom: 20px; left: 20px; }
  .ci-v2-row { flex-direction: column; }
  .ci-v2-divider { width: 100%; height: 1px; }
  .ci-v2-item { padding: 20px 24px; }
  .ci-v2-arrow { opacity: 1; transform: none; }

  .ci-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .contact-info { padding: 80px 0; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; text-align: center; align-items: center; }
  .footer-tagline { max-width: 100%; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-inner { padding: 90px 16px 28px; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-visual { min-height: 400px; }
  .hero-visual-bg { width: 240px; height: 240px; }
  .phone.hero-phone-single { width: 140px; height: 291px; border-radius: 24px; }
  .hero-stat { padding: 8px 12px; border-radius: 8px; }
  .hero-stat-num { font-size: 0.95rem; }
  .hero-stat-label { font-size: 0.55rem; }
  .hero-stat-3, .hero-stat-4 { display: none; }

  .section-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { padding: 24px 8px; }
  .stat-num { font-size: 1.8rem; }
  .stat-card { padding: 28px 12px 24px; }
  .stat-num-wrap { height: 2.4rem; }
  .p-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-grid.grid-vertical { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .p-grid.grid-production { grid-template-columns: 1fr; gap: 16px; }
  .p-grid.grid-branding { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 8px 16px; font-size: 0.8rem; }

  .cta-title { font-size: clamp(2rem, 8vw, 2.8rem); }

  .footer-top { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-col { align-items: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 16px; }

  .tab-bar { gap: 6px; }
  .tab-btn { padding: 8px 16px; font-size: 0.8rem; }

  .pricing-card { padding: 24px 18px; }
  .pricing-grid-4 { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .about-img-overlay { left: 16px; bottom: 16px; }

  .cf-options-row { grid-template-columns: 1fr; }
  .cf-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .cf-submit { align-self: stretch; }
}
