/* ============================================================
   Wollerton, Megan — Professional Corporate Website
   Computer Systems Design & Integrated Systems Solutions
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary palette */
  --color-navy-deep: #0a1628;
  --color-navy: #132238;
  --color-navy-light: #1a3052;
  --color-navy-surface: #1e3759;

  /* Accent */
  --color-teal: #0d9488;
  --color-teal-light: #14b8a6;
  --color-teal-dark: #0f766e;
  --color-teal-glow: rgba(13, 148, 136, 0.15);

  /* Gold accent */
  --color-gold: #b8860b;
  --color-gold-light: #c9a030;
  --color-gold-pale: #fef3c7;

  /* Neutrals */
  --color-white: #ffffff;
  --color-off-white: #f8fafb;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;

  /* Semantic */
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-border: #e2e8f0;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0f1b2d;

  /* Typography */
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

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

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-teal: 0 4px 14px rgba(13, 148, 136, 0.25);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

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

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-navy-deep);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

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

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

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-teal);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: var(--space-md);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
  height: var(--header-height);
}

.site-header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy-deep);
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 800;
}

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

.nav-link {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-gray-600);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-navy-deep);
  background: var(--color-gray-50);
}

.nav-link.active {
  color: var(--color-teal);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-teal);
  border-radius: 1px;
}

.nav-cta {
  margin-left: var(--space-md);
  padding: 0.55rem 1.35rem;
  background: var(--color-teal);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-teal);
}

.nav-cta:hover {
  background: var(--color-teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy-deep);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .nav-list {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-xl);
    gap: var(--space-sm);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
  }
  .nav-list.open {
    transform: translateX(0);
  }
  .nav-link {
    padding: var(--space-md) var(--space-lg);
    font-size: 1.05rem;
    border-radius: var(--radius-md);
  }
  .nav-cta {
    margin-left: 0;
    text-align: center;
    padding: var(--space-md);
    margin-top: var(--space-md);
  }
}

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

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13, 148, 136, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 80%, rgba(184, 134, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
}

.hero-glow--left {
  top: -200px;
  left: -200px;
  background: var(--color-teal);
}

.hero-glow--right {
  bottom: -200px;
  right: -100px;
  background: var(--color-gold);
  opacity: 0.07;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-teal-light);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-teal-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-teal-light), var(--color-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  letter-spacing: 0.01em;
}

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

.btn-primary:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--color-teal);
  color: var(--color-white);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.3);
}

.btn-gold:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
}

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

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-xl);
  color: var(--color-white);
}

.hero-card--1 {
  top: 0;
  left: 0;
  right: 0;
  bottom: 20%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card--2 {
  bottom: 0;
  right: -20px;
  width: 70%;
  height: 35%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.hero-card--3 {
  bottom: 5%;
  left: -10px;
  width: 55%;
  height: 28%;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

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

.hero-stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-teal-light);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: var(--space-xs);
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-card-icon--teal {
  background: rgba(13, 148, 136, 0.2);
  color: var(--color-teal-light);
}

.hero-card-icon--gold {
  background: rgba(184, 134, 11, 0.2);
  color: var(--color-gold-light);
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section {
  padding: var(--space-5xl) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-md);
}

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

.section-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

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

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

.section-bg-dark .section-title {
  color: var(--color-white);
}

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

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

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  background: var(--color-teal-glow);
  color: var(--color-teal);
}

.service-card h3 {
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-teal);
  transition: gap var(--transition-fast);
}

.service-card .learn-more:hover {
  gap: var(--space-sm);
}

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

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy-light));
  padding: var(--space-3xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  text-align: center;
}

.stat-item {
  color: var(--color-white);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-teal-light);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-desc {
  font-size: 0.925rem;
  color: var(--color-text-light);
  font-weight: 500;
}

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

/* ============================================================
   ABOUT PREVIEW (Home)
   ============================================================ */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-preview-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy-light));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-preview-image-inner {
  text-align: center;
  color: var(--color-white);
  padding: var(--space-2xl);
}

.about-preview-image-inner .big-icon {
  font-size: 5rem;
  margin-bottom: var(--space-md);
  opacity: 0.9;
}

.about-preview-image-inner .tagline {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-weight: 500;
  font-size: 0.95rem;
}

