/* ============================================
   FURNISHCO LTD — Main Stylesheet
   Premium UK Furniture & Home Furnishing
   ============================================ */

:root {
  --color-white: #ffffff;
  --color-off-white: #faf9f7;
  --color-light-grey: #f0eeeb;
  --color-mid-grey: #d4d0cb;
  --color-soft-beige: #e8e2d9;
  --color-warm-wood: #a67c52;
  --color-warm-wood-dark: #8b6540;
  --color-warm-wood-light: #c4a07a;
  --color-charcoal: #2c2a28;
  --color-charcoal-soft: #3d3a37;
  --color-text: #2c2a28;
  --color-text-muted: #6b6762;
  --color-bg: #faf9f7;
  --color-bg-alt: #f0eeeb;
  --color-surface: #ffffff;
  --color-border: #e5e1db;
  --color-shadow: rgba(44, 42, 40, 0.08);
  --color-shadow-hover: rgba(44, 42, 40, 0.14);
  --color-overlay: rgba(44, 42, 40, 0.45);

  --font-heading: "Poppins", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px var(--color-shadow);
  --shadow-md: 0 4px 16px var(--color-shadow);
  --shadow-lg: 0 12px 40px var(--color-shadow-hover);

  --header-height: 4.5rem;
  --transition: 0.3s ease;
  --max-width: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-white: #1a1918;
    --color-off-white: #1a1918;
    --color-light-grey: #252322;
    --color-mid-grey: #4a4642;
    --color-soft-beige: #3a3530;
    --color-warm-wood: #c4a07a;
    --color-warm-wood-dark: #d4b48e;
    --color-warm-wood-light: #a67c52;
    --color-charcoal: #f0eeeb;
    --color-charcoal-soft: #d4d0cb;
    --color-text: #f0eeeb;
    --color-text-muted: #a8a49e;
    --color-bg: #1a1918;
    --color-bg-alt: #252322;
    --color-surface: #252322;
    --color-border: #3a3530;
    --color-shadow: rgba(0, 0, 0, 0.3);
    --color-shadow-hover: rgba(0, 0, 0, 0.45);
    --color-overlay: rgba(0, 0, 0, 0.55);
  }
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-warm-wood);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--color-warm-wood-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-warm-wood);
  outline-offset: 2px;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-charcoal);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  color: var(--color-text-muted);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: 9999;
  background: var(--color-warm-wood);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-sm);
  color: #fff;
}

@media (prefers-color-scheme: dark) {
  .skip-link:focus {
    color: #1a1918;
  }
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), box-shadow var(--transition),
    transform var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-warm-wood);
  color: #fff;
  border-color: var(--color-warm-wood);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-warm-wood-dark);
  border-color: var(--color-warm-wood-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-charcoal);
  border-color: var(--color-charcoal);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--color-charcoal);
  color: var(--color-bg);
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: #fff;
  color: var(--color-charcoal);
}

@media (prefers-color-scheme: dark) {
  .btn-primary {
    color: #1a1918;
  }

  .btn-primary:hover,
  .btn-primary:focus-visible {
    color: #1a1918;
  }
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

@media (prefers-color-scheme: dark) {
  .site-header {
    background-color: rgba(26, 25, 24, 0.92);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-charcoal);
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--color-charcoal);
}

.logo-tagline {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-warm-wood);
}

.nav-list {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a.active {
  color: var(--color-warm-wood);
  background-color: transparent;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-charcoal);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1rem);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-charcoal);
  padding: 0.5rem 1rem;
  transition: color var(--transition);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--color-warm-wood);
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .nav-list {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile {
    display: none;
  }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-charcoal-soft);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44, 42, 40, 0.5) 0%,
    rgba(44, 42, 40, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 40rem;
}

.hero-brand {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: var(--space-sm);
  line-height: 1.1;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.hero-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-lg);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.page-hero {
  position: relative;
  padding: var(--space-2xl) 0;
  background-color: var(--color-bg-alt);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--color-soft-beige) 0%,
    var(--color-light-grey) 50%,
    var(--color-off-white) 100%
  );
  opacity: 0.7;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: var(--space-sm);
}

.page-hero p {
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* ========== SECTIONS ========== */
.section {
  padding: var(--space-2xl) 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--space-xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-warm-wood);
  margin-bottom: var(--space-xs);
}

/* ========== CARDS & GRID ========== */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-light-grey);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-body {
  padding: var(--space-md);
}

.card-body h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.125rem;
}

.card-body p {
  font-size: 0.9375rem;
}

.feature-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: var(--space-md);
  background-color: var(--color-soft-beige);
  border-radius: var(--radius-md);
  color: var(--color-warm-wood);
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin-bottom: var(--space-xs);
}

.feature-card p {
  font-size: 0.9375rem;
}

/* ========== INTRO / SPLIT ========== */
.split {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--color-light-grey);
  box-shadow: var(--shadow-md);
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content .section-label {
  margin-bottom: var(--space-xs);
}

.split-content h2 {
  margin-bottom: var(--space-md);
}

.split-content p {
  margin-bottom: var(--space-md);
}

