/* =============================================
   ATELIER PATINA — GLOBAL STYLES
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

/* ── Variables ── */
:root {
  --cream:          #F5F0E8;
  --cream-dark:     #EDE7DA;
  --charcoal:       #1C1C1C;
  --charcoal-soft:  #2E2E2E;
  --burgundy:       #6B2737;
  --burgundy-dark:  #4A1924;
  --burgundy-light: #8B3A4D;
  --white:          #FFFFFF;
  --gray-light:     #E8E3DB;
  --gray-mid:       #9A9590;
  --gray-text:      #6E6860;
  --service-beige:  #E7DDCC;

  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:   'Lato', 'Helvetica Neue', Arial, sans-serif;

  --nav-height:  76px;
  --radius:      4px;
  --radius-lg:   8px;
  --shadow-sm:   0 2px 8px rgba(28,28,28,0.08);
  --shadow-md:   0 6px 24px rgba(28,28,28,0.12);
  --shadow-lg:   0 16px 48px rgba(28,28,28,0.16);
  --transition:  0.28s ease;

  /* Homepage tuning tokens (for fast change requests) */
  --section-space-y: 6rem;
  --section-header-max: 560px;
  --hero-content-max: 820px;
  --hero-title-max: 5.1rem;
  --hero-subhead-max: 560px;
  --services-card-padding: 2.1rem 2rem 2.4rem;
  --service-image-bg: #E7DDCC;
  --service-image-border: #d8ccb8;
  --process-step-gap: 0;
  --why-card-padding: 0.95rem 1.2rem 1.2rem;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: var(--font-sans); font-size: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { color: var(--gray-text); }

.label-caps {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--burgundy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--burgundy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(107,39,55,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-outline-dark:hover {
  background: var(--charcoal);
  color: var(--white);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 0.85rem; }

/* ── Layout Helpers ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--section-space-y) 0; }
.section-sm { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { color: var(--charcoal); margin-bottom: 0.75rem; }
.section-header p { max-width: var(--section-header-max); margin: 0 auto; font-size: 1.05rem; }
.divider { width: 48px; height: 2px; background: var(--burgundy); margin: 1rem auto; }
.divider-left { margin: 1rem 0; }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 1.5rem;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}
.nav.scrolled {
  background: rgba(245,240,232,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}
.nav.nav-light {
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}
.nav.nav-light .nav-logo,
.nav.nav-light .nav-links a,
.nav.nav-light .nav-hamburger span { color: var(--charcoal); }
.nav.nav-light .nav-links a.btn-primary { color: #fff !important; }
.nav.nav-light .nav-hamburger span { background: var(--charcoal); }
.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a { color: var(--charcoal); }
.nav.scrolled .nav-links a.btn-primary { color: #fff !important; }
.nav.scrolled .nav-hamburger span { background: var(--charcoal); }

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1.75rem;
}
.nav-col {
  display: flex;
  align-items: center;
}
.nav-left { justify-content: flex-start; }
.nav-right { justify-content: flex-end; }
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-logo-center { justify-self: center; text-align: center; }
.nav-logo span { color: var(--burgundy); font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }

.brand-logo-image {
  display: block;
  width: auto;
  height: 36px;
  max-width: 100%;
}

.footer-brand .brand-logo-image {
  height: 42px;
}

@media (max-width: 768px) {
  .brand-logo-image { height: 30px; }
  .footer-brand .brand-logo-image { height: 38px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(28,28,28,0.82);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--burgundy-light);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--charcoal); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--charcoal); }

/* Keep Begin Restoration button always styled correctly regardless of nav state */
.nav-links .btn-primary,
.nav.scrolled .nav-links .btn-primary,
.nav.nav-light .nav-links .btn-primary {
  color: var(--white) !important;
  background: var(--burgundy);
}
.nav-links .btn-primary:hover,
.nav.scrolled .nav-links .btn-primary:hover,
.nav.nav-light .nav-links .btn-primary:hover {
  color: var(--white) !important;
  background: var(--burgundy-dark);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: rgba(245,240,232,0.98);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid rgba(28,28,28,0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(28,28,28,0.06);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--burgundy); }

/* =============================================
   SECTION: HERO
   ============================================= */
.hero-topline {
  width: 100%;
  margin: var(--nav-height) 0 0;
  padding: 0.34rem 1rem;
  background: var(--burgundy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid rgba(0,0,0,0.12);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.3rem, 4vw, 4rem);
  flex-wrap: wrap;
}
.hero-topline span {
  white-space: nowrap;
}
.hero-topline span + span::before {
  content: '•';
  margin-right: clamp(1rem, 2.5vw, 2.25rem);
  opacity: 0.75;
}
@media (max-width: 700px) {
  .hero-topline {
    width: 100%;
    gap: 0.55rem 1.1rem;
    padding: 0.34rem 0.75rem;
  }
  .hero-topline span + span::before {
    margin-right: 0.7rem;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  text-align: left;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(14,14,14,0.58), rgba(14,14,14,0.42)),
    url('../images/generated/hero-home-worn-craft.jpg?v=18') center/cover no-repeat;
}
.mailin-hero .hero-bg {
  background:
    linear-gradient(120deg, rgba(14,14,14,0.35), rgba(14,14,14,0.18)),
    url('../images/generated/mailin/hero-mailin-boxed-shoes-v2.jpg?v=1') center/cover no-repeat;
}
.hero-sketch-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 35%, rgba(255,255,255,0.06), rgba(0,0,0,0));
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
  max-width: var(--hero-content-max);
  margin-left: clamp(1rem, 6vw, 6.5rem);
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: 1.25rem;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(3rem, 7vw, var(--hero-title-max));
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  text-shadow: 0 12px 36px rgba(0,0,0,0.42);
}
.hero-content h1 em { font-style: italic; color: #E7D7C2; }
.hero-subhead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.92);
  max-width: var(--hero-subhead-max);
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.75;
  text-shadow: 0 6px 24px rgba(0,0,0,0.35);
}
.hero .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.78);
}
.hero .btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}
.hero-actions { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-mid);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gray-mid), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* =============================================
   SECTION: THE CRAFT
   ============================================= */
