/* ============================================
   Xavier Roofing & Remodeling LLC
   Corporate design system
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f5f3;
  --surface: #ffffff;
  --ink: #0c1424;
  --ink-2: #1f2a40;
  --muted: #4b5563;
  --muted-2: #6b7280;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --navy: #0c1726;
  --navy-2: #0f1c30;
  --accent: #a3171a;
  --accent-hover: #7f1112;
  --container: 1200px;
  --header-height: 84px;
  --radius: 4px;
  --radius-lg: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: var(--accent);
}

/* ============================================
   Skip link
   ============================================ */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1001;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ============================================
   Container
   ============================================ */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  margin: 0 0 18px;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.8rem);
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.35rem);
  line-height: 1.25;
}

h4 {
  font-size: 1rem;
  line-height: 1.3;
}

p {
  margin: 0 0 14px;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.65;
  max-width: 60ch;
}

.eyebrow {
  display: block;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 200ms var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line), 0 4px 14px rgba(12, 20, 36, 0.04);
}

.header-top {
  display: none;
  padding: 6px 0;
  color: #d6dae1;
  background: var(--navy);
  font-size: 0.82rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.header-top a {
  color: #fff;
  font-weight: 500;
}

.header-top a:hover {
  color: #fff;
  opacity: 0.85;
}

@media (min-width: 980px) {
  .header-top {
    display: block;
  }
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border: 2px solid var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 2px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-name small {
  color: var(--muted-2);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 16px;
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 180ms var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  color: #fff;
  background: var(--accent);
  font-weight: 600;
  font-size: 0.94rem;
  border-radius: var(--radius);
  transition: background 180ms var(--ease);
}

.header-cta:hover {
  background: var(--accent-hover);
}

.nav-toggle {
  width: 46px;
  height: 46px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 220ms var(--ease), opacity 180ms;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero — cinematic full-bleed
   ============================================ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: clamp(620px, 86vh, 820px);
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 23, 38, 0.45) 0%, rgba(12, 23, 38, 0.78) 70%, rgba(12, 23, 38, 0.95) 100%),
    linear-gradient(90deg, rgba(12, 23, 38, 0.78) 0%, rgba(12, 23, 38, 0.35) 55%, rgba(12, 23, 38, 0.15) 100%);
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 30% 50%, #000 30%, transparent 80%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-copy {
  max-width: 760px;
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -28px;
  width: 4px;
  height: 56px;
  background: var(--accent);
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 8px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
}

.hero .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(163, 23, 26, 0.7);
}

.hero h1 {
  color: #fff;
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero h1 .em {
  display: block;
  color: #e6cfa0;
  font-weight: 500;
  font-style: italic;
}

.hero-lead {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.6;
}

.hero .button-row {
  margin-top: 36px;
}

.hero .button.primary {
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6);
}

.hero-footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 16, 28, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 0;
}

.hero-footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-footer-grid > div:first-child {
  padding-left: 0;
}

.hero-footer-grid > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.hf-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hf-value {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.hf-value a {
  color: inherit;
}

/* ============================================
   Trust strip
   ============================================ */
.trust-strip {
  padding: 28px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.trust-strip .container {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
}

.trust-strip h4 {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 500;
}

.trust-strip ul li {
  position: relative;
  padding-left: 18px;
}

.trust-strip ul li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 1px;
}

/* ============================================
   Buttons
   ============================================ */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-hover);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.button.secondary:hover {
  background: var(--bg-alt);
  border-color: var(--ink);
}

.button.dark {
  color: #fff;
  background: var(--navy);
}

.button.dark:hover {
  background: var(--navy-2);
}

.button.light {
  color: var(--ink);
  background: #fff;
}

.button.light:hover {
  background: var(--bg-alt);
}

.button.ghost-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.button.ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.button.full {
  width: 100%;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 96px 0;
}

.section.tight {
  padding: 64px 0;
}

.section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  max-width: 100%;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

/* ============================================
   Service cards
   ============================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 220ms var(--ease), transform 220ms var(--ease);
}

.service-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}

.service-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .service-num {
  display: block;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  margin: 0 0 24px;
}

.service-card .text-link {
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.text-link::after {
  content: "→";
  transition: transform 220ms var(--ease);
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* ============================================
   Stats
   ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat-num {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.stat-label {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 500ms var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.03);
}

.gallery figcaption {
  display: block;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

/* ============================================
   CTA banner
   ============================================ */
.cta-banner {
  padding: 88px 0;
  color: #fff;
  background: var(--navy);
}

.cta-banner .container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.cta-banner h2 {
  color: #fff;
  margin: 0 0 12px;
}

.cta-banner p {
  margin: 0;
  color: #d2d6dd;
  max-width: 50ch;
}

.cta-banner .eyebrow {
  color: #ff9a9d;
}

.cta-banner .button-row {
  justify-self: end;
  margin-top: 0;
}

