/* ============================================================
   Réno Richard Entrepreneur Général — styles.css
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --primary: #d82027;
  --primary-rgb: 216, 32, 39;
  --primary-ink: #ffffff;
  --primary-ink-rgb: 255, 255, 255;
  --primary-dark: #a51820;
  --primary-dark-rgb: 165, 24, 32;
  --primary-light: #ea4a50;
  --primary-light-rgb: 234, 74, 80;

  --secondary: #1c1c1c;
  --secondary-rgb: 28, 28, 28;
  --secondary-ink: #ffffff;
  --secondary-ink-rgb: 255, 255, 255;
  --secondary-dark: #0f0f0f;
  --secondary-dark-rgb: 15, 15, 15;
  --secondary-light: #3a3a3a;
  --secondary-light-rgb: 58, 58, 58;

  --accent: #d82027;
  --accent-rgb: 216, 32, 39;
  --accent-ink: #ffffff;
  --accent-ink-rgb: 255, 255, 255;
  --accent-on-light: #d82027;
  --accent-on-light-rgb: 216, 32, 39;

  --text: #1c1c1c;
  --text-rgb: 28, 28, 28;
  --text-light: #c7c7c7;
  --text-light-rgb: 199, 199, 199;
  --text-muted: #c8c8c8;
  --text-muted-rgb: 200, 200, 200;

  --background: #ffffff;
  --background-rgb: 255, 255, 255;
  --bg-alt: #f4f4f4;
  --bg-alt-rgb: 244, 244, 244;
  --bg-alt-ink: #111827;
  --bg-alt-ink-rgb: 17, 24, 39;

  --surface: #ffffff;
  --surface-rgb: 255, 255, 255;
  --surface-dark: #1c1c1c;
  --surface-dark-rgb: 28, 28, 28;

  --border: #909090;
  --border-rgb: 144, 144, 144;
  --border-light: #f0f0f0;
  --border-light-rgb: 240, 240, 240;

  /* Ink helpers for readable text */
  --ink-strong: #0e0e10;
  --ink-body: #2a2a2c;
  --ink-mute: #5b5c62;
  --ink-soft: #7b7c82;

  /* Typography */
  --font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Rhythm */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 15, 15, 0.06);
  --shadow: 0 8px 24px rgba(15, 15, 15, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 15, 15, 0.14);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 96px;
  --topbar-h: 44px;

  --container-w: 1240px;
  --gap: clamp(20px, 3vw, 32px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-body);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-strong);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 700; }
p  { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.section {
  padding-block: clamp(56px, 8vw, 112px);
}
.section--intro { padding-top: clamp(72px, 9vw, 128px); }
.section--why {
  background: var(--secondary);
  color: #f5f5f5;
}
.section--realizations { background: var(--bg-alt); }
.section--areas       { background: var(--background); }
.section--process     { background: var(--bg-alt); }
.section--faq         { background: var(--background); }
.section--cta {
  background: var(--background);
  padding-block: clamp(40px, 6vw, 64px);
}

.phone-inline {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 10px 16px;
  border-radius: var(--radius);
  z-index: 999;
}
.skip-link:focus { left: 8px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--secondary);
  color: #f5f5f5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar {
  background: var(--secondary-dark);
  color: #e8e8e8;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  min-height: var(--topbar-h);
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e8e8e8;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.topbar__item:hover { color: var(--primary-light); }
.topbar__item--location { margin-right: auto; }
.topbar__ico { color: var(--primary); flex: 0 0 auto; }
.topbar__item--phone span { font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }

.navbar { position: relative; }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

/* Brand mark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
}
.brand:hover { color: #fff; }
.brand__mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -0.04em;
  line-height: 1;
  padding: 4px 10px 4px 4px;
  position: relative;
}
.brand__r--white { color: #fff; transform: translateY(0); display: inline-block; }
.brand__r--red   { color: var(--primary); transform: translateX(-4px); display: inline-block; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #fff;
}
.brand__tag {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Nav */
.primary-nav {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link,
.nav-link--btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f5f5f5;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  transition: color .2s var(--ease), background .2s var(--ease);
  position: relative;
}
.nav-link:hover,
.nav-link--btn:hover,
.nav-link:focus-visible,
.nav-link--btn:focus-visible { color: var(--primary-light); background: rgba(255, 255, 255, 0.04); outline: none; }
.nav-link.active { color: var(--primary); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-caret { transition: transform .2s var(--ease); }
.has-submenu[aria-expanded='true'] > .nav-link--btn .nav-caret { transform: rotate(180deg); }

.nav-link--cta {
  background: var(--primary);
  color: #fff !important;
  padding: 12px 20px;
  margin-left: 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.nav-link--cta:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Submenu (desktop) */
.has-submenu { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s var(--ease);
  z-index: 20;
}
/* Zones dropdown is far right — align to right edge to prevent overflow */
#submenu-zones { left: auto; right: 0; }
.has-submenu.is-open > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-body);
  font-size: 14px;
  font-weight: 500;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.submenu a:hover { background: var(--bg-alt); color: var(--primary); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 16px 26px; font-size: 15px; }
.btn--sm { padding: 10px 16px; font-size: 13px; }

.btn--primary {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.24);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--primary-ink);
}
.btn--outline {
  background: transparent;
  color: var(--ink-strong);
  border-color: var(--border);
}
.btn--outline:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: #fff;
}
.btn--ghost-dark {
  background: transparent;
  color: var(--ink-strong);
  border-color: var(--secondary);
}
.btn--ghost-dark:hover {
  background: var(--secondary);
  color: #fff;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 780px);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero__img.is-active { opacity: 1; }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 15, 15, 0.55) 0%, rgba(15, 15, 15, 0.35) 45%, rgba(15, 15, 15, 0.85) 100%),
    linear-gradient(90deg, rgba(15, 15, 15, 0.7) 0%, rgba(15, 15, 15, 0.15) 55%);
}

