/* ==========================================================================
   MAYURI GOLD LOAN — Redesign
   Brand: Office Blue (#1A5BB5), White (#FFFFFF)
   ========================================================================== */

:root {
  /* Primary = office blue (var names kept for existing selectors) */
  --brand-red: #1A5BB5;
  --brand-red-dark: #134791;
  --brand-red-deep: #0C2F6B;
  --brand-red-soft: #F3F7FC;
  --brand-red-mist: #E4EDF8;
  /* Accent = white / cool highlight */
  --brand-yellow: #FFFFFF;
  --brand-yellow-dark: #D9E6F7;
  /* Gold for "GOLD LOAN" wordmark */
  --brand-gold: #FFCC00;
  --brand-gold-dark: #E6B800;

  --ink: #0F1A2B;
  --ink-soft: #2A3A52;
  --muted: #5A6A80;
  --line: rgba(26, 91, 181, 0.16);
  --line-soft: rgba(15, 26, 43, 0.08);
  --surface: #FFFFFF;
  --surface-warm: #F7FAFD;
  --surface-alt: #EEF3FA;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --radius: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

/* Custom cash cursor — transparent PNG (cash only, no background) */
@media (pointer: fine) {
  body {
    cursor: url("../images/cursor-cash.png") 24 24, auto;
  }

  a,
  button,
  .btn,
  [role="button"],
  .faq-question,
  .mobile-menu-btn,
  input[type="submit"],
  select,
  .floating-btn {
    cursor: url("../images/cursor-cash.png") 24 24, pointer;
  }
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  fill: currentColor;
  flex-shrink: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 0.85rem;
}

.section-intro {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.section-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-intro p:not(.eyebrow) {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--brand-red);
  transition: gap 0.3s var(--ease);
}

.text-link:hover {
  gap: 0.7rem;
}

.text-link .icon {
  width: 1.1em;
  height: 1.1em;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

/* ??? Buttons ??? */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.45rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-red-dark);
}

.btn-gold {
  background: #fff;
  color: var(--brand-red);
  font-weight: 800;
}

.btn-gold:hover {
  background: var(--brand-red-mist);
  color: var(--brand-red-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-call {
  background: var(--brand-red);
  color: #fff;
  flex: 1;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
}

.btn-call:hover {
  background: var(--brand-red-dark);
}

.btn-whatsapp {
  background: #25D366;
  color: #054C3A;
  font-weight: 800;
  flex: 1;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
}

.btn-whatsapp:hover {
  background: #1EBE5A;
}

/* ??? Header ??? */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.header.is-scrolled {
  background: rgba(12, 47, 107, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(12, 47, 107, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--max));
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

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

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: color 0.3s var(--ease);
}

.header.is-scrolled .brand-wordmark {
  color: #fff;
}

.brand-mark {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.header.is-scrolled .brand-mark {
  color: var(--brand-gold);
  background: transparent;
  padding: 0;
  border-radius: 0;
  width: fit-content;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s var(--ease);
}

.header.is-scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.88);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-gold);
}

.header.is-scrolled .nav-links a:hover,
.header.is-scrolled .nav-links a.active {
  color: var(--brand-gold);
}

.nav-mobile-cta {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-cta {
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
}

.header:not(.is-scrolled) .header-cta {
  background: #fff;
  color: var(--brand-red);
}

.header:not(.is-scrolled) .header-cta:hover {
  background: var(--brand-red-mist);
  color: var(--brand-red-deep);
}

.header.is-scrolled .header-cta {
  background: var(--brand-gold);
  color: var(--ink);
}

.header.is-scrolled .header-cta:hover {
  background: var(--brand-gold-dark);
  color: var(--ink);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  font-size: 1.25rem;
}

.header.is-scrolled .mobile-menu-btn {
  color: var(--brand-gold);
  background: rgba(255, 255, 255, 0.12);
}

/* ??? Hero (full-bleed) ??? */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 5.5rem;
  color: #fff;
  overflow: hidden;
  background: var(--surface-warm);
}

