/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (Silicon Prime Painting)
   Adhering to SKILL.md: DESIGN_VARIANCE=8, MOTION_INTENSITY=6, VISUAL_DENSITY=4
   ========================================================================== */

:root {
  /* Brand Palette (Navy Blue, Crisp White, Accent Orange Saturation < 80%) */
  --color-primary: #0a1931;        /* Deep premium navy */
  --color-primary-light: #152e52;  /* Lighter navy for hover states/details */
  --color-accent: #d85604;         /* Rich orange accent (saturation ~80%) */
  --color-accent-hover: #b84600;   /* Deeper orange for hover tactile states */
  --color-bg: #ffffff;
  --color-bg-alt: #f7f9fc;         /* Crisp, slightly warm neutral alternative */
  --color-text: #2d3748;           /* Neutral slate for high legibility */
  --color-text-muted: #6b7280;     /* Muted slate for secondary text */
  --color-border: #e5e7eb;
  --color-border-light: rgba(255, 255, 255, 0.12);
  
  /* Glassmorphism Refraction tokens */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 32px 0 rgba(10, 25, 49, 0.05);

  /* Typography */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Cabin', sans-serif;

  /* Spacing (VISUAL_DENSITY = 4: spacious, luxury vibe) */
  --section-padding: 8rem 2rem;
  --container-max: 1280px;

  /* Easing */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1); /* Custom fluid spring-like transition */
  --transition-speed: 0.3s;
}

@media (max-width: 768px) {
  :root {
    --section-padding: 5rem 1.25rem;
  }
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem; /* Matches sticky header height */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Subtle premium grain noise overlay (SKILL.md: performance constraint) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.015;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-speed) var(--ease-spring);
}

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

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

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

.asymmetric-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .asymmetric-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   TYPOGRAPHY SPECIFICS (Determinism & Anti-Slop)
   ========================================================================== */

.display-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.2rem;
  max-width: 60ch;
  margin-bottom: 2rem;
}

/* Line decoration instead of card boxed grids */
.asymmetric-header {
  border-left: 4px solid var(--color-accent);
  padding-left: 1.5rem;
  margin-bottom: 4rem;
}

/* ==========================================================================
   BUTTONS & CALLS TO ACTION (Interactive states)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 4px; /* Clean structured look */
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), background-color 0.2s var(--ease-spring), border-color 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-spring);
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-bg);
  box-shadow: 0 4px 14px rgba(216, 86, 4, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 86, 4, 0.35);
}

/* Tactile push feedback */
.btn:active {
  transform: translateY(1px) scale(0.98);
}

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

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
  transform: translateY(-2px);
}

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

.btn-outline-white:hover {
  background-color: var(--color-bg);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.icon-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   HEADER / STICKY NAVIGATION
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5.5rem;
  z-index: 1000;
  transition: all 0.3s var(--ease-spring);
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header.scrolled {
  height: 4.75rem;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

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

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-accent {
  color: var(--color-accent);
}

.logo-img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
  transition: transform 0.3s var(--ease-spring);
}

.logo-text:hover .logo-img {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary-light);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s var(--ease-spring);
}

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

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

/* Menu Toggle Button (Mobile) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 5px 0;
  transition: all 0.3s var(--ease-spring);
}

/* Open states for toggle */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

  .nav-menu {
    position: fixed;
    top: 5.5rem;
    left: 0;
    width: 100%;
    height: calc(100dvh - 5.5rem);
    background-color: var(--color-bg);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-spring);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    align-items: flex-start;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .header.scrolled .nav-menu {
    top: 4.75rem;
    height: calc(100dvh - 4.75rem);
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  min-height: 100dvh; /* Viewport stability */
  padding-top: 8rem;
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  background-color: var(--color-bg-alt);
  position: relative;
}

.hero-content {
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-text-block {
  max-width: 650px;
}

.hero-tagline {
  font-family: var(--font-title);
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-image-block {
  position: relative;
  height: 520px;
  width: 100%;
}

.hero-image-container {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 25, 49, 0.12);
  border: 1px solid var(--color-border);
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating aesthetic detail for variance 8 */
.hero-image-badge {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background-color: var(--color-primary);
  color: var(--color-bg);
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  max-width: 250px;
  z-index: 3;
  border-top: 3px solid var(--color-accent);
}

.hero-image-badge p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.4;
}

.hero-image-badge span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  display: block;
  color: var(--color-bg);
  margin-bottom: 0.25rem;
}

