/* ===========================================================
   ORYA Security Ltd — Global Stylesheet
   Navy & Gold premium security theme
   =========================================================== */

:root {
  /* Navy scale — backgrounds/panels, darkest to lightest */
  --navy-950: #02080f;
  --navy-900: #040e18;
  --navy-800: #071a2d;
  --navy-700: #081f36;
  --navy-600: #0a2540;

  /* Gold scale — accents/CTAs */
  --gold-700: #9a7b39;
  --gold-500: #c8a45d;
  --gold-300: #e2c381;

  /* Neutrals */
  --slate-100: #f1f5f9;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --white: #ffffff;

  /* Status */
  --emerald-500: #10b981;
  --red-500: #ef4444;
  --amber-500: #f59e0b;

  --radius: 10px;
  --shadow: 0 12px 30px rgba(2, 8, 15, 0.35);
  --max-width: 1220px;
  --transition: 0.25s ease;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-300);
  background: var(--navy-800);
  line-height: 1.65;
}

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

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

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

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 0.6em;
  color: var(--white);
}

p {
  margin: 0 0 1em;
  color: var(--slate-300);
}

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

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--navy-900);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.eyebrow {
  display: inline-block;
  color: var(--gold-500);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-header p {
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: var(--navy-950);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--gold-500);
}

.btn-dark {
  background: var(--navy-600);
  color: var(--white);
  border-color: var(--navy-600);
}

.btn-dark:hover {
  background: var(--navy-700);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.76rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Footer Info Bar & Top Bar ---------- */
.footer-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(200, 164, 93, 0.15);
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--slate-400);
}

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

.footer-info-item,
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.footer-info-item svg,
.top-bar-item svg {
  color: var(--gold-500);
  flex-shrink: 0;
}

.footer-info-item a:hover,
.top-bar-item a:hover {
  color: var(--gold-300);
}

.compliance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(200, 164, 93, 0.35);
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 30px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 14, 24, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 164, 93, 0.12);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.brand .mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand .mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand span.tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-300);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  display: block;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

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

.main-nav a {
  color: var(--slate-300);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-300);
  background: rgba(200, 164, 93, 0.08);
}

.main-nav a.nav-cta {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: var(--navy-950);
  margin-left: 8px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.main-nav a.nav-cta:hover {
  filter: brightness(1.08);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-800);
  color: var(--white);
  padding: 84px 0 70px;
  overflow: hidden;
  border-bottom: 1px solid rgba(200, 164, 93, 0.12);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
  animation: heroKenBurns 26s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(2, 8, 15, 0.94) 0%, rgba(7, 26, 45, 0.91) 55%, rgba(10, 37, 64, 0.88) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 15%, rgba(200, 164, 93, 0.16), transparent 45%);
  pointer-events: none;
  z-index: 1;
}

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

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(200, 164, 93, 0.4);
  color: var(--gold-300);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--gold-500);
}

.hero p.lead {
  color: var(--slate-300);
  font-size: 1.05rem;
  max-width: 600px;
}

.hero-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 24px 0 30px;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--slate-300);
}

.hero-checks li svg {
  color: var(--gold-500);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-hero {
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  border-bottom: 1px solid rgba(200, 164, 93, 0.12);
}

.page-hero .eyebrow {
  margin-bottom: 4px;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.page-hero p {
  color: var(--slate-300);
  max-width: 640px;
  margin: 12px auto 0;
}

/* ---------- Stat / dispatch panel (hero side card) ---------- */
.stat-panel {
  background: var(--navy-700);
  border: 1px solid rgba(200, 164, 93, 0.25);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.stat-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stat-panel-head h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.stat-panel-head .sub {
  font-size: 0.78rem;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(200, 164, 93, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  flex-shrink: 0;
}

.stat-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
}

.stat-panel-row:last-of-type {
  border-bottom: none;
}

.stat-panel-row .label {
  color: var(--slate-400);
}

.stat-panel-row .value {
  color: var(--white);
  font-weight: 700;
}

.stat-panel-row .value.gold {
  color: var(--gold-300);
}

.stat-panel .btn {
  margin-top: 18px;
}

.stat-panel-phone {
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate-400);
  margin-top: 14px;
}

.stat-panel-phone a {
  color: var(--gold-300);
  font-weight: 700;
}

/* ---------- Stats strip ---------- */
.stat-strip {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(200, 164, 93, 0.1);
}

.stat-strip .grid {
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 30px 10px;
}

.stat .verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--emerald-500);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-300);
}

