/* ============================================================
   HARDY WORK CUSTOMS - Design System
   styles.css | Main stylesheet
   ============================================================ */

/* ── Custom Properties ── */
:root {
  /* Brand Colors */
  --navy:       #1e3a5f;
  --blue:       #2c5f8d;
  --copper:     #b87333;
  --cream:      #f4f1e8;
  --charcoal:   #3d3d3d;
  --gray-light: #e8e8e8;
  --white:      #ffffff;

  /* Derived / Utility */
  --navy-dark:    #152b47;
  --copper-dark:  #9a6128;
  --copper-light: #d4914a;
  --text-primary:   var(--charcoal);
  --text-secondary: #6b6b6b;
  --text-muted:     #999999;
  --border-color:   var(--gray-light);

  /* Typography */
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'Courier New', Courier, monospace;

  /* Type Scale */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */
  --text-5xl:  3rem;      /* 48px */
  --text-6xl:  3.75rem;   /* 60px */

  /* Spacing Scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --max-width:    1200px;
  --nav-height:   88px;

  /* Borders */
  --radius-sm: 2px;
  --radius:    4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow:    0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.35s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--copper);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-20);
}

.section--cream {
  background-color: var(--cream);
}

.section--navy {
  background-color: var(--navy);
  color: var(--white);
}

.section--gray {
  background-color: var(--gray-light);
}

/* ── Page Header Offset (for fixed nav) ── */
.page-header-offset {
  padding-top: 130px !important;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  color: var(--text-primary);
  max-width: 68ch;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* ── Section Header Component ── */
.section-header {
  margin-bottom: var(--space-16);
  max-width: 640px;
}

.section-header.centered {
  text-align: center;
  margin-inline: auto;
}

.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--space-3);
}

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

.section-header p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
}

.section--navy .section-header .eyebrow {
  color: var(--copper-light);
}

.section--navy .section-header p {
  color: rgba(255,255,255,0.75);
}

/* ── Divider ── */
.divider {
  width: 48px;
  height: 3px;
  background-color: var(--copper);
  margin-block: var(--space-4);
  border: none;
}

.section-header.centered .divider {
  margin-inline: auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
}

.btn--primary {
  background-color: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}

.btn--primary:hover {
  background-color: var(--copper-dark);
  border-color: var(--copper-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--secondary {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--secondary:hover {
  background-color: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline-white:hover {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn--ghost {
  background-color: transparent;
  color: var(--copper);
  border-color: transparent;
  padding-inline: 0;
}

.btn--ghost:hover {
  color: var(--copper-dark);
}

.btn--ghost::after {
  content: '→';
  transition: transform var(--transition);
}

.btn--ghost:hover::after {
  transform: translateX(4px);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-base);
}

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  min-height: 88px;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow var(--transition);
}

.site-nav.scrolled {
  box-shadow: var(--shadow);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: var(--space-6);
  max-width: var(--max-width);
  margin-inline: auto;
}

.site-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-nav__logo img {
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.site-nav__links a {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.site-nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--copper);
  transition: width var(--transition);
}

.site-nav__links a:hover,
.site-nav__links a.active {
  color: var(--navy);
}

.site-nav__links a:hover::after,
.site-nav__links a.active::after {
  width: 100%;
}

.site-nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-nav__phone {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.site-nav__phone:hover {
  color: var(--copper);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--charcoal);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Page offset for fixed nav ── */
.page-content {
  padding-top: var(--nav-height);
}

/* ── Hero Section ── */
.hero {
  background-color: var(--navy);
  color: var(--white);
  padding-top: calc(var(--nav-height) + var(--space-20));
  padding-bottom: var(--space-24);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--blue) 100%);
  opacity: 0.9;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: var(--space-5);
  border-left: 3px solid var(--copper);
  padding-left: var(--space-3);
}

.hero__headline {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--space-6);
  max-width: 14ch;
}

.hero__headline em {
  font-style: normal;
  color: var(--copper-light);
}

.hero__subheadline {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: rgba(255,255,255,0.80);
  margin-bottom: var(--space-10);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero__stats {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-16);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--copper-light);
  display: block;
  line-height: 1;
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  margin-top: var(--space-1);
  display: block;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.04);
}

.card__body {
  padding: var(--space-6);
}

.card__tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--space-3);
}

.card__title {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-3);
}

.card__text {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: none;
}

/* ── Service Cards ── */
.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  transition: all var(--transition);
  border-top: 3px solid transparent;
}