/* ============================================
   Page hero — cinematic (interior pages)
   ============================================ */
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 56vh, 540px);
  padding: 100px 0 70px;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  animation: heroZoomSubtle 16s ease-out forwards;
}

@keyframes heroZoomSubtle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 23, 38, 0.55) 0%, rgba(12, 23, 38, 0.88) 100%),
    linear-gradient(90deg, rgba(12, 23, 38, 0.85) 0%, rgba(12, 23, 38, 0.4) 100%);
}

.page-hero-copy {
  position: relative;
  max-width: 760px;
}

.page-hero-copy::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -24px;
  width: 4px;
  height: 48px;
  background: var(--accent);
}

.page-hero h1 {
  color: #fff;
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  max-width: 60ch;
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 7px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
}

.page-hero .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(163, 23, 26, 0.6);
}

.page-hero .button-row {
  margin-top: 32px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 180ms var(--ease);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  color: #fff;
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Category navigation (services)
   ============================================ */
.category-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.category-nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.category-nav-label {
  margin-right: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.category-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.category-nav a::before {
  content: attr(data-num);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.category-nav a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.category-nav a.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.category-nav a.active::before {
  color: #ff9a9d;
}

/* ============================================
   Category intro (services sections)
   ============================================ */
.category-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 64px;
  align-items: end;
  padding-bottom: 36px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.category-intro .cat-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.category-intro .cat-num {
  display: block;
  font-size: clamp(3.2rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.category-intro .cat-num span {
  color: var(--accent);
}

.category-intro h2 {
  margin: 16px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.category-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 58ch;
}

/* ============================================
   Feature block (alternating service detail)
   ============================================ */
.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.feature-block.reverse .feature-block-media {
  order: 2;
}

.feature-block-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}

.feature-block-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.feature-block:hover .feature-block-media img {
  transform: scale(1.03);
}

.feature-block-media::after {
  content: attr(data-tag);
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(12, 23, 38, 0.85);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  backdrop-filter: blur(6px);
}

.feature-block-copy {
  max-width: 540px;
}

.feature-block-num {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 12px;
  color: var(--accent);
  background: rgba(163, 23, 26, 0.08);
  border-radius: 3px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-block h3 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.feature-block-copy > p {
  color: var(--muted);
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 0.93rem;
  line-height: 1.4;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

.feature-block .button-row {
  margin-top: 28px;
}

/* ============================================
   Mission statement (about)
   ============================================ */
.mission {
  position: relative;
  padding: 120px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.mission-mark {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 4rem;
  line-height: 0.6;
  font-family: Georgia, "Times New Roman", serif;
}

.mission h2 {
  max-width: 22ch;
  margin: 0 0 28px;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.mission h2 .em {
  color: var(--accent);
}

.mission p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 60ch;
}

.mission-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.mission-meta strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.mission-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.mission-meta-divider {
  width: 1px;
  height: 32px;
  background: var(--line-strong);
}

/* ============================================
   Highlights row (about - what we do)
   ============================================ */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.highlights .h-item {
  padding: 40px 36px 40px 0;
  border-right: 1px solid var(--line);
}

.highlights .h-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.highlights .h-item:not(:first-child) {
  padding-left: 36px;
}

.highlights .h-num {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.highlights h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.highlights p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ============================================
   Contact info column
   ============================================ */
.contact-info-grid {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.contact-info-block {
  padding: 24px 26px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-info-block h4 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-info-block .value {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.contact-info-block .value a {
  color: inherit;
}

.contact-info-block .value a:hover {
  color: var(--accent);
}

.contact-info-block .note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-info-block ul {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.94rem;
}

.contact-info-block ul li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-block ul li:last-child {
  border-bottom: 0;
}

.contact-info-block ul li span {
  color: var(--muted);
}

.contact-info-block ul li strong {
  color: var(--ink);
  font-weight: 600;
}

/* ============================================
   FAQ accordion
   ============================================ */
.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.faq p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 70ch;
}

/* ============================================
   Process steps
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 40px 32px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step-num {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  margin: 0;
}

/* ============================================
   Image-text
   ============================================ */
.image-text {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

.image-text img {
  width: 100%;
  max-height: 420px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.image-text > div {
  max-width: 560px;
}

/* ============================================
   Contact
   ============================================ */
.contact-page {
  padding: 80px 0 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.contact-methods a {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms var(--ease);
}

.contact-methods a:hover {
  background: var(--bg-alt);
}

.contact-methods .label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-methods strong {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-methods .arrow {
  color: var(--muted);
  font-size: 1.1rem;
  transition: transform 200ms var(--ease), color 200ms var(--ease);
}

.contact-methods a:hover .arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.contact-info {
  padding: 28px;
  margin-top: 36px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-info h4 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-info p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.contact-form {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form h2 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
}

.contact-form > p {
  color: var(--muted);
  margin: 0 0 26px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: inherit;
  transition: border-color 180ms var(--ease);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-status {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  padding: 72px 0 32px;
  color: #d2d6dd;
  background: var(--navy);
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand-mark {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.site-footer .brand-name small {
  color: #9fa6b3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  margin: 18px 0 0;
  color: #aab0bb;
  font-size: 0.95rem;
  max-width: 36ch;
}

.footer-col h4 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-col a {
  color: #d2d6dd;
  font-size: 0.95rem;
  transition: color 180ms var(--ease);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  color: #8a909c;
  font-size: 0.85rem;
}

/* ============================================
   Reveal on scroll (subtle)
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Floating WhatsApp bubble
   ============================================ */
.whatsapp-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 95;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42), 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), opacity 320ms var(--ease);
  opacity: 0;
  transform: translateY(20px) scale(0.85);
}

.whatsapp-bubble.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.whatsapp-bubble:hover {
  transform: translateY(-3px) scale(1.06);
  background: #1ebe5b;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55), 0 6px 14px rgba(0, 0, 0, 0.22);
}

.whatsapp-bubble svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: waPulse 2.4s ease-out infinite;
  pointer-events: none;
}

.whatsapp-bubble::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: 2px solid var(--bg);
  border-radius: 50%;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.whatsapp-bubble-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  padding: 9px 14px;
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.whatsapp-bubble-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--ink);
}

.whatsapp-bubble:hover .whatsapp-bubble-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 620px) {
  .whatsapp-bubble {
    bottom: 18px;
    right: 18px;
    width: 56px;
    height: 56px;
  }
  .whatsapp-bubble svg {
    width: 28px;
    height: 28px;
  }
  .whatsapp-bubble-tooltip {
    display: none;
  }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .header-top {
    display: none;
  }
  .header-inner {
    grid-template-columns: auto auto;
  }
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
    justify-self: end;
  }
  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 0;
    justify-self: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms;
  }
  body.nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .site-nav a {
    justify-content: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  .site-nav a::after {
    display: none;
  }
  .contact-grid,
  .split,
  .image-text,
  .section-heading.split,
  .cta-banner .container,
  .category-intro,
  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-banner .button-row {
    justify-self: start;
  }
  .service-grid,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    border-right: 0;
  }
  .highlights {
    grid-template-columns: 1fr;
  }
  .highlights .h-item {
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .highlights .h-item:last-child {
    border-bottom: 0;
  }
  .highlights .h-item:not(:first-child) {
    padding-left: 0;
  }
  .feature-block {
    padding: 56px 0;
  }
  .feature-block.reverse .feature-block-media {
    order: 0;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 90px 0 60px;
    min-height: 420px;
  }
  .page-hero-copy::before {
    left: -16px;
    height: 40px;
  }
  .category-nav {
    padding: 14px 0;
    overflow-x: auto;
  }
  .category-nav-inner {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .category-nav-label {
    display: none;
  }
  .mission {
    padding: 80px 0;
  }
  .hero {
    min-height: 600px;
  }
  .hero-content {
    padding: 100px 0 60px;
  }
  .hero-copy::before {
    left: -20px;
    height: 44px;
  }
  .hero-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 16px;
  }
  .hero-footer-grid > div {
    padding: 12px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero-footer-grid > div:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }
  .hero-footer-grid > div:nth-child(1) {
    padding-left: 0;
  }
  .hero-footer-grid > div:nth-child(3),
  .hero-footer-grid > div:nth-child(4) {
    border-bottom: 0;
  }
  .hero-footer-grid > div:nth-child(3) {
    padding-left: 0;
  }
  .hero-footer-grid > div:nth-child(4) {
    border-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 70px;
  }
  .container {
    width: min(calc(100% - 28px), var(--container));
  }
  .section {
    padding: 64px 0;
  }
  .hero {
    min-height: 560px;
  }
  .hero-content {
    padding: 90px 0 50px;
  }
  .hero-copy::before {
    display: none;
  }
  .hero-footer-grid {
    grid-template-columns: 1fr;
    padding: 14px 0;
  }
  .hero-footer-grid > div {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  .hero-footer-grid > div:last-child {
    border-bottom: 0 !important;
  }
  .page-hero {
    padding: 80px 0 50px;
    min-height: 380px;
  }
  .page-hero-copy::before {
    display: none;
  }
  .contact-page {
    padding: 56px 0;
  }
  .category-intro .cat-num {
    font-size: 2.6rem;
  }
  .feature-block .button-row {
    flex-direction: column;
  }
  .mission {
    padding: 64px 0;
  }
  .mission-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .mission-meta-divider {
    display: none;
  }
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }
  .button {
    width: 100%;
  }
  .stats-row {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .stat:last-child {
    border-bottom: 0;
  }
  .service-grid,
  .gallery {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-form {
    padding: 24px;
  }
  .contact-methods a {
    grid-template-columns: 1fr auto;
  }
  .contact-methods .label {
    grid-column: 1 / -1;
    margin-bottom: -8px;
  }
  .trust-strip .container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================
   Reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