.stat .label {
  font-size: 0.82rem;
  color: var(--slate-400);
  letter-spacing: 0.03em;
  margin-top: 4px;
}

/* ---------- Trust badges row ---------- */
.trust-badges {
  background: var(--navy-800);
  padding: 26px 0;
}

.trust-badges-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-badges-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-right: 6px;
}

.trust-badge {
  border: 1px solid rgba(200, 164, 93, 0.3);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 7px 14px;
  border-radius: 6px;
}

/* ---------- Grids / Cards ---------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.card {
  background: var(--navy-700);
  border: 1px solid rgba(200, 164, 93, 0.14);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 164, 93, 0.4);
  box-shadow: var(--shadow);
}

.card .icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: rgba(200, 164, 93, 0.1);
  border: 1px solid rgba(200, 164, 93, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold-500);
}

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

.card p {
  margin: 0;
  font-size: 0.92rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
  border: 1px solid rgba(200, 164, 93, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

/* ---------- Service cards with thumbnail image ---------- */
.card.has-image {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card.has-image .card-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.card.has-image:hover .card-image {
  transform: scale(1.06);
}

.card.has-image .card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card.has-image .card-actions {
  margin-top: auto;
  padding-top: 18px;
}

/* ---------- Service detail page ---------- */
.service-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(200, 164, 93, 0.12);
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 8, 15, 0.55) 0%, rgba(2, 8, 15, 0.94) 100%);
}

.service-hero .container {
  position: relative;
  padding-top: 140px;
  padding-bottom: 44px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--gold-300);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--gold-500);
}

.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.detail-panel {
  background: var(--navy-700);
  border: 1px solid rgba(200, 164, 93, 0.18);
  border-radius: var(--radius);
  padding: 34px;
  margin-bottom: 28px;
}

.detail-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--navy-900);
  border: 1px solid rgba(200, 164, 93, 0.14);
  border-radius: 10px;
  font-size: 0.86rem;
  color: var(--slate-200, var(--slate-300));
}

.benefit-item svg {
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--navy-900);
  border: 1px solid rgba(200, 164, 93, 0.14);
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.spec-item:last-child {
  margin-bottom: 0;
}

.spec-item .spec-num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(200, 164, 93, 0.12);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.76rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  flex-shrink: 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-sidebar .form-card {
  padding: 28px;
  max-width: none;
}

.detail-sidebar .form-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.detail-sidebar .form-card p {
  font-size: 0.88rem;
}

.list-check {
  margin: 16px 0 0;
}

.list-check li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--slate-400);
  font-size: 0.88rem;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-500);
  font-weight: 800;
  font-size: 0.78rem;
}

.list-check.large li {
  color: var(--slate-300);
  font-size: 0.95rem;
  padding-left: 30px;
  margin-bottom: 14px;
}

.list-check.large li::before {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(200, 164, 93, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 164, 93, 0.1);
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 30px;
  margin-bottom: 8px;
  border: 1px solid rgba(200, 164, 93, 0.25);
}

/* ---------- Industry cards ---------- */
.industry-card {
  background: var(--navy-700);
  border: 1px solid rgba(200, 164, 93, 0.14);
  border-radius: var(--radius);
  padding: 28px;
}

.industry-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.industry-card .kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
  display: block;
}

.industry-card .col-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin: 16px 0 8px;
}

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

.process-step {
  position: relative;
  padding: 30px 24px;
  border: 1px solid rgba(200, 164, 93, 0.14);
  border-radius: var(--radius);
  background: var(--navy-700);
}

.process-step .step-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(200, 164, 93, 0.3);
  margin-bottom: 6px;
}

.process-step h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.88rem;
  margin: 0;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(200, 164, 93, 0.16);
}

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

.faq-question .icon-plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(200, 164, 93, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  transition: transform var(--transition);
  font-size: 0.9rem;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 4px 22px;
  margin: 0;
  font-size: 0.92rem;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  border-top: 1px solid rgba(200, 164, 93, 0.12);
  border-bottom: 1px solid rgba(200, 164, 93, 0.12);
}

