/* ============================================
   SAASAKI TECHNOLOGY - Global Styles
   Editorial Luxury meets Tech Precision
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Colors */
  --navy-deep: #0a1628;
  --navy-medium: #1a2d4a;
  --navy-light: #2a4066;
  --amber: #d4a574;
  --amber-light: #e8c9a4;
  --amber-dark: #b8956a;
  --cream: #f8f6f1;
  --cream-dark: #ebe7df;
  --white: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #7a7a7a;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

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

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;

  /* Layout */
  --max-width: 1400px;
  --nav-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Grain Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

p {
  max-width: 65ch;
}

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

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

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

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

.section--dark {
  background: var(--navy-deep);
  color: var(--white);
}

.section--cream {
  background: var(--cream-dark);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.scrolled::before {
  opacity: 0.95;
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

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

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}

.nav__logo span {
  color: var(--amber);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav__link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover,
.nav__link.active {
  color: var(--navy-deep);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy-deep);
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-out);
}

.nav__cta:hover {
  background: var(--navy-medium);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  margin-right: -10px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-deep);
  transition: all var(--duration-fast) var(--ease-out);
}

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

.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-medium) 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(212, 165, 116, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(212, 165, 116, 0.1) 0%, transparent 40%);
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__text {
  max-width: 600px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

.hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--amber);
}

.hero__title {
  margin-bottom: var(--space-md);
  color: var(--navy-deep);
}

.hero__title em {
  font-style: italic;
  color: var(--amber-dark);
}

.hero__subtitle {
  margin-bottom: var(--space-lg);
  font-size: 1.25rem;
  color: var(--text-secondary);
}

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

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__graphic {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
}

.hero__graphic svg {
  width: 100%;
  height: 100%;
}

/* Animated circles */
.hero__circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: pulse 4s ease-in-out infinite;
}

.hero__circle--1 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0s;
}

.hero__circle--2 {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0.5s;
}

.hero__circle--3 {
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 1s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-out);
}

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

.btn--primary:hover {
  background: var(--navy-medium);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.3);
}

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

.btn--secondary:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.btn--amber {
  color: var(--navy-deep);
  background: var(--amber);
}

.btn--amber:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
}

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

.btn--white:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  position: relative;
  padding: var(--space-lg);
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-md);
  padding: 1rem;
  background: var(--cream);
  border-radius: 4px;
  color: var(--amber-dark);
  transition: all var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-card__icon {
  background: var(--navy-deep);
  color: var(--amber);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__number {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 400;
  color: var(--cream-dark);
  line-height: 1;
  transition: color var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-card__number {
  color: var(--amber-light);
}

.service-card__title {
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.service-card__text {
  color: var(--text-secondary);
  font-size: 1rem;
}

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

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

.section-header--center p {
  margin: 0 auto;
}

.section-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

.section--dark .section-header__eyebrow {
  color: var(--amber);
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__text {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.section--dark .section-header__text {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   FEATURED / REVEAL SECTION
   ============================================ */
.featured {
  position: relative;
  overflow: hidden;
}

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

.featured__content {
  position: relative;
  z-index: 1;
}

.featured__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin-bottom: var(--space-md);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(212, 165, 116, 0.15);
  border-radius: 2px;
}

.featured__title {
  margin-bottom: var(--space-md);
}

.featured__text {
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.8);
}

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

.featured__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.featured__feature svg {
  width: 20px;
  height: 20px;
  color: var(--amber);
  flex-shrink: 0;
}

.featured__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.featured__mockup {
  position: relative;
  width: 280px;
  height: 560px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.featured__mockup::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 12px;
}

.featured__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.featured__screen-header {
  padding: 3rem 1.5rem 1rem;
  text-align: center;
}

.featured__screen-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.featured__screen-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.featured__screen-content {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.featured__news-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.featured__news-category {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.featured__news-title {
  font-size: 0.875rem;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.featured__news-meta {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--navy-deep);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__number span {
  color: var(--amber);
}

.stat__label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.testimonial {
  padding: var(--space-lg);
  background: var(--white);
  border-radius: 4px;
  position: relative;
}

.testimonial__quote {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--cream-dark);
}

.testimonial__text {
  position: relative;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

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

.testimonial__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
}

.testimonial__info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-deep);
  text-transform: none;
  letter-spacing: 0;
}

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

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  text-align: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-medium) 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 80%, rgba(212, 165, 116, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.08) 0%, transparent 40%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-2%, -2%) rotate(5deg);
  }
}

.cta__content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.cta__title {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta__text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: var(--space-xl) 0 var(--space-md);
}

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

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.footer__logo span {
  color: var(--amber);
}

.footer__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social a:hover {
  border-color: var(--amber);
  color: var(--amber);
}

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