.split-content p:last-of-type {
  margin-bottom: var(--space-lg);
}

/* ========== SERVICES LIST ========== */
.service-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-num {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-warm-wood);
  line-height: 1;
  opacity: 0.7;
}

.service-item h3 {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.service-item p {
  font-size: 0.9375rem;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 44rem;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-charcoal);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-warm-wood);
}

.faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-warm-wood);
  transition: transform var(--transition);
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 20rem;
  padding-bottom: var(--space-md);
}

.faq-answer p {
  font-size: 0.9375rem;
}

/* ========== CTA ========== */
.cta {
  position: relative;
  padding: var(--space-2xl) 0;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--color-charcoal-soft) 0%,
    var(--color-charcoal) 100%
  );
  overflow: hidden;
}

@media (prefers-color-scheme: dark) {
  .cta {
    background: linear-gradient(135deg, #2c2a28 0%, #1a1918 100%);
  }
}

.cta h2 {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.cta p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 32rem;
  margin: 0 auto var(--space-lg);
}

.cta .btn-primary {
  background-color: var(--color-warm-wood);
  border-color: var(--color-warm-wood);
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-block h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-warm-wood);
  margin-bottom: var(--space-xs);
}

.contact-block p,
.contact-block a {
  font-size: 1.0625rem;
  color: var(--color-text);
  line-height: 1.8;
}

.contact-block a:hover {
  color: var(--color-warm-wood);
}

.contact-form {
  background-color: var(--color-surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--color-charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-warm-wood);
  box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.15);
  outline: none;
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

.form-success {
  display: none;
  padding: var(--space-md);
  background-color: var(--color-soft-beige);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-warm-wood-light);
  text-align: center;
}

.form-success.visible {
  display: block;
}

.form-success p {
  color: var(--color-charcoal);
  font-weight: 500;
}

/* ========== LEGAL ========== */
.legal-content {
  max-width: 44rem;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.375rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  margin-bottom: var(--space-md);
  font-size: 0.975rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: var(--space-md);
}

.legal-content li {
  margin-bottom: var(--space-xs);
  color: var(--color-text-muted);
}

.legal-content a {
  text-decoration: underline;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

/* ========== PRODUCTS DETAIL ========== */
.product-category {
  margin-bottom: var(--space-xl);
}

.product-category:last-child {
  margin-bottom: 0;
}

.product-category-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .product-category-header {
    flex-direction: row;
    align-items: center;
    gap: var(--space-lg);
  }
}

.product-category-img {
  flex-shrink: 0;
  width: 100%;
  max-width: 20rem;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-light-grey);
  box-shadow: var(--shadow-sm);
}

.product-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-category-text h2 {
  margin-bottom: var(--space-xs);
  font-size: 1.5rem;
}

.product-category-text p {
  font-size: 0.975rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background-color: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-xl) 0 var(--space-lg);
}

@media (prefers-color-scheme: dark) {
  .site-footer {
    background-color: #0f0e0d;
    border-top: 1px solid var(--color-border);
  }
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 576px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand .logo-name {
  color: #fff;
  margin-bottom: 0.25rem;
}

.footer-brand .logo-tagline {
  display: block;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 20rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-md);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-warm-wood-light);
}

.footer-address {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  font-style: normal;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-warm-wood);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity var(--transition), visibility var(--transition),
    transform var(--transition), background-color var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-warm-wood-dark);
}

.back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-color-scheme: dark) {
  .back-to-top {
    color: #1a1918;
  }
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card:hover,
  .feature-card:hover,
  .service-item:hover {
    transform: none;
  }

  .card:hover .card-img img {
    transform: none;
  }

  .btn-primary:hover {
    transform: none;
  }
}

/* ========== BREADCRUMBS ========== */
.breadcrumb {
  padding: var(--space-md) 0 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--color-mid-grey);
  margin-left: 0.125rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-warm-wood);
}

.breadcrumb [aria-current="page"] {
  color: var(--color-charcoal);
  font-weight: 500;
}

.page-hero .breadcrumb {
  justify-content: center;
  margin-bottom: var(--space-md);
}

.page-hero .breadcrumb ol {
  justify-content: center;
}

/* ========== FORM VALIDATION ========== */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: #b54a3a;
  box-shadow: 0 0 0 3px rgba(181, 74, 58, 0.12);
}

.form-error {
  display: none;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: #b54a3a;
}

.form-group.has-error .form-error {
  display: block;
}

.form-group input.is-valid,
.form-group textarea.is-valid {
  border-color: #5a8f6a;
}

.contact-icon-row {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-soft-beige);
  border-radius: var(--radius-md);
  color: var(--color-warm-wood);
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ========== 404 PAGE ========== */
.error-page {
  min-height: calc(100vh - var(--header-height) - 20rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) 0;
}

.error-page .error-code {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-warm-wood);
  opacity: 0.35;
  margin-bottom: var(--space-sm);
}

.error-page h1 {
  margin-bottom: var(--space-sm);
}

.error-page p {
  max-width: 28rem;
  margin: 0 auto var(--space-lg);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* ========== UTILITIES ========== */
.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: var(--space-lg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
