/* G.E.S.S. — gesecurity.ma (2026 redesign) */
:root {
  --navy: #0f2744;
  --navy-mid: #1e3a5f;
  --blue: #4ba3d4;
  --blue-bright: #6bb8e8;
  --blue-glow: rgba(75, 163, 212, 0.45);
  --accent: #e85d2c;
  --accent-soft: rgba(232, 93, 44, 0.15);
  --text: #1a2b3c;
  --text-muted: #5c6b7a;
  --text-soft: #8b9aab;
  --surface: #ffffff;
  --surface-elevated: #f4f7fb;
  --border: rgba(30, 58, 95, 0.1);
  --border-strong: rgba(30, 58, 95, 0.18);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 39, 68, 0.06);
  --shadow: 0 12px 40px rgba(15, 39, 68, 0.1);
  --shadow-lg: 0 24px 64px rgba(15, 39, 68, 0.14);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-mid);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--blue);
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.site-header .header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1.15;
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wordmark-short {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--navy);
}

.wordmark-full {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  max-width: 14rem;
}

.site-header:not(.is-scrolled) .wordmark-short,
.site-header:not(.is-scrolled) .wordmark-full {
  color: #fff;
}

.site-header:not(.is-scrolled) .wordmark-full {
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand .wordmark-short {
  color: #fff;
  font-size: 1rem;
}

.footer-brand .wordmark-full {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
  max-width: 16rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-header:not(.is-scrolled) .nav-toggle span,
.site-header:not(.is-scrolled) .nav-toggle span::before,
.site-header:not(.is-scrolled) .nav-toggle span::after {
  background: #fff;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a:not(.btn) {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.site-header:not(.is-scrolled) .site-nav a:not(.btn) {
  color: rgba(255, 255, 255, 0.88);
}

.site-header:not(.is-scrolled) .site-nav a:not(.btn):hover,
.site-header:not(.is-scrolled) .site-nav a[aria-current="page"]:not(.btn) {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .site-nav a:not(.btn):hover,
.site-header.is-scrolled .site-nav a[aria-current="page"]:not(.btn) {
  color: var(--navy-mid);
  background: var(--surface-elevated);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #3580b0 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--blue-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--blue-glow);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover {
  background: var(--navy-mid);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-mid);
  border: 2px solid var(--border-strong);
}

.btn-outline-dark:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, #0a1a2e 0%, var(--navy) 40%, #1a4570 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(75, 163, 212, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 163, 212, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
}

.hero-glow {
  position: absolute;
  width:  min(90vw, 700px);
  height: min(90vw, 700px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 65%);
  top: -20%;
  right: -15%;
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite;
}

.hero-glow--2 {
  width: 400px;
  height: 400px;
  bottom: -10%;
  left: -10%;
  top: auto;
  right: auto;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  animation-delay: -4s;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  background: rgba(75, 163, 212, 0.15);
  border: 1px solid rgba(75, 163, 212, 0.35);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: blink 2s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.hero-panel-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
  margin-bottom: 1.25rem;
}

.hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-panel li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: flex-start;
}

.hero-panel li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-panel li:first-child {
  padding-top: 0;
}

.panel-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(75, 163, 212, 0.25), rgba(75, 163, 212, 0.08));
  border: 1px solid rgba(75, 163, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
}

.panel-icon svg {
  width: 22px;
  height: 22px;
}

.hero-panel strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.hero-panel span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ─── Logo bar / trust ─── */
.logo-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.logo-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.logo-bar strong {
  color: var(--navy-mid);
  font-weight: 700;
}

.logo-bar-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
}

/* ─── Sections ─── */
.section {
  padding: 5.5rem 0;
}

.section--muted {
  background: var(--surface-elevated);
}

.section-header {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Feature cards */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--navy-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(75, 163, 212, 0.35);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, #e8f4fc, #f0f7fc);
  border: 1px solid rgba(75, 163, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-mid);
  margin-bottom: 1.35rem;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  margin-bottom: 0.65rem;
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* Why grid */
.why-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}

.why-card:hover {
  box-shadow: var(--shadow);
}

.why-num {
  flex-shrink: 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, var(--blue), var(--navy-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.35;
}

.why-card h3 {
  margin-bottom: 0.4rem;
}

.why-card p {
  font-size: 0.92rem;
  margin: 0;
}

/* CTA band */
.cta-band {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a4570 50%, var(--navy-mid) 100%);
}

.cta-band-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 32rem;
  margin: 0 auto 2rem;
}

/* ─── Inner page hero ─── */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 3.5rem;
  background: var(--navy);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0a1a2e, var(--navy-mid));
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(75, 163, 212, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 163, 212, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.8;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.page-hero .lead,
.page-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  max-width: 36rem;
  margin: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--blue-bright);
}