.service-card:hover {
  border-top-color: var(--copper);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background-color: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--navy);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card__title {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--space-3);
}

.service-card__text {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: none;
}

/* ── Grid Layouts ── */
.grid {
  display: grid;
  gap: var(--space-6);
}

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

/* ── Trust / Value Props ── */
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.trust-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(184, 115, 51, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
}

.trust-item__icon svg {
  width: 20px;
  height: 20px;
}

.trust-item__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-1);
  font-family: var(--font-body);
}

.trust-item__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: none;
}

/* ── Quote / Testimonial ── */
.testimonial {
  background: var(--white);
  border-left: 4px solid var(--copper);
  padding: var(--space-8);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  line-height: 1.6;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: var(--space-5);
  max-width: none;
}

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

.testimonial__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.testimonial__role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ── Process Steps ── */
.process-step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.process-step__number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: var(--copper);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  font-family: var(--font-heading);
}

.process-step__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
}

.process-step__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: none;
}

/* ── Badge / Tag ── */
.badge {
  display: inline-block;
  padding: 0.2em 0.7em;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.badge--copper {
  background-color: rgba(184,115,51,0.12);
  color: var(--copper-dark);
}

.badge--navy {
  background-color: rgba(30,58,95,0.10);
  color: var(--navy);
}

/* ── Filter Tabs ── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

.filter-tab {
  padding: 0.45rem 1.1rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
}

.filter-tab:hover,
.filter-tab.active {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── Portfolio Grid ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  cursor: pointer;
  background-color: var(--gray-light);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,58,95,0.90) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: var(--space-6);
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-item:hover .portfolio-item__overlay {
  opacity: 1;
}

.portfolio-item__info {
  color: var(--white);
}

.portfolio-item__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-light);
  display: block;
  margin-bottom: var(--space-1);
}

.portfolio-item__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--white);
}

/* ── Contact Form ── */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--text-base);
  color: var(--charcoal);
  background-color: var(--white);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  line-height: 1.5;
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(44,95,141,0.15);
}

.form-control::placeholder {
  color: var(--text-muted);
}

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

.form-select {
  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 fill='%236b6b6b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ── Contact Info Block ── */
.contact-info-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background-color: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.contact-info-item__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-item__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
  margin-bottom: var(--space-1);
}

.contact-info-item__value {
  font-size: var(--text-base);
  color: var(--charcoal);
  font-weight: 500;
  max-width: none;
}

.contact-info-item__value a {
  color: var(--charcoal);
}

.contact-info-item__value a:hover {
  color: var(--copper);
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding-block: var(--space-20);
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* ── Site Footer ── */
.site-footer {
  background-color: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding-block: var(--space-16) var(--space-8);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  margin-bottom: var(--space-8);
}

.site-footer__logo img {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-4);
  /* Invert logo if needed for dark background */
  filter: brightness(0) invert(1);
}

.site-footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255,255,255,0.60);
  max-width: 28ch;
}

.site-footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-5);
}

.site-footer__links li + li {
  margin-top: var(--space-3);
}

.site-footer__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.site-footer__links a:hover {
  color: var(--copper-light);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.site-footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
}

.site-footer__legal {
  display: flex;
  gap: var(--space-5);
}

.site-footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
}

.site-footer__legal a:hover {
  color: rgba(255,255,255,0.75);
}

/* ── Area Tags ── */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.area-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy);
  background-color: rgba(30,58,95,0.08);
  border-radius: 100px;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-16);
}

.page-hero .eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: var(--space-3);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-lg);
  max-width: 56ch;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-4);
}

.breadcrumb a {
  color: rgba(255,255,255,0.55);
}

.breadcrumb a:hover {
  color: var(--copper-light);
}

.breadcrumb-sep {
  opacity: 0.4;
}

/* ── Flex Utilities ── */
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }
.gap-10 { gap: var(--space-10); }

/* ── Margin Utilities ── */
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

/* ── Visually Hidden (accessibility) ── */
.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;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  color: rgba(255,255,255,0.8);
  font-size: var(--text-2xl);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  padding: var(--space-2);
  transition: color var(--transition);
}

.lightbox__close:hover {
  color: var(--white);
}

/* ── Scroll animation classes ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

/* ── Success / Error states ── */
.form-success {
  background-color: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  display: none;
}

.form-success.visible { display: block; }

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 500;
  width: 44px;
  height: 44px;
  background-color: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--copper);
  transform: translateY(-2px);
}

