/* ============================================================
   RHG — Robine Hospitality Group
   robinehospitality.com · first draft · Kaan Systems
   ============================================================ */

:root {
  --ink: #20262e;          /* charcoal — matches RHG logo mark */
  --ink-2: #2b323c;
  --ink-soft: #4a525d;
  --paper: #f7f5f0;        /* warm porcelain */
  --card: #ffffff;
  --cobalt: #2444b0;
  --cobalt-deep: #1b3590;
  --cobalt-tint: #e8ecfa;
  --gold: #c1993f;
  --line: rgba(32, 38, 46, 0.12);
  --line-dark: rgba(247, 245, 240, 0.14);
  --paper-dark-text: rgba(247, 245, 240, 0.8);
  --radius-card: 20px;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-body: "Hanken Grotesk", "Avenir Next", "Helvetica Neue", sans-serif;
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ---------- accessibility ---------- */

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--cobalt);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 1rem;
}

.on-dark .eyebrow { color: var(--gold); }

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 56ch; }

.on-dark .lede { color: var(--paper-dark-text); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 0.72rem 0.72rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn .arr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.btn:hover .arr { transform: translate(2px, -2px); }
.btn:hover { transform: translateY(-1px); }

.btn-solid { background: var(--cobalt); color: #fff; }
.btn-solid .arr { background: rgba(255, 255, 255, 0.18); }
.btn-solid:hover { background: var(--cobalt-deep); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost .arr { background: var(--cobalt-tint); color: var(--cobalt); }
.btn-ghost:hover { border-color: var(--ink); }

.on-dark .btn-ghost,
.hero .btn-ghost,
.banner .btn-ghost,
.page-banner .btn-ghost { color: #fff; border-color: var(--line-dark); }
.on-dark .btn-ghost .arr,
.hero .btn-ghost .arr,
.banner .btn-ghost .arr,
.page-banner .btn-ghost .arr { background: rgba(255, 255, 255, 0.12); color: #fff; }
.on-dark .btn-ghost:hover,
.hero .btn-ghost:hover,
.banner .btn-ghost:hover,
.page-banner .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light .arr { background: var(--cobalt-tint); color: var(--cobalt); }
.btn-light:hover { background: var(--paper); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(32, 38, 46, 0.92);
  backdrop-filter: blur(12px);
  color: #fff;
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 24px;
  max-width: var(--wrap);
  margin: 0 auto;
}

.cert-tag {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dark-text);
  border-left: 1px solid var(--line-dark);
  padding-left: 1rem;
  line-height: 1.4;
  max-width: 11rem;
}

.main-nav { display: flex; gap: 1.6rem; margin-left: auto; }

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--paper-dark-text);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover { color: #fff; }
.main-nav a.active { color: #fff; border-bottom-color: var(--gold); }

.header-cta { display: flex; align-items: center; gap: 1.2rem; }

.header-mail {
  font-size: 0.85rem;
  color: var(--paper-dark-text);
  transition: color 0.2s ease;
}
.header-mail:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

/* ---------- logo ---------- */

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
}

.logo-img { height: 2.85rem; width: auto; display: block; }
.footer-brand .logo-img { height: 2.6rem; }

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo-divider { width: 1px; height: 2.2rem; background: currentColor; opacity: 0.5; }

.logo-text {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.5;
}

.logo.logo-ink { color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(36, 68, 176, 0.35), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(193, 153, 63, 0.12), transparent 55%),
    linear-gradient(160deg, #232a33 0%, #1a2028 100%);
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

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

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(24, 29, 37, 0.55) 0%, transparent 35%),
    linear-gradient(100deg, rgba(24, 29, 37, 0.97) 0%, rgba(24, 29, 37, 0.88) 45%, rgba(24, 29, 37, 0.5) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 7rem 24px 9rem;
  max-width: var(--wrap);
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  max-width: 15ch;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 28px rgba(10, 13, 18, 0.45);
}

.hero .lede,
.page-banner .lede {
  color: rgba(250, 249, 246, 0.95);
  text-shadow: 0 1px 18px rgba(10, 13, 18, 0.55);
}

.hero .eyebrow,
.page-banner .eyebrow { text-shadow: 0 1px 12px rgba(10, 13, 18, 0.6); }

.hero .lede { margin-bottom: 2.4rem; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  opacity: 0.28;
}

.hero-skyline svg { width: 100%; height: auto; }

/* staggered load-in */
.hero .fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
.hero .fade-up:nth-child(2) { animation-delay: 0.12s; }
.hero .fade-up:nth-child(3) { animation-delay: 0.24s; }
.hero .fade-up:nth-child(4) { animation-delay: 0.36s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ---------- trust bar ---------- */

.trust-bar {
  background: #1a2028;
  border-top: 1px solid var(--line-dark);
  padding: 1.4rem 0;
  overflow: hidden;
  position: relative;
}

.trust-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.trust-track { align-items: center; }

.trust-track .sector {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.45);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.trust-track .sector svg { flex: none; opacity: 0.8; }
.trust-track .sector:hover { color: rgba(247, 245, 240, 0.8); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* 12-industry bar is a longer track — slow the loop to keep px/s comfortable */
.trust-track { animation-duration: 55s; }

/* ---------- sections ---------- */

.section { padding: 6rem 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-white { background: var(--card); }

.section-head { margin-bottom: 3.2rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 22ch; }

.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.split-head .side { max-width: 34ch; color: var(--ink-soft); font-size: 0.98rem; }
.split-head .side .btn-row { margin-top: 1.2rem; }

.btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 1.2rem; }
.about-copy .lede { margin-bottom: 2rem; }

.visual-panel {
  position: relative;
  border-radius: var(--radius-card);
  min-height: 420px;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 80% 20%, rgba(36, 68, 176, 0.55), transparent 65%),
    linear-gradient(150deg, #2b323c 0%, #1a2028 90%);
  display: flex;
  align-items: flex-end;
}

.visual-panel .panel-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.visual-panel.has-photo::before { content: none; }

.visual-panel::before {
  content: "R";
  position: absolute;
  top: -3rem;
  right: -1.5rem;
  font-family: var(--font-display);
  font-size: 22rem;
  font-weight: 700;
  color: rgba(247, 245, 240, 0.05);
  line-height: 1;
}

.visual-panel .panel-note {
  position: absolute;
  top: 1.1rem;
  left: 1.2rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.4);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}

.visual-panel .panel-overlay {
  position: relative;
  z-index: 2;
  padding: 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(to top, rgba(20, 24, 30, 0.85), transparent);
  color: #fff;
}

.panel-overlay .overlay-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }

/* ---------- value grid ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.value-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 2rem 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(32, 38, 46, 0.25);
  border-color: rgba(36, 68, 176, 0.35);
}

.value-card .icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--cobalt-tint);
  color: var(--cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
}

.value-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.value-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- services cards ---------- */

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }

.service-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.2rem;
  color: #fff;
  background:
    radial-gradient(500px 320px at 85% 0%, rgba(36, 68, 176, 0.6), transparent 60%),
    linear-gradient(160deg, #2b323c, #171c23);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(23, 28, 35, 0.5); }

.service-card .card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(15, 18, 24, 0.93) 18%, rgba(15, 18, 24, 0.45) 62%, rgba(15, 18, 24, 0.3) 100%);
  pointer-events: none;
}

.service-card > *:not(.card-photo) { position: relative; z-index: 2; }

.service-card.alt {
  background:
    radial-gradient(500px 320px at 15% 0%, rgba(193, 153, 63, 0.35), transparent 60%),
    linear-gradient(160deg, #2b323c, #171c23);
}

.service-card .panel-note {
  position: absolute;
  top: 1.1rem;
  left: 1.2rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.4);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

.service-card h3 { font-size: 1.45rem; margin-bottom: 0.7rem; }
.service-card p { font-size: 0.95rem; color: var(--paper-dark-text); margin-bottom: 1.4rem; max-width: 46ch; }

/* ---------- regional CTA banner ---------- */

.banner {
  position: relative;
  background:
    radial-gradient(900px 480px at 50% 120%, rgba(36, 68, 176, 0.5), transparent 70%),
    linear-gradient(180deg, #20262e, #171c23);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.banner .wrap { position: relative; z-index: 2; padding-top: 6.5rem; padding-bottom: 7.5rem; }

.banner h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 26ch;
  margin: 0 auto 2.2rem;
}

.banner .hero-skyline { opacity: 0.2; }

/* ---------- metrics + testimonials ---------- */

.metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-bottom: 3.5rem;
}

.metric { border-top: 2px solid var(--gold); padding-top: 1.2rem; }
.metric .num { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700; line-height: 1; }
.metric .label { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.5rem; max-width: 24ch; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.testimonial {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
}

.stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.85rem; margin-bottom: 1rem; }

.testimonial h3 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.testimonial blockquote { font-size: 0.95rem; color: var(--ink-soft); flex: 1; }
.testimonial .who { margin-top: 1.5rem; font-size: 0.85rem; font-weight: 600; }
.testimonial .who span { display: block; font-weight: 400; color: var(--ink-soft); }

/* ---------- connect / forms ---------- */

.connect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

.form-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 2.2rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.field { margin-bottom: 0.9rem; }

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dark-text);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(247, 245, 240, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field select { appearance: none; }
.field select option { color: var(--ink); }

.field input::placeholder,
.field textarea::placeholder { color: rgba(247, 245, 240, 0.35); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(247, 245, 240, 0.1);
}

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

.form-card .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }

.form-note { font-size: 0.8rem; color: var(--paper-dark-text); margin-top: 0.9rem; text-align: center; }

.form-error {
  font-size: 0.88rem;
  color: #ffb4a8;
  background: rgba(180, 60, 45, 0.18);
  border: 1px solid rgba(255, 140, 120, 0.35);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-top: 0.9rem;
  text-align: center;
}
.form-error a { text-decoration: underline; color: inherit; }

/* Honeypot — visually removed, present for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}
.form-success h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.form-success p { color: var(--paper-dark-text); }

/* ---------- map ---------- */

.map-block h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 0.8rem; }
.map-block .lede { margin-bottom: 2rem; }

.fl-map { position: relative; max-width: 420px; }

.fl-map svg { width: 100%; height: auto; }

.map-pin-label {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cobalt);
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}

