/* ============================================
   EficiencIAl — Design System & Styles
   Dark theme, modern AI consultancy aesthetic
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- CSS Custom Properties --- */
:root {
  /* Colors — matched from live eficiencial.com */
  --bg-primary: #171717;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: #1c1c1c;
  --bg-card-hover: #222222;
  --bg-elevated: #252525;

  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #777777;

  --accent: #277a8a;
  --accent-hover: #2d8fa1;
  --accent-glow: rgba(108, 215, 236, 0.15);
  --accent-subtle: rgba(39, 122, 138, 0.12);
  --accent-light: #6cd7ec;

  --border-color: #2a2a2a;
  --border-light: #333333;

  --danger: #ff4d4d;
  --success: #277a8a;

  /* Typography */
  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Lexend', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.25rem;
  --fs-5xl: 4rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 900px;
  --nav-height: 72px;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.15s var(--ease-out);
  --transition-base: 0.3s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 30px var(--accent-glow);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: var(--fs-4xl); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-3xl); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

p {
  color: var(--text-secondary);
  max-width: 65ch;
}

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

.text-center { text-align: center; }

.section-label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--space-md);
  display: inline-block;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-5xl) 0;
}

.section--sm {
  padding: var(--space-3xl) 0;
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

.flex {
  display: flex;
  align-items: center;
}

.flex--between {
  justify-content: space-between;
}

.flex--center {
  justify-content: center;
}

.flex--col {
  flex-direction: column;
}

.flex--wrap {
  flex-wrap: wrap;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: #000;
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn--secondary:hover {
  border-color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
}

.btn--outline-accent {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--outline-accent:hover {
  background: var(--accent-subtle);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--fs-base);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-base);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav__logo img {
  height: 32px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: var(--space-sm) 0;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-primary);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Studio link — accent styling */
.nav__link--studio {
  color: #e8733a !important;
  font-weight: 600;
}

.nav__link--studio:hover {
  color: #f5f0eb !important;
}

.footer__link--studio {
  color: #e8733a !important;
}

.footer__link--studio:hover {
  opacity: 0.8;
}

/* Mega Menu Trigger */
.nav__mega-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
  background: none;
  border: none;
}

.nav__mega-trigger:hover {
  color: var(--text-primary);
}

.nav__mega-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav__mega-trigger.is-open svg {
  transform: rotate(180deg);
}

/* Mega Menu Panel */
.mega-menu {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-2xl) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-base);
  pointer-events: none;
}

.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.mega-menu__category h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.mega-menu__item {
  display: block;
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  transition: all var(--transition-fast);
}

.mega-menu__item:hover {
  color: var(--text-primary);
  padding-left: var(--space-sm);
}

/* Phone CTA in nav — styled as teal button like live site */
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  background: var(--accent);
  color: #000;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav__phone:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-glow);
}

.nav__phone svg {
  width: 14px;
  height: 14px;
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-base);
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.3s ease;
}

.mobile-menu.is-open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(6) { transition-delay: 0.30s; }

.mobile-menu__link:hover {
  color: var(--accent);
}

.mobile-menu__link--studio {
  color: var(--accent-light);
  font-size: var(--fs-xl);
  margin-top: var(--space-md);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(100, 0, 180, 0.3) 0%, transparent 50%),
    linear-gradient(225deg, rgba(0, 180, 200, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-3xl) var(--space-xl);
  animation: heroFadeIn 1s var(--ease-out) both;
}

.hero__content h1 {
  margin-bottom: var(--space-lg);
  font-size: var(--fs-5xl);
  letter-spacing: -0.03em;
}

.hero__content p {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  margin: 0 auto var(--space-2xl);
  max-width: 600px;
}

.hero__ctas {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

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

/* --- Page Header (non-hero pages) --- */
.page-header {
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-3xl);
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  margin-bottom: var(--space-md);
}

.page-header p {
  margin: 0 auto;
  font-size: var(--fs-lg);
}

/* Page header with background image */
.page-header--hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: none;
}

.page-header--hero .page-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header--hero .page-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header--hero .page-header__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(100, 0, 180, 0.25) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.page-header--hero .container {
  position: relative;
  z-index: 2;
}

.page-header--hero .hero__ctas {
  margin-top: var(--space-xl);
}

/* --- Bottom Contact Section (appears on multiple pages) --- */
.contact-bottom {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.contact-bottom__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-bottom__form h2 {
  margin-bottom: var(--space-md);
}

.contact-bottom__form p {
  margin-bottom: var(--space-xl);
}

.contact-bottom__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.contact-bottom__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .contact-bottom__grid {
    grid-template-columns: 1fr;
  }

  .contact-bottom__image {
    min-height: 250px;
  }
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--accent);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