.breadcrumb a:hover {
  color: #fff;
}

/* Content blocks */
.content-block {
  padding: 4rem 0;
}

.content-block--alt {
  background: var(--surface-elevated);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  margin-top: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.info-card dl {
  margin: 0;
}

.info-card dt {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-top: 1rem;
}

.info-card dt:first-child {
  margin-top: 0;
}

.info-card dd {
  margin: 0.25rem 0 0;
  color: var(--text);
  font-weight: 500;
}

/* Services list */
.services-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-timeline li {
  display: grid;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .services-timeline li {
    grid-template-columns: 80px 1fr;
    gap: 2rem;
  }
}

.service-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
  opacity: 0.5;
}

.services-timeline h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

/* Projects */
.projects-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-cover {
  height: 220px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.5rem 1.75rem;
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 42%, var(--blue-dark) 100%);
}

.project-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(75, 163, 212, 0.35) 0%, transparent 45%),
    linear-gradient(to top, rgba(10, 26, 46, 0.92) 0%, rgba(10, 26, 46, 0.25) 55%, transparent 100%);
}

.project-cover--hotel {
  background: linear-gradient(145deg, #0a1a2e 0%, #1a4570 55%, #3589b8 100%);
}

.project-cover--industry {
  background: linear-gradient(145deg, #0f2744 0%, #1e3a5f 50%, #2a6a9a 100%);
}

.project-cover--retail {
  background: linear-gradient(145deg, #0f2744 0%, #244a6e 48%, #4ba3d4 100%);
}

.project-cover-label {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-bright);
  margin-bottom: 0.35rem;
}

.project-cover-title {
  position: relative;
  z-index: 1;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

.project-body {
  padding: 1.75rem 2rem 2rem;
}

.project-body .tag {
  margin-bottom: 0.85rem;
}

.project-body h3 {
  display: none;
}

.project-body p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-mid);
  background: #e8f4fc;
  border: 1px solid rgba(75, 163, 212, 0.25);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
}

.section-header .section-intro {
  max-width: 42rem;
  margin: 0.5rem auto 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Références par secteur (Mitie / Senseco pattern) */
.refs-intro {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.refs-sector {
  margin-bottom: 3.5rem;
}

.refs-sector:last-of-type {
  margin-bottom: 2rem;
}

.refs-sector-head {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--border);
}

.refs-sector-mark {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.refs-sector--hotel .refs-sector-mark {
  background: linear-gradient(145deg, #0a1a2e, #3589b8);
}

.refs-sector--industry .refs-sector-mark {
  background: linear-gradient(145deg, #0f2744, #2a6a9a);
}

.refs-sector--retail .refs-sector-mark {
  background: linear-gradient(145deg, #1a4570, #4ba3d4);
}

.refs-sector-head h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.refs-sector-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 36rem;
}

.refs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ref-item {
  display: grid;
  gap: 0.5rem 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}

.ref-item:first-child {
  padding-top: 0;
}

.ref-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (min-width: 720px) {
  .ref-item {
    grid-template-columns: minmax(220px, 32%) 1fr;
    align-items: start;
  }
}

.ref-item h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
  color: var(--navy);
}

.ref-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.ref-meta .tag {
  margin: 0;
}

.ref-desc {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.ref-examples-label {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
}

.ref-examples {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
}

.ref-examples li {
  margin: 0;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.disclaimer {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
  }
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

form label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  margin-bottom: 1.15rem;
  background: var(--surface-elevated);
  transition: border-color 0.2s, box-shadow 0.2s;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(75, 163, 212, 0.15);
  background: var(--surface);
}

form textarea {
  min-height: 150px;
  resize: vertical;
}

form .btn {
  width: 100%;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* Footer */
.site-footer {
  background: #0a1a2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .wordmark {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 22rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--blue-bright);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

/* Spacer for fixed header on non-hero pages */
body.has-page-hero .site-header {
  background: transparent;
}

body.has-page-hero .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
}

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface);
    padding: 1.5rem;
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .site-nav a:not(.btn) {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    color: var(--text) !important;
    background: var(--surface-elevated);
    border-radius: var(--radius-sm);
  }

  .site-nav .btn {
    width: 100%;
    margin-top: 0.5rem;
  }

  .wordmark-full {
    max-width: 11rem;
    font-size: 0.55rem;
  }

  .hero-stats {
    gap: 1.25rem;
  }
}

/* Legacy class aliases */
.section-alt { background: var(--surface-elevated); }
.section-inner { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.trust-strip { display: none; }
.contact-layout { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.15fr 1fr; } }
.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.service-list { list-style: none; padding: 0; margin: 0; }
.service-list li { padding: 2rem 0; border-bottom: 1px solid var(--border); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