.hero__inner {
  padding-block: clamp(80px, 12vw, 140px);
  max-width: 780px;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.eyebrow-line {
  display: inline-block;
  width: 38px;
  height: 2px;
  background: var(--primary);
}
.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.hero__title-accent {
  color: var(--primary-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85), 0 0 30px rgba(216, 32, 39, 0.55);
}
.hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: #f2f2f2;
  max-width: 620px;
  margin: 0 0 32px;
  line-height: 1.55;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.hero__badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #f2f2f2;
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.24);
}

.hero__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero__dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .2s var(--ease), width .2s var(--ease);
}
.hero__dot.is-active { background: var(--primary); width: 48px; }
.hero__dot:hover { background: rgba(255, 255, 255, 0.7); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 12px;
}
.section-eyebrow--light { color: var(--primary-light); }
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink-strong);
  margin: 0;
}
.section-title--simple {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
  max-width: 22ch;
}
.section-title--light { color: #fff; }
.section-title__accent {
  display: block;
  color: var(--primary);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}
.section-title__main {
  display: block;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: var(--ink-strong);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.section-head--center {
  justify-content: center;
  text-align: center;
}
.section-head__aside {
  max-width: 380px;
  color: var(--ink-mute);
  font-size: 15px;
  margin: 0;
}

/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro {
  text-align: center;
}
.intro .section-eyebrow { text-align: center; }
.intro__lead {
  max-width: 780px;
  margin: 20px auto 20px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--ink-body);
  line-height: 1.65;
}
.intro__body {
  max-width: 720px;
  margin: 0 auto 60px;
  color: var(--ink-mute);
  line-height: 1.7;
}
.intro__pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  text-align: left;
}
.pillar {
  position: relative;
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 28px 32px;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: var(--shadow);
}
.pillar:hover::before { transform: scaleX(1); }
.pillar__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 12px;
}
.pillar__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-strong);
  margin: 0 0 8px;
}
.pillar p {
  font-size: 14.5px;
  color: var(--ink-mute);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-grid {
  display: grid;
  gap: clamp(22px, 3vw, 32px);
}
.service-grid.service-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: var(--background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(15, 15, 15, 0.04);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.05); }

