/* ========================================
   Custom Properties
   ======================================== */

:root {
  --color-charcoal: #1C1C1C;
  --color-charcoal-light: #262626;
  --color-charcoal-deep: #141414;
  --color-parchment: #F5F0EB;
  --color-white: #FFFFFF;
  --color-ember: #C45B28;
  --color-ember-light: #D4722F;
  --color-ember-glow: rgba(196, 91, 40, 0.25);
  --color-timber: #8B7355;
  --color-timber-light: #A68E6E;
  --color-text-dark: #1C1C1C;
  --color-text-light: #F5F0EB;
  --color-text-muted: #6B6B6B;
  --color-border-dark: rgba(255, 255, 255, 0.1);
  --color-border-light: rgba(28, 28, 28, 0.1);

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

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  --max-width: 1200px;
  --nav-height: 72px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}


/* ========================================
   Reset & Base
   ======================================== */

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

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

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

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

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

fieldset {
  border: none;
}

legend {
  display: block;
}


/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
}

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


/* ========================================
   Layout
   ======================================== */

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

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

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

.dark-section {
  background-color: var(--color-charcoal);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
}


/* ========================================
   Noise Texture Overlay
   ======================================== */

.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 1;
}


/* ========================================
   Section Headers
   ======================================== */

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ember);
  margin-bottom: var(--space-sm);
}

.section-label--light {
  color: var(--color-ember-light);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.accent-line {
  width: 60px;
  height: 3px;
  background: var(--color-ember);
  margin: 0 auto;
  border-radius: 2px;
}

.section-sub {
  color: rgba(245, 240, 235, 0.6);
  font-size: 1.05rem;
  max-width: 520px;
  margin: var(--space-md) auto 0;
}


/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-ember);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(196, 91, 40, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-ember-light);
  box-shadow: 0 4px 20px var(--color-ember-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid rgba(245, 240, 235, 0.3);
}

.btn-ghost:hover {
  border-color: var(--color-text-light);
  background: rgba(245, 240, 235, 0.06);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}


/* ========================================
   Navigation
   ======================================== */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

#site-header.scrolled {
  background-color: rgba(28, 28, 28, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-ember);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-light);
  z-index: 10;
}

.logo-cap {
  width: 30px;
  height: auto;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-timber-light);
  line-height: 1.4;
  margin-top: 2px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.75);
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--color-text-light);
}

.nav-links .btn {
  color: var(--color-white);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-light);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.35s ease;
  transform-origin: center;
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 28, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu li {
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.open li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open li:nth-child(2) { transition-delay: 0.18s; }
.mobile-menu.open li:nth-child(3) { transition-delay: 0.26s; }
.mobile-menu.open li:nth-child(4) { transition-delay: 0.34s; }

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-text-light);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--color-ember);
}


/* ========================================
   Hero
   ======================================== */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 2rem) 0 6rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.15s; }
.hero-content > *:nth-child(2) { animation-delay: 0.35s; }
.hero-content > *:nth-child(3) { animation-delay: 0.55s; }
.hero-content > *:nth-child(4) { animation-delay: 0.75s; }
.hero-content > *:nth-child(5) { animation-delay: 0.95s; }

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-timber-light);
  margin-bottom: var(--space-md);
}

#hero h1 {
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(245, 240, 235, 0.65);
  margin-bottom: var(--space-lg);
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-accent-line {
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-ember), transparent);
  border-radius: 2px;
  margin-top: var(--space-lg);
  animation: lineGrow 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1.3s forwards;
}

@keyframes lineGrow {
  to {
    width: 120px;
  }
}

/* Forge Sparks */
.hero-sparks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-sparks span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--color-ember);
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(196, 91, 40, 0.5);
  opacity: 0;
  animation: sparkRise var(--dur, 3.5s) ease-out var(--delay, 0s) infinite;
}

@keyframes sparkRise {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(1);
  }
  8% {
    opacity: 0.9;
  }
  80% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateY(-140px) translateX(var(--drift, 10px)) scale(0.2);
  }
}