.pulse-dot { animation: pulse 2.2s ease-out infinite; transform-origin: center; transform-box: fill-box; }

/* ---------- contact page ---------- */

.page-banner {
  position: relative;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(36, 68, 176, 0.4), transparent 60%),
    linear-gradient(165deg, #232a33, #1a2028);
  color: #fff;
  overflow: hidden;
}

.page-banner .wrap { position: relative; z-index: 2; padding-top: 5.5rem; padding-bottom: 6.5rem; }

.page-banner h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 1rem; }

.contact-info .info-block { margin: 2rem 0; }
.contact-info .info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}
.contact-info .info-value { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.contact-info .info-value a:hover { color: var(--cobalt); }

/* ---------- inner page sections ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

.feature-row:first-of-type { border-top: 0; }

.feature-row h2, .feature-row h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1rem; }
.feature-row p { color: var(--ink-soft); margin-bottom: 1.2rem; }

.sub-grid { margin-top: 3rem; }

/* ---------- event cleaning section ---------- */

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0 1.8rem; }

.chip {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  color: var(--ink-soft);
  background: var(--card);
}

.phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; }

.phase-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.phase-card .check-list { margin: 1rem 0 0; }
.phase-card .check-list li { font-size: 0.93rem; }

.check-list { list-style: none; margin: 1.4rem 0 1.8rem; }
.check-list li {
  padding-left: 1.9rem;
  position: relative;
  margin-bottom: 0.65rem;
  font-size: 0.98rem;
  color: var(--ink-2);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--cobalt-tint);
  color: var(--cobalt);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}