.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.craft-text .label-caps { margin-bottom: 1rem; }
.craft-text h2 { margin-bottom: 1.25rem; }
.craft-text p { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.8; }
.craft-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--gray-light);
}
.craft-stat-item {
  background: transparent;
  border: 0;
  border-right: 1px solid #ddd4c5;
  border-radius: 0;
  padding: 0.2rem 1rem 0.2rem 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.craft-stat-item:last-child { border-right: 0; padding-right: 0; }
.craft-stat-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.45rem;
}
.craft-stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.05;
  display: block;
}
.craft-stat-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--gray-mid);
  margin-top: 0.35rem;
  line-height: 1.45;
}
.craft-image {
  position: relative;
}
.craft-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.craft-image-accent {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 50%;
  aspect-ratio: 1;
  background: var(--burgundy);
  opacity: 0.08;
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* =============================================
   SECTION: SERVICES
   ============================================= */
.services { background: var(--cream-dark); }
.services .section-header h2 { color: var(--charcoal); }
.services .section-header p { color: var(--gray-text); }
.services .divider { background: var(--burgundy); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: transparent;
  align-items: stretch;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: var(--services-card-padding);
  text-align: center;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { background: var(--cream); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card:hover::before { transform: scaleX(1); }

.service-image-wrap {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.5rem;
  border-radius: 10px;
  background: var(--service-image-bg);
  border: 1px solid var(--service-image-border);
  overflow: hidden;
  position: relative;
}
.service-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(231, 221, 204, 0.08);
  pointer-events: none;
}
.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: var(--service-image-bg);
}
.service-card h3 {
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  font-size: 1.24rem;
}
.service-card p { color: var(--gray-text); line-height: 1.75; }
.service-card > .btn {
  margin-top: auto !important;
  align-self: center;
}
.service-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
  display: inline-flex;
  width: 100%;
}
.service-list li {
  font-size: 0.82rem;
  color: var(--gray-mid);
  padding-left: 1rem;
  position: relative;
  letter-spacing: 0.02em;
}
.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--burgundy);
}

/* =============================================
   SECTION: PROCESS
   ============================================= */
