/* =============================================================================
   KCL Interiors Limited — global.css
   Shared reset, tokens, utilities, components across all pages
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Google Fonts are imported per-theme in residential.css / commercial.css
   --------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES — Residential defaults, overridden by .theme-commercial
   --------------------------------------------------------------------------- */
:root {
  /* Brand */
  --color-bg:        #FAFAF5;
  --color-surface:   #F5F0EB;
  --color-brand:     #1B2A41;
  --color-accent:    #C9A96E;
  --color-accent-hv: #8B6F47;
  --color-text:      #2C2C2C;
  --color-text-inv:  #FAFAF5;
  --color-trust:     #2D6A4F;

  /* Landing */
  --color-landing-bg: #0A1628;

  /* Typography */
  --font-heading:  'DM Serif Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;

  /* Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* 8px spacing grid */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-7:  56px;
  --sp-8:  64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-15: 120px;

  /* Components */
  --radius:        4px;
  --shadow-card:   0 2px 16px rgba(0,0,0,0.06);
  --shadow-raised: 0 8px 32px rgba(0,0,0,0.12);
  --transition:    0.3s ease;

  /* Container */
  --container-max: 1280px;
  --container-px:  24px;
}

/* Commercial theme overrides */
.theme-commercial {
  --color-bg:        #FFFFFF;
  --color-surface:   #F7F7F7;
  --color-brand:     #1A1A2E;
  --color-accent:    #D4541E;
  --color-accent-hv: #B03D10;
  --color-text:      #333333;
  --color-text-inv:  #FFFFFF;
  --color-trust:     #2D6A4F;

  --font-heading: 'Source Serif 4', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
}

/* ---------------------------------------------------------------------------
   CSS RESET
   --------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

p {
  max-width: 650px;
  letter-spacing: 0.3px;
}

/* ---------------------------------------------------------------------------
   SKIP TO CONTENT
   --------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-3);
  background: var(--color-accent);
  color: #fff;
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: var(--sp-1);
}

/* ---------------------------------------------------------------------------
   CONTAINER & LAYOUT UTILITIES
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section-pad {
  padding: var(--sp-8) 0;
}

@media (min-width: 1280px) {
  .section-pad {
    padding: var(--sp-12) 0;
  }
}

.grid-2 {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1280px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

/* ---------------------------------------------------------------------------
   TYPOGRAPHY UTILITIES
   --------------------------------------------------------------------------- */
.heading-xl {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  letter-spacing: -1px;
}
@media (min-width: 768px) {
  .heading-xl { font-size: var(--text-5xl); }
}
@media (min-width: 1280px) {
  .heading-xl { font-size: var(--text-6xl); }
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  letter-spacing: -1px;
}
@media (min-width: 768px) {
  .heading-lg { font-size: var(--text-4xl); }
}

.heading-md {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  letter-spacing: -0.5px;
}

.heading-sm {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
}

.body-lg {
  font-size: var(--text-lg);
  line-height: 1.7;
}

.label-caps {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px var(--sp-4);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background-color var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

/* Primary: filled accent */
.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-accent-hv);
  border-color: var(--color-accent-hv);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Secondary: filled brand */
.btn-secondary {
  background-color: var(--color-brand);
  color: var(--color-text-inv);
  border-color: var(--color-brand);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Outline: transparent with accent border */
.btn-outline {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Ghost: transparent white border */
.btn-ghost {
  background-color: transparent;
  color: var(--color-text-inv);
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ---------------------------------------------------------------------------
   CARDS
   --------------------------------------------------------------------------- */
.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--sp-4);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

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

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--sp-3);
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--sp-1);
}

.card-body {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
}

/* ---------------------------------------------------------------------------
   SCROLL ANIMATIONS — fade-up
   --------------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger delays */
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ---------------------------------------------------------------------------
   STICKY NAV — shared structure
   --------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-inline: var(--container-px);
  max-width: var(--container-max);
  margin-inline: auto;
}

.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
}

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

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

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color var(--transition);
  text-decoration: none;
}

/* Hamburger toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--sp-1);
  background: none;
  border: none;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-inv);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  background: var(--color-brand);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-text-inv);
  text-decoration: none;
}

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

/* ---------------------------------------------------------------------------
   FOOTER — base structure
   --------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-brand);
  color: var(--color-text-inv);
  padding: var(--sp-12) 0 var(--sp-6);
}

.footer-grid {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: 1fr;
}

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

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  margin-top: var(--sp-2);
  max-width: 360px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: var(--sp-2);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-2);
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: var(--sp-8);
  padding-top: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  align-items: center;
  text-align: center;
}

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

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

/* ---------------------------------------------------------------------------
   TRUST / BADGE BAR
   --------------------------------------------------------------------------- */
.trust-bar {
  background: var(--color-brand);
  padding: var(--sp-2) var(--sp-3);
  text-align: center;
}

.trust-bar p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  max-width: none;
}

.trust-bar strong {
  color: var(--color-accent);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-6) 0;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
}

.trust-badge-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: #fff;
}

.trust-badge-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
}