.visual-panel.short { min-height: 340px; }

.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

/* Client's industry copy is long-form — two wider columns read better */
.industry-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.industry-grid-2 .value-card p { font-size: 0.98rem; }

/* ---------- policy page ---------- */

.policy-body h2 {
  font-size: 1.25rem;
  margin: 2.2rem 0 0.7rem;
}
.policy-body p { color: var(--ink-soft); margin-bottom: 1rem; }
.policy-body a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */

.site-footer { background: #14181e; color: var(--paper-dark-text); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding: 4.5rem 0 3rem;
}

.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer-grid a:hover { color: #fff; }

.footer-brand p { font-size: 0.9rem; margin: 1.2rem 0 1.6rem; max-width: 38ch; }

.badge-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  color: rgba(247, 245, 240, 0.5);
}

.footer-contact address { font-style: normal; font-size: 0.92rem; line-height: 1.7; }
.footer-contact a { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease; }
.footer-bottom a:hover { color: #fff; }

/* ---------- scroll reveal ---------- */

html.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
html.js-reveal .reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .fade-up { opacity: 1; transform: none; animation: none; }
  .trust-track { animation: none; }
  .pulse-dot { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .card-grid, .testimonial-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-bar { grid-template-columns: repeat(2, 1fr); }
  .cert-tag { display: none; }
}

@media (max-width: 800px) {
  .section { padding: 4rem 0; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    padding: 0.5rem 24px 1rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line-dark); }
  .main-nav a.active { border-bottom-color: var(--gold); }

  .nav-toggle { display: block; margin-left: auto; }
  .header-mail { display: none; }
  .header-cta .btn { padding: 0.55rem 0.55rem 0.55rem 1.1rem; font-size: 0.85rem; }

  .hero-inner { padding: 4.5rem 24px 7rem; }

  .about-grid, .service-grid, .connect-grid, .feature-row { grid-template-columns: 1fr; gap: 2.2rem; }
  .card-grid, .testimonial-grid, .industry-grid, .industry-grid-2, .phase-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .visual-panel { min-height: 320px; }
  .feature-row.flip .visual-panel { order: -1; }
}

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