/* ====================================================================
   ASH ROOFING — MAIN STYLESHEET
   All design tokens, components, and page styles in one file.
   ==================================================================== */

/* ====================================================================
   1. DESIGN TOKENS (CSS Variables)
   ==================================================================== */
:root {
  /* Colors */
  --carbon: #0F1115;
  --slate: #1C1F26;
  --rust: #C8501E;
  --rust-dark: #9B3E17;
  --rust-light: #E2733F;
  --bone: #F5F1EA;
  --clay: #E8DFD0;
  --line: rgba(15, 17, 21, 0.1);
  --line-dark: rgba(245, 241, 234, 0.15);

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter Tight', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* Layout */
  --max-width: 1280px;
  --radius: 0;

  /* Transitions */
  --t-fast: 0.2s ease;
  --t-base: 0.3s ease;
  --t-slow: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ====================================================================
   2. RESET & BASE
   ==================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--carbon);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; }

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

/* Mobile body padding for sticky call bar */
@media (max-width: 768px) {
  body { padding-bottom: 64px; }
}

/* ====================================================================
   3. UTILITY CLASSES
   ==================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.font-display { font-family: var(--font-display); }
.italic { font-style: italic; }
.text-rust { color: var(--rust); }
.text-bone { color: var(--bone); }
.text-carbon { color: var(--carbon); }
.bg-carbon { background: var(--carbon); }
.bg-bone { background: var(--bone); }
.bg-clay { background: var(--clay); }
.bg-rust { background: var(--rust); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.eyebrow::before { content: '— '; }

/* ====================================================================
   4. TOP STRIP
   ==================================================================== */
.top-strip {
  background: var(--carbon);
  color: var(--bone);
  font-size: 0.8125rem;
}

.top-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2) var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.top-strip-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.top-strip-status-text-mobile { display: inline; }
.top-strip-status-text-full { display: none; }
@media (min-width: 640px) {
  .top-strip-status-text-mobile { display: none; }
  .top-strip-status-text-full { display: inline; }
}

.pulse-dot-wrap {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
}

.pulse-dot-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--rust);
  opacity: 0.75;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-dot-core {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--rust);
}

@keyframes ping {
  75%, 100% { transform: scale(2.5); opacity: 0; }
}

.top-strip-contacts {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.top-strip-email { display: none; }
@media (min-width: 768px) {
  .top-strip-email { display: inline; }
}

.top-strip a:hover { color: var(--rust); transition: color var(--t-fast); }

/* ====================================================================
   5. HEADER / NAVIGATION
   ==================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

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

.brand-mark {
  width: 44px;
  height: 44px;
  background: var(--carbon);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--bone);
  font-size: 1.125rem;
  line-height: 1;
}

.brand-text { display: none; }
@media (min-width: 640px) { .brand-text { display: block; } }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--carbon);
}

.brand-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(15, 17, 21, 0.6);
}

/* Desktop nav */
.main-nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

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

.nav-link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--carbon);
  padding: var(--space-2) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--rust);
  transition: width var(--t-base);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after { width: 100%; }

.nav-link[aria-current="page"] { color: var(--rust); }

/* CTA in header */
.btn-header {
  display: none;
  align-items: center;
  gap: var(--space-2);
  background: var(--carbon);
  color: var(--bone);
  padding: var(--space-3) var(--space-5);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--t-base);
}

.btn-header:hover { background: var(--rust); }

.btn-header svg { transition: transform var(--t-base); }
.btn-header:hover svg { transform: translateX(4px); }

@media (min-width: 768px) { .btn-header { display: inline-flex; } }

/* Mobile menu toggle */
.menu-toggle {
  display: inline-flex;
  background: transparent;
  border: 0;
  padding: var(--space-2);
  color: var(--carbon);
}

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

/* Mobile menu panel */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bone);
}

.mobile-menu.is-open { display: block; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  gap: var(--space-3);
}