/* Trust badges banner */
.hero-trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-badge-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.trust-badge-text {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-image-block {
    height: 400px;
  }
  .hero-image-badge {
    bottom: -1rem;
    left: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 7rem;
  }
  .hero-image-badge {
    display: none; /* Fallback viewport override */
  }
  .hero-trust-badges {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* Custom visual_density 4 grid item - breathing room, negative space instead of cards */
.service-card {
  padding: 2rem;
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  transition: all var(--transition-speed) var(--ease-spring);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  border-top-color: var(--color-accent);
  background-color: var(--color-bg-alt);
  transform: translateY(-4px);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 4px;
  background-color: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  transition: all 0.3s var(--ease-spring);
}

.service-card:hover .service-icon {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-text {
  max-width: 650px;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-accent-box {
  background-color: var(--color-primary);
  color: var(--color-bg);
  padding: 3rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--color-accent);
}

.about-accent-box h3 {
  color: var(--color-bg);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.about-accent-box p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.why-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.why-item-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

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

/* ==========================================================================
   PROCESS SECTION (Timeline Flow)
   ========================================================================== */

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background-color: var(--color-border);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: left;
}

.process-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--color-bg);
  border: 3px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s var(--ease-spring);
}

.process-step:hover .process-number {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: scale(1.05);
}

.process-step-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process-step-desc {
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .process-timeline::before {
    display: none;
  }
}

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

/* ==========================================================================
   GALLERY SECTION (Asymmetric Masonry, Layout Variance 8)
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.03);
  border: 1px solid var(--color-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(10, 25, 49, 0.8) 0%, rgba(10, 25, 49, 0.2) 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-spring);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--color-bg);
}

.gallery-tag {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.gallery-caption {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

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

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(216, 86, 4, 0.9);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s var(--ease-spring);
  pointer-events: none;
}

.gallery-item:hover .video-play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--color-primary);
}

.video-play-button svg {
  margin-left: 4px;
}

/* Asymmetric span rules for grid */
.gallery-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 3; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 3; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery-item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .gallery-item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(6) { grid-column: span 4; grid-row: span 1; }
}

@media (max-width: 768px) {
  /* Fall back to strict single column */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
  .gallery-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

.gallery-footer-text {
  text-align: center;
  margin-top: 3rem;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.testimonial-card {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before {
  content: "“";
  font-family: var(--font-title);
  font-size: 4rem;
  color: rgba(216, 86, 4, 0.15);
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  line-height: 1;
}

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

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--color-accent);
}

@media (max-width: 968px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   SERVICE AREA SECTION
   ========================================================================== */

.service-area-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.area-tag {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  transition: all 0.3s var(--ease-spring);
}

.area-tag:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

@media (max-width: 968px) {
  .service-area-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   CONTACT SECTION & FORM (Interactive states, Form rules)
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.contact-detail-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--color-bg-alt);
  border-radius: 4px;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

.contact-detail-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

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

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

/* Contact Form styling (Labels above inputs, standard Gap 2) */
.contact-form {
  background-color: var(--color-bg);
  padding: 3rem;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(10, 25, 49, 0.05);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* Gap-2 equivalent (8px) */
  margin-bottom: 1.5rem;
}

.form-group label {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.form-control {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  outline: none;
  background-color: var(--color-bg-alt);
  color: var(--color-text);
  transition: all 0.3s var(--ease-spring);
}

.form-control:focus {
  border-color: var(--color-accent);
  background-color: var(--color-bg);
  box-shadow: 0 0 0 3px rgba(216, 86, 4, 0.1);
}

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

/* Form states classes */
.form-submit-container {
  margin-top: 2rem;
}

/* Success Card with feedback animation */
.form-success-message {
  display: none;
  text-align: center;
  padding: 2rem;
  animation: fadeInScale 0.4s var(--ease-spring) forwards;
}

.form-success-message svg {
  color: #10b981;
  margin-bottom: 1.5rem;
}

.form-success-message h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.form-success-message p {
  font-size: 1.05rem;
}

/* Skeletal/Loading overlay state */
.form-loading-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 10;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}

.loading-skeleton-pulse {
  width: 3rem;
  height: 3rem;
  border: 3px solid rgba(216, 86, 4, 0.2);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 968px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .contact-form {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--color-accent);
  font-size: 0.95rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 0.8fr) 0.9fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  color: var(--color-bg);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--color-bg);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

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

.footer-link a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-link a:hover {
  color: var(--color-accent);
  padding-left: 0.25rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
}

.footer-contact-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact-item a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.9rem;
}

.footer-license {
  font-family: var(--font-title);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

@media (max-width: 968px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   SCROLL TRIGGERS & REVEAL ANIMATIONS (Spring style)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring);
  will-change: transform, opacity;
}

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

/* Stagger delay classes */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