@media (max-height: 720px) {
  .hero {
    align-items: center;
    padding-bottom: 4rem;
  }

  .hero-brand {
    font-size: clamp(2.75rem, 8vw, 5rem);
    margin-bottom: 0.5rem;
  }

  .hero-title {
    font-size: clamp(1.45rem, 3.5vw, 2.2rem);
  }

  .hero-lead {
    margin-bottom: 1.25rem;
  }
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  animation: hero-ken 18s var(--ease) forwards;
}

@media (max-width: 768px) {
  .hero-media img {
    object-position: center top;
  }
}

@keyframes hero-ken {
  to { transform: scale(1); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(12, 47, 107, 0.88) 0%, rgba(26, 91, 181, 0.55) 36%, rgba(247, 250, 253, 0.2) 68%, transparent 100%),
    linear-gradient(to top, rgba(12, 47, 107, 0.55) 0%, transparent 42%);
}

@media (max-width: 768px) {
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(12, 47, 107, 0.35) 0%, transparent 28%, transparent 48%, rgba(12, 47, 107, 0.72) 100%),
      linear-gradient(to top, rgba(12, 47, 107, 0.65) 0%, transparent 50%);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  width: min(100% - 2.5rem, 40rem);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand-yellow);
  animation: scroll-dot 1.6s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

.animate-in {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

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

@media (prefers-reduced-motion: reduce) {
  .animate-in,
  .hero-media img,
  .hero-scroll span {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* ??? Trust strip ??? */
.trust-strip {
  background: var(--brand-red);
  color: #fff;
  padding: 1.35rem 0;
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.925rem;
}

.trust-item .icon {
  color: var(--brand-yellow);
  font-size: 1.15rem;
}

/* ??? About ??? */
.about-section {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--brand-red-mist) 0%, transparent 55%),
    var(--surface-warm);
}

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

.about-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.about-copy p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 91, 181, 0.28), transparent 40%);
  pointer-events: none;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ??? Why (editorial list) ??? */
.why-section {
  padding: 5.5rem 0;
  background: var(--surface);
  border-block: 1px solid var(--line-soft);
}

.why-list {
  display: grid;
  gap: 0;
}

.why-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}

.why-list li:first-child {
  border-top: 1px solid var(--line-soft);
}

.why-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1;
}

.why-list h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.why-list p {
  color: var(--muted);
  max-width: 36rem;
}

/* ??? Branches ??? */
.branches-section {
  padding: 6rem 0;
  background:
    linear-gradient(180deg, var(--brand-red-soft) 0%, var(--surface-warm) 100%);
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.branch-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.branch-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-3px);
}

.branch-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.branch-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-red);
  background: var(--brand-red-mist);
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
}

.branch-pin {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.branch-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
}

.branch-address {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.branch-phone {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-red);
  letter-spacing: -0.01em;
}

.branch-phone:hover {
  text-decoration: underline;
}

.branch-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

/* ??? Services ??? */
.services-section {
  padding: 6rem 0;
  background: var(--ink);
  color: #fff;
}

.services-section .eyebrow {
  color: var(--brand-yellow);
}

.services-section .section-intro h2 {
  color: #fff;
}

.services-section .section-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.feature-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-rows li {
  display: grid;
  grid-template-columns: 4rem 14rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-index {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-yellow);
}

.feature-rows h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.feature-rows p {
  color: rgba(255, 255, 255, 0.65);
}

/* ??? Process ??? */
.process-section {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, var(--brand-red-mist) 0%, transparent 50%),
    var(--surface);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process-track::before {
  content: '';
  position: absolute;
  top: 1.6rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-yellow));
  opacity: 0.35;
}

.process-step {
  position: relative;
}

.process-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.975rem;
}

/* ??? Security ??? */
.security-section {
  padding: 6rem 0;
  background: var(--surface-alt);
}

.security-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.security-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.security-copy > p {
  color: var(--ink-soft);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.security-points {
  display: grid;
  gap: 1.25rem;
}

.security-points li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.security-points .icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.55rem;
  background: var(--brand-red);
  color: #fff;
  border-radius: 8px;
  flex-shrink: 0;
}