.service-card__body {
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
  background: var(--background);
}
.service-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 4px 10px;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: var(--radius-pill);
  background: rgba(var(--primary-rgb), 0.06);
  margin-bottom: 4px;
}
.service-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-strong);
  margin: 0;
  line-height: 1.2;
}
.service-card__text {
  font-size: 15px;
  color: var(--ink-mute);
  margin: 0;
  line-height: 1.6;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 10px;
  padding-bottom: 4px;
  border-bottom: 2px solid rgba(var(--primary-rgb), 0.3);
  align-self: flex-start;
  transition: gap .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.card-link:hover { gap: 14px; color: var(--primary); border-bottom-color: var(--primary); }
.card-link__arrow { transition: transform .2s var(--ease); }
.card-link:hover .card-link__arrow { transform: translateX(2px); }

.services-secondary {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
}
.services-secondary__label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-strong);
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-list li {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border-light);
  background: var(--background);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--ink-body);
  font-weight: 500;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.tag-list li:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
   WHY US (dark)
   ============================================================ */
.why {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.why__col--head { padding-right: 20px; }
.why__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  margin-bottom: 28px;
}
.why__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}
.why__item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.why__item:nth-child(1),
.why__item:nth-child(2) { border-top: 0; padding-top: 6px; }
.why__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.why__item h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.why__item p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
}

/* ============================================================
   REALIZATIONS (gallery)
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  gap: 18px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  background: var(--secondary);
  color: #fff;
  isolation: isolate;
  grid-column: span 2;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--ease), filter .3s var(--ease);
  filter: brightness(0.92);
}
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.9) 100%);
  pointer-events: none;
  z-index: 1;
}
.gallery__item:hover img { transform: scale(1.06); filter: brightness(1); }
.gallery__item--tall { grid-row: span 2; grid-column: span 2; }
.gallery__item--wide { grid-column: span 4; }
.gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 22px 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
  z-index: 2;
}

/* ============================================================
   AREAS GRID
   ============================================================ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.area-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background: var(--secondary);
}
.area-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s var(--ease), filter .3s var(--ease);
  filter: brightness(0.68);
}
.area-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.98) 100%);
  transition: background .3s var(--ease);
}
.area-card:hover img { transform: scale(1.08); filter: brightness(0.8); }
.area-card__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 22px 28px;
  z-index: 2;
  color: #fff;
}
.area-card__body h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  letter-spacing: -0.005em;
}
.area-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: var(--primary);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.35);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  text-shadow: none;
}
.area-card:hover .area-card__link {
  background: var(--primary-dark);
  transform: translateX(2px);
}

/* ============================================================
   PROCESS (steps)
   ============================================================ */
ol.steps {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  counter-reset: none;
}
.step {
  position: relative;
  padding: 32px 26px;
  background: var(--background);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--primary-rgb), 0.35);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 18px;
}
.step__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-strong);
  margin: 0 0 8px;
}
.step p {
  font-size: 14.5px;
  color: var(--ink-mute);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--header-h) + var(--topbar-h) + 20px); }
.faq__aside {
  color: var(--ink-mute);
  font-size: 15px;
  margin: 20px 0 0;
}
.faq__aside a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--background);
  border: 1px solid #d9d9d9;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 1px 2px rgba(15, 15, 15, 0.04);
}
.faq-item[open] {
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: var(--shadow-sm);
}
.faq-item__q {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-strong);
  transition: color .2s var(--ease);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--primary); }
.faq-item__ico {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  transition: transform .25s var(--ease), background .2s var(--ease);
}
.faq-item[open] .faq-item__ico {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}
.faq-item__a {
  padding: 0 26px 22px;
  color: var(--ink-mute);
  line-height: 1.65;
}
.faq-item__a p { margin: 0; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-left: 6px solid var(--primary);
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.16) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band__eyebrow {
  color: var(--primary-light);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 10px;
}
.cta-band__title {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.15;
}
.cta-band__lead {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  font-size: 15.5px;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.cta-band .btn--ghost-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.cta-band .btn--ghost-dark:hover {
  background: #fff;
  color: var(--secondary);
  border-color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--secondary-dark);
  color: #f5f5f5;
}
.footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(32px, 4vw, 56px);
  padding-block: clamp(56px, 7vw, 88px);
}
.footer__col--brand p { color: rgba(255, 255, 255, 0.75); font-size: 14.5px; margin: 20px 0 24px; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__tag { color: rgba(255, 255, 255, 0.65); }

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.footer__social:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.footer__title {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
  display: inline-block;
}
.footer__links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}
.footer__contact {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
}
.footer__contact a {
  color: #fff;
  transition: color .2s var(--ease);
}
.footer__contact a:hover { color: var(--primary-light); }
.footer__label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 4px;
}
.footer__cta { margin-top: 4px; }