.process { background: inherit; }
.process-dark {
  width: 100%;
  background: linear-gradient(180deg, #1A1918 0%, #211F1D 100%);
}
.process-dark .container {
  max-width: 1320px;
}
.process-dark .section-header {
  margin-bottom: 4rem;
}
.process-dark .section-header h2,
.process-dark .process-step h3 {
  color: var(--white);
}
.process-dark .section-header p,
.process-dark .process-step p {
  color: rgba(255,255,255,0.74);
}
.process-dark .label-caps { color: #D8C6AF; }
.process-dark .divider { background: #C8AD8F; }
.process-dark .btn-outline-dark {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.process-dark .btn-outline-dark:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--charcoal);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--process-step-gap);
  position: relative;
  margin-top: 1rem;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 2.75rem;
  left: calc(16.66% + 1.5rem);
  right: calc(16.66% + 1.5rem);
  height: 1px;
  background: #C8AD8F;
  opacity: 0.4;
}
.process-step {
  padding: 0 2.2rem;
  text-align: center;
  position: relative;
}
.process-step + .process-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  bottom: 0.7rem;
  width: 1px;
  background: rgba(200,173,143,0.25);
}
.process-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #B99165;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px #23211F;
}
.process-step h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.process-step p { font-size: 0.92rem; line-height: 1.7; }
.process-pricing-note {
  margin: 2.25rem auto 0;
  max-width: 860px;
  text-align: center;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(200,173,143,0.28);
}
.process-pricing-note .label-caps {
  color: #D8C6AF;
  margin-bottom: 0.45rem;
}
.process-pricing-note h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}
.process-pricing-note p {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.65rem;
}
.process-pricing-note p:last-child {
  margin-bottom: 0;
}
.process-pricing-note strong {
  color: #f1e4d2;
}

/* =============================================
   SECTION: PROBLEM + WHY US
   ============================================= */
.problem-section { background: var(--cream); }
.why-section { background: var(--cream-dark); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  text-align: left;
  background: rgba(255,255,255,0.42);
  border: 1px solid #ddd4c5;
  border-radius: var(--radius-lg);
  padding: var(--why-card-padding);
}
.feature-icon {
  width: 72px;
  height: 72px;
  padding: 24px;
  border-radius: 12px;
  background: #E7DDCC;
  color: #6f4e37;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-sizing: border-box;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.feature-icon-sketch {
  width: 132px;
  height: 132px;
  padding: 0;
  border-radius: 10px;
  background: var(--service-image-bg);
  border: 1px solid var(--service-image-border);
  overflow: hidden;
  margin-bottom: 0.7rem;
}
.feature-sketch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.why-card h3 { margin-bottom: 0.6rem; }
.why-card p { font-size: 0.95rem; line-height: 1.75; }

/* X-Grid style replacement for Why Choose Us */
.why-xgrid {
  padding: 0;
  background: #f1ede5;
}
.why-xgrid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.why-xgrid-media {
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.4rem;
  background: #e8e2d7;
}
.why-xgrid-media img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.why-xgrid-content {
  padding: 4.5rem 5rem 4rem;
  background: #f3f1ea;
}
.why-xgrid-eyebrow {
  margin-bottom: 1rem;
  color: #8e7b69;
}
.why-xgrid-content h2 {
  color: #2e2a26;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  font-style: italic;
  margin-bottom: 1.35rem;
}
.why-xgrid-intro {
  color: #5e5a56;
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.why-xgrid-list {
  display: grid;
  gap: 1rem;
}
.why-xgrid-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.8rem;
  align-items: start;
}
.why-xgrid-check {
  width: 28px;
  height: 28px;
  border: 1px solid #c8b9a6;
  color: #9f5141;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border-radius: 4px;
  margin-top: 0.15rem;
}
.why-xgrid-item h3 {
  color: #2f2a25;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.why-xgrid-item p {
  color: #5f5a55;
  font-size: 0.95rem;
  line-height: 1.7;
}
.why-xgrid-cta {
  margin-top: 1.7rem;
  letter-spacing: 0.09em;
}