.security-points strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.security-points span {
  color: var(--muted);
  font-size: 0.925rem;
}

.security-visual {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
}

.security-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ??? Contact ??? */
.contact-section {
  padding: 6rem 0;
  background: var(--surface-warm);
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.contact-block {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--line-soft);
}

.contact-block:last-child {
  border-right: none;
}

.contact-block h3 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 0.85rem;
}

.contact-block p {
  color: var(--ink-soft);
  font-size: 0.975rem;
  margin-bottom: 0.5rem;
}

.contact-block a:not(.btn):not(.text-link) {
  font-weight: 700;
  color: var(--ink);
}

.contact-block a:not(.btn):not(.text-link):hover {
  color: var(--brand-red);
}

.contact-block .btn {
  margin-top: 0.5rem;
  width: 100%;
}

.contact-block .text-link {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

/* ??? FAQ ??? */
.faq-section {
  padding: 6rem 0;
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
}

.faq-layout .section-intro {
  margin-bottom: 2.5rem;
}

.faq-accordion {
  max-width: 44rem;
}

.faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.faq-question .icon {
  color: var(--brand-red);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-item.active .faq-answer {
  max-height: 280px;
  padding-bottom: 1.35rem;
}

.faq-answer p {
  color: var(--muted);
  font-size: 0.975rem;
}

/* ??? SEO tags ??? */
.seo-tags-section {
  padding: 2.5rem 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--line-soft);
}

.seo-tags-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.seo-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.seo-tags-cloud span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
}

/* ??? Footer ??? */
.footer {
  background: var(--brand-red-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .brand-wordmark {
  color: #fff;
}

.footer-brand .brand-mark {
  color: var(--brand-red-deep);
  background: #fff;
  padding: 0.12rem 0.4rem;
  border-radius: 3px;
  width: fit-content;
}

.footer-about p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 22rem;
}

.footer-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 1.15rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a,
.footer-branches a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-branches a:hover {
  color: var(--brand-yellow);
}

.footer-branches {
  display: grid;
  gap: 0.75rem;
}

.footer-branches li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.95rem;
}