.mobile-menu nav a {
  padding: var(--space-2) 0;
  color: var(--carbon);
  font-weight: 500;
}

.mobile-menu .btn-mobile {
  background: var(--carbon);
  color: var(--bone);
  padding: var(--space-3) var(--space-5);
  text-align: center;
  margin-top: var(--space-2);
}

@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ====================================================================
   6. HERO SECTION
   ==================================================================== */
.hero {
  position: relative;
  background: var(--bone);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-10) var(--space-4) var(--space-12);
}

@media (min-width: 1024px) {
  .hero-inner { padding: 5rem var(--space-4) 8rem; }
}

.hero-grid {
  display: grid;
  gap: var(--space-8);
  align-items: end;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: var(--space-10);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--carbon);
  color: var(--bone);
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-8);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--rust);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(200, 80, 30, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(200, 80, 30, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 80, 30, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.hero-title .italic {
  font-weight: 300;
}

.hero-title .text-rust {
  color: var(--rust);
}

.hero-lead {
  margin-top: var(--space-6);
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(15, 17, 21, 0.75);
  max-width: 32rem;
}

@media (min-width: 1024px) {
  .hero-lead { font-size: 1.25rem; }
}

.hero-actions {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 1.125rem 2rem;
  font-weight: 500;
  transition: all var(--t-base);
  border: 0;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: var(--rust);
  color: var(--bone);
}
.btn-primary:hover { background: var(--rust-dark); }

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

.hero-trust {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-8);
  font-size: 0.875rem;
  color: rgba(15, 17, 21, 0.7);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

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

/* Hero image card */
.hero-card {
  position: relative;
}

.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--carbon);
  overflow: hidden;
}

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

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 17, 21, 0.85), transparent 60%);
}

.hero-stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-6);
  color: var(--bone);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  border-top: 1px solid rgba(245, 241, 234, 0.3);
  padding-top: var(--space-5);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
}

@media (min-width: 1024px) {
  .hero-stat-num { font-size: 2.5rem; }
}

.hero-stat-label {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: var(--space-2);
}

.hero-floating-badge {
  display: none;
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  background: var(--rust);
  color: var(--bone);
  padding: var(--space-5);
  transform: rotate(-4deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

@media (min-width: 640px) { .hero-floating-badge { display: block; } }
@media (min-width: 1024px) { .hero-floating-badge { left: -3rem; } }

.hero-floating-badge-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
}

.hero-floating-badge-label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: var(--space-1);
}

/* ====================================================================
   7. MARQUEE
   ==================================================================== */
.marquee {
  background: var(--carbon);
  color: var(--bone);
  padding: var(--space-4) 0;
  overflow: hidden;
  border-top: 1px solid var(--carbon);
  border-bottom: 1px solid var(--carbon);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: scroll-x 40s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  padding: 0 var(--space-5);
  font-family: var(--font-display);
  font-size: 1.5rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .marquee-content { font-size: 1.875rem; }
}

.marquee-star { color: var(--rust); }

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ====================================================================
   8. SECTIONS
   ==================================================================== */
.section {
  padding: var(--space-12) 0;
}

@media (min-width: 1024px) {
  .section { padding: 8rem 0; }
}

.section-header {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

@media (min-width: 1024px) {
  .section-header {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: end;
  }
}

.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
}

.section-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(15, 17, 21, 0.75);
}

/* Dark sections */
.section--dark {
  background: var(--carbon);
  color: var(--bone);
}

.section--dark .section-lead { color: rgba(245, 241, 234, 0.7); }

/* Clay sections */
.section--clay { background: var(--clay); }