/* ── Print ── */
@media print {
  .site-nav,
  .back-to-top,
  .cta-banner { display: none; }
  .page-content { padding-top: 0; }
}

/* ============================================================
   HOME PAGE - Specific Components
   ============================================================ */

/* ── Home Hero ── */
.home-hero {
  background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 55%, #1e4d7b 100%);
  padding-top: calc(var(--nav-height) + var(--space-20));
  padding-bottom: var(--space-24);
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(44,95,141,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 100% 100%, rgba(184,115,51,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: var(--space-5);
  border-left: 3px solid var(--copper);
  padding-left: var(--space-3);
}

.home-hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: var(--space-5);
  max-width: 18ch;
}

.home-hero__mission {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--copper-light);
  margin-bottom: var(--space-5);
  line-height: 1.4;
  max-width: none;
}

.home-hero__body {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--space-10);
  max-width: 58ch;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* Stats bar */
.home-hero__stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.14);
  flex-wrap: wrap;
}

.home-hero__stat {
  display: flex;
  flex-direction: column;
  padding-right: var(--space-10);
}

.home-hero__stat-num {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--copper-light);
  line-height: 1;
}

.home-hero__stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.58);
  margin-top: var(--space-2);
}

.home-hero__stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.14);
  margin-right: var(--space-10);
  align-self: stretch;
  min-height: 48px;
}

/* ── Area strip ── */
.area-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--border-color);
}

.area-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  padding-block: var(--space-4);
}

.area-strip__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Value Props ── */
.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-4);
}

.value-prop {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  transition: box-shadow var(--transition), transform var(--transition);
}

.value-prop:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.value-prop__icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(184,115,51,0.10), rgba(184,115,51,0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  margin-bottom: var(--space-5);
  border: 1px solid rgba(184,115,51,0.15);
}

.value-prop__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-3);
  font-weight: 700;
}

.value-prop__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: none;
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: 1fr 220px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.svc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--copper);
}

.svc-card__photo {
  overflow: hidden;
  order: 2;
}

.svc-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.svc-card:hover .svc-card__photo img {
  transform: scale(1.04);
}

.svc-card__body {
  padding: var(--space-7, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  order: 1;
}

.svc-card__icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  margin-bottom: var(--space-2);
  border: 1px solid var(--border-color);
}

.svc-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.svc-card__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: none;
  flex: 1;
}

/* ── Portfolio Preview Header ── */
.portfolio-preview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

/* ── Featured Project Card ── */
.featured-project {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  background: var(--white);
  margin-bottom: var(--space-2);
}

.featured-project__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.featured-project__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.featured-project:hover .featured-project__image img {
  transform: scale(1.03);
}

.featured-project__badge {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  background: var(--copper);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3em 0.9em;
  border-radius: var(--radius-sm);
}

.featured-project__body {
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
}

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

.featured-project__location {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.featured-project__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.featured-project__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: none;
  margin: 0;
}

.featured-project__highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.featured-project__highlights li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--charcoal);
  font-weight: 500;
}

.featured-project__highlights svg {
  color: var(--copper);
  flex-shrink: 0;
}

/* ── Home Testimonial (navy bg) ── */
.home-testimonial {
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.home-testimonial__mark {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--copper);
  opacity: 0.5;
  margin-bottom: -1.5rem;
  display: block;
}

.home-testimonial__quote {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
  font-style: italic;
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  max-width: 72ch;
  margin-inline: auto;
}

.home-testimonial__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.home-testimonial__name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  display: block;
}

.home-testimonial__role {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
}

/* ── Home CTA Section ── */
.home-cta {
  background: var(--cream);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding-block: var(--space-20);
}

.home-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.home-cta__content .eyebrow {
  margin-bottom: var(--space-3);
}

.home-cta__content h2 {
  margin-bottom: var(--space-4);
}

.home-cta__sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 46ch;
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.home-cta__area {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: none;
  line-height: 1.5;
  margin: 0;
}

.home-cta__area svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--copper);
}

.home-cta__process {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}

.home-cta__process-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-6);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.home-cta__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  counter-reset: none;
}

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

.home-cta__step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--copper);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: var(--font-heading);
}

.home-cta__step strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--navy);
  margin-bottom: var(--space-1);
}

.home-cta__step p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: none;
  margin: 0;
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--navy);
  padding-block: var(--space-10);
}

.trust-bar__inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: var(--space-8);
  justify-content: center;
}

