/* ==========================================================================
   Waryaam Security & Service — stylesheet
   ========================================================================== */

:root {
  --primary: #f2590f;
  --primary-dark: #c9450a;
  --primary-light: #ff7a33;
  --ink: #0d0e11;
  --ink-2: #16181d;
  --ink-3: #21242b;
  --gray-700: #4a4f59;
  --gray-500: #767c88;
  --gray-300: #c7cbd3;
  --gray-100: #f1f2f4;
  --white: #ffffff;
  --off-white: #f7f7f8;
  --border: #e6e7ea;
  --cut: 22px;
  --cut-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(13, 14, 17, 0.06);
  --shadow-md: 0 12px 30px rgba(13, 14, 17, 0.12);
  --shadow-lg: 0 24px 60px rgba(13, 14, 17, 0.18);
  --section-pad: clamp(64px, 8vw, 110px);
  --container: 1220px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Archivo Expanded", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 16px;
  color: var(--gray-700);
}

button {
  font-family: inherit;
}

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

section {
  padding: var(--section-pad) 0;
}

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

/* ---------- Cut-corner motif ----------
   A single consistent shape language (echoing the shield logo's cut facets)
   replaces uniform rounded corners on frames, cards and buttons. */
.cut,
.btn,
.split-media img,
.service-detail-media img,
.dossier-media img,
.value-card,
.cta-banner,
.contact-info-card,
.contact-form-card,
.stat-box,
.faq-item,
.map-wrap,
.img-frame {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.btn {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%);
}

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

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

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.section-head p {
  font-size: 17px;
  margin-bottom: 0;
}

.bg-dark {
  background: var(--ink);
  color: var(--white);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: var(--white);
}

.bg-dark p {
  color: var(--gray-300);
}

.bg-off {
  background: var(--off-white);
}

.text-center {
  text-align: center;
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js-anim .reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js-anim .reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js-anim .reveal-zoom {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.in-view,
.reveal-left.in-view,
.reveal-right.in-view,
.reveal-zoom.in-view {
  opacity: 1;
  transform: none;
}

@media print {
  .reveal, .reveal-left, .reveal-right, .reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal,
  .js-anim .reveal-left,
  .js-anim .reveal-right,
  .js-anim .reveal-zoom {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader img {
  width: 56px;
  height: 56px;
  animation: preloader-pulse 1.1s ease-in-out infinite;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.82); opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.28), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(242, 89, 15, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(242, 89, 15, 0.42);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--ink-3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--gray-300);
  font-size: 13.5px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar-info a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gray-300);
  transition: color 0.2s ease;
}

.topbar-info a:hover {
  color: var(--primary-light);
}

.topbar-info svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

.topbar-tag {
  color: var(--gray-500);
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .topbar-tag { display: none; }
}

@media (max-width: 620px) {
  .topbar { font-size: 12px; }

  .topbar .container {
    padding-top: 7px;
    padding-bottom: 7px;
    gap: 10px;
  }

  .topbar-info {
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .topbar-info::-webkit-scrollbar { display: none; }

  .topbar-info a { white-space: nowrap; }

  .topbar-info a[href^="mailto"] { display: none; }

  .topbar-right { gap: 10px; }
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--gray-300);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-toggle:hover {
  color: var(--white);
  border-color: var(--white);
}

.lang-toggle svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
}

.brand img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

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

.brand-text strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.brand-text span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.main-nav a:not(.btn):hover {
  color: var(--primary);
}

.main-nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--primary);
}

.main-nav a.active::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--primary);
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-call:hover {
  background: var(--primary-dark);
}

.header-call svg {
  width: 19px;
  height: 19px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  .header-cta .btn { display: none; }
  .header-call { display: flex; }
  .header-cta { gap: 10px; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    top: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 28px 28px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    color: var(--gray-300);
    padding: 14px 16px;
    font-size: 17px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .main-nav a:not(.btn)::after { display: none; }

  .main-nav a.active {
    color: var(--white);
    background: var(--primary);
  }

  .main-nav .btn {
    margin-top: 14px;
  }

  .nav-toggle {
    display: flex;
  }
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(13, 14, 17, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.nav-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Marquee ticker ---------- */
.marquee {
  background: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gray-300);
  white-space: nowrap;
}

.marquee-group span svg {
  width: 12px;
  height: 12px;
  color: var(--primary);
  flex-shrink: 0;
}

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

@media (max-width: 620px) {
  .marquee-group span {
    padding: 12px 18px;
    font-size: 13px;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
  }
  .marquee-group:nth-child(2) { display: none; }
}

/* ---------- Radar sweep (ambient decoration) ---------- */
.radar {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 1;
}

.radar::before,
.radar::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.radar::after {
  inset: 44%;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(242, 89, 15, 0.45), transparent 28%, transparent 100%);
  animation: radar-spin 7s linear infinite;
}

@keyframes radar-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .radar-sweep { animation: none; }
}