/* ====================================================================
   9. SERVICES GRID
   ==================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

.service-card {
  background: var(--bone);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: all var(--t-slow);
  cursor: pointer;
}

@media (min-width: 1024px) { .service-card { padding: 2.5rem; } }

.service-card:hover {
  transform: translateY(-6px);
  background: var(--carbon);
  color: var(--bone);
}

.service-card:hover .service-num { color: var(--rust); }
.service-card:hover .service-arrow {
  transform: translateX(6px);
  color: var(--rust);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-12);
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: rgba(15, 17, 21, 0.3);
  transition: color var(--t-base);
}

.service-arrow {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform var(--t-base), color var(--t-base);
}

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

.service-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.75;
}

/* Emergency variant */
.service-card--emergency {
  background: var(--carbon);
  color: var(--bone);
  position: relative;
}

.service-card--emergency:hover { background: var(--slate); }
.service-card--emergency .service-num { color: var(--rust); }
.service-card--emergency .service-arrow { color: var(--rust); }

.service-emergency-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
}

.service-emergency-badge .pulse-dot-core { width: 6px; height: 6px; }

.service-cta {
  margin-top: var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--rust);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Additional services list */
.additional-services {
  margin-top: var(--space-8);
  padding: var(--space-8);
  border: 1px solid var(--line);
  background: rgba(232, 223, 208, 0.4);
}

.additional-services-title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(15, 17, 21, 0.6);
  margin-bottom: var(--space-4);
}

.additional-services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2) var(--space-8);
  color: rgba(15, 17, 21, 0.85);
  font-size: 0.9375rem;
}

@media (min-width: 640px) { .additional-services-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .additional-services-list { grid-template-columns: repeat(3, 1fr); } }

/* ====================================================================
   10. WHY US GRID
   ==================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}

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

.why-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

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

.why-feature {
  border-top: 1px solid var(--line-dark);
  padding-top: var(--space-5);
}

.why-feature-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--rust);
  margin-bottom: var(--space-3);
  line-height: 1;
}

.why-feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

.why-feature-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(245, 241, 234, 0.65);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  border: 1px solid rgba(245, 241, 234, 0.3);
  color: var(--bone);
  padding: var(--space-4) var(--space-5);
  font-weight: 500;
  transition: all var(--t-base);
}

.btn-outline-light:hover {
  border-color: var(--rust);
  color: var(--rust);
}

/* ====================================================================
   11. AREAS COVERED
   ==================================================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

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

.area-card {
  background: var(--bone);
  padding: var(--space-5);
  border: 1px solid var(--line);
  transition: all var(--t-base);
  display: block;
}

.area-card:hover {
  background: var(--carbon);
  color: var(--bone);
}

.area-card:hover .area-name { color: var(--rust); }

.area-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--space-1);
  transition: color var(--t-base);
}

.area-postcode {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

.areas-note {
  margin-top: var(--space-8);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(15, 17, 21, 0.6);
}

.areas-note a {
  text-decoration: underline;
  text-decoration-color: var(--rust);
  text-underline-offset: 4px;
}

.areas-note a:hover { color: var(--rust); }

/* ====================================================================
   12. PROJECTS GRID
   ==================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

.project-card { display: block; }

.project-image {
  aspect-ratio: 4 / 5;
  background: var(--carbon);
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .project-image img { transform: scale(1.05); }

.project-meta {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15, 17, 21, 0.5);
  margin-bottom: var(--space-1);
}

.project-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  transition: color var(--t-base);
}

.project-card:hover .project-title { color: var(--rust); }

.section-cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 500;
  color: var(--carbon);
  border-bottom: 2px solid var(--carbon);
  padding-bottom: 0.25rem;
  transition: color var(--t-base), border-color var(--t-base);
}

.section-cta-link:hover {
  color: var(--rust);
  border-bottom-color: var(--rust);
}

/* ====================================================================
   13. TESTIMONIAL BANNER
   ==================================================================== */
.testimonial {
  background: var(--rust);
  color: var(--bone);
  padding: var(--space-10) 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) { .testimonial { padding: 7rem 0; } }

.testimonial-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}

.testimonial-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 var(--space-4);
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.25rem, 3vw, 2.25rem);
  line-height: 1.3;
  margin-bottom: var(--space-8);
}