.footer__column h4 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__links a:hover {
  color: var(--amber);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer__bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__legal a:hover {
  color: var(--amber);
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-medium) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 60%);
}

.page-header__content {
  position: relative;
  max-width: 800px;
}

.page-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

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

.page-header__text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   SERVICES PAGE SPECIFIC
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--cream-dark);
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

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

.service-detail__content {
  max-width: 500px;
}

.service-detail__number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 400;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.service-detail__title {
  margin-bottom: var(--space-md);
  color: var(--navy-deep);
}

.service-detail__text {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.service-detail__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-detail__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
}

.service-detail__features svg {
  width: 20px;
  height: 20px;
  color: var(--amber);
  flex-shrink: 0;
}

.service-detail__visual {
  position: relative;
  height: 400px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-medium) 100%);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail__visual svg {
  width: 120px;
  height: 120px;
  color: var(--amber);
  opacity: 0.8;
}

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-intro__text {
  font-size: 1.375rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-intro__text strong {
  color: var(--navy-deep);
}

.about-intro__visual {
  position: relative;
  height: 500px;
  background: var(--navy-deep);
  border-radius: 8px;
  overflow: hidden;
}

.about-intro__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.values {
  background: var(--cream-dark);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.value-card {
  padding: var(--space-lg);
  background: var(--white);
  border-radius: 4px;
  text-align: center;
  transition: transform var(--duration-normal) var(--ease-out);
}

.value-card:hover {
  transform: translateY(-8px);
}

.value-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 50%;
  color: var(--amber-dark);
}

.value-card__icon svg {
  width: 100%;
  height: 100%;
}

.value-card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--navy-deep);
}

.value-card__text {
  color: var(--text-secondary);
  font-size: 1rem;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

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

.team-card__image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy-medium) 0%, var(--navy-deep) 100%);
  border-radius: 8px;
  margin-bottom: var(--space-md);
  overflow: hidden;
  position: relative;
}

.team-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(212, 165, 116, 0.2) 0%, transparent 60%);
}

.team-card__image svg {
  width: 60%;
  height: 60%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.1);
}

.team-card__name {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: var(--navy-deep);
}

.team-card__role {
  font-size: 0.875rem;
  color: var(--amber-dark);
  font-weight: 500;
}

/* ============================================
   REVEAL PAGE SPECIFIC
   ============================================ */
.reveal-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 50%, var(--navy-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.reveal-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(212, 165, 116, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
}

.reveal-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.reveal-hero__content {
  position: relative;
}

.reveal-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin-bottom: var(--space-md);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(212, 165, 116, 0.15);
  border-radius: 20px;
  border: 1px solid rgba(212, 165, 116, 0.3);
}

.reveal-hero__title {
  font-size: clamp(3rem, 7vw, 5rem);
  margin-bottom: var(--space-md);
}

.reveal-hero__title span {
  color: var(--amber);
  font-style: italic;
}

.reveal-hero__text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

.reveal-hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.reveal-features {
  background: var(--cream);
}

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

.reveal-feature {
  padding: var(--space-lg);
  background: var(--white);
  border-radius: 8px;
  display: flex;
  gap: var(--space-md);
  transition: all var(--duration-normal) var(--ease-out);
}

.reveal-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.1);
}

.reveal-feature__icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  padding: 1rem;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-medium) 100%);
  border-radius: 12px;
  color: var(--amber);
}

.reveal-feature__icon svg {
  width: 100%;
  height: 100%;
}

.reveal-feature__content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--navy-deep);
}

.reveal-feature__content p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.reveal-showcase {
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}

.reveal-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.reveal-showcase__phones {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  perspective: 1000px;
}

.reveal-showcase__phone {
  width: 220px;
  height: 440px;
  background: #1a1a2e;
  border-radius: 32px;
  padding: 8px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  transform: rotateY(-5deg);
}

.reveal-showcase__phone:nth-child(2) {
  transform: rotateY(5deg) translateY(40px);
}

.reveal-showcase__phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  border-radius: 26px;
  overflow: hidden;
}

