/* ============================================
   Tomodachi Consulting - Design System
   AI & Enterprise Technology Consulting
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Color Palette */
  --color-primary: #2d3047;       /* Deep indigo */
  --color-primary-light: #3d4060; /* Lighter indigo */
  --color-secondary: #c9a96e;     /* Warm gold */
  --color-secondary-light: #d4ba88;
  --color-accent: #e8d5b7;        /* Light warm beige */
  --color-bg: #ffffff;            /* White */
  --color-bg-alt: #f7f7f8;       /* Very light gray */
  --color-text: #2d3047;          /* Deep indigo text */
  --color-text-light: #6b6d7b;    /* Muted text */
  --color-white: #ffffff;
  --color-border: #e5e5ea;

  /* Typography */
  --font-heading: 'Inter', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

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

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

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

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.section--alt {
  background-color: var(--color-bg-alt);
}

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

.text-gold {
  color: var(--color-secondary);
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.section-header p {
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Decorative divider line */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: var(--space-sm) auto var(--space-md);
  width: 200px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-secondary);
}

.section-divider .divider-icon {
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color var(--transition-medium);
}

.header.scrolled {
  border-bottom-color: var(--color-border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-logo-img {
  height: 48px;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
  background: transparent;
}

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

.nav-link {
  font-size: 0.95rem;
  color: var(--color-text-light);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-secondary);
  transition: width var(--transition-medium);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

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

.nav-cta:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  margin: 5px 0;
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.hero-subtitle::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--color-secondary);
}

.hero h1 {
  margin-bottom: var(--space-sm);
}

.hero-body {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(45, 48, 71, 0.2);
}

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

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

.btn-gold {
  background: var(--color-secondary);
  color: var(--color-white);
}

.btn-gold:hover {
  background: var(--color-secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}

.btn-arrow::after {
  content: '\2192';
  transition: transform var(--transition-fast);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-md);
  transition: all var(--transition-medium);
}

.card:hover {
  border-color: var(--color-secondary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45, 48, 71, 0.08);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-bg-alt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  transition: background var(--transition-fast);
}

.card:hover .card-icon {
  background: rgba(201, 169, 110, 0.1);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-secondary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Service Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

/* --- Values / Features Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.value-item {
  text-align: center;
  padding: var(--space-md);
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--color-secondary);
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.value-item p {
  margin: 0 auto;
  font-size: 0.95rem;
}

/* --- Stats Section --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg) 0;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-pattern {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, #ede8e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-pattern svg {
  width: 40%;
  height: 40%;
  opacity: 0.15;
}

.about-content h2 {
  margin-bottom: var(--space-sm);
}

.about-content p {
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
}

.about-content .highlight {
  color: var(--color-secondary);
  font-weight: 500;
}

/* --- Team Section --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.team-card {
  text-align: center;
  padding: var(--space-md);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-accent));
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-secondary);
}

.team-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.team-role {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.9rem;
  margin: 0 auto;
}

/* --- Process Section --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: var(--color-border);
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-secondary);
  position: relative;
  z-index: 2;
  font-weight: 600;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  margin: 0 auto;
}

/* --- Case Study Section --- */
.case-study {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-md);
  position: relative;
  overflow: hidden;
}

.case-study-badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 4px;
  margin-bottom: var(--space-md);
}

.case-study-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.case-study-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.case-study-client {
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.case-study-highlights {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.case-study-highlight {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.case-study-highlight-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.case-study-highlight-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-secondary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-study-highlight strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.case-study-highlight span {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Case Study Flow Diagram */
.case-study-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  width: 100%;
  transition: all var(--transition-fast);
}

.flow-step:hover {
  border-color: var(--color-secondary);
  background: rgba(201, 169, 110, 0.05);
}

.flow-step-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
  background: var(--color-white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-secondary);
}

.flow-step-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
}

.flow-connector {
  width: 2px;
  height: 12px;
  background: var(--color-border);
}

/* --- Hero Clients --- */
.hero-clients {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero-clients-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
}

/* --- Client Logo Slider --- */
.client-slider {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.client-track {
  display: flex;
  gap: 4rem;
  animation: scroll-logos 50s linear infinite;
  width: max-content;
}

.client-logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.75;
  transition: opacity var(--transition-fast);
  min-width: 140px;
}

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

.client-logo img {
  height: 80px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.client-name {
  display: none;
}

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

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-md);
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-md);
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-secondary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-secondary);
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author-info span {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

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

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto var(--space-md);
  font-size: 1.1rem;
}

.cta-section .btn-gold {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
}

.contact-info h2 {
  margin-bottom: var(--space-sm);
}

.contact-info > p {
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-secondary);
  fill: none;
  stroke-width: 1.5;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact-detail-text span {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-md);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-secondary);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* --- Page Banner --- */
.page-banner {
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-lg);
  background: var(--color-bg-alt);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner h1 {
  margin-bottom: var(--space-xs);
}

.page-banner p {
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- Footer --- */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-xl) 0 var(--space-md);
}

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

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--color-secondary);
  background: rgba(201, 169, 110, 0.1);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.5);
}

.footer-social a:hover svg {
  fill: var(--color-secondary);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-md);
  }

  .process-steps::before {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

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

  .case-study-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    padding: calc(var(--header-height) + var(--space-md)) var(--space-md) var(--space-md);
    gap: var(--space-sm);
    border-left: 1px solid var(--color-border);
    transition: right var(--transition-medium);
    align-items: flex-start;
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

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

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-lg));
    padding-bottom: var(--space-lg);
  }

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

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

/* --- Mobile overlay --- */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 998;
}

.nav-overlay.active {
  display: block;
}