@media (max-width: 900px) {
  .radar { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 780px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(30%) contrast(1.08) brightness(0.8);
  z-index: 0;
  animation: hero-kenburns 22s ease-in-out infinite alternate;
}

@keyframes hero-kenburns {
  from { transform: scale(1.04); }
  to { transform: scale(1.14); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; transform: scale(1.04); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(9, 10, 12, 0.94) 0%, rgba(9, 10, 12, 0.8) 42%, rgba(9, 10, 12, 0.55) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, var(--ink) 0%, transparent 20%);
}

.hero .radar {
  top: 8%;
  right: 4%;
  z-index: 1;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding: 70px 0;
}

.hero-content .eyebrow {
  color: var(--primary-light);
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(36px, 5.4vw, 60px);
  margin-bottom: 20px;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero-line span {
  display: block;
  transform: translateY(112%);
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.12s);
}

.js-anim.hero-ready .hero-line span {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-line span { transform: none; transition: none; }
}

.hero-content p {
  color: var(--gray-300);
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-points {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-300);
}

.hero-points svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .hero {
    min-height: 0;
  }

  .hero-bg {
    background-position: 65% center;
    animation-duration: 26s;
  }

  @keyframes hero-kenburns {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(9, 10, 12, 0.88) 0%, rgba(9, 10, 12, 0.82) 55%, rgba(9, 10, 12, 0.94) 100%);
  }

  .hero-content {
    padding: 40px 0 48px;
  }

  .hero-content h1 {
    margin-bottom: 16px;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 26px;
  }

  .hero-actions {
    gap: 12px;
    margin-bottom: 32px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    gap: 16px 24px;
    padding-top: 22px;
  }
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  position: relative;
  padding: 168px 0 74px;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(30%) contrast(1.08) brightness(0.8);
  z-index: 0;
  transform: scale(1.03);
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(9, 10, 12, 0.92) 10%, rgba(9, 10, 12, 0.76) 100%);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(32px, 4.6vw, 50px);
  margin-bottom: 14px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-300);
  justify-content: center;
}

.breadcrumb a {
  color: var(--gray-300);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--primary-light);
}

.breadcrumb .sep {
  color: var(--gray-500);
}

.breadcrumb .current {
  color: var(--primary-light);
}

@media (max-width: 720px) {
  .page-header {
    padding: 128px 0 52px;
  }
}

/* ---------- Value strip (structured-approach highlights) ---------- */
.trust-strip {
  background: var(--ink);
  padding: 30px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gray-300);
  font-size: 14px;
  font-weight: 500;
}

.trust-item svg {
  width: 30px;
  height: 30px;
  color: var(--primary);
}

@media (max-width: 860px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Split sections (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  filter: grayscale(20%) contrast(1.05);
  transition: transform 0.7s var(--ease);
}

.split-media:hover img {
  transform: scale(1.045);
}

.split-media .media-badge {
  position: absolute;
  left: 0;
  bottom: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 18px 24px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-head);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
  display: flex;
  align-items: center;
  gap: 10px;
}

.media-badge span {
  font-size: 13.5px;
  font-weight: 600;
}

@media (max-width: 500px) {
  .split-media img { height: 320px; }
  .split-media .media-badge { padding: 12px 16px; }
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15.5px;
  color: var(--gray-700);
  font-weight: 500;
}

.check-list svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Service list (editorial rows, no card chrome) ---------- */
.service-list {
  border-top: 1px solid var(--border);
}

.service-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 8px;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.service-row:hover {
  background: var(--off-white);
  padding-left: 20px;
}

.service-row-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(242, 89, 15, 0.1);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.service-row-icon svg {
  width: 26px;
  height: 26px;
}

.service-row-title {
  flex: 0 0 240px;
}

.service-row-title h3 {
  font-size: 20px;
  margin-bottom: 0;
}

.service-row p {
  flex: 1;
  margin: 0;
  font-size: 15px;
  min-width: 200px;
}

.service-row-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  padding-bottom: 2px;
}

.service-row:hover .service-row-link {
  color: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 860px) {
  .service-row { flex-wrap: wrap; gap: 16px; padding: 26px 4px; }
  .service-row-title { flex-basis: 100%; }
  .service-row p { flex-basis: 100%; }
}

/* Service detail rows (services page) */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

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

.service-detail.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.service-detail.reverse .service-detail-media {
  order: 2;
}

@media (max-width: 900px) {
  .service-detail, .service-detail.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0;
  }
  .service-detail.reverse .service-detail-media { order: 0; }
}

.img-frame {
  position: relative;
  overflow: hidden;
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(242, 89, 15, 0.3), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.img-frame:hover::after {
  opacity: 1;
}

.service-detail-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  filter: grayscale(20%) contrast(1.05);
  transition: transform 0.7s var(--ease);
}

.service-detail-media:hover img {
  transform: scale(1.06);
}