/* Service cards */
.service-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.service-card__image {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pricing cards */
.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card__badge {
  display: inline-block;
  background: var(--accent-subtle);
  color: var(--accent-light);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  align-self: flex-start;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.pricing-card__price span {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card__period {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.pricing-card__features {
  margin-bottom: var(--space-xl);
  flex-grow: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--accent-light);
  font-weight: 700;
  flex-shrink: 0;
}

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

/* --- Client Logos --- */
.logos-section {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.logos-static-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.logos-carousel-slide {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.logos-carousel-slide img {
  height: 150px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* --- FAQ Accordion --- */
.faq-section {
  background: var(--bg-primary);
}

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

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

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

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

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  margin-left: var(--space-md);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--transition-base);
}

.faq-item__icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.is-open .faq-item__answer {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}

.faq-item__answer p {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* --- Blog Cards --- */
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}

.blog-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: var(--space-lg);
}

.blog-card__date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-light);
  transition: gap var(--transition-fast);
}

.blog-card__link:hover {
  gap: 8px;
}

/* --- Team Cards --- */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.team-card__photo {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-card__photo img {
  transform: scale(1.03);
}

.team-card__info {
  padding: var(--space-xl);
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.team-card__role {
  font-size: var(--fs-sm);
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.team-card__bio {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Contact Form --- */
.form-section {
  background: var(--bg-secondary);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  color: var(--text-primary);
  font-size: var(--fs-base);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-light);
  box-shadow: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.937 10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-color: transparent;
  padding-right: 2rem;
}

.form-select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--danger);
  margin-top: var(--space-xs);
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-bottom-color: var(--danger);
}

.form-success {
  text-align: center;
  padding: var(--space-2xl);
  display: none;
}

.form-success.is-visible {
  display: block;
}

.form-success h3 {
  color: var(--accent-light);
  margin-bottom: var(--space-md);
}

/* --- Demo Banner --- */
.demo-banner {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.demo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

.demo-banner__price {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: var(--space-sm);
  position: relative;
}

.demo-banner__price span {
  font-size: var(--fs-lg);
  color: var(--text-muted);
}

.demo-banner__promo {
  font-size: var(--fs-sm);
  color: var(--accent-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
  position: relative;
}

.demo-banner p {
  margin: 0 auto;
  position: relative;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand p {
  display: none;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__link {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__social {
  display: none;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bottom-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
  color: var(--text-secondary);
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.cta-section h2 {
  position: relative;
  margin-bottom: var(--space-md);
}

.cta-section p {
  margin: 0 auto var(--space-2xl);
  position: relative;
}

.cta-section .btn {
  position: relative;
}

/* --- Legal Pages --- */
.legal-content {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-4xl);
  max-width: 800px;
  margin: 0 auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

.legal-content h1 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-2xl);
}

.legal-content h2 {
  font-size: var(--fs-xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-content h3 {
  font-size: var(--fs-lg);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content p {
  margin-bottom: var(--space-md);
  max-width: none;
}

.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-content ul li {
  list-style: disc;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xs);
}

.legal-content a {
  color: var(--accent-light);
}

.legal-content a:hover {
  text-decoration: underline;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Services Section --- */
.services-section {
  background: var(--bg-primary);
}

.services-intro {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.services-intro h2 {
  margin-bottom: var(--space-md);
}

.services-intro p {
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root {
    --fs-4xl: 2.75rem;
    --fs-5xl: 3.25rem;
  }

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

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

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

@media (max-width: 768px) {
  :root {
    --fs-3xl: 2rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 2.75rem;
    --space-5xl: 5rem;
    --space-4xl: 4rem;
    --nav-height: 64px;
  }

  .nav__links,
  .nav__phone {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .hero__content h1 {
    font-size: var(--fs-3xl);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .logos-carousel-slide {
    padding: var(--space-lg) var(--space-xl);
  }

  .logos-carousel-slide img {
    height: 90px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer__bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .demo-banner {
    padding: var(--space-xl);
  }

  .team-card__photo {
    height: 280px;
  }

  .page-header {
    padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-xl);
  }
}

@media (max-width: 480px) {
  :root {
    --fs-3xl: 1.75rem;
    --fs-4xl: 2rem;
    --fs-5xl: 2.25rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .card {
    padding: var(--space-lg);
  }

  .hero__content {
    padding: var(--space-xl) var(--space-md);
  }
}

/* --- Utility: no-scroll on body when mobile menu open --- */
body.no-scroll {
  overflow: hidden;
}

/* --- Blog post detail --- */
.blog-post {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-4xl);
}

.blog-post__header {
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  padding: 0 var(--space-xl);
}

.blog-post__meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.blog-post__title {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-lg);
}

.blog-post__hero-image {
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.blog-post__hero-image img {
  width: 100%;
  height: auto;
}

.blog-post__content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.blog-post__content h2 {
  font-size: var(--fs-xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.blog-post__content h3 {
  font-size: var(--fs-lg);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.blog-post__content p {
  margin-bottom: var(--space-md);
  max-width: none;
  line-height: 1.75;
}

.blog-post__content ul,
.blog-post__content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.blog-post__content li {
  list-style: disc;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
  line-height: 1.7;
}

.blog-post__content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.blog-post__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: var(--space-xl);
}

.blog-post__back:hover {
  text-decoration: underline;
}