/* =============================================
   SECTION: CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--burgundy);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255,255,255,0.06), transparent);
}
.cta-banner .container { position: relative; }
.cta-banner .label-caps { color: rgba(255,255,255,0.65); margin-bottom: 14px; }
.cta-banner h2 {
  color: var(--white);
  max-width: 600px;
  margin: 0 auto 18px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}
.cta-banner p {
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 28px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--burgundy);
}
.cta-banner .btn-primary:hover {
  background: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.cta-banner .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.78);
}
.cta-banner .btn-outline:hover {
  background: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--cream-dark);
  padding: 4rem 0 2rem;
  color: var(--gray-text);
  border-top: 1px solid var(--gray-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--gray-light);
}
.footer-brand .nav-logo {
  display: inline-block;
  color: var(--charcoal);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; color: var(--gray-text); }
.footer-brand .label-caps { color: var(--gray-mid); margin-top: 1.5rem; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: var(--gray-text);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--burgundy); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--gray-mid);
}
.footer-bottom a { color: var(--gray-mid); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--burgundy); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: #1E1C1A;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--nav-height) + clamp(1rem, 2.5vh, 2.25rem)) 0 clamp(1.5rem, 3vh, 3rem);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(16,14,13,0.5), rgba(16,14,13,0.35));
  z-index: 1;
}
.page-hero .container {
  position: relative;
  z-index: 2;
  margin-left: clamp(1rem, 6vw, 6.5rem);
}
.page-hero .label-caps { color: rgba(255,255,255,0.82); margin-bottom: 1rem; }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0; }
.page-hero .hero-actions { margin-top: 1.25rem; }
.page-hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.page-hero-scroll .hero-scroll-line {
  background: linear-gradient(to bottom, rgba(255,255,255,0.85), transparent);
}

.page-hero.hero-about::before { background-image: url('../images/generated/hero-home-worn-craft.jpg?v=18'); }
.page-hero.hero-blog::before { background-image: url('../images/generated/hero-blog-journal-v2.jpg'); }
.page-hero.hero-faq::before { background-image: url('../images/generated/hero-shoes-worn-footwear.jpg?v=18'); }
.page-hero.hero-process::before { background-image: url('../images/generated/hero-process-worn-restoration.jpg'); }
.page-hero.hero-request::before { background-image: url('../images/generated/hero-request-worn-pickup.jpg'); }
.page-hero.hero-contact::before { background-image: url('../images/generated/hero-contact-worn-bag.jpg'); }
.page-hero.hero-tracking::before { background-image: url('../images/generated/hero-tracking-worn-finished.jpg'); }
.page-hero.hero-shoes::before { background-image: url('../images/generated/hero-shoes-worn-footwear.jpg?v=18'); }
.page-hero.hero-boots::before { background-image: url('../images/generated/hero-boots-worn-collection.jpg'); }
.page-hero.hero-leather-goods::before { background-image: url('../images/generated/hero-leathergoods-writing-notes.jpg'); }
.page-hero.hero-mens-shoes::before { background-image: url('../images/generated/hero-mens-shoes-worn.jpg'); }
.page-hero.hero-womens-shoes::before { background-image: url('../images/generated/womens-shoes/hero-womens-shoes-cleanbg-v2.jpg?v=1'); }
.page-hero.hero-mens-boots::before { background-image: url('../images/generated/mens-boots/hero-mens-boots-download-v1.jpeg?v=1'); }
.page-hero.hero-womens-boots::before { background-image: url('../images/generated/hero-womens-boots-worn.jpg'); }

/* =============================================
   REQUEST FORM PAGE
   ============================================= */
.request-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
  padding: 4rem 0 6rem;
}

/* Form Card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.form-card-header {
  padding: 1.75rem 2.25rem;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-card-header h3 { font-size: 1.1rem; }
.form-card-body { padding: 2.25rem; }

/* Item Block */
.item-block {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.item-block:hover { border-color: var(--burgundy); box-shadow: var(--shadow-sm); }
.item-block-header {
  background: var(--cream);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-light);
}
.item-block-header span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
}
.btn-remove-item {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-mid);
  font-size: 1.2rem;
  line-height: 1;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}