.service-kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag-row span {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  background: var(--gray-100);
  color: var(--ink-2);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

/* ---------- Grids ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 34px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card-icon {
  width: 58px;
  height: 58px;
  background: rgba(242, 89, 15, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--primary);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  background: rgba(242, 89, 15, 0.1);
  padding: 6px 12px;
  margin-bottom: 16px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  margin-bottom: 0;
}

/* ---------- Process / procedure timeline (genuine sequence — numbered) ---------- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background-image: repeating-linear-gradient(to bottom, var(--border) 0 8px, transparent 8px 16px);
}

.timeline-progress {
  position: absolute;
  left: 33px;
  top: 12px;
  width: 2px;
  height: 0%;
  background: var(--primary);
  transition: height 0.2s linear;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 28px;
  padding-bottom: 52px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-num {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease, transform 0.3s ease;
}

.timeline-item:hover .timeline-num {
  background: var(--primary);
  transform: scale(1.06);
}

.timeline-body {
  padding-top: 10px;
}

.timeline-body h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.timeline-body p {
  margin-bottom: 0;
}

@media (max-width: 620px) {
  .timeline::before, .timeline-progress { left: 25px; }
  .timeline-num { width: 52px; height: 52px; font-size: 18px; }
  .timeline-item { gap: 18px; }
}

/* ---------- Why us ---------- */
.feature-row {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

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

.feature-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--ink);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-row h3 {
  font-size: 17.5px;
  margin-bottom: 6px;
}

.feature-row p {
  margin-bottom: 0;
  font-size: 15px;
}

/* ---------- Values grid (why-us page) ---------- */
.value-card {
  padding: 32px 26px;
  background: var(--ink);
  color: var(--white);
  position: relative;
  transition: transform 0.3s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 34px 34px 0;
  border-color: transparent var(--primary) transparent transparent;
  opacity: 0.55;
}

.value-card .card-icon {
  background: rgba(242, 89, 15, 0.18);
  position: relative;
}

.value-card h3, .value-card p {
  position: relative;
  color: var(--white);
}

.value-card p {
  color: var(--gray-300);
  font-size: 14.5px;
  margin-bottom: 0;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 56px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(242, 89, 15, 0.35), transparent 55%);
  animation: cta-glow 9s ease-in-out infinite alternate;
}

@keyframes cta-glow {
  from { background-position: 0 0; opacity: 0.85; }
  to { background-position: -40px -20px; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-banner::before { animation: none; }
}

.cta-banner-text {
  position: relative;
  max-width: 560px;
}

.cta-banner-text .eyebrow {
  color: var(--primary-light);
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 10px;
}

.cta-banner p {
  color: var(--gray-300);
  margin-bottom: 0;
}

.cta-banner-actions {
  position: relative;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .cta-banner { padding: 36px 26px; text-align: center; justify-content: center; }
  .cta-banner-actions { justify-content: center; }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: flex-start;
}

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

.contact-info-card {
  background: var(--ink);
  color: var(--white);
  padding: 40px 32px;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-item .card-icon {
  background: rgba(242, 89, 15, 0.18);
  width: 46px;
  height: 46px;
  margin-bottom: 0;
}

.contact-info-item .card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-item h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-info-item p, .contact-info-item a {
  color: var(--gray-300);
  font-size: 14.5px;
  margin-bottom: 0;
}

.contact-info-item a:hover {
  color: var(--primary-light);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 560px) {
  .contact-form-card, .contact-info-card { padding: 28px 22px; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--off-white);
  transition: border-color 0.2s ease, background 0.2s ease;
}

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

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

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: #d64545;
}

.field-error {
  display: none;
  color: #d64545;
  font-size: 12.5px;
  margin-top: 6px;
  font-weight: 500;
}

.field.has-error .field-error {
  display: block;
}

.form-note {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 14px;
  margin-bottom: 0;
}

.form-success {
  display: none;
  align-items: center;
  gap: 14px;
  background: #f0f9f1;
  border: 1px solid #cdebd1;
  color: #276a35;
  padding: 18px 20px;
  margin-bottom: 24px;
  font-size: 14.5px;
  font-weight: 500;
}

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

.form-success svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.map-wrap {
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-top: 28px;
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

/* ---------- FAQ accordion ---------- */
.faq-item {
  border: 1px solid var(--border);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
  background: var(--off-white);
}

.faq-answer-inner {
  padding: 4px 22px 20px;
  font-size: 14.5px;
  color: var(--gray-700);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--gray-300);
  padding-top: var(--section-pad);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.footer-brand .brand-text strong,
.footer-brand .brand-text span {
  color: var(--white);
}

.footer-brand .brand-text span {
  color: var(--primary-light);
}

.footer-about p {
  font-size: 14.5px;
  margin-top: 18px;
  color: var(--gray-500);
}

.footer-col h4 {
  color: var(--white);
  font-size: 15.5px;
  margin-bottom: 22px;
}

.footer-col ul li {
  margin-bottom: 13px;
}

.footer-col ul li a {
  font-size: 14.5px;
  color: var(--gray-300);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 13.5px;
  color: var(--gray-500);
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--gray-500);
}

.footer-bottom a:hover {
  color: var(--primary-light);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 800;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary-dark);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Misc pages ---------- */
.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 800px) {
  .two-col-text { grid-template-columns: 1fr; }
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 700px) {
  .stat-strip { grid-template-columns: 1fr; }
}

.stat-box {
  padding: 26px 22px;
  background: var(--off-white);
  border-left: 3px solid var(--primary);
}

.stat-box h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.stat-box p {
  font-size: 14px;
  margin-bottom: 0;
}
