/* ===================================================
   THORCRETE — Styles
   Shotcrete & Concrete Solutions
   =================================================== */

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

:root {
  --charcoal: #0F172A;
  --gray: #94A3B8;
  --off-white: #F8FAFC;
  --gold: #F59E0B;
  --blue: #38BDF8;
  --dark-surface: #1E293B;
  --card-border: #E2E8F0;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --banner-height: 48px;
  --header-height: 72px;
  --section-gap: 96px;
  --container-max: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.08);
  --shadow-lg: 0 8px 30px rgba(15,23,42,0.12);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--banner-height) + var(--header-height) + 24px);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: #D97706; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.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;
}

.section {
  padding: var(--section-gap) 0;
}

.section--dark {
  background: var(--charcoal);
  color: var(--off-white);
}

.section--light-gray {
  background: #F1F5F9;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.section--dark .section-subtitle {
  color: var(--gray);
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: #D97706;
  border-color: #D97706;
  color: var(--charcoal);
}

.btn--secondary {
  background: transparent;
  color: var(--off-white);
  border-color: var(--gray);
}
.btn--secondary:hover {
  border-color: var(--off-white);
  color: var(--off-white);
}

.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--card-border);
}
.btn--outline:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.8125rem;
}

.btn--dark {
  background: var(--charcoal);
  color: var(--off-white);
  border-color: var(--charcoal);
}
.btn--dark:hover {
  background: #1E293B;
  border-color: #1E293B;
  color: var(--off-white);
}

/* --- Sale Banner --- */
.sale-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--charcoal);
  color: var(--off-white);
  height: var(--banner-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 1px solid var(--dark-surface);
}

.sale-banner__text {
  color: var(--gray);
}

.sale-banner__text strong {
  color: var(--off-white);
  font-weight: 700;
}

.sale-banner__cta {
  display: inline-flex;
  align-items: center;
  padding: 5px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--gold);
  color: var(--charcoal);
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--transition);
}
.sale-banner__cta:hover {
  background: #D97706;
  color: var(--charcoal);
}

.sale-banner__link {
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.8125rem;
}
.sale-banner__link:hover {
  color: var(--off-white);
}

/* --- Header --- */
.header {
  position: sticky;
  top: var(--banner-height);
  z-index: 900;
  background: rgba(248,250,252,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  height: var(--header-height);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--charcoal);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.header__logo svg {
  width: 36px;
  height: 36px;
}

.header__logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav { display: flex; align-items: center; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav__link {
  display: block;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--charcoal);
  background: rgba(15,23,42,0.04);
}

.nav__link--active {
  color: var(--charcoal);
}

.nav__cta {
  margin-left: 12px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--charcoal);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* --- Hero --- */
.hero {
  position: relative;
  background: var(--charcoal);
  color: var(--off-white);
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(245,158,11,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(56,189,248,0.04) 0%, transparent 70%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248,250,252,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248,250,252,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__content {
  position: relative;
  max-width: 720px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--blue) 50%, var(--gold) 100%);
}

/* --- Capability Cards --- */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.cap-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.cap-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.cap-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(245,158,11,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}

.cap-card__icon svg {
  width: 24px;
  height: 24px;
}

.cap-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cap-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Process --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
  counter-reset: process;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(245,158,11,0.1);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  border: 2px solid rgba(245,158,11,0.2);
}

.process-step__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.section--dark .process-step__desc {
  color: var(--gray);
}

.process-step__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Service Areas --- */
.service-areas {
  text-align: center;
}

.service-areas__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 24px;
}

.service-areas__badge svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

/* --- Insights / Blog Cards --- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.insight-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.insight-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.insight-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.insight-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.insight-card__title a {
  color: var(--charcoal);
  text-decoration: none;
}
.insight-card__title a:hover {
  color: var(--gold);
}

.insight-card__excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.insight-card__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Services Page --- */
.service-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--card-border);
}

.service-section:last-of-type {
  border-bottom: none;
}

.service-section__header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

.service-section__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(245,158,11,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.service-section__icon svg { width: 28px; height: 28px; }

.service-section__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.service-section__intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}

.service-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-detail-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
}

.service-detail-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.service-detail-card ul {
  list-style: none;
  padding: 0;
}

