/* =============================================
   AGB CORPORATE - NEW WEBSITE
   ============================================= */

:root {
  --bg: #F7F3EE;
  --bg-alt: #EFEBE4;
  --dark: #1A1714;
  --dark-card: #242018;
  --accent: #96785C;
  --accent-light: #C4A992;
  --text: #1A1714;
  --text-muted: #847A6F;
  --text-light: #F7F3EE;
  --border: #DED5C8;
  --border-dark: #3A352E;

  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --container: 1300px;
  --gap: clamp(20px, 4vw, 40px);
}

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

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

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

.mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

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

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s ease,
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
  background: rgba(247, 243, 238, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav.dark-bg.scrolled {
  background: rgba(26, 23, 20, 0.9);
  box-shadow: 0 1px 0 var(--border-dark);
}

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

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
}

.nav-logo:hover { opacity: 0.7; }

.nav-logo-img {
  height: 70px;
  width: auto;
  transition: filter 0.3s ease;
}

.nav.dark-bg .nav-logo-img {
  filter: invert(1);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  position: relative;
  transition: opacity 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { opacity: 0.7; }

.nav-cta {
  background: var(--dark);
  color: var(--text-light) !important;
  padding: 8px 20px;
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  opacity: 1 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(150, 120, 92, 0.25);
}

.nav-cta::after {
  display: none !important;
}

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

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.lang-option {
  cursor: pointer;
  transition: color 0.3s, opacity 0.3s;
  padding: 2px 4px;
}

.lang-option.active {
  color: var(--text);
  font-weight: 700;
}

.dark-section .lang-option.active,
.nav.dark-bg .lang-option.active {
  color: var(--text-light);
}

.lang-divider { opacity: 0.3; }

/* MENU TOGGLE (MOBILE) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.mobile-menu-links a {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: opacity 0.3s;
}

.mobile-menu-links a:hover { opacity: 0.5; }

/* =============================================
   HERO
   ============================================= */
.hero {
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 0 40px;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}

.hero-text {
  flex: 1;
  min-width: 0;
}

/* ---- DEVICE MOCKUPS ---- */
.hero-mockup {
  flex: 0 0 48%;
  max-width: 560px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

/* === MacBook === */
.device-macbook {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.device-iphone {
  user-select: none;
  -webkit-user-select: none;
}

.mac-bezel {
  background: #1a1714;
  border-radius: 12px 12px 0 0;
  padding: 8px 0 0;
  display: flex;
  justify-content: center;
}

.mac-camera {
  width: 6px;
  height: 6px;
  background: #333;
  border-radius: 50%;
  border: 1px solid #444;
}

.mac-screen {
  background: #fff;
  border-left: 3px solid #1a1714;
  border-right: 3px solid #1a1714;
  overflow: hidden;
}

/* Browser bar */
.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: #e6e6e8;
  border-bottom: 1px solid #d5d5d7;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}

.browser-dots i:nth-child(1) { background: #ff5f57; }
.browser-dots i:nth-child(2) { background: #febc2e; }
.browser-dots i:nth-child(3) { background: #28c840; }

.browser-address {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.6rem;
  color: #666;
}

.browser-address svg path,
.browser-address svg rect {
  stroke: #999;
  fill: #999;
}

.browser-tabs-right {
  opacity: 0.4;
}

.browser-tabs-right svg circle,
.browser-tabs-right svg path {
  stroke: #999;
}

/* App layout */
.app-layout {
  display: flex;
  min-height: 280px;
}

/* Sidebar */
.app-sidebar {
  width: 140px;
  background: #f4f4f5;
  border-right: 1px solid #e5e5e7;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 2px 0 8px rgba(0,0,0,0.03);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #1a1714;
  border-bottom: 1px solid #e5e5e7;
  margin-bottom: 8px;
}

.sidebar-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: none;
}

.sidebar-section-label {
  font-size: 0.5rem;
  color: #888;
  padding: 6px 8px 4px;
  letter-spacing: 0.08em;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.6rem;
  color: #555;
  cursor: default;
  transition: background 0.2s;
}

.sidebar-link.active {
  background: rgba(150,120,92,0.12);
  color: var(--accent);
}

.sidebar-link svg {
  flex-shrink: 0;
}

/* Main content area */
.app-main {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  overflow: hidden;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-greeting {
  font-size: 0.65rem;
  color: #1a1714;
  font-weight: 600;
}

.app-date {
  font-size: 0.5rem;
  color: #777;
  margin-top: 2px;
}

/* KPI Cards */
.app-kpis {
  display: flex;
  gap: 8px;
}

.kpi-card {
  flex: 1;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
}

.kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.kpi-label {
  font-size: 0.5rem;
  color: #666;
}

.kpi-trend {
  font-size: 0.48rem;
  font-family: var(--font-mono);
  padding: 1px 5px;
  border-radius: 4px;
}

.kpi-trend.up {
  color: #16a34a;
  background: rgba(22,163,74,0.08);
}

.kpi-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1714;
  margin-bottom: 8px;
}

.kpi-bar {
  height: 3px;
  background: #eee;
  border-radius: 2px;
  overflow: hidden;
}

.kpi-fill {
  height: 100%;
  border-radius: 2px;
  background: #1a1714;
}

.kpi-fill.accent { background: var(--accent); }
.kpi-fill.green { background: #16a34a; }

/* Chart card */
.app-chart-card {
  flex: 1;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
}

.chart-axis-label {
  font-family: var(--font-mono);
  font-size: 7px;
  fill: #aaa;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.chart-title {
  font-size: 0.6rem;
  font-weight: 600;
  color: #444;
}

.chart-tabs {
  display: flex;
  gap: 2px;
  font-size: 0.48rem;
  color: #888;
}

.chart-tabs span {
  padding: 2px 6px;
  border-radius: 4px;
  cursor: default;
}

.chart-tabs span.active {
  background: rgba(150,120,92,0.15);
  color: var(--accent);
}

.app-chart-svg {
  width: 100%;
  flex: 1;
  min-height: 60px;
}

.chart-dots circle {
  fill: #96785C;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.chart-dots .dot-glow {
  fill: #96785C;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.app-chart-card:hover .chart-dots circle {
  opacity: 1;
}

.app-chart-card:hover .chart-dots .dot-glow {
  opacity: 0.15;
}

/* MacBook base */
.mac-base {
  height: 12px;
  background: linear-gradient(to bottom, #2a2a2c, #1a1714);
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mac-cutout {
  width: 60px;
  height: 4px;
  background: #444;
  border-radius: 0 0 4px 4px;
}

.mac-bottom {
  width: 108%;
  height: 6px;
  margin-left: -4%;
  background: linear-gradient(to bottom, #d4d4d6, #bbbbbe);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* === iPhone === */
.device-iphone {
  position: absolute;
  bottom: -60px;
  right: -50px;
  width: 160px;
  background: #1a1714;
  border-radius: 26px;
  padding: 3px;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.18),
    0 8px 20px rgba(0,0,0,0.10);
}

.iph-screen {
  background: #fff;
  border-radius: 23px;
  padding: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  position: relative;
}

/* Notch */
.iph-screen::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 12px;
  background: #1a1714;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.iph-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.42rem;
  font-weight: 600;
  color: #1a1714;
  padding: 6px 14px 2px;
  min-height: 20px;
}

.iph-status-bar svg {
  width: 10px;
  height: 7px;
}

.iph-status-bar svg path,
.iph-status-bar svg circle,
.iph-status-bar svg rect {
  stroke: #1a1714;
  fill: #1a1714;
}

.iph-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.iph-app-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px 6px;
  border-bottom: 1px solid #eee;
  margin-bottom: 2px;
}

.iph-logo {
  height: 24px;
  filter: none;
}

.iph-app-header span {
  font-size: 0.6rem;
  font-weight: 600;
  color: #1a1714;
}

.iph-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 8px 10px;
  margin: 0 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.iph-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.iph-card-label {
  font-size: 0.48rem;
  color: #666;
}

.iph-card-trend {
  font-size: 0.45rem;
  font-family: var(--font-mono);
  color: #16a34a;
}

.iph-card-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1714;
  margin-bottom: 4px;
}

.iph-mini-chart {
  width: 100%;
  height: 24px;
  display: block;
}

.iph-progress-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.iph-progress-row .mono {
  font-size: 0.45rem;
  color: #666;
}

.iph-progress {
  flex: 1;
  height: 4px;
  background: #eee;
  border-radius: 2px;
  overflow: hidden;
}

.iph-progress div {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

.iph-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 6px 8px 2px;
  border-top: 1px solid #eee;
  margin: 2px 8px 0;
}

.iph-nav-item {
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iph-nav-item.active {
  color: var(--accent);
}

.iph-home-bar {
  width: 30%;
  height: 3px;
  background: #1a1714;
  border-radius: 3px;
  margin: 4px auto 2px;
  opacity: 0.2;
}

/* Floating animation */
@keyframes deviceFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.device-macbook {
  animation: deviceFloat 5s ease-in-out infinite;
}

.device-iphone {
  animation: deviceFloat 5s ease-in-out infinite;
  animation-delay: -1.5s;
}

.hero-label {
  margin-bottom: clamp(16px, 2.5vw, 32px);
  overflow: hidden;
}

.hero-label .mono {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.hero-title {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: clamp(16px, 2vw, 28px);
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-word {
  display: inline-block;
}

.hero-sub {
  max-width: 500px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background: var(--dark);
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(150, 120, 92, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: var(--gap);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-indicator .mono {
  writing-mode: vertical-rl;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* =============================================
   SECTIONS (GENERAL)
   ============================================= */
.section {
  padding: clamp(80px, 12vw, 160px) 0;
}

.dark-section {
  background: var(--dark);
  color: var(--text-light);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--text-muted);
}

.dark-section .section-label { color: var(--accent-light); }

.label-line {
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.section-heading {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: clamp(40px, 6vw, 80px);
  line-height: 1.1;
}

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-headline {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.about-description {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: #5a5249;
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  transition: all 0.3s;
}

.about-cta:hover {
  color: var(--text);
  transform: translateX(4px);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.value-card {
  padding: 28px;
  background: var(--bg-alt);
  border-radius: 12px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(26, 23, 20, 0.06);
}

.value-icon {
  display: block;
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 0.75rem;
}

.value-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.value-card p {
  font-size: 0.85rem;
  color: #5a5249;
  line-height: 1.6;
}

/* =============================================
   SERVICES
   ============================================= */
.services-list {
  border-top: 1px solid var(--border-dark);
}

.service-item {
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  cursor: pointer;
  transition: opacity 0.3s;
}

.service-header:hover { opacity: 0.7; }

.service-num {
  color: var(--accent-light);
  font-size: 0.8rem;
  min-width: 30px;
}

.service-title {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  flex: 1;
}

.service-arrow {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-light);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.service-item.active .service-arrow {
  transform: rotate(45deg);
}

.service-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 54px;
}

.service-item.active .service-details {
  grid-template-rows: 1fr;
}

.service-details-inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item.active .service-details-inner {
  padding-bottom: 28px;
}

.service-details-text {
  margin-bottom: 16px;
}

.service-details-text p {
  color: rgba(247, 243, 238, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 600px;
}



.service-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.service-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  outline: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}

.service-logo-img.cart-logo {
  filter: invert(1) brightness(0.85);
}


@media (max-width: 768px) {
  .service-logo-img {
    height: 40px;
  }
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  padding: 6px 14px;
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--accent-light);
  letter-spacing: 0.03em;
  transition: all 0.3s;
}

.tag:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}


/* =============================================
   CLIENTS / MARQUEE
   ============================================= */
.clients {
  overflow: hidden;
}

.clients .section-heading {
  margin-bottom: clamp(30px, 5vw, 60px);
}

.marquee {
  overflow: hidden;
  padding: 24px 0;
  position: relative;
}

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

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.marquee-logo {
  height: clamp(40px, 5vw, 60px);
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.4s ease;
  margin-right: clamp(40px, 6vw, 80px);
  flex-shrink: 0;
}

.marquee-logo:hover {
  filter: grayscale(0%) opacity(1);
}

.marquee-text-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.4s ease;
}

@supports (-webkit-text-stroke: 1px black) {
  .marquee-text-logo {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text);
  }
}

.marquee-text-logo:hover {
  filter: grayscale(0%) opacity(1);
}


/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 36px;
  background: var(--dark-card);
  border-radius: 16px;
  border: 1px solid var(--border-dark);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(247, 243, 238, 0.8);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-role {
  color: var(--accent-light);
  font-size: 0.75rem;
}

/* =============================================
   FAQ
   ============================================= */
.faq {
  background: var(--bg-alt);
}

.faq-list {
  max-width: 800px;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 500;
  text-align: left;
  color: var(--text);
  transition: opacity 0.3s;
  gap: 20px;
}

.faq-question:hover { opacity: 0.7; }

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

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

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer-inner {
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 650px;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-heading {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.contact-sub {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: rgba(247, 243, 238, 0.6);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: clamp(40px, 6vw, 80px);
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-label {
  color: var(--accent-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  transition: opacity 0.3s;
}

a.contact-value:hover { opacity: 0.7; }

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  transition: opacity 0.3s;
}

.social-links a:hover { opacity: 0.7; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-dark);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  filter: invert(1);
}

.footer-copy {
  color: rgba(247, 243, 238, 0.4);
  font-size: 0.75rem;
}

.footer-email {
  color: rgba(247, 243, 238, 0.6);
  font-size: 0.75rem;
  transition: color 0.3s;
}

.footer-email:hover { color: var(--accent-light); }

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 243, 238, 0.08);
}

.footer-legal-link {
  color: rgba(247, 243, 238, 0.4);
  font-size: 0.7rem;
  transition: color 0.3s;
}

.footer-legal-link:hover { color: var(--accent-light); }

.footer-legal-sep {
  color: rgba(247, 243, 238, 0.15);
  font-size: 0.7rem;
}

/* =============================================
   COOKIE CONSENT
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1001;
  background: var(--dark);
  color: var(--text-light);
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 380px;
  width: calc(100% - 48px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--border-dark);
  opacity: 0;
  transform: translateY(20px);
  animation: cookieSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.cookie-banner[hidden] {
  display: none;
}

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

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(247, 243, 238, 0.7);
  margin-bottom: 20px;
}

.cookie-text a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s;
}

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

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-accept {
  flex: 1;
  padding: 10px 20px;
  background: var(--text-light);
  color: var(--dark);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-accept:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(150, 120, 92, 0.25);
}

.cookie-decline {
  padding: 10px 20px;
  background: transparent;
  color: rgba(247, 243, 238, 0.5);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  border-radius: 100px;
  border: 1px solid var(--border-dark);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-decline:hover {
  border-color: rgba(247, 243, 238, 0.3);
  color: rgba(247, 243, 238, 0.8);
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
    padding: 20px;
  }

  .cookie-actions {
    flex-direction: column;
  }
}

/* =============================================
   REVEAL ANIMATIONS (INITIAL STATES)
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.hero-label .mono,
.hero-word,
.hero-sub,
.hero-cta {
  opacity: 0;
  transform: translateY(30px);
}

.value-card,
.service-item,
.testimonial-card,
.contact-card,
.contact-heading,
.faq-item {
  opacity: 0;
  transform: translateY(40px);
}

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

/* Large screens — expand container to fill more of the screen */
@media (min-width: 1500px) {
  .container,
  .nav-inner {
    max-width: 80vw;
  }
}

@media (max-width: 1024px) {
  .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-container {
    flex-direction: column;
    gap: 40px;
  }

  .hero-mockup {
    flex: none;
    max-width: 420px;
    width: 100%;
    align-self: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

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

  .hero {
    padding-top: 80px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-mockup {
    overflow: hidden;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .service-details {
    padding-left: 0 !important;
  }

  .service-arrow {
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nav-logo-img {
    height: 50px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .scroll-indicator { display: none; }

  .marquee-logo {
    height: clamp(30px, 8vw, 45px);
    margin-right: clamp(30px, 5vw, 50px);
  }

  .device-iphone { display: none; }

  .app-sidebar { width: 100px; }
  .app-sidebar .sidebar-link { font-size: 0.55rem; }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 70px;
  }

  .hero-mockup { display: none; }

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

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

  .contact-heading {
    font-size: clamp(1.7rem, 8vw, 3rem);
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .nav-logo-img {
    height: 42px;
  }

  .lang-toggle {
    font-size: 0.7rem;
  }
}