.testimonial-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: var(--space-3);
}

.testimonial-author {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ====================================================================
   14. CONTACT / FORM
   ==================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 3rem; } }

.contact-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 0.95;
  margin-bottom: var(--space-6);
}

.contact-lead {
  color: rgba(15, 17, 21, 0.75);
  line-height: 1.6;
  margin-bottom: var(--space-10);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

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

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--carbon);
  color: var(--bone);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background var(--t-base);
}

a.contact-item:hover .contact-item-icon { background: var(--rust); }

.contact-item-label {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(15, 17, 21, 0.5);
  margin-bottom: 0.25rem;
}

.contact-item-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--carbon);
  transition: color var(--t-base);
  word-break: break-word;
}

a.contact-item:hover .contact-item-value { color: var(--rust); }

.fb-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-10);
  font-size: 0.875rem;
  color: rgba(15, 17, 21, 0.7);
  transition: color var(--t-base);
}

.fb-link:hover { color: var(--rust); }

/* Form */
.form-card {
  background: var(--carbon);
  color: var(--bone);
  padding: var(--space-8);
}

@media (min-width: 1024px) { .form-card { padding: 3rem; } }

.form-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.875rem;
  margin-bottom: var(--space-8);
}

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

@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-field { display: flex; flex-direction: column; }

.form-label {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.6);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.3);
  padding: var(--space-3) 0;
  color: var(--bone);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--t-base);
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(245, 241, 234, 0.4); }

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-bottom-color: var(--rust);
}

.form-textarea { resize: none; }

.form-select option { background: var(--carbon); }

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background: var(--rust);
  color: var(--bone);
  padding: 1.125rem 2.5rem;
  font-weight: 500;
  border: 0;
  font-size: 1rem;
  transition: all var(--t-base);
  width: 100%;
}

@media (min-width: 640px) { .btn-submit { width: auto; } }

.btn-submit:hover {
  background: var(--bone);
  color: var(--carbon);
}

.form-footnote {
  font-size: 0.75rem;
  color: rgba(245, 241, 234, 0.5);
  margin-top: var(--space-5);
  line-height: 1.6;
}

/* ====================================================================
   15. FOOTER
   ==================================================================== */
.site-footer {
  background: var(--carbon);
  color: var(--bone);
  padding: var(--space-10) 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: var(--space-6);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.footer-brand-mark {
  width: 44px;
  height: 44px;
  background: var(--rust);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--bone);
  font-size: 1.125rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-brand-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.5);
}

.footer-text {
  color: rgba(245, 241, 234, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 28rem;
}

.footer-heading {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.5);
  margin-bottom: var(--space-4);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: 0.875rem;
}

.footer-list a {
  color: rgba(245, 241, 234, 0.85);
  transition: color var(--t-base);
}

.footer-list a:hover { color: var(--rust); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: 0.75rem;
  color: rgba(245, 241, 234, 0.5);
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; align-items: center; }
}

.footer-legal { display: flex; gap: var(--space-6); }

.footer-legal a:hover { color: var(--rust); }

/* ====================================================================
   16. STICKY MOBILE CALL BAR
   ==================================================================== */
.sticky-call-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--rust);
  color: var(--bone);
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) { .sticky-call-bar { display: none; } }

.sticky-call-bar a {
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: 500;
  font-size: 0.9375rem;
}

.sticky-call-bar a:first-child {
  border-right: 1px solid rgba(245, 241, 234, 0.2);
}

/* ====================================================================
   17. ANIMATIONS / REVEALS
   ==================================================================== */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal { animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.reveal-delay-1 { animation-delay: 0.15s; }
.reveal-delay-2 { animation-delay: 0.3s; }

/* ====================================================================
   18. PAGE-SPECIFIC: PAGE HEADER (used for all interior pages)
   ==================================================================== */
.page-header {
  position: relative;
  background: var(--bone);
  padding: var(--space-12) 0 var(--space-10);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1024px) { .page-header { padding: 6rem 0 5rem; } }

.page-header-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
}