/* ---------------------------------------------------------------------------
   SECTION HEADERS (reusable pattern)
   --------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.section-header .eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-2);
  display: block;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  letter-spacing: -1px;
  color: var(--color-brand);
  margin-bottom: var(--sp-2);
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: var(--text-4xl);
  }
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-inline: auto;
}

/* ---------------------------------------------------------------------------
   FORMS — shared base styles
   --------------------------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--sp-3);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px var(--sp-2);
  border: 1.5px solid #D1D5DB;
  border-radius: var(--radius);
  font-size: var(--text-base);
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
  outline: none;
}

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

.field-error {
  color: #DC2626;
  font-size: var(--text-xs);
  margin-top: 4px;
  display: none;
}

.field-error.visible {
  display: block;
}

input.error,
textarea.error,
select.error {
  border-color: #DC2626;
}

.form-success {
  background: #D1FAE5;
  border: 1px solid #10B981;
  border-radius: var(--radius);
  padding: var(--sp-4);
  text-align: center;
  color: #065F46;
  font-weight: 500;
  display: none;
}

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

/* ---------------------------------------------------------------------------
   CTA BANNER — shared
   --------------------------------------------------------------------------- */
.cta-banner {
  padding: var(--sp-12) 0;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  letter-spacing: -1px;
  margin-bottom: var(--sp-2);
}

@media (min-width: 768px) {
  .cta-banner h2 {
    font-size: var(--text-4xl);
  }
}

.cta-banner p {
  font-size: var(--text-lg);
  margin-inline: auto;
  margin-bottom: var(--sp-5);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
}

/* ---------------------------------------------------------------------------
   HERO — shared base
   --------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,65,0.85) 0%, rgba(27,42,65,0.5) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: var(--sp-15) 0 var(--sp-12);
}

.page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: var(--sp-3);
}

@media (min-width: 768px) {
  .page-hero-content h1 {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 1280px) {
  .page-hero-content h1 {
    font-size: var(--text-6xl);
  }
}

.page-hero-content p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin-bottom: var(--sp-5);
}

/* ---------------------------------------------------------------------------
   PROCESS TIMELINE
   --------------------------------------------------------------------------- */
.process-steps {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
  counter-reset: process;
}

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

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

.process-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--sp-3);
  font-weight: 400;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin-bottom: var(--sp-1);
  color: var(--color-brand);
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-inline: auto;
}

/* ---------------------------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}

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

.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow-card);
}

.testimonial-stars {
  color: #1B2A41;
  font-size: var(--text-lg);
  margin-bottom: var(--sp-2);
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: var(--sp-3);
}

.testimonial-author {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-brand);
}

.testimonial-location {
  font-size: var(--text-xs);
  color: rgba(44,44,44,0.6);
}

/* ---------------------------------------------------------------------------
   PORTFOLIO / FILTER TABS
   --------------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  justify-content: center;
  margin-bottom: var(--sp-6);
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--color-brand);
  border-radius: 2px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-brand);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--color-brand);
  color: var(--color-text-inv);
}

.portfolio-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(2, 1fr);
}

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

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

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

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-3);
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item-label {
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 500;
}

.portfolio-item.hidden {
  display: none;
}

/* ---------------------------------------------------------------------------
   LIGHTBOX
   --------------------------------------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  color: #fff;
  font-size: var(--text-3xl);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
}

/* ---------------------------------------------------------------------------
   ALTERNATING SECTIONS (Services detail pages)
   --------------------------------------------------------------------------- */
.alt-section {
  padding: var(--sp-12) 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.alt-section:last-child {
  border-bottom: none;
}

.alt-grid {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
  grid-template-columns: 1fr;
}

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

  .alt-grid.reverse {
    direction: rtl;
  }

  .alt-grid.reverse > * {
    direction: ltr;
  }
}

.alt-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

.alt-content .eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-2);
  display: block;
}

.alt-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  letter-spacing: -1px;
  color: var(--color-brand);
  margin-bottom: var(--sp-3);
}

.alt-content p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--sp-3);
}

.alt-content ul {
  list-style: none;
  margin-bottom: var(--sp-4);
}

.alt-content ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--text-base);
  color: var(--color-text);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.alt-content ul li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------------------------------------------------------------------------
   CONTACT PAGE LAYOUT
   --------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: 1fr;
}

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

.contact-info-block {
  background: var(--color-brand);
  color: #fff;
  border-radius: var(--radius);
  padding: var(--sp-6);
}

.contact-info-block h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: #fff;
  margin-bottom: var(--sp-4);
}

.contact-detail {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  margin-bottom: var(--sp-3);
}

.contact-detail-icon {
  font-size: var(--text-xl);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail p {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-base);
}

.contact-detail a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   ABOUT PAGE
   --------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}

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

.team-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.team-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.team-card-body {
  padding: var(--sp-4);
  background: var(--color-surface);
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-brand);
  margin-bottom: 4px;
}

.team-card-role {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--sp-2);
}

.team-card-bio {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.6;
}

/* ---------------------------------------------------------------------------
   RESPONSIVE UTILITIES
   --------------------------------------------------------------------------- */
.hide-mobile {
  display: none;
}
@media (min-width: 768px) {
  .hide-mobile { display: block; }
  .hide-desktop { display: none; }
}