/* ========================================
   Services
   ======================================== */

#services {
  position: relative;
}

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

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--color-border-light);
  border-left: 3px solid transparent;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.service-card:hover {
  border-left-color: var(--color-ember);
  box-shadow: 0 8px 40px rgba(28, 28, 28, 0.08);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  color: var(--color-ember);
}

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

.service-card h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
  color: var(--color-text-dark);
}

.service-lead {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

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

.service-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--color-border-light);
}

.service-list li:last-child {
  padding-bottom: 0;
}

.service-list strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.2rem;
}

.service-list span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}


/* ========================================
   About
   ======================================== */

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: var(--space-xl);
}

.about-lead {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--color-text-dark);
  margin-bottom: 1.25rem;
}

.about-text p:not(.about-lead) {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.about-image-placeholder {
  aspect-ratio: 4 / 5;
  background: var(--color-parchment);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 2px dashed var(--color-border-light);
}

.about-image-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--color-timber);
}

.about-image-placeholder span {
  font-size: 0.85rem;
  color: var(--color-timber);
  font-weight: 500;
}

/* Trust Badges */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

.badge {
  text-align: center;
}

.badge-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-sm);
  color: var(--color-ember);
}

.badge-icon svg {
  width: 100%;
  height: 100%;
}

.badge strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--color-text-dark);
}

.badge span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}


/* ========================================
   Portfolio
   ======================================== */

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

.portfolio-card {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: hsl(var(--card-hue, 25), 12%, 18%);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Subtle crosshatch pattern for placeholders */
.portfolio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(139, 115, 85, 0.5) 10px,
      rgba(139, 115, 85, 0.5) 11px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(139, 115, 85, 0.5) 10px,
      rgba(139, 115, 85, 0.5) 11px
    );
  z-index: 1;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.portfolio-card-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(20, 20, 20, 0.85) 0%, transparent 60%);
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ember-light);
  margin-bottom: 0.35rem;
}

.portfolio-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: 0.15rem;
}

.portfolio-location {
  font-size: 0.8rem;
  color: rgba(245, 240, 235, 0.5);
}


/* ========================================
   Testimonials
   ======================================== */

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

.testimonial-card {
  background: var(--color-parchment);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(28, 28, 28, 0.08);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--color-ember);
}

.quote-mark {
  width: 28px;
  height: 28px;
  color: var(--color-ember);
  opacity: 0.25;
  margin-bottom: 0.75rem;
}

.testimonial-card blockquote p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-dark);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

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


/* ========================================
   Contact / Quote Form
   ======================================== */

/* (styles below) */


/* ========================================
   FAQ
   ======================================== */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--color-border-light);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text-dark);
  transition: color 0.3s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: '';
}

.faq-item summary:hover {
  color: var(--color-ember);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-timber);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}




#contact {
  padding: var(--space-xl) 0 var(--space-2xl);
  padding-top: var(--space-xl);
}

#contact .section-header {
  position: relative;
  z-index: 2;
}

.quote-form {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label,
.form-group legend {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(245, 240, 235, 0.6);
  margin-bottom: 0.5rem;
}

.required {
  color: var(--color-ember);
}

.optional {
  font-weight: 400;
  color: rgba(245, 240, 235, 0.35);
  font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 240, 235, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-ember);
  box-shadow: 0 0 0 3px rgba(196, 91, 40, 0.15);
}

.form-group input.form-error,
.form-group select.form-error,
.form-group textarea.form-error,
fieldset.form-error {
  border-color: #c0392b;
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A68E6E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--color-charcoal);
  color: var(--color-text-light);
}

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

/* Radio Buttons */
.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.25rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: rgba(245, 240, 235, 0.75);
  transition: color 0.3s;
}

.radio-label:hover {
  color: var(--color-text-light);
}

.radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.3s;
}