.btn-remove-item:hover { background: #fee; color: #c0392b; }
.item-block-body { padding: 1.5rem; }

/* Form Inputs */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.form-group label .req { color: var(--burgundy); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(107,39,55,0.1);
}
.form-control::placeholder { color: var(--gray-mid); }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9590' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
textarea.form-control { resize: vertical; min-height: 90px; }

/* Checkboxes */
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--charcoal);
  cursor: pointer;
  padding: 0.4rem 0;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-box {
  width: 18px; height: 18px;
  border: 1.5px solid var(--gray-light);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  background: var(--white);
}
.checkbox-label input:checked + .checkbox-box {
  background: var(--burgundy);
  border-color: var(--burgundy);
}
.checkbox-label input:checked + .checkbox-box::after {
  content: '';
  width: 5px; height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

/* Assessment checkbox */
.assessment-check {
  background: var(--cream);
  border: 1.5px dashed var(--gray-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 0.5rem;
}
.assessment-check .checkbox-label { font-size: 0.88rem; }

/* Photo Upload */
.photo-upload-zone {
  border: 2px dashed var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: var(--cream);
  position: relative;
}
.photo-upload-zone:hover,
.photo-upload-zone.drag-over {
  border-color: var(--burgundy);
  background: rgba(107,39,55,0.04);
}
.photo-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%; height: 100%;
}
.upload-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.photo-upload-zone p { font-size: 0.88rem; color: var(--gray-mid); }
.photo-upload-zone strong { color: var(--burgundy); font-weight: 700; }
.photo-upload-zone small { font-size: 0.75rem; color: var(--gray-mid); display: block; margin-top: 0.35rem; }

.photo-previews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.photo-preview {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-light);
}
.photo-preview img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-preview-remove {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(28,28,28,0.75);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.photo-preview-remove:hover { background: #c0392b; }

/* Add Item Button */
.btn-add-item {
  width: 100%;
  padding: 1rem;
  border: 2px dashed var(--gray-light);
  border-radius: var(--radius-lg);
  background: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
}
.btn-add-item:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
  background: rgba(107,39,55,0.03);
}

/* Contact Details Card */
.contact-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.contact-card .form-card-header { padding: 1.5rem 2rem; }
.contact-card .form-card-body { padding: 2rem; }

/* Order Sidebar */
.order-sidebar { position: sticky; top: calc(var(--nav-height) + 2rem); }
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.sidebar-card-header {
  background: var(--burgundy);
  padding: 1.25rem 1.75rem;
}
.sidebar-card-header h4 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1rem;
}
.sidebar-card-body { padding: 1.75rem; }
.sidebar-item-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-light);
}
.sidebar-item-count span { font-size: 0.82rem; color: var(--gray-mid); }
.sidebar-item-count strong {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--charcoal);
}
.sidebar-pricing-note {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 0.82rem;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.sidebar-pricing-note strong { color: var(--charcoal); display: block; margin-bottom: 0.25rem; }
.sidebar-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-light);
}
.sidebar-total span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-mid); }
.sidebar-total strong { font-family: var(--font-serif); font-size: 1.15rem; color: var(--charcoal); }
.sidebar-card-body .btn { width: 100%; text-align: center; margin-top: 1.25rem; }

/* Form Section Divider */
.form-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.form-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-light);
}

/* =============================================
   CONFIRMATION PAGE
   ============================================= */
.confirmation-section {
  padding: calc(var(--nav-height) + 3rem) 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.confirmation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3.5rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.check-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(107,39,55,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
  animation: checkPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}
@keyframes checkPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.confirmation-card h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}
.ref-number {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--gray-light);
  border-radius: 100px;
  padding: 0.4rem 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--burgundy);
  margin: 0.5rem 0 1.5rem;
  letter-spacing: 0.04em;
}
.confirmation-card > p {
  color: var(--gray-text);
  max-width: 440px;
  margin: 0 auto 2.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Timeline */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 2.5rem 0;
  padding: 0 1rem;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 2.5rem; right: 2.5rem;
  height: 2px;
  background: var(--gray-light);
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  flex: 1;
}
.timeline-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}
.timeline-step.done .timeline-dot {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: white;
}
.timeline-step span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-mid);
  text-align: center;
}
.timeline-step.done span { color: var(--burgundy); }