.footer__col--contact {
  padding: 4px 22px 22px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  align-self: start;
}
.footer__col--contact .footer__title { margin-top: 0; }
.footer__col--contact .footer__cta { margin-top: 8px; display: inline-flex; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 22px;
}
.footer-bottom__copy, .footer-bottom__legal { margin: 0; }
.footer-bottom__legal a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom__legal a:hover { color: var(--primary-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --header-h: 84px; }
  .why { grid-template-columns: 1fr; }
  .why__col--head { padding-right: 0; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }

  .footer { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }

  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .areas-grid .area-card:nth-child(4),
  .areas-grid .area-card:nth-child(5) { aspect-ratio: 16 / 10; }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery__item { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 2; grid-column: span 2; }
  .gallery__item--wide { grid-column: span 2; }

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

@media (max-width: 900px) {
  .topbar__inner { gap: 16px; font-size: 12px; }
  .topbar__item--cta span { display: none; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: calc(var(--header-h) + var(--topbar-h)) 0 0 0;
    background: var(--secondary);
    padding: 24px 20px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    align-items: stretch;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }
  .nav-list > li { width: 100%; }
  .nav-link, .nav-link--btn {
    width: 100%;
    padding: 16px 12px;
    justify-content: space-between;
    text-align: left;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }
  .nav-link.active::after { display: none; }
  .nav-link.active { background: rgba(var(--primary-rgb), 0.08); }
  .nav-link--cta {
    background: var(--primary);
    justify-content: center;
    margin-top: 12px;
    border-radius: var(--radius-pill);
    border: 0;
  }
  .submenu {
    position: static;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: none;
    border: 0;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 4px 12px 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease), padding .3s var(--ease);
  }
  .has-submenu.is-open > .submenu { max-height: 400px; padding: 4px 12px 12px; }
  .submenu a { color: rgba(255, 255, 255, 0.85); font-size: 14px; padding: 12px 14px; }
  .submenu a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }

  .service-grid.service-grid--three { grid-template-columns: repeat(2, 1fr); }
  .intro__pillars { grid-template-columns: 1fr; }

  .why__list { grid-template-columns: 1fr; }
  .why__item:nth-child(2) { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 22px; }

  .cta-band { grid-template-columns: 1fr; text-align: left; }
  .cta-band__actions { justify-content: flex-start; }

  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid .area-card { aspect-ratio: 4 / 3; }
  .areas-grid .area-card:nth-child(5) { grid-column: span 2; aspect-ratio: 16 / 6; }

  .footer { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item { grid-column: span 1; }
  .gallery__item--tall { grid-row: span 1; grid-column: span 1; }
  .gallery__item--wide { grid-column: span 2; }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  :root { --topbar-h: 0px; --header-h: 72px; }

  .navbar__inner { min-height: 72px; }
  .brand__mark { font-size: 30px; }
  .brand__name { font-size: 15px; }
  .brand__tag  { font-size: 9px; letter-spacing: 0.18em; }

  .hero { min-height: 100vh; }
  .hero__title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__badges { gap: 12px 18px; }

  .service-grid.service-grid--three { grid-template-columns: 1fr; }
  ol.steps { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head__aside { max-width: 100%; }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery__item,
  .gallery__item--tall,
  .gallery__item--wide { grid-column: auto; grid-row: auto; }

  .areas-grid { grid-template-columns: 1fr; }
  .areas-grid .area-card,
  .areas-grid .area-card:nth-child(5) { aspect-ratio: 16 / 9; grid-column: auto; }

  .footer { grid-template-columns: 1fr; }
  .footer-bottom__inner { justify-content: center; text-align: center; }

  .services-secondary { padding: 22px 20px; }
  .cta-band { padding: 28px 22px; }

  .btn { padding: 12px 18px; font-size: 13.5px; }
  .btn--lg { padding: 14px 20px; font-size: 14px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__img { transition: none; }
}

/* ---------- Focus visible ---------- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}