.radio-label input[type="radio"]:checked + .radio-custom {
  border-color: var(--color-ember);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--color-ember);
  border-radius: 50%;
}

.radio-label input[type="radio"]:focus-visible + .radio-custom {
  box-shadow: 0 0 0 3px rgba(196, 91, 40, 0.3);
}

/* File Upload */
.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}

.file-upload-label:hover,
.file-upload-label.has-file {
  border-color: var(--color-ember);
  background: rgba(196, 91, 40, 0.05);
}

.file-upload-label svg {
  width: 28px;
  height: 28px;
  color: var(--color-timber-light);
  margin-bottom: 0.5rem;
}

.file-upload-label .file-name {
  font-size: 0.9rem;
  color: rgba(245, 240, 235, 0.6);
}

.file-upload-label.has-file .file-name {
  color: var(--color-ember-light);
  font-weight: 500;
}

.file-upload-label .file-types {
  font-size: 0.75rem;
  color: rgba(245, 240, 235, 0.3);
  margin-top: 0.25rem;
}

.form-full {
  max-width: 900px;
}

/* Submit Button */
.btn-submit {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: var(--space-md) auto 0;
}

/* Error Messages */
.error-message {
  display: block;
  font-size: 0.8rem;
  color: #e74c3c;
  margin-top: 0.35rem;
}

/* Success State */
.form-success {
  text-align: center;
  padding: var(--space-lg) 0;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-ember-light);
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: rgba(245, 240, 235, 0.7);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}


/* ========================================
   Footer
   ======================================== */

#footer {
  background: var(--color-charcoal-deep);
  color: var(--color-text-light);
  padding: var(--space-xl) 0 var(--space-lg);
}

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

.footer-brand .logo--footer {
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(245, 240, 235, 0.45);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-timber-light);
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  font-size: 0.9rem;
  color: rgba(245, 240, 235, 0.55);
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: rgba(245, 240, 235, 0.55);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--color-ember-light);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: var(--space-sm);
}

.footer-social a {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(245, 240, 235, 0.5);
  transition: all 0.3s;
}

.footer-social a:hover {
  border-color: var(--color-ember);
  color: var(--color-ember-light);
  background: rgba(196, 91, 40, 0.1);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(245, 240, 235, 0.3);
  margin: 0;
}


/* ========================================
   Scroll Reveal Animations
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Stagger children within grid containers */
.services-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.portfolio-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.portfolio-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.portfolio-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.portfolio-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.portfolio-grid .reveal:nth-child(6) { transition-delay: 0.5s; }
.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.24s; }
.trust-badges .badge:nth-child(2) { transition-delay: 0.1s; }
.trust-badges .badge:nth-child(3) { transition-delay: 0.2s; }


/* ========================================
   Reduced Motion
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-content > * {
    opacity: 1;
    transform: none;
  }

  .hero-accent-line {
    width: 120px;
  }
}


/* ========================================
   Responsive — Tablet
   ======================================== */

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

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .about-image-placeholder {
    aspect-ratio: 16 / 9;
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}


/* ========================================
   Responsive — Mobile
   ======================================== */

@media (max-width: 768px) {
  :root {
    --space-xl: 3.5rem;
    --space-2xl: 5rem;
    --nav-height: 64px;
  }

  .container {
    padding: 0 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  #hero {
    padding: calc(var(--nav-height) + 1.5rem) 0 4rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    text-align: center;
  }

  #services {
    position: relative;
  }

  .service-card {
    padding: 1.75rem;
  }

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

  .trust-badges {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
  }

  .badge {
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 0 1rem;
    text-align: left;
  }

  .badge-icon {
    grid-row: 1 / 3;
    margin: 0;
  }

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

  #contact {
    padding-top: var(--space-xl);
  }

  .radio-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .logo-sub {
    display: none;
  }

  .mobile-menu a {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }

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

  .hero-sparks span {
    display: none;
  }

  .hero-sparks span:nth-child(-n+4) {
    display: block;
  }
}