.confirmation-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-light);
}

/* =============================================
   TRACKING PAGE
   ============================================= */
.tracking-section {
  padding: calc(var(--nav-height) + 3rem) 0 6rem;
}
.tracking-search {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  max-width: 560px;
  margin: 0 auto 3rem;
}
.tracking-search h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.tracking-search > p {
  color: var(--gray-text);
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
}
.search-input-group {
  display: flex;
  gap: 0.75rem;
}
.search-input-group .form-control { flex: 1; }

/* Progress Track */
.progress-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
}
.progress-card-header {
  background: var(--burgundy);
  padding: 1.75rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.progress-card-header h3 { color: var(--white); font-size: 1.1rem; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status-badge.active {
  background: rgba(107,39,55,0.2);
  color: #e8899a;
}
.status-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.progress-card-body { padding: 2.5rem; }

/* 5-Step Progress Bar */
.progress-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-bottom: 3rem;
}
.progress-track::before {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(10% + 1rem);
  right: calc(10% + 1rem);
  height: 3px;
  background: var(--gray-light);
  border-radius: 2px;
}
.progress-fill {
  position: absolute;
  top: 20px;
  left: calc(10% + 1rem);
  height: 3px;
  background: var(--burgundy);
  border-radius: 2px;
  transition: width 1s ease;
}
.track-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  position: relative;
  z-index: 1;
}
.track-dot {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.track-step.complete .track-dot {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: white;
}
.track-step.current .track-dot {
  background: var(--white);
  border-color: var(--burgundy);
  box-shadow: 0 0 0 5px rgba(107,39,55,0.15);
}
.track-step .step-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-mid);
  text-align: center;
  line-height: 1.35;
}
.track-step.complete .step-name,
.track-step.current .step-name { color: var(--charcoal); }

.tracking-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-light);
}
.detail-item span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  display: block;
  margin-bottom: 0.35rem;
}
.detail-item strong {
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 400;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
  padding: 4rem 0 6rem;
}
.contact-info-card {
  background: var(--cream-dark);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}
.contact-info-card h3 {
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.contact-info-card > p { color: var(--gray-text); font-size: 0.9rem; margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  overflow: hidden;
}
.contact-detail-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.contact-detail-text span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  display: block;
  margin-bottom: 0.2rem;
}
.contact-detail-text strong {
  font-size: 0.92rem;
  color: var(--charcoal);
  font-weight: 400;
  display: block;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
}
.contact-form-card h2 { margin-bottom: 0.5rem; font-size: 1.6rem; }
.contact-form-card > p { color: var(--gray-text); margin-bottom: 2rem; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}
.form-success .check-icon { margin-bottom: 1.25rem; }
.form-success h3 { margin-bottom: 0.5rem; }
.form-success p { color: var(--gray-text); font-size: 0.9rem; }

/* =============================================
   ANIMATIONS & SCROLL REVEALS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s 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; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .craft-grid { grid-template-columns: 1fr; gap: 3rem; }
  .craft-image { max-width: 500px; }
  .request-layout { grid-template-columns: 1fr; }
  .order-sidebar { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .why-xgrid-split { grid-template-columns: 1fr; min-height: 0; }
  .why-xgrid-media { min-height: 420px; padding: 1.4rem; }
  .why-xgrid-content { padding: 3rem 2.2rem; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav-col { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-logo-center { justify-self: start; }
  .nav-hamburger { display: flex; justify-self: end; }
  .section { padding: 4rem 0; }

  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .process-step { padding: 0; }
  .process-step + .process-step::before { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-xgrid-content { padding: 2.3rem 1.25rem 2.5rem; }
  .why-xgrid-media { min-height: 320px; }
  .why-xgrid-content h2 { font-size: 2rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
  .photo-previews { grid-template-columns: repeat(2, 1fr); }

  .timeline { flex-wrap: wrap; gap: 1.5rem; }
  .timeline::before { display: none; }
  .timeline-step { flex: 0 0 calc(50% - 0.75rem); }

  .progress-track { flex-wrap: wrap; gap: 1.5rem; }
  .progress-track::before,
  .progress-fill { display: none; }
  .track-step { flex: 0 0 calc(50% - 0.75rem); }

  .tracking-details { grid-template-columns: 1fr; }
  .confirmation-card { padding: 2rem 1.5rem; }

  .search-input-group { flex-direction: column; }
  .progress-card-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-content { margin-left: 0; }
  .page-hero .container { margin-left: 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .craft-stats { grid-template-columns: 1fr; gap: 0.85rem; }
  .craft-stat-item { border-right: 0; border-top: 1px solid #ddd4c5; padding: 0.75rem 0 0; }
  .craft-stat-item:first-child { border-top: 0; padding-top: 0; }
}

/* =============================================
   NAV DROPDOWN
   ============================================= */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--cream); min-width: 180px; border-radius: 8px;
  box-shadow: 0 8px 32px rgba(28,28,28,0.12); padding: 0.5rem 0;
  opacity: 0; visibility: hidden; transition: all 0.2s ease;
  border: 1px solid var(--gray-light); margin-top: 0.75rem;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu li a {
  display: block; padding: 0.6rem 1.25rem; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--charcoal); transition: color 0.2s, background 0.2s;
}
.nav-dropdown-menu li a:hover { color: var(--burgundy); background: var(--cream-dark); }