.footer-branches strong {
  color: #fff;
  font-size: 0.875rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.developer-credit a {
  color: var(--brand-yellow);
  font-weight: 700;
}

.developer-credit a:hover {
  text-decoration: underline;
}

/* ??? Floating contact ??? */
.floating-contact {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s var(--ease);
}

.floating-btn:hover {
  transform: scale(1.08);
}

.floating-btn.wa {
  background: #25D366;
  color: #054C3A;
}

.floating-btn.call {
  background: var(--brand-red);
}

/* Scroll reveal ? only hide when JS is active, so content stays visible if scripts fail */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

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

/* ??? Responsive ??? */
@media (max-width: 1024px) {
  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
  }

  .feature-rows li {
    grid-template-columns: 3.5rem 1fr;
    gap: 0.75rem 1.25rem;
  }

  .feature-rows li p {
    grid-column: 2;
  }

  .contact-panel {
    grid-template-columns: 1fr 1fr;
  }

  .contact-block:nth-child(2) {
    border-right: none;
  }

  .contact-block:nth-child(1),
  .contact-block:nth-child(2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    padding: 0.75rem 1.25rem 1.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }

  .nav-links.nav-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    color: var(--ink) !important;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--line-soft);
    display: block;
  }

  .nav-links a.active,
  .nav-links a:hover {
    color: var(--brand-red) !important;
  }

  .nav-mobile-cta {
    display: block;
    padding-top: 1rem;
  }

  .nav-mobile-cta .btn {
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Solid office-blue header on mobile for white + gold wordmark */
  .header {
    background: rgba(12, 47, 107, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(12, 47, 107, 0.28);
  }

  .brand-wordmark {
    color: #fff;
  }

  .brand-mark {
    color: var(--brand-gold);
    background: transparent;
    padding: 0;
    border-radius: 0;
    width: fit-content;
  }

  .mobile-menu-btn {
    color: var(--brand-gold);
    background: rgba(255, 255, 255, 0.12);
  }

  .about-layout,
  .security-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual,
  .security-visual {
    aspect-ratio: 16 / 10;
    order: -1;
  }

  .branches-grid {
    grid-template-columns: 1fr;
  }

  .process-track {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .process-track::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 2rem, var(--max));
  }

  .hero {
    min-height: 100svh;
    padding: calc(var(--header-h) + 1.25rem) 0 4rem;
    align-items: center;
  }

  .hero-brand {
    font-size: clamp(3rem, 14vw, 4.25rem);
  }

  .hero-title {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    margin-bottom: 0.75rem;
  }

  .hero-lead {
    font-size: 0.975rem;
    margin-bottom: 1.35rem;
  }

  .hero-content {
    margin-left: 1rem;
    width: calc(100% - 2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-scroll {
    display: none;
  }

  .trust-strip-inner {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    justify-content: flex-start;
    font-size: 0.85rem;
  }

  .why-list li {
    grid-template-columns: 3rem 1fr;
    gap: 0.85rem;
  }

  .feature-rows li {
    grid-template-columns: 2.5rem 1fr;
  }

  .feature-rows h3 {
    grid-column: 2;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-block {
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
  }

  .contact-block:last-child {
    border-bottom: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .floating-contact {
    right: 1rem;
    bottom: 1rem;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }
}

/* ??? Multi-page: page hero, CTAs, contact form ??? */
.page-inner .header {
  background: rgba(12, 47, 107, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(12, 47, 107, 0.28);
}

.page-inner .brand-wordmark {
  color: #fff;
}

.page-inner .brand-mark {
  color: var(--brand-gold);
  background: transparent;
  padding: 0;
}

.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 3.25rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 50%),
    linear-gradient(135deg, var(--brand-red-deep) 0%, var(--brand-red) 55%, #2E74C9 100%);
  color: #fff;
}

.page-hero .eyebrow {
  color: var(--brand-yellow);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 0.85rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.75rem;
}

.btn-outline {
  background: transparent;
  color: var(--brand-red);
  border: 1.5px solid var(--brand-red);
}

.btn-outline:hover {
  background: var(--brand-red);
  color: #fff;
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(26, 18, 20, 0.25);
}

.btn-ghost-dark:hover {
  border-color: var(--ink);
  background: rgba(26, 18, 20, 0.04);
}

.cta-banner {
  padding: 3.5rem 0;
  background: var(--brand-red);
  color: #fff;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.services-page {
  padding-top: 4.5rem;
}

.faq-answer a {
  color: var(--brand-red);
  font-weight: 700;
  text-decoration: underline;
}

/* Contact page */
.contact-page-section {
  padding: 4.5rem 0 5.5rem;
  background: var(--surface-warm);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-lead {
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

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

.form-field {
  margin-bottom: 1.15rem;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}

.form-field label span {
  color: var(--brand-red);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface-warm);
  border: 1.5px solid var(--line-soft);
  border-radius: 8px;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(26, 91, 181, 0.14);
}

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

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--brand-red);
}

.field-error {
  display: block;
  min-height: 1.1em;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-red);
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.form-actions-dual {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
}

.form-actions-dual .btn {
  flex: 1;
  min-width: 160px;
}

.form-note {
  font-size: 0.875rem;
  color: var(--muted);
}

.form-note a {
  color: var(--brand-red);
  font-weight: 700;
}

.form-success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: #ECFDF5;
  color: #065F46;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.925rem;
}

.form-error-banner {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: #FFF0F2;
  color: var(--brand-red-dark);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.925rem;
}

.contact-form .btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.contact-aside-card h3 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 0.65rem;
}

.contact-aside-card p {
  color: var(--ink-soft);
  font-size: 0.975rem;
  margin-bottom: 0.4rem;
}

.contact-aside-card a:not(.btn):not(.text-link) {
  font-weight: 700;
  color: var(--ink);
}

.contact-aside-card a:not(.btn):not(.text-link):hover {
  color: var(--brand-red);
}

.contact-aside-card .btn {
  margin-top: 0.65rem;
  width: 100%;
}

.contact-aside-card .text-link {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