.cta-band h2 {
  margin-bottom: 10px;
}

.cta-band p {
  color: var(--slate-400);
  max-width: 560px;
  margin: 0 auto 26px;
}

.cta-band-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.mini-cta {
  background: var(--navy-700);
  border-top: 1px solid rgba(200, 164, 93, 0.14);
}

.mini-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 34px;
  padding-bottom: 34px;
}

.mini-cta h3 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.mini-cta p {
  margin: 0;
  font-size: 0.9rem;
}

.mini-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--navy-700);
  border: 1px solid rgba(200, 164, 93, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  max-width: 760px;
  margin: 0 auto;
}

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

.form-field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--slate-300);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.form-field label .required-mark {
  color: var(--gold-500);
}

.form-field label .optional-mark {
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-field .field-control {
  position: relative;
}

.form-field .field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-500);
  pointer-events: none;
  display: flex;
}

.form-field .field-control:has(.field-icon) input,
.form-field .field-control:has(.field-icon) select {
  padding-left: 40px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(200, 164, 93, 0.2);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--navy-900);
  color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--slate-500);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(200, 164, 93, 0.15);
}

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

.form-field.has-error input:focus,
.form-field.has-error select:focus,
.form-field.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

.field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #fca5a5;
  font-size: 0.8rem;
  margin-top: 6px;
  min-height: 0;
}

.field-error:empty {
  display: none;
}

.field-error svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-top: 6px;
}

/* ---------- File upload control ---------- */
.file-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1.5px dashed rgba(200, 164, 93, 0.3);
  border-radius: 6px;
  background: var(--navy-900);
  transition: border-color var(--transition), background var(--transition);
}

.file-upload:hover {
  border-color: rgba(200, 164, 93, 0.55);
}

.file-upload.has-file {
  border-style: solid;
  border-color: rgba(200, 164, 93, 0.4);
}

.form-field.has-error .file-upload {
  border-color: #ef4444;
  border-style: solid;
}

.file-upload input[type="file"].sr-only:focus-visible + .file-upload-btn {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

.file-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 6px;
  background: var(--navy-600);
  color: var(--white);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  border: 1px solid rgba(200, 164, 93, 0.25);
  flex-shrink: 0;
}

.file-upload-btn:hover {
  border-color: var(--gold-500);
}

.file-upload-name {
  font-size: 0.85rem;
  color: var(--slate-400);
  overflow-wrap: anywhere;
}

.file-upload-name.chosen {
  color: var(--gold-300);
  font-weight: 600;
}

/* ---------- Submit button states ---------- */
.btn-submit {
  position: relative;
  min-width: 220px;
}

.btn-submit .btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(2, 8, 15, 0.3);
  border-top-color: var(--navy-950);
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
}

.btn-submit.is-loading .btn-spinner {
  display: inline-block;
}

.btn-submit.is-loading .btn-icon-success,
.btn-submit.is-loading .btn-icon-error {
  display: none;
}

.btn-submit .btn-icon-success,
.btn-submit .btn-icon-error {
  display: none;
}

.btn-submit.is-success .btn-icon-success {
  display: inline-flex;
}

.btn-submit.is-error .btn-icon-error {
  display: inline-flex;
}

.btn-submit:disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* ---------- Status banner (server error) ---------- */
.form-status-banner {
  display: none;
  align-items: flex-start;
  gap: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 16px 18px;
  border-radius: 8px;
  margin-bottom: 22px;
}

.form-status-banner.visible {
  display: flex;
}

.form-status-banner .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-status-banner h4 {
  color: #fca5a5;
  font-size: 0.98rem;
  margin: 0 0 4px;
}

.form-status-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(252, 165, 165, 0.85);
}

.form-status-banner a {
  color: #fecaca;
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- Success screen ---------- */
.form-success-screen {
  display: none;
  text-align: center;
  padding: 20px 10px 6px;
}

.form-success-screen.visible {
  display: block;
}

.success-check {
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-check svg {
  width: 36px;
  height: 36px;
  color: #34d399;
}

.success-check svg path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: checkDraw 0.5s ease-out 0.15s forwards;
}

@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}

.form-success-screen h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.form-success-screen p {
  max-width: 460px;
  margin: 0 auto 8px;
}