.about-feature-icon {
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

@media (max-width: 900px) {
  .about-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.industry-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.industry-card:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.industry-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.industry-card h4 {
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
}

.industry-card p {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

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

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  line-height: 1;
  color: var(--color-teal);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin: var(--space-md) 0 var(--space-lg);
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

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

.testimonial-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

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

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-navy-deep) 0%, #0d3b5e 50%, var(--color-navy-deep) 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-5xl) 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 20% 50%, rgba(13, 148, 136, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(184, 134, 11, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

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

.cta-content p {
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
  font-size: 1.1rem;
  line-height: 1.8;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-navy-deep);
  color: var(--color-text-light);
  padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer-brand p {
  margin-top: var(--space-md);
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--color-gray-400);
}

.footer-heading {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  font-size: 0.925rem;
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  color: var(--color-gray-400);
}

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

.footer-bottom a {
  color: var(--color-gray-400);
}

.footer-bottom a:hover {
  color: var(--color-teal-light);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-xl);
}

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

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  background: var(--color-navy-deep);
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(13, 148, 136, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  color: var(--color-text-light);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb a {
  color: var(--color-teal-light);
}

.page-hero .breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero .breadcrumb span {
  margin: 0 var(--space-sm);
  opacity: 0.5;
}

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

.about-story-visual {
  background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy-light));
  border-radius: var(--radius-2xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 4rem;
}

.about-story-text h2 {
  margin-bottom: var(--space-lg);
}

.about-story-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

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

.value-card {
  text-align: center;
  padding: var(--space-2xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-teal-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--space-lg);
  color: var(--color-teal);
}

.value-card h3 {
  margin-bottom: var(--space-sm);
}

.value-card p {
  color: var(--color-text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-detailed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.service-detailed-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
}

.service-detailed-card:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-lg);
}

.service-detailed-card .service-icon-large {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

.service-detailed-card h3 {
  margin-bottom: var(--space-sm);
}

.service-detailed-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.service-feature-list {
  list-style: none;
}

.service-feature-list li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-xl);
  position: relative;
  color: var(--color-gray-600);
  font-size: 0.925rem;
}

.service-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-teal);
  border-radius: 50%;
}

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

/* ============================================================
   PROCESS / METHODOLOGY
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  counter-reset: process;
}

.process-step {
  position: relative;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-teal);
}

.process-step::before {
  counter-increment: process;
  content: '0' counter(process);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto var(--space-lg);
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.process-step p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.process-connector {
  display: none;
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

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

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

.contact-info > p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

.contact-detail {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-teal-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-teal);
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-detail p,
.contact-detail a {
  color: var(--color-text-muted);
  font-size: 0.925rem;
}

.contact-detail a:hover {
  color: var(--color-teal);
}

.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  color: var(--color-gray-700);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-gray-50);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px var(--color-teal-glow);
  background: var(--color-white);
}

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

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

/* ============================================================
   LEGAL PAGES (Privacy Policy & Terms)
   ============================================================ */
.legal-content {
  max-width: 850px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-border);
}

.legal-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-gray-700);
}

.legal-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
  color: var(--color-gray-600);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
  list-style: disc;
  color: var(--color-gray-600);
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
  padding-left: var(--space-xs);
}

.legal-content .effective-date {
  background: var(--color-gray-50);
  border-left: 3px solid var(--color-teal);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: var(--space-2xl);
  font-weight: 500;
  color: var(--color-gray-700);
}

.legal-content a {
  color: var(--color-teal);
  font-weight: 500;
}

.legal-content a:hover {
  text-decoration: underline;
  color: var(--color-teal-dark);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-teal { color: var(--color-teal); }
.text-gold { color: var(--color-gold); }
.text-muted { color: var(--color-text-muted); }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mt-4 { margin-top: var(--space-3xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

/* ============================================================
   RESPONSIVE IMAGES / PLACEHOLDER VISUALS
   ============================================================ */
.visual-placeholder {
  background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  color: rgba(255,255,255,0.3);
  font-size: 4rem;
  min-height: 200px;
}

/* Map placeholder */
.map-placeholder {
  background: linear-gradient(135deg, #e8f5f4, #d0ece9);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  color: var(--color-teal-dark);
  font-weight: 500;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  .cta-section,
  .nav-toggle,
  .hero-visual {
    display: none !important;
  }
  body {
    font-size: 12pt;
    color: #000;
  }
  .section {
    padding: 1rem 0;
  }
}

/* ============================================================
   FOCUS VISIBLE
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

/* ============================================================
   SELECTION
   ============================================================ */
::selection {
  background: var(--color-teal);
  color: var(--color-white);
}