.service-detail-card li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.service-detail-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
}

/* --- Portfolio --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.project-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-md);
}

.project-card__thumb {
  background: var(--charcoal);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-card__thumb svg {
  width: 64px;
  height: 64px;
  color: var(--dark-surface);
  opacity: 0.5;
}

.project-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(245,158,11,0.9);
  color: var(--charcoal);
  border-radius: 4px;
}

.project-card__body {
  padding: 24px;
}

.project-card__type {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 8px;
}

.project-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-card__context {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.project-card__scope {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.project-card__scope li {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.project-card__scope li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 1px;
}

.project-card__detail {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.project-card__detail strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* --- About --- */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.value-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(245,158,11,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

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

.value-item__title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.value-item__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- Contact / Forms --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.form-section {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-section__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-section__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: inherit;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--off-white);
  color: var(--text-primary);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(56,189,248,0.15);
}

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

.form-group .optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius);
  color: #065F46;
  font-weight: 600;
  margin-bottom: 24px;
}

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

/* Offer section */
.offer-section {
  border-top: 4px solid var(--gold);
}

.offer-info {
  background: rgba(245,158,11,0.04);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.offer-info__title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.offer-info ul {
  list-style: none;
  padding: 0;
}

.offer-info li {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.offer-info li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 1px;
}

.offer-info__note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

/* --- Blog --- */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
}

.blog-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.blog-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card__title a {
  color: var(--charcoal);
}
.blog-card__title a:hover {
  color: var(--gold);
}

.blog-card__excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.blog-card__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Blog article */
.article {
  max-width: 740px;
  margin: 0 auto;
}

.article__header {
  margin-bottom: 40px;
}

.article__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.article__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.article__meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.article__body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
}

.article__body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.article__body p {
  margin-bottom: 20px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.article__body ul,
.article__body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article__body li {
  margin-bottom: 8px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.article__body strong {
  color: var(--text-primary);
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 0.9375rem;
}

.comparison-table thead {
  background: var(--charcoal);
  color: var(--off-white);
}

.comparison-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-secondary);
  line-height: 1.5;
}

.comparison-table tbody tr:hover {
  background: rgba(245,158,11,0.03);
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--gold);
}

/* CTA box in articles */
.article-cta {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}

.article-cta__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 12px;
}

.article-cta__text {
  color: var(--gray);
  margin-bottom: 24px;
  font-size: 0.9375rem;
}

/* --- Page Header --- */
.page-header {
  background: var(--charcoal);
  color: var(--off-white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248,250,252,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248,250,252,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-header__content {
  position: relative;
}

.page-header__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.page-header__subtitle {
  font-size: 1.0625rem;
  color: var(--gray);
  max-width: 560px;
}

.page-header__accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}

/* --- Footer --- */
.footer {
  background: var(--charcoal);
  color: var(--gray);
  padding: 48px 0 32px;
  border-top: 1px solid var(--dark-surface);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--off-white);
}

.footer__brand svg {
  width: 28px;
  height: 28px;
}

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--gray);
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--off-white);
}

.footer__bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-surface);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
}

.footer__disclaimer {
  max-width: 560px;
  line-height: 1.55;
  color: var(--text-muted);
}

.footer__copy {
  color: var(--text-muted);
}

/* --- 404 Page --- */
.error-page {
  text-align: center;
  padding: 120px 24px;
}

.error-page__code {
  font-size: 7rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.error-page__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-page__text {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-gap: 64px;
    --banner-height: 40px;
    --header-height: 64px;
  }

  .sale-banner {
    font-size: 0.75rem;
    gap: 10px;
    padding: 0 12px;
  }

  .sale-banner__text {
    display: none;
  }

  .sale-banner__cta {
    font-size: 0.75rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--off-white);
    border-bottom: 1px solid var(--card-border);
    box-shadow: var(--shadow-lg);
    padding: 16px;
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 12px;
  }

  .hero {
    padding: 64px 0 80px;
  }

  .hero__actions {
    flex-direction: column;
  }

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

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

  .service-details {
    grid-template-columns: 1fr;
  }

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

  .form-section {
    padding: 28px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

  .comparison-table {
    font-size: 0.8125rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
  }
}