.breadcrumbs {
  position: relative;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(15, 17, 21, 0.55);
  margin-bottom: var(--space-5);
}

.breadcrumbs a:hover { color: var(--rust); }

.breadcrumbs span { margin: 0 var(--space-2); color: var(--rust); }

.page-title {
  position: relative;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 60rem;
}

.page-intro {
  position: relative;
  margin-top: var(--space-5);
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(15, 17, 21, 0.75);
  max-width: 44rem;
}

/* ====================================================================
   19. PROSE (long-form content for service & area pages)
   ==================================================================== */
.prose {
  max-width: 44rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--carbon);
}

.prose h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-top: var(--space-10);
  margin-bottom: var(--space-5);
}

.prose h3 {
  font-size: 1.375rem;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  font-weight: 700;
}

.prose p { margin-bottom: var(--space-5); }

.prose ul, .prose ol {
  margin-bottom: var(--space-5);
  padding-left: 1.25rem;
}

.prose li { margin-bottom: var(--space-2); }

.prose strong { font-weight: 600; color: var(--carbon); }

.prose a {
  color: var(--carbon);
  text-decoration: underline;
  text-decoration-color: var(--rust);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.prose a:hover { color: var(--rust); }

.prose blockquote {
  border-left: 4px solid var(--rust);
  padding-left: var(--space-5);
  margin: var(--space-6) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
}

/* Layout for service/area pages: prose + sidebar */
.page-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 1024px) {
  .page-body {
    grid-template-columns: 7fr 4fr;
    gap: 4rem;
  }
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* Sticky sidebar on desktop - follows scroll, no more empty gap */
@media (min-width: 1024px) {
  .sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    /* Subtle scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 17, 21, 0.2) transparent;
  }
  .sidebar::-webkit-scrollbar {
    width: 4px;
  }
  .sidebar::-webkit-scrollbar-thumb {
    background: rgba(15, 17, 21, 0.2);
    border-radius: 2px;
  }
}

.sidebar-card {
  background: var(--carbon);
  color: var(--bone);
  padding: var(--space-6);
}

.sidebar-card--clay {
  background: var(--clay);
  color: var(--carbon);
  border: 1px solid var(--line);
}

.sidebar-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}

.sidebar-card-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--space-5);
  opacity: 0.85;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: 0.9375rem;
}

.sidebar-list a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.1);
  transition: color var(--t-base), padding-left var(--t-base);
}

.sidebar-card--clay .sidebar-list a {
  border-bottom-color: var(--line);
}

.sidebar-list a:hover {
  color: var(--rust);
  padding-left: var(--space-2);
}

.sidebar-list a:last-child { border-bottom: 0; }

.sidebar-list a::before { content: '→'; color: var(--rust); }

/* ====================================================================
   20. FAQ
   ==================================================================== */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: var(--space-5) 0;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  list-style: none;
  gap: var(--space-4);
}

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

.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--rust);
  transition: transform var(--t-base);
  flex-shrink: 0;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  margin-top: var(--space-4);
  color: rgba(15, 17, 21, 0.75);
  line-height: 1.7;
}

/* ====================================================================
   21. PROJECT GALLERY
   ==================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  aspect-ratio: 3 / 4;
  background: var(--carbon);
  overflow: hidden;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* ====================================================================
   22. CTA BAND (reusable)
   ==================================================================== */
.cta-band {
  background: var(--carbon);
  color: var(--bone);
  padding: var(--space-10) 0;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 1024px) {
  .cta-band-inner { grid-template-columns: 2fr 1fr; gap: var(--space-10); }
}

.cta-band-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ====================================================================
   23. BACK-TO-TOP BUTTON
   ==================================================================== */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--bone);
  color: var(--carbon);
  border: 1px solid var(--carbon);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--t-base);
  z-index: 40;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--rust);
  color: var(--bone);
  border-color: var(--rust);
  transform: translateY(-4px);
}