/* =============================================
   NEW PAGE COMPONENTS (about, services, process)
   ============================================= */

/* Two-column content grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-grid-text { }
.content-grid-text p { line-height: 1.8; margin-bottom: 1.25rem; }
.content-grid-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.content-grid-image.no-box {
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}
.content-grid-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
}
.team-feature-wrap {
  margin-top: 1rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-card-photo {
  height: 260px;
  overflow: hidden;
}
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card-body { padding: 1.5rem; }
.team-card-body h3 { font-size: 1.1rem; color: var(--charcoal); margin-bottom: 0.25rem; }
.team-card-body .team-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--burgundy); display: block; margin-bottom: 0.75rem;
}
.team-card-body p { font-size: 0.88rem; line-height: 1.7; }

.team-card-feature {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  margin-bottom: 2rem;
}
.team-card-feature .team-card-photo {
  height: 100%;
  min-height: 380px;
}
.team-card-feature .team-card-photo img {
  object-position: center;
}
.team-card-feature .team-card-body {
  padding: 2rem 2.1rem;
}
.team-card-feature .team-card-body h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}
.team-card-feature .team-card-body p {
  font-size: 0.98rem;
  line-height: 1.9;
}

.team-support-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.team-support-grid .team-card {
  width: 50%;
  min-width: 250px;
  justify-self: center;
}
.team-support-grid .team-card-photo {
  height: 150px;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  text-align: left;
}
.stat-item {
  background: rgba(255,255,255,0.75);
  border: 1px solid #ddd4c5;
  border-radius: 14px;
  padding: 1.15rem 1.05rem 1.25rem;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.stat-kicker {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.5rem;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 600;
  color: var(--charcoal);
  display: block;
  line-height: 1.05;
  margin-bottom: 0.45rem;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--gray-text);
  line-height: 1.45;
}

/* About page: minimal craft-figures cards (no boxes, centered content) */
.stats-row-minimal {
  text-align: center;
}
.stats-row-minimal .stat-item {
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 0;
  padding: 0.25rem 0.5rem;
  align-items: center;
}
.stats-row-minimal .stat-kicker,
.stats-row-minimal .stat-num,
.stats-row-minimal .stat-label {
  text-align: center;
}

/* Service items grid */
.service-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.service-item-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.service-item-card:hover {
  border-bottom-color: var(--burgundy);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-item-card h3 { font-size: 1.1rem; color: var(--charcoal); margin-bottom: 0.6rem; }
.service-item-card p { font-size: 0.88rem; line-height: 1.7; }

/* Type cards grid */
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.type-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-light);
  transition: border-color var(--transition);
}
.type-card:hover { border-color: var(--burgundy); }
.type-card h3 { font-size: 1rem; color: var(--charcoal); margin-bottom: 0.5rem; }
.type-card p { font-size: 0.85rem; line-height: 1.65; }