.success-reference {
  display: inline-block;
  margin: 18px 0 26px;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--navy-900);
  border: 1px solid rgba(200, 164, 93, 0.25);
}

.success-reference .label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.success-reference .value {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 0.03em;
}

@media (prefers-reduced-motion: reduce) {
  .success-check svg path {
    animation: none;
    stroke-dashoffset: 0;
  }
  .btn-submit .btn-spinner {
    animation-duration: 1.4s;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Contact info blocks ---------- */
.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.info-row .icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(200, 164, 93, 0.1);
  border: 1px solid rgba(200, 164, 93, 0.25);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-row h4 {
  margin-bottom: 2px;
  font-size: 1rem;
}

.info-row p {
  margin: 0;
}

.map-embed {
  display: block;
  border-radius: var(--radius);
  border: 1px solid rgba(200, 164, 93, 0.25);
  background: var(--navy-700);
  margin-top: 24px;
  padding: 26px;
  transition: border-color var(--transition), transform var(--transition);
}

.map-embed:hover {
  border-color: rgba(200, 164, 93, 0.5);
  transform: translateY(-2px);
}

.map-embed-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.95rem;
}

.map-embed-cta .icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(200, 164, 93, 0.1);
  border: 1px solid rgba(200, 164, 93, 0.25);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 60px 0 24px;
  border-top: 1px solid rgba(200, 164, 93, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-grid p,
.footer-grid a {
  color: var(--slate-500);
  font-size: 0.88rem;
}

.footer-grid ul li {
  margin-bottom: 11px;
}

.footer-grid ul li a:hover {
  color: var(--gold-300);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-tagline {
  color: var(--gold-500);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(200, 164, 93, 0.12);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--slate-500);
}

.footer-bottom .legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom .legal-links a:hover {
  color: var(--gold-300);
}

.footer-legal-note {
  font-size: 0.78rem;
  color: var(--slate-600);
  max-width: 760px;
  margin: 6px 0 0;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--navy-950);
  color: var(--slate-300);
  border-top: 1px solid rgba(200, 164, 93, 0.2);
  padding: 18px 0;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-inner p {
  margin: 0;
  color: var(--slate-400);
  font-size: 0.88rem;
  max-width: 620px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions button {
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid rgba(200, 164, 93, 0.3);
  background: transparent;
  color: var(--white);
}

.cookie-actions button.accept {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  border-color: transparent;
  color: var(--navy-950);
  font-weight: 700;
}

/* ---------- Hero entrance animation ---------- */
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-grid > div:first-child > * {
  opacity: 0;
  animation: fadeUpIn 0.7s ease forwards;
}

.hero-grid > div:first-child > *:nth-child(1) { animation-delay: 0.05s; }
.hero-grid > div:first-child > *:nth-child(2) { animation-delay: 0.15s; }
.hero-grid > div:first-child > *:nth-child(3) { animation-delay: 0.25s; }
.hero-grid > div:first-child > *:nth-child(4) { animation-delay: 0.35s; }
.hero-grid > div:first-child > *:nth-child(5) { animation-delay: 0.45s; }

.stat-panel {
  opacity: 0;
  animation: fadeUpIn 0.7s ease forwards;
  animation-delay: 0.3s;
}

/* ---------- Scroll-reveal (progressive enhancement — class added by JS) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero-grid > div:first-child > *,
  .stat-panel,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Legal pages ---------- */
.legal-content h2 {
  margin-top: 2em;
  font-size: 1.2rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 1em;
}

.legal-content li {
  color: var(--slate-400);
  margin-bottom: 6px;
}

.legal-content p {
  max-width: 780px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .top-bar-right .compliance-pill { display: none; }
  .detail-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    border-top: 1px solid rgba(200, 164, 93, 0.14);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
  }

  .main-nav a {
    display: block;
  }

  .main-nav a.nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 6px;
  }

  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .hero-checks { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 56px 0; }
  .process-steps { grid-template-columns: 1fr; }
  .top-bar-left .top-bar-item:nth-child(3) { display: none; }
  .mini-cta .container { flex-direction: column; align-items: flex-start; }
  .benefit-grid { grid-template-columns: 1fr; }
  .service-hero .container { padding-top: 110px; }
}