.trust-signal {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  flex: 1;
  min-width: 200px;
}

.trust-signal__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper-light);
  border: 1px solid rgba(255,255,255,0.10);
}

.trust-signal__title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-1);
  max-width: none;
  font-family: var(--font-body);
}

.trust-signal__text {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.58);
  line-height: 1.6;
  max-width: none;
}

.trust-signal__divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  align-self: stretch;
  min-height: 60px;
}

/* ── Space-7 patch (not in original scale) ── */
.svc-card__body { padding: 1.75rem; }

/* ============================================================
   SERVICES PAGE - Components
   ============================================================ */

/* ── Jump nav ── */
.services-jumpnav {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  box-shadow: var(--shadow-sm);
}

.services-jumpnav__inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.services-jumpnav__inner::-webkit-scrollbar { display: none; }

.services-jumpnav__link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  letter-spacing: 0.01em;
}

.services-jumpnav__link svg {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--transition);
}

.services-jumpnav__link:hover {
  color: var(--navy);
  border-bottom-color: var(--copper);
}

.services-jumpnav__link:hover svg {
  color: var(--copper);
}

/* ── Intro strip ── */
.svcs-intro-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--border-color);
}

.svcs-intro-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-6);
}

.svcs-intro-strip__text {
  font-size: var(--text-lg);
  color: var(--charcoal);
  max-width: 60ch;
  margin: 0;
  line-height: 1.6;
}

/* ── Service Section ── */
.svc-section {
  padding-block: var(--space-20);
}

.svc-section--cream {
  background-color: var(--cream);
}

.svc-section__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* Flipped: photo first, content second in DOM but CSS reorders */
.svc-section--flipped .svc-section__layout {
  /* Photo is already first in DOM for flipped sections */
}

.svc-section__icon-wrap {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(184,115,51,0.12), rgba(184,115,51,0.05));
  border: 1px solid rgba(184,115,51,0.18);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  margin-bottom: var(--space-4);
}

.svc-section__content .eyebrow {
  margin-bottom: var(--space-2);
}

.svc-section__content h2 {
  margin-bottom: var(--space-4);
}

.svc-section__lead {
  font-size: var(--text-lg);
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: var(--space-4);
  max-width: none;
}

.svc-section__body {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: none;
}

.svc-section__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.svc-section__col-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  max-width: none;
}

/* Photo panel */
.svc-section__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-light);
}

.svc-section__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.svc-section__layout:hover .svc-section__photo img {
  transform: scale(1.02);
}

.svc-section__photo--empty {
  background: linear-gradient(135deg, var(--gray-light), #d0d0d0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* ── Checklist ── */
.svc-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.svc-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--charcoal);
  line-height: 1.5;
}

.svc-checklist__item svg {
  color: var(--copper);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Numbered scope list ── */
.svc-scope-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.svc-scope-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--charcoal);
  line-height: 1.5;
}

.svc-scope-list__num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-top: 1px;
}

/* ── Tag grid ── */
.svc-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.svc-tag {
  display: inline-block;
  padding: 0.3em 0.8em;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy);
  background: rgba(30,58,95,0.08);
  border-radius: 100px;
  border: 1px solid rgba(30,58,95,0.12);
}

/* ── Specialist strip ── */
.svc-specialist-strip {
  background: var(--cream);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.svc-specialist-strip__inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
  padding-block: var(--space-8);
}

.svc-specialist-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  flex: 1;
  min-width: 260px;
  padding: var(--space-4);
}

.svc-specialist-item svg {
  flex-shrink: 0;
  color: var(--copper);
  margin-top: 2px;
}

.svc-specialist-item strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--navy);
  margin-bottom: var(--space-1);
}

.svc-specialist-item div > *:last-child {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: none;
  margin: 0;
}

.svc-specialist-divider {
  width: 1px;
  background: var(--border-color);
  align-self: stretch;
  margin-inline: var(--space-4);
}

/* ── Process Track ── */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.process-track__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-track__num {
  width: 52px;
  height: 52px;
  background: var(--copper);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
  box-shadow: 0 0 0 4px rgba(184,115,51,0.2);
}

.process-track__connector {
  position: absolute;
  top: 26px;
  left: calc(50% + 26px);
  right: calc(-50% + 26px);
  height: 2px;
  background: rgba(255,255,255,0.15);
}

.process-track__connector--last {
  display: none;
}

.process-track__card {
  margin-top: var(--space-5);
  text-align: center;
  padding: 0 var(--space-2);
}