/* Pricing table */
.pricing-table {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  margin-top: 1.5rem;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.75rem;
  border-bottom: 1px solid var(--gray-light);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row-name { font-size: 0.92rem; color: var(--charcoal); font-weight: 400; }
.pricing-row-price {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--burgundy);
  font-weight: 600;
}
.pricing-note {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.84rem;
  color: var(--gray-text);
  line-height: 1.65;
  margin-top: 1.25rem;
  border-left: 3px solid var(--burgundy);
}

/* Before/After cards */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
.ba-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ba-card-img {
  height: 260px;
  overflow: hidden;
}
.ba-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ba-card-body { padding: 1.5rem; background: var(--white); }
.ba-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray-mid); display: block; margin-bottom: 0.5rem;
}
.ba-card-body h3 { font-size: 1.05rem; color: var(--charcoal); margin-bottom: 0.5rem; }
.ba-card-body p { font-size: 0.88rem; line-height: 1.65; }

/* Process steps (alternating) */
.process-alt {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 1rem;
  align-items: center;
}
.process-alt-step {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  max-width: 700px;
  margin: 0 auto;
}
.process-alt-step.flip { direction: ltr; }
.process-alt-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.process-step-num {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--burgundy);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.process-alt-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--cream);
  width: 260px;
  height: 260px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.process-alt-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.process-alt-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.process-step-badge-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--burgundy);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.process-step-title { font-size: 1.4rem; color: var(--charcoal); margin-bottom: 0.75rem; }
.process-step-desc { font-size: 0.92rem; color: var(--gray-text); line-height: 1.8; }

/* Materials row */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.material-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.material-card h3 { font-size: 1rem; color: var(--charcoal); margin-bottom: 0.5rem; }
.material-card p { font-size: 0.85rem; line-height: 1.65; }
.material-icon {
  width: 120px; height: 120px;
  background: transparent;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  overflow: visible;
}
.material-icon img {
  width: 120px; height: 120px;
  object-fit: contain;
  display: block;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.value-icon {
  width: 120px; height: 120px;
  border-radius: var(--radius);
  overflow: visible;
  margin: 0 auto 1.5rem;
}
.value-icon img { width: 120px; height: 120px; object-fit: contain; }
.value-card h3 { font-size: 1.15rem; color: var(--charcoal); margin-bottom: 0.75rem; }
.value-card p { font-size: 0.9rem; line-height: 1.75; }

/* Guarantee section */
.guarantee-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.guarantee-text h2 { color: var(--charcoal); margin-bottom: 1rem; }
.guarantee-text .guarantee-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--burgundy);
}
.guarantee-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.guarantee-image img { width: 100%; height: 420px; object-fit: cover; }

/* FAQ list */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.faq-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { color: var(--burgundy); font-size: 1.2rem; flex-shrink: 0; margin-left: 1rem; }
.faq-body { padding: 0 1.5rem 1.25rem; font-size: 0.9rem; color: var(--gray-text); line-height: 1.7; }

/* Techniques grid */
.techniques-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.technique-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--burgundy);
}
.technique-card h3 { font-size: 1.1rem; color: var(--charcoal); margin-bottom: 0.65rem; }
.technique-card p { font-size: 0.88rem; line-height: 1.7; }

/* Also-see nav */
.also-see {
  text-align: center;
  padding: 1.5rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
}
.also-see a { color: var(--burgundy); margin: 0 0.5rem; transition: color var(--transition); }
.also-see a:hover { color: var(--burgundy-dark); }

/* Responsive adjustments for new pages */
@media (max-width: 1024px) {
  .content-grid,
  .guarantee-block { grid-template-columns: 1fr; gap: 3rem; }
  .content-grid.reverse { direction: ltr; }
  .process-alt-step { grid-template-columns: 1fr; gap: 2rem; }
  .process-alt-step.flip { direction: ltr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card-feature { grid-template-columns: 1fr; }
  .team-card-feature .team-card-photo { min-height: 320px; }
  .team-support-grid .team-card { width: 70%; min-width: 220px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .service-items-grid { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .before-after-grid { grid-template-columns: 1fr; }
  .techniques-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card-feature .team-card-photo { min-height: 260px; }
  .team-support-grid .team-card { width: 100%; min-width: 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
}