/* When button is over the dark footer, invert colors */
.back-to-top.on-dark {
  background: var(--carbon);
  color: var(--bone);
  border-color: var(--bone);
}

.back-to-top.on-dark:hover {
  background: var(--rust);
  color: var(--bone);
  border-color: var(--rust);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* On desktop, position it lower-right since there's no sticky call bar */
@media (min-width: 768px) {
  .back-to-top {
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
  }
}

/* ====================================================================
   24. LOGO OVERRIDE (replace text mark with image)
   ==================================================================== */
.brand img {
  display: block;
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-brand img {
  display: block;
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

/* On smaller screens, slightly smaller logo */
@media (max-width: 640px) {
  .brand img {
    max-height: 36px;
  }
}

/* When logo is used, hide the text part on very small screens to save space */
@media (max-width: 479px) {
  .brand-text {
    display: none !important;
  }
  .brand img {
    max-height: 40px;
  }
}

/* ====================================================================
   25. LOGO INTRO VIDEO (homepage only, first visit)
   ==================================================================== */
.logo-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--carbon);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.6s ease-out;
}

.logo-intro.is-fading {
  opacity: 0;
  pointer-events: none;
}

.logo-intro video {
  max-width: min(380px, 80vw);
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Skip button în colț */
.logo-intro-skip {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: 1px solid rgba(245, 241, 234, 0.4);
  color: var(--bone);
  padding: 8px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
}

.logo-intro-skip:hover {
  background: var(--rust);
  border-color: var(--rust);
}

/* Lock body scroll while intro is showing */
body.intro-active {
  overflow: hidden;
}

/* ====================================================================
   26. SOFT CORNERS (5px) - GLOBAL OVERRIDE
   Soften all sharp corners across the site
   ==================================================================== */

/* Buttons */
.btn-primary,
.btn-outline,
.btn-outline-light,
.btn-header,
.btn-mobile,
.menu-toggle,
.logo-intro-skip {
  border-radius: 5px;
}

/* Cards & containers */
.service-card,
.area-card,
.project-card,
.sidebar-card,
.additional-services,
.hero-stat,
.hero-badge,
.feature-item {
  border-radius: 5px;
}

/* Project gallery items */
.project-image,
.gallery-item,
.gallery-item img {
  border-radius: 5px;
}

/* Sticky call bar buttons */
.sticky-call-bar a {
  border-radius: 5px;
}

/* Top strip pulse dot stays circular */
.pulse-dot-wrap,
.pulse-dot-ping,
.pulse-dot-core,
.hero-badge-dot {
  border-radius: 50%;
}

/* Form inputs (if any) */
input,
textarea,
select,
button {
  border-radius: 5px;
}

/* Service cards inner elements */
.service-card-icon,
.service-card-image {
  border-radius: 5px;
}

/* Page header pattern overlay */
.page-header-pattern {
  border-radius: 0;
}

/* Hero image */
.hero-image,
.hero-image img {
  border-radius: 5px;
}

/* Footer brand mark image */
.footer-brand img {
  border-radius: 5px;
}

/* Brand mark in header */
.brand img {
  border-radius: 5px;
}

/* Article images in blog posts */
article.prose img {
  border-radius: 5px;
}

/* Blog post hero image div */
article.prose > div[style*="aspect-ratio"] {
  border-radius: 5px;
}

/* CTA bands - keep these subtle */
.cta-band-inner {
  border-radius: 5px;
}

/* Top strip and header stay flat for that editorial look */
.top-strip,
.site-header {
  border-radius: 0;
}

/* Back-to-top stays circular (it's a round button) */
.back-to-top {
  border-radius: 50%;
}

/* Make sure rounded corners apply to images inside cards too */
.project-card img,
.service-card img,
.area-card img {
  border-radius: 5px;
}