.process-track__title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.process-track__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: none;
}

/* ── Service Area Layout ── */
.svc-area-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.svc-area-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.svc-area-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-color);
}

.svc-area-item:last-child {
  border-bottom: none;
}

.svc-area-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(30,58,95,0.07);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.svc-area-item__name {
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.3;
}

.svc-area-item__note {
  display: block;
  font-size: var(--text-xs);
  color: var(--copper);
  font-weight: 600;
  margin-top: 2px;
}

.svc-area-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.svc-area-card__inner {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.svc-area-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper-light);
  border: 1px solid rgba(255,255,255,0.10);
}

.svc-area-card__title {
  font-size: var(--text-lg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
}

.svc-area-card__text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  max-width: none;
  margin: 0;
}

.svc-area-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-8);
  background: rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.svc-area-card__tags .area-tag {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
}

/* ── Services CTA Section ── */
.svcs-cta {
  background: var(--cream);
  border-top: 1px solid var(--border-color);
  padding-block: var(--space-20);
}

.svcs-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.svcs-cta__content .eyebrow {
  margin-bottom: var(--space-3);
}

.svcs-cta__content h2 {
  margin-bottom: var(--space-4);
}

.svcs-cta__sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 48ch;
}

.svcs-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.svcs-cta__area {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: none;
  line-height: 1.5;
  margin: 0;
}

.svcs-cta__area svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--copper);
}

.svcs-cta__trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-8);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

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

.svcs-trust-item svg {
  flex-shrink: 0;
  color: var(--copper);
  margin-top: 2px;
}

.svcs-trust-item strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--navy);
  margin-bottom: var(--space-1);
}

.svcs-trust-item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: none;
  margin: 0;
}

/* ============================================================
   PORTFOLIO PAGE - Components
   ============================================================ */

/* ── Portfolio section spacing ── */
.portfolio-section {
  padding-top: var(--space-12);
}

/* ── Portfolio item badge & count ── */
.portfolio-item__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: var(--copper);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: var(--space-2);
}

.portfolio-item__count {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  margin-top: var(--space-1);
  letter-spacing: 0.04em;
}

/* ── Portfolio loading / empty states ── */
.portfolio-loading,
.portfolio-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-20) var(--space-4);
  color: var(--text-muted);
}

/* ── Featured project section ── */
.pf-featured__photos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.pf-featured__main {
  grid-row: 1 / 3;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.pf-featured__thumbs {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pf-featured__thumb {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  flex: 1;
}

.pf-featured__tap-hint {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  margin-top: var(--space-2);
  letter-spacing: 0.06em;
}

/* ── Featured meta bar ── */
.pf-featured__meta {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
}

.pf-featured__meta-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.pf-featured__meta-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.pf-featured__meta-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--charcoal);
}

.pf-featured__meta-value--copper {
  color: var(--copper);
  font-weight: 700;
}

.pf-featured__meta-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
  flex-shrink: 0;
  margin-inline: var(--space-6);
}

/* ── Lightbox redesign ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: stretch;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 25, 0.96);
  cursor: pointer;
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  max-height: 100vh;
}

/* Image area */
.lightbox__image-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-10) var(--space-6);
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  transition: opacity 0.15s ease;
  display: block;
}

/* Prev / Next nav */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  z-index: 2;
}

.lightbox__nav:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
}

.lightbox__prev { left: var(--space-4); }
.lightbox__next { right: var(--space-4); }

/* Image counter */
.lightbox__counter {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.4);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Details sidebar */
.lightbox__details {
  width: 300px;
  flex-shrink: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: var(--space-10) var(--space-8);
  overflow-y: auto;
  position: relative;
}

.lightbox__close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  border: none;
  border-radius: 50%;
  color: var(--charcoal);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.lightbox__close:hover {
  background: var(--charcoal);
  color: var(--white);
}

.lightbox__project-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--copper);
  background: rgba(184,115,51,0.1);
  border: 1px solid rgba(184,115,51,0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
  align-self: flex-start;
}

.lightbox__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-3);
  line-height: 1.25;
}

.lightbox__location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.lightbox__location svg {
  flex-shrink: 0;
  color: var(--copper);
}

.lightbox__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-6);
  max-width: none;
}

.lightbox__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.lightbox__tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gray-light);
  color: var(--text-secondary);
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
}

.lightbox__cta {
  margin-top: auto;
  text-align: center;
  justify-content: center;
}
