/* =========================================
   TIVO MEDIA COMPANY - MAIN STYLESHEET
   ========================================= */

/* CSS Variables / Design Tokens */
:root {
  /* Colors */
  --color-primary: #0a0a0a;
  --color-secondary: #1a1a1a;
  --color-accent: #e8e8e8;
  --color-highlight: #ff6b35;
  --color-text: #ffffff;
  --color-text-muted: #a0a0a0;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-overlay: rgba(0, 0, 0, 0.7);

  /* Typography */
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 50%;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* =========================================
   LOADER
   ========================================= */
.loader {
  position: fixed;
  inset: 0;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Centered content */
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

/* Logo */
.loader-logo {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  padding-left: 0.5em; /* optical centering fix */
  color: #fff;
  animation: pulse 1.5s ease infinite;
}

/* Tagline */
.tag-text {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  color: #fff;
}

/* Loading bar */
.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.loader-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--color-highlight);
  animation: loading 1.5s ease forwards;
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes loading {
  from { width: 0; }
  to { width: 100%; }
}


/* =========================================
   CUSTOM CURSOR
   ========================================= */
.cursor,
.cursor-follower {
  position: fixed;
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 9998;
  display: none;
}

@media (min-width: 1024px) {
  .cursor,
  .cursor-follower {
    display: block;
  }

  body {
    cursor: none;
  }

  a,
  button {
    cursor: none;
  }
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--color-highlight);
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-highlight);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-follower.hover {
  width: 60px;
  height: 60px;
  background: rgba(255, 107, 53, 0.1);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-md) 0;
  z-index: 1000;
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: var(--spacing-sm) 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 1001;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--color-highlight);
  border-radius: var(--radius-full);
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  position: relative;
  padding: var(--spacing-xs) 0;
}

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

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

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

.nav-cta {
  display: none;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-highlight);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
}

@media (min-width: 768px) {
  .nav-cta {
    display: inline-block;
  }
}

.nav-cta:hover {
  background: var(--color-text);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 20px;
  z-index: 1001;
}

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

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition-normal);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 999;
}

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

.mobile-nav-links {
  text-align: center;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  padding: var(--spacing-md);
  color: var(--color-text-muted);
  transition: var(--transition-normal);
}

.mobile-nav-link:hover {
  color: var(--color-highlight);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.5) 50%,
    rgba(10, 10, 10, 0.9) 100%
  );
}

.hero-content {
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-md);
  max-width: 900px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.tag-line {
  width: 40px;
  height: 1px;
  background: var(--color-highlight);
}

.tag-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-highlight);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
}

.title-line {
  display: block;
}

.title-line.highlight {
  color: var(--color-highlight);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
}

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

.btn-primary:hover {
  background: var(--color-text);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

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

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

.btn-large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1rem;
}

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

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.hero-scroll span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-highlight);
  border-radius: 2px;
  animation: scroll 1.5s ease infinite;
}

@keyframes scroll {
  0%,
  100% {
    top: 8px;
    opacity: 1;
  }
  50% {
    top: 20px;
    opacity: 0.5;
  }
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats {
  padding: var(--spacing-3xl) 0;
  background: var(--color-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: var(--spacing-lg);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-highlight);
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-highlight);
}

.stat-label {
  display: block;
  margin-top: var(--spacing-xs);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =========================================
   SECTION HEADERS
   ========================================= */
.section-header {
  margin-bottom: var(--spacing-2xl);
}

.section-header.centered {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-highlight);
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.3;
  max-width: 800px;
}

.section-header.centered .section-title {
  margin: 0 auto;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-top: var(--spacing-sm);
  max-width: 600px;
}

.section-header.centered .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   SERVICES PREVIEW
   ========================================= */
.services-preview {
  padding: var(--spacing-3xl) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  padding: var(--spacing-xl);
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.service-card:hover {
  border-color: var(--color-highlight);
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  color: var(--color-highlight);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-highlight);
}

.service-link:hover {
  gap: var(--spacing-sm);
}

/* =========================================
   FEATURED WORK
   ========================================= */
.featured-work {
  padding: var(--spacing-3xl) 0;
  background: var(--color-secondary);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.work-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
}

.work-item.large {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

@media (min-width: 1024px) {
  .work-item.large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    aspect-ratio: auto;
  }
}

.work-image {
  width: 100%;
  height: 100%;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.work-item:hover .work-image img {
  transform: scale(1.1);
}

.work-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-lg);
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-normal);
}

.work-item:hover .work-overlay {
  transform: translateY(0);
  opacity: 1;
}

.work-category {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-highlight);
  margin-bottom: var(--spacing-xs);
}

.work-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.work-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: var(--spacing-xs);
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

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

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.cta-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-xl);
}

/* =========================================
   PAGE HERO
   ========================================= */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

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

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.6) 50%, rgba(10, 10, 10, 1) 100%);
}

.page-hero-content {
  max-width: 800px;
  padding: var(--spacing-3xl) 0;
}

.page-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-highlight);
  margin-bottom: var(--spacing-md);
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