/* ============================================
   CONTACT PAGE SPECIFIC
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-info {
  padding: var(--space-lg);
  background: var(--navy-deep);
  border-radius: 8px;
  color: var(--white);
}

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

.contact-info__text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-info__item svg {
  width: 24px;
  height: 24px;
  color: var(--amber);
  flex-shrink: 0;
}

.contact-info__item-content h4 {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.contact-info__item-content p,
.contact-info__item-content a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info__item-content a:hover {
  color: var(--amber);
}

.contact-form {
  padding: var(--space-lg);
  background: var(--white);
  border-radius: 8px;
}

.contact-form__title {
  margin-bottom: var(--space-md);
  color: var(--navy-deep);
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all var(--duration-fast) var(--ease-out);
}

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

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

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

.contact-map {
  margin-top: var(--space-xl);
  height: 400px;
  background: var(--cream-dark);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.contact-map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.contact-map__placeholder svg {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-sm);
  opacity: 0.5;
}

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

.animate-in {
  animation: fadeInUp 0.8s var(--ease-out) forwards;
  opacity: 0;
}

.animate-in:nth-child(1) { animation-delay: 0s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }
.animate-in:nth-child(5) { animation-delay: 0.4s; }
.animate-in:nth-child(6) { animation-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 968px) {
  .nav__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-out);
  }

  .nav__menu.active {
    opacity: 1;
    visibility: visible;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

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

  .nav__toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero__content,
  .hero__bg {
    grid-template-columns: 1fr;
  }

  .hero__bg {
    display: none;
  }

  .hero__visual {
    display: none;
  }

  .featured__grid,
  .about-intro,
  .service-detail,
  .contact-grid,
  .reveal-hero__grid,
  .reveal-showcase__grid {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .featured__visual {
    order: -1;
  }

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

  .testimonials__grid,
  .reveal-features__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .hero__actions,
  .cta__actions,
  .reveal-hero__actions {
    flex-direction: column;
  }

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

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

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

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

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

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

  .reveal-showcase__phone,
  .reveal-showcase__phone:nth-child(2) {
    transform: none;
  }
}

/* ============================================
   JOB DETAIL PAGE
   ============================================ */
.page-header__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
  transition: color var(--duration-fast);
}

.page-header__back:hover {
  color: var(--white);
}

.page-header__back svg {
  width: 20px;
  height: 20px;
}

.job-meta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.job-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.job-meta__item svg {
  color: var(--amber);
}

.job-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--space-xl);
  align-items: start;
}

.job-content__main {
  background: var(--white);
  border-radius: 8px;
  padding: var(--space-lg);
}

.job-section {
  margin-bottom: var(--space-lg);
}

.job-section:last-child {
  margin-bottom: 0;
}

.job-section h2 {
  font-size: 1.5rem;
  color: var(--navy-deep);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--cream);
}

.job-description,
.job-requirements {
  color: var(--text-secondary);
  line-height: 1.8;
}

.job-apply-card {
  background: var(--navy-deep);
  border-radius: 8px;
  padding: var(--space-lg);
  color: var(--white);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-md));
}

.job-apply-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.job-apply-card > p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.job-apply-card__email {
  margin-top: var(--space-md);
  font-size: 0.813rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.job-apply-card__email a {
  color: var(--amber);
}

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

@media (max-width: 968px) {
  .job-content {
    grid-template-columns: 1fr;
  }

  .job-apply-card {
    position: static;
  }
}

/* ============================================
   ERROR PAGES
   ============================================ */
.error-page {
  min-height: calc(100vh - var(--nav-height) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) 0;
  background: var(--cream);
}

.error-content {
  text-align: center;
  max-width: 500px;
}

.error-code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1;
  opacity: 0.1;
  margin-bottom: -2rem;
}

.error-title {
  font-size: 2rem;
  color: var(--navy-deep);
  margin-bottom: var(--space-sm);
}

.error-text {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

.error-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CONTACT PAGE ENHANCEMENTS
   ============================================ */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 165, 116, 0.15);
  border-radius: 8px;
  color: var(--amber);
}

.contact-item__icon svg {
  width: 24px;
  height: 24px;
}

.contact-item__content h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.contact-item__content a,
.contact-item__content address {
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  line-height: 1.6;
  transition: color var(--duration-fast);
}

.contact-item__content a:hover {
  color: var(--amber);
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: 8px;
  padding: var(--space-lg);
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.08);
}

/* Alert Messages */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.alert--success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert--error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.map-placeholder {
  height: 300px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-medium) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder__content {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.map-placeholder__content svg {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-sm);
}

.map-placeholder__content p {
  font-size: 1.1rem;
}

.section--no-padding {
  padding: 0;
}

/* ============================================
   LEGAL PAGES (Privacy, Terms)
   ============================================ */
.page-header--compact .page-header__content {
  padding: var(--space-lg) 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  padding: var(--space-xl);
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.08);
}

.legal-section {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
}

.legal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.5rem;
  color: var(--navy-deep);
  margin-bottom: var(--space-md);
}

.legal-section h3 {
  font-size: 1.125rem;
  color: var(--navy);
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.legal-section ul {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-section ul li {
  margin-bottom: 0.5rem;
}

.legal-section ul.contact-list {
  list-style: none;
  margin-left: 0;
}

.legal-section ul.contact-list li {
  margin-bottom: 0.75rem;
}

.legal-section a {
  color: var(--amber-dark);
  transition: color var(--duration-fast);
}

.legal-section a:hover {
  color: var(--navy);
}

@media (max-width: 768px) {
  .legal-content {
    padding: var(--space-lg);
  }
}