.page-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 600px;
}

/* =========================================
   STORY SECTION (About Page)
   ========================================= */
.story-section {
  padding: var(--spacing-3xl) 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.story-content p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.story-stats {
  display: flex;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--color-border);
}

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

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-highlight);
}

.stat-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.story-image {
  position: relative;
}

.story-image img {
  border-radius: var(--radius-md);
}

.story-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-highlight);
  border-radius: var(--radius-md);
  z-index: -1;
}

/* =========================================
   MISSION SECTION
   ========================================= */
.mission-section {
  padding: var(--spacing-3xl) 0;
  background: var(--color-secondary);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .mission-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mission-card {
  padding: var(--spacing-xl);
  background: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.mission-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.1);
  border-radius: var(--radius-full);
  margin: 0 auto var(--spacing-md);
  color: var(--color-highlight);
}

.mission-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.mission-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* =========================================
   TEAM SECTION
   ========================================= */
.team-section {
  padding: var(--spacing-3xl) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.team-card:hover {
  border-color: var(--color-highlight);
  transform: translateY(-5px);
}

.team-image-wrapper {
  position: relative;
  overflow: hidden;
}

.team-image {
  aspect-ratio: 4 / 5;
}

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

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-social {
  position: absolute;
  bottom: var(--spacing-md);
  left: var(--spacing-md);
  display: flex;
  gap: var(--spacing-sm);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-normal);
}

.team-card:hover .team-social {
  opacity: 1;
  transform: translateY(0);
}

.team-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  color: var(--color-text);
  transition: var(--transition-fast);
}

.team-social a:hover {
  background: var(--color-highlight);
  color: var(--color-primary);
}

.team-info {
  padding: var(--spacing-lg);
}

.team-role {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-highlight);
  margin-bottom: var(--spacing-xs);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.team-bio {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.team-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.achievement {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: rgba(255, 107, 53, 0.1);
  color: var(--color-highlight);
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
}

/* =========================================
   TIMELINE SECTION
   ========================================= */
.timeline-section {
  padding: var(--spacing-3xl) 0;
  background: var(--color-secondary);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: var(--spacing-xl);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--spacing-xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: calc(-1 * var(--spacing-xl) - 6px);
  top: 0;
  width: 14px;
  height: 14px;
  background: var(--color-highlight);
  border-radius: var(--radius-full);
  border: 3px solid var(--color-secondary);
}

.timeline-content {
  background: var(--color-primary);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-highlight);
  margin-bottom: var(--spacing-xs);
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.timeline-content p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =========================================
   SERVICES DETAILED (Services Page)
   ========================================= */
.services-detailed {
  padding: var(--spacing-3xl) 0;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  padding: var(--spacing-2xl) 0;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 1024px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail.reverse {
    direction: rtl;
  }

  .service-detail.reverse > * {
    direction: ltr;
  }
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: var(--spacing-md);
}

.service-detail-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.service-detail-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
}

.service-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 480px) {
  .service-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.service-features svg {
  color: var(--color-highlight);
  flex-shrink: 0;
}

.service-detail-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-detail-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), transparent);
}

/* =========================================
   PROCESS SECTION
   ========================================= */
.process-section {
  padding: var(--spacing-3xl) 0;
  background: var(--color-secondary);
}

.process-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

@media (min-width: 1024px) {
  .process-grid {
    flex-direction: row;
    align-items: flex-start;
  }
}

.process-step {
  flex: 1;
  text-align: center;
  padding: var(--spacing-lg);
}

.process-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-highlight);
  line-height: 1;
  margin-bottom: var(--spacing-md);
}

.process-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.process-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.process-connector {
  display: none;
}

@media (min-width: 1024px) {
  .process-connector {
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-border);
    margin-top: 60px;
  }
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
  padding: calc(100px + var(--spacing-3xl)) 0 var(--spacing-3xl);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.contact-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-highlight);
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.contact-text a,
.contact-text span {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.5;
}

.contact-text a:hover {
  color: var(--color-highlight);
}

.contact-social {
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border);
}

.social-label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-sm);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--color-highlight);
  border-color: var(--color-highlight);
  color: var(--color-primary);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-secondary);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
}

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

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  background: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

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

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--spacing-md) center;
  padding-right: var(--spacing-2xl);
}

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

.form-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: var(--spacing-md);
  text-align: center;
}

/* =========================================
   MAP SECTION
   ========================================= */
.map-section {
  background: var(--color-secondary);
}

.map-wrapper {
  width: 100%;
  height: 450px;
  filter: grayscale(100%) invert(90%) contrast(90%);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
  padding: var(--spacing-3xl) 0;
}

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

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg) 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  transition: var(--transition-fast);
}

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

.faq-question svg {
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: var(--spacing-lg);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  background: var(--color-secondary);
  border-top: 1px solid var(--color-border);
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--spacing-md);
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-md);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

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

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.contact-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-highlight);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-legal {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-legal a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-legal a:hover {
  color: var(--color-highlight);
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE UTILITIES
   ========================================= */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}
