/*
Theme Name: Rolkat Financial Services
Theme URI: https://example.com/rolkat
Author: Rolkat Financial Services SMC Ltd
Description: A responsive company website for financial services, property management and real estate.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: rolkat
*/

:root {
  --navy: #0B1F3A;
  --navy-deep: #122A4A;
  --ink: #0B1F3A;
  --ink-deep: #0B1F3A;
  --ink-soft: #314761;
  --accent: #F04E23;
  --accent-dark: #D9431C;
  --accent-text: #B83716;
  --accent-hover: #A83113;
  --copper: #F04E23;
  --copper-dark: #D9431C;
  --sand: #EEF2F7;
  --bg: #FAFAF7;
  --paper: #FFFFFF;
  --muted: #475569;
  --line: #E2E8F0;
  --success: #16A34A;
  --sold: #64748B;
  --rented: #2563EB;
  --whatsapp: #25D366;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
  --shadow-hover: 0 14px 32px rgba(11, 31, 58, 0.14);
  --heading: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --serif: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--accent-text);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.container {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid rgba(19, 39, 68, 0.08);
  transition: background 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(19, 39, 68, 0.08);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  transition: min-height 300ms ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 84px;
  height: 72px;
  object-fit: contain;
}

.site-footer .brand-logo {
  padding: 4px;
  background: #fff;
  border-radius: 4px;
}

.brand:hover .brand-mark {
  transform: scale(1.05);
  background: var(--accent);
  box-shadow: 0 4px 14px rgba(240, 78, 35, 0.28);
}

.brand-name {
  display: block;
  color: var(--navy);
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.brand-caption {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 32px);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  color: var(--accent-text);
}

/* Enhanced preview navigation. Dropdowns stay out of document flow until opened. */
.nav-menu > li {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 200ms ease;
}

.nav-pill-badge {
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--copper-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 120;
  width: 330px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(19, 39, 68, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  pointer-events: none;
}

.nav-dropdown--wide {
  width: min(760px, calc(100vw - 48px));
}

.nav-item-dropdown:hover > .nav-dropdown,
.nav-item-dropdown:focus-within > .nav-dropdown,
.nav-item-dropdown.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.nav-item-dropdown:hover > .nav-link .nav-chevron,
.nav-item-dropdown:focus-within > .nav-link .nav-chevron,
.nav-item-dropdown.is-open > .nav-link .nav-chevron {
  transform: rotate(180deg);
}

/* Fills the space between a trigger and its panel so the pointer can reach the links. */
.nav-item-dropdown.is-open::before,
.nav-item-dropdown:hover::before,
.nav-item-dropdown:focus-within::before {
  content: "";
  position: absolute;
  z-index: 121;
  top: 100%;
  left: 50%;
  width: 330px;
  height: 22px;
  transform: translateX(-50%);
}

.nav-item-dropdown:has(.nav-dropdown--wide).is-open::before,
.nav-item-dropdown:has(.nav-dropdown--wide):hover::before,
.nav-item-dropdown:has(.nav-dropdown--wide):focus-within::before {
  width: min(760px, calc(100vw - 48px));
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.nav-dropdown-col {
  min-width: 0;
}

.nav-dropdown-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 6px;
  color: var(--copper-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav .nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-radius: 6px;
  color: var(--ink-soft);
}

.site-nav .nav-dropdown-item::after {
  display: none;
}

.site-nav .nav-dropdown-item:hover,
.site-nav .nav-dropdown-item:focus-visible {
  background: var(--sand);
  color: var(--ink);
}

.nav-dropdown-icon {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 5px;
  background: rgba(240, 78, 35, 0.1);
  color: var(--copper);
}

.nav-dropdown-icon svg {
  width: 15px;
  height: 15px;
}

.nav-dropdown-item strong,
.nav-dropdown-item span {
  display: block;
}

.nav-dropdown-item strong {
  margin-bottom: 2px;
  color: inherit;
  font-size: 12px;
  line-height: 1.3;
}

.nav-dropdown-item span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone-link,
.header-admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.header-admin-pill {
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--sand);
}

.header-actions a::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--accent-text);
  border-radius: 14px;
  background: var(--accent-text);
  color: var(--paper);
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(240, 78, 35, 0.22);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease;
}

.button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -70%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(25deg);
  pointer-events: none;
}

.button:hover::after {
  left: 140%;
  transition: left 700ms ease-in-out;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(240, 78, 35, 0.32);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button--outline {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy);
  box-shadow: none;
}

.button--outline:hover,
.button--outline:focus-visible {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.18);
}

.hero .button--outline,
.cta-band .button--outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--paper);
}

.hero .button--outline:hover,
.hero .button--outline:focus-visible,
.cta-band .button--outline:hover,
.cta-band .button--outline:focus-visible {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--navy);
}

.button--nav {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 12px;
}

.site-nav .button,
.site-nav .button:hover,
.site-nav .button:focus-visible {
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: var(--heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-title-accent {
  display: block;
  width: 48px;
  height: 3px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: var(--accent);
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6.1vw, 76px);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 110px) 0 clamp(64px, 9vw, 110px);
  background:
    radial-gradient(ellipse at 90% 10%, rgba(240, 78, 35, 0.16), transparent 36%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 55%, #183456 100%);
  color: var(--paper);
}

.hero::before {
  position: absolute;
  top: -80px;
  right: 15%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 78, 35, 0.22), transparent 70%);
  filter: blur(25px);
  content: "";
  pointer-events: none;
  animation: hero-ambient-glow 9s ease-in-out infinite alternate;
}

@keyframes hero-ambient-glow {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.25;
  }
  100% {
    transform: translate(-30px, 20px) scale(1.15);
    opacity: 0.45;
  }
}

.hero::after {
  position: absolute;
  right: -115px;
  bottom: -270px;
  width: min(54vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255, 255, 255, 0.025), 0 0 0 96px rgba(255, 255, 255, 0.025);
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner > * {
  animation: heroFadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-inner .brand-lockup { animation-delay: 40ms; }
.hero-inner .eyebrow { animation-delay: 100ms; }
.hero-inner h1 { animation-delay: 180ms; }
.hero-inner .hero-copy { animation-delay: 300ms; }
.hero-inner .hero-actions { animation-delay: 440ms; }
.hero-inner .hero-note { animation-delay: 580ms; }

.hero h1 {
  color: var(--paper);
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

.hero .eyebrow {
  color: #e59a79;
}

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

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 64px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note::before {
  width: 34px;
  height: 1px;
  background: var(--copper);
  content: "";
}

.section {
  padding: clamp(68px, 9vw, 112px) 0;
}

.section--sand {
  background: var(--sand);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-heading > div {
  min-width: 0;
  max-width: 680px;
}

.section-heading p {
  min-width: 0;
  max-width: 540px;
  margin-bottom: 0;
  color: var(--muted);
}

/* Services Horizontal Marquee (Continuous Right-to-Left Scroll) */
.services-heading-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.services-heading-side p {
  max-width: 520px;
  text-align: right;
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .services-heading-side {
    align-items: flex-start;
  }
  .services-heading-side p {
    text-align: left;
  }
}

.marquee-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sand);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}

.marquee-hint {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  user-select: none;
}

.marquee-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: all 160ms ease;
}

.marquee-btn:hover,
.marquee-btn:focus-visible {
  background: var(--accent-text);
  color: #fff;
  border-color: var(--accent-text);
  transform: scale(1.08);
}

.services-marquee-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 16px 0 32px;
  /* Smooth gradient fade mask on left and right edges */
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.services-marquee-track {
  display: flex;
  width: max-content;
  animation: services-marquee-scroll 52s linear infinite;
  will-change: transform;
}

/* Pause smoothly when mouse is hovered or toggled via button */
.services-marquee-wrapper:hover .services-marquee-track,
.services-marquee-track.is-paused {
  animation-play-state: paused;
}

.services-marquee-group {
  display: flex;
  gap: 22px;
  padding-right: 22px;
  flex-shrink: 0;
}

.services-marquee-group .service-card {
  width: 340px;
  min-width: 340px;
  max-width: 340px;
  flex: 0 0 340px;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(19, 39, 68, 0.03);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  user-select: none;
}

.services-marquee-group .service-card:hover {
  transform: translateY(-6px);
  border-color: var(--copper);
  box-shadow: 0 14px 32px rgba(19, 39, 68, 0.1);
}

.services-marquee-group .service-card .service-card-number {
  margin-bottom: 22px;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  display: inline-block;
  letter-spacing: 0.05em;
}

.services-marquee-group .service-card h3 {
  font-size: 19px;
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--ink);
  line-height: 1.35;
}

.services-marquee-group .service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

@media (max-width: 768px) {
  .services-marquee-group .service-card {
    width: 290px;
    min-width: 290px;
    max-width: 290px;
    flex: 0 0 290px;
    padding: 22px 20px;
  }
  .services-marquee-track {
    animation-duration: 40s;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.service-card-number {
  margin-bottom: 34px;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 18px;
}

.service-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  color: var(--copper);
  content: "→";
  font-size: 18px;
  transition: transform 160ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-text);
  text-decoration: underline;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 8vw, 104px);
}

.split-panel {
  position: relative;
  min-height: 380px;
  padding: 42px;
  background: var(--ink);
  color: var(--paper);
}

.split-panel::before {
  position: absolute;
  top: 18px;
  left: 18px;
  width: calc(100% - 38px);
  height: calc(100% - 38px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  content: "";
  pointer-events: none;
}

.split-panel-inner {
  position: relative;
  z-index: 1;
}

.split-panel h3 {
  margin-top: 74px;
  color: var(--paper);
  font-size: clamp(28px, 3.1vw, 38px);
}

.split-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.split-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-list li::before {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  place-items: center;
  margin-top: 2px;
  background: #f3e5df;
  color: var(--copper);
  content: "✓";
  font-size: 12px;
  font-weight: 800;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.72fr);
  gap: 44px;
  padding: clamp(26px, 5vw, 54px);
  background: var(--ink);
  color: var(--paper);
}

.calculator h2 {
  color: var(--paper);
}

.calculator .eyebrow {
  color: #e59a79;
}

.calculator-copy {
  color: rgba(255, 255, 255, 0.7);
}

.calculator-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  color: inherit;
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #d9dee4;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
}

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

.calculator-result {
  grid-column: 1 / -1;
  padding: 18px 20px;
  border-left: 2px solid var(--copper);
  background: rgba(255, 255, 255, 0.07);
}

.calculator-result span,
.calculator-result strong {
  display: block;
}

.calculator-result span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.calculator-result strong {
  margin-top: 4px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
}

.notice {
  margin-bottom: 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--copper);
  background: #f8eee9;
  color: var(--ink);
}

.notice--error {
  border-color: #a32f2f;
  background: #fff0f0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 7vw, 88px);
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-detail {
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.contact-detail strong,
.contact-detail span {
  display: block;
}

.contact-detail strong {
  margin-bottom: 3px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-detail span,
.contact-detail a {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.contact-form {
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.contact-form .field {
  color: var(--ink);
}

.contact-form .button {
  cursor: pointer;
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.page-hero {
  padding: clamp(60px, 8vw, 96px) 0;
  background: var(--sand);
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(42px, 5.5vw, 66px);
}

.page-content {
  max-width: 820px;
  color: var(--ink-soft);
}

.page-content > * + * {
  margin-top: 1.25em;
}

.page-content h2,
.page-content h3 {
  margin-top: 1.7em;
  color: var(--ink);
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand);
}

.team-card-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(140deg, #e6e2da, #f7f5f1);
}

.property-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.property-card > a:first-child {
  display: block;
}

.property-card img,
.property-card-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(140deg, #e6e2da, #f7f5f1);
}

.property-card-body {
  padding: 22px;
}

.property-image-disclosure {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
}

.property-card-status {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: var(--success);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.property-card-status[data-status="Sold"],
.property-card-status.is-sold {
  background: rgba(100, 116, 139, 0.14);
  color: var(--sold);
}

.property-card-status[data-status="Rented"],
.property-card-status.is-rented {
  background: rgba(37, 99, 235, 0.12);
  color: var(--rented);
}

.property-card h3 {
  font-size: 23px;
}

.property-card p {
  color: var(--muted);
  font-size: 13px;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
}

.property-meta span + span::before {
  margin-right: 16px;
  color: var(--copper);
  content: "·";
}

.team-card-body {
  padding: 22px;
}

.team-card-body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.empty-state {
  padding: 28px;
  border: 1px dashed #cbd0d6;
  color: var(--muted);
}

.site-footer {
  padding: 58px 0 24px;
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 44px;
  padding-bottom: 42px;
}

.site-footer .brand {
  color: var(--paper);
}

.site-footer .brand-caption {
  color: rgba(255, 255, 255, 0.58);
}

.site-footer p {
  max-width: 360px;
  margin: 18px 0 0;
  font-size: 13px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-decoration: none;
}

.site-footer a:not(.button):hover,
.site-footer a:not(.button):focus-visible {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.pagination {
  margin-top: 36px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination a,
.pagination span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  text-decoration: none;
}

.pagination .current {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 1100px) {
  .header-inner {
    min-height: 76px;
    gap: 16px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
  }

  .site-nav li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-link {
    display: flex;
  }

  .nav-item-dropdown.is-open::before,
  .nav-item-dropdown:hover::before,
  .nav-item-dropdown:focus-within::before,
  .nav-item-dropdown:has(.nav-dropdown--wide).is-open::before,
  .nav-item-dropdown:has(.nav-dropdown--wide):hover::before,
  .nav-item-dropdown:has(.nav-dropdown--wide):focus-within::before {
    content: none;
  }

  .nav-dropdown {
    position: static;
    width: auto;
    padding: 0 0 6px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-dropdown--wide,
  .nav-dropdown-grid {
    width: auto;
  }

  .nav-dropdown-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .nav-dropdown-heading {
    padding: 10px 0 2px;
  }

  .site-nav .nav-dropdown-item {
    padding: 8px 0;
    border-bottom: 0;
  }

  .nav-chevron {
    display: none;
  }

  .header-actions {
    flex-wrap: wrap;
    align-items: center;
    padding-top: 8px;
  }

  .header-phone-link,
  .header-admin-pill {
    padding: 8px 0;
  }

  .site-nav .button {
    justify-self: start;
    margin-top: 8px;
  }

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-panel {
    min-height: 310px;
  }

  .split-panel h3 {
    margin-top: 44px;
  }
}

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

  .brand-name {
    font-size: 12px;
  }

  .brand-caption {
    font-size: 9px;
  }

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

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .calculator {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .calculator-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .hero-note {
    margin-top: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Loan Journey & Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 960px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.process-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.process-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(19, 39, 68, 0.06);
}

.process-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--sand);
  color: var(--copper);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 1px solid var(--line);
}

.process-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--ink);
}

.process-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.process-detail-tag {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: var(--sand);
  border-radius: 4px;
  width: fit-content;
}

.loan-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
}

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

@media (max-width: 540px) {
  .loan-highlights {
    grid-template-columns: 1fr;
  }
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.highlight-icon {
  color: var(--copper);
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-text strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2px;
}

.highlight-text span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* ==========================================================================
   Interactive Polish, Scroll Reveals & Micro-Transitions
   ========================================================================== */

/* Scroll-Triggered Reveals */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 750ms cubic-bezier(0.16, 1, 0.3, 1), transform 750ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* Property Cards interactive hover */
.property-card {
  border-radius: 6px;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1), border-color 280ms ease;
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: var(--copper);
  box-shadow: 0 18px 38px rgba(19, 39, 68, 0.11);
}

.property-card img,
.property-card-placeholder {
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.property-card:hover img,
.property-card:hover .property-card-placeholder {
  transform: scale(1.05);
}

.property-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.property-card-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
  animation: pulse-dot 2.2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(1.4);
  }
}

/* Team Card hover */
.team-card {
  border-radius: 6px;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1), border-color 280ms ease;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--copper);
  box-shadow: 0 18px 38px rgba(19, 39, 68, 0.11);
}

.team-card img,
.team-card-placeholder {
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover img,
.team-card:hover .team-card-placeholder {
  transform: scale(1.05);
}

/* Process Cards hover enhancement */
.process-card {
  border-radius: 6px;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--copper);
  box-shadow: 0 16px 32px rgba(19, 39, 68, 0.08);
}

.process-step-badge {
  transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover .process-step-badge {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper);
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 4px 14px rgba(240, 78, 35, 0.3);
}

/* Highlights item hover */
.loan-highlights {
  border-radius: 6px;
  transition: box-shadow 280ms ease, transform 280ms ease;
}

.loan-highlights:hover {
  box-shadow: 0 12px 30px rgba(19, 39, 68, 0.08);
}

.highlight-item {
  transition: transform 220ms ease;
}

.highlight-item:hover {
  transform: translateX(4px);
}

.highlight-icon {
  transition: transform 220ms ease;
}

.highlight-item:hover .highlight-icon {
  transform: scale(1.16);
}

/* About Split-Panel hover & checklist */
.split-panel {
  border-radius: 6px;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms ease;
}

.split-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(11, 28, 52, 0.18);
}

.check-list li {
  transition: transform 200ms ease;
}

.check-list li:hover {
  transform: translateX(6px);
}

.check-list li::before {
  border-radius: 3px;
  transition: all 200ms ease;
}

.check-list li:hover::before {
  background: var(--copper);
  color: #fff;
  transform: scale(1.12);
}

/* Form input focus transitions & glow */
.field input,
.field select,
.field textarea {
  border-radius: 4px;
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(240, 78, 35, 0.16);
  background-color: #fff;
  outline: none;
}

/* Calculator live result pop animation */
.calculator-result strong {
  transition: transform 240ms ease, color 240ms ease;
  display: inline-block;
}

.calculator-result strong.is-updating {
  animation: result-pop 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes result-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); color: #e59a79; }
  100% { transform: scale(1); }
}

/* WhatsApp chat button pulse */
#site-whatsapp-link {
  transition: all 220ms ease;
  animation: wa-glow 3s infinite ease-in-out;
}

#site-whatsapp-link:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

@keyframes wa-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(37, 211, 102, 0);
  }
}

/* Floating Back to Top Button */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 18px rgba(19, 39, 68, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 280ms ease, transform 280ms ease, visibility 280ms ease, background 200ms ease;
}

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

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--accent-text);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(240, 78, 35, 0.35);
}

.brand-lockup {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.pillar-grid,
.trust-grid,
.mvv-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pillar-card,
.trust-card,
.mvv-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.pillar-card {
  display: flex;
  flex-direction: column;
}

.pillar-card .text-link {
  margin-top: auto;
}

.pillar-image {
  display: block;
  width: calc(100% + 40px);
  max-width: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: -24px -20px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.lottie-visual {
  position: relative;
  height: 138px;
  margin: -10px -6px 18px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(240, 78, 35, 0.1), transparent 58%),
    linear-gradient(145deg, rgba(246, 239, 231, 0.75), rgba(255, 255, 255, 0.35));
}

.lottie-visual svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
  animation: lottie-gentle-float 3.6s ease-in-out infinite alternate;
  transform-origin: 50% 55%;
}

.pillar-card:nth-child(2) .lottie-visual svg {
  animation-delay: -1.2s;
}

.pillar-card:nth-child(3) .lottie-visual svg {
  animation-delay: -2.4s;
}

@keyframes lottie-gentle-float {
  from { transform: translateY(3px) scale(0.98); }
  to { transform: translateY(-3px) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .lottie-visual svg {
    animation: none !important;
  }
}

.pillar-card h3,
.trust-card h3,
.mvv-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.25;
}

.pillar-card p,
.trust-card p,
.mvv-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.pillar-audience {
  font-size: 0.92rem;
}

.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #1a3358 45%, var(--accent) 140%);
  color: #fff;
}

.cta-band-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.cta-band .eyebrow,
.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band .button--outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.listing-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--sand);
}

.listing-filters .field {
  min-width: 180px;
  margin: 0;
}

.property-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.property-card-type {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-card-role {
  display: block;
  margin-bottom: 6px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-embed {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.button--compact {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 12px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.social-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.social-links a:hover {
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 96;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  animation: wa-glow 3s infinite ease-in-out;
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-3px);
}

.privacy-content {
  max-width: 720px;
}

@media (max-width: 980px) {
  .pillar-grid,
  .mvv-grid,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 700px) {
  .pillar-grid,
  .mvv-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 72px;
  }
}

/* —— Redesign: home split hero & new sections —— */
.hero--split {
  padding: clamp(48px, 7vw, 88px) 0;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.hero-copy-block h1,
.hero--split h1 {
  max-width: 16ch;
  color: #fff;
  font-size: clamp(32px, 4.4vw, 52px);
}

.hero-copy-block .hero-copy,
.hero--split .hero-copy {
  max-width: 38ch;
  color: rgba(250, 250, 247, 0.86);
  font-size: 17px;
  line-height: 1.65;
}

.hero--split .eyebrow {
  color: #F04E23;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.trust-chips li {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.hero-collage {
  position: relative;
  min-height: 420px;
}

.hero-collage__main {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
}

.hero-collage__secondary,
.hero-collage__tertiary {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.hero-collage__secondary {
  width: 42%;
  right: -4%;
  bottom: 12%;
}

.hero-collage__tertiary {
  width: 34%;
  left: -2%;
  bottom: -4%;
}

.hero-glass-card {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  gap: 4px;
  max-width: 220px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  color: var(--navy);
}

.hero-glass-card strong {
  font-family: var(--heading);
  font-size: 15px;
}

.hero-glass-card span {
  color: var(--muted);
  font-size: 12px;
}

.icon-circle {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 999px;
  background: rgba(240, 78, 35, 0.12);
  color: var(--accent);
}

.icon-circle svg {
  width: 22px;
  height: 22px;
}

.audience-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-strip li {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.loan-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.loan-timeline__step {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.loan-timeline__number {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.licence-badge {
  display: inline-flex;
  gap: 8px;
  margin-top: 28px;
  padding: 10px 16px;
  border: 1px dashed rgba(11, 31, 58, 0.2);
  border-radius: 12px;
  background: rgba(11, 31, 58, 0.03);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.licence-badge span {
  color: var(--muted);
  font-weight: 500;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  margin: 0;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.testimonial-card p {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.55;
}

.testimonial-card footer {
  display: grid;
  gap: 2px;
  margin-top: 16px;
}

.testimonial-card strong {
  color: var(--navy);
  font-family: var(--heading);
}

.testimonial-card span {
  color: var(--muted);
  font-size: 13px;
}

.pillar-card,
.trust-card,
.service-card,
.team-card,
.mvv-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.pillar-card:hover,
.trust-card:hover,
.property-card:hover,
.service-card:hover,
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-anchor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
}

.service-anchor-tabs a {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.service-anchor-tabs a:hover,
.service-anchor-tabs a:focus-visible {
  background: var(--accent-text);
  color: #fff;
}

.responsible-note,
.checklist-card,
.licence-panel {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--sand);
  color: var(--muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.mobile-call-bar {
  display: none;
}

@media (max-width: 980px) {
  .hero-split,
  .loan-timeline,
  .testimonial-grid,
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .loan-timeline {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .hero-split,
  .loan-timeline,
  .testimonial-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    min-height: 0;
  }

  .hero-collage__secondary,
  .hero-collage__tertiary {
    position: static;
    width: 48%;
    margin-top: 12px;
    display: inline-block;
  }

  .mobile-call-bar {
    position: fixed;
    left: 16px;
    right: 76px;
    bottom: 18px;
    z-index: 95;
    display: flex;
  }

  .mobile-call-bar a {
    flex: 1;
    min-height: 48px;
    border-radius: 14px;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hover);
  }
}

/* ================================
   HERO BACKGROUND SLIDER CAROUSEL
   ================================ */

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1), opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hero-slide.is-current {
  opacity: 1;
  transform: translateX(0);
}

.hero-slide.is-prev {
  opacity: 0;
  transform: translateX(-100%);
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(240, 78, 35, 0.13), transparent 38%),
    linear-gradient(135deg, rgba(11, 31, 58, 0.43) 0%, rgba(18, 42, 74, 0.41) 55%, rgba(24, 52, 86, 0.4) 100%);
  pointer-events: none;
}

.hero-inner > h1,
.hero-inner > p,
.hero-note {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.hero-slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slider-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  width: 30px;
  border-radius: 999px;
}

.hero-slider-arrows {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 31, 58, 0.45);
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}

.hero-slider-arrow--prev {
  left: clamp(12px, 2.5vw, 32px);
}

.hero-slider-arrow--next {
  right: clamp(12px, 2.5vw, 32px);
}

.hero-slider-arrow svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .hero-slider-dots {
    bottom: 20px;
  }

  .hero-slider-arrow {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 500ms ease;
    transform: none;
  }
  .hero-slide.is-current {
    transform: none;
  }
  .hero-slide.is-prev {
    transform: none;
  }
}

/* ================================
   ADMIN: IMAGE UPLOAD PANEL STYLES
   (admin styles are in admin/admin.css — see there for admin UI)
   ================================ */

/* Public site image placeholders with gradients */
.property-card-placeholder.has-image,
.team-card-placeholder.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hero fallback gradients (used when images not set) */
.hero-slide--fallback-1 {
  background-image: radial-gradient(ellipse at 90% 10%, rgba(240, 78, 35, 0.16), transparent 36%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 55%, #183456 100%);
}
.hero-slide--fallback-2 {
  background-image: radial-gradient(ellipse at 10% 90%, rgba(240, 78, 35, 0.18), transparent 40%),
    linear-gradient(145deg, #0f2a4d 0%, #14365d 55%, #1a406d 100%);
}
.hero-slide--fallback-3 {
  background-image: radial-gradient(ellipse at 50% 30%, rgba(240, 78, 35, 0.15), transparent 45%),
    linear-gradient(160deg, #102748 0%, #183357 55%, #0f2a4d 100%);
}

/* ================================
   PROPERTIES: RTL CAROUSEL MARQUEE
   (scrolls right-to-left like the services marquee)
   ================================ */

.section--opportunities {
  background: var(--sand-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.prop-marquee-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 22px 0 36px;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.prop-marquee-track {
  display: flex;
  width: max-content;
  animation: prop-marquee-scroll-rtl 62s linear infinite;
  will-change: transform;
  direction: ltr;
}

.prop-marquee-wrapper:hover .prop-marquee-track,
.prop-marquee-track.is-paused {
  animation-play-state: paused;
}

.prop-marquee-group {
  display: flex;
  gap: 22px;
  padding-right: 22px;
  flex-shrink: 0;
}

/* Force fixed card width inside the marquee flex-track so the animation
   moves smoothly and never "jumps" at the loop boundary. */
.property-card--marquee {
  min-width: 320px !important;
  max-width: 340px !important;
  width: 330px !important;
  flex: 0 0 330px !important;
  user-select: none;
}

@keyframes prop-marquee-scroll-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.property-grid-fallback.is-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

@media (max-width: 980px) {
  .property-grid-fallback.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .property-grid-fallback.is-grid {
    grid-template-columns: 1fr;
  }
  .property-card--marquee {
    min-width: 280px !important;
    max-width: 300px !important;
    width: 290px !important;
    flex: 0 0 290px !important;
  }
  .prop-marquee-track {
    animation-duration: 48s;
  }
}

/* ================================
   SERVICE DETAIL PAGES (Loans / PM / Real Estate)
   ================================ */

.service-detail {
  scroll-margin-top: 96px;
  padding: 72px 0 64px;
  position: relative;
}

body[data-page] .section-heading h1 {
  font-size: 32px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  letter-spacing: 0;
}


.service-detail-hero-banner {
  padding: 54px 40px 44px;
  border-radius: 10px;
  color: #fff;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(19, 39, 68, 0.12);
}

.service-detail-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 90% 10%, rgba(255, 255, 255, 0.1), transparent 40%);
  pointer-events: none;
}

.service-detail-hero-banner--loans {
  background-image: linear-gradient(135deg, var(--navy) 0%, #0e294d 45%, #0b1f3c 100%);
}
.service-detail-hero-banner--pm {
  background-image: linear-gradient(135deg, var(--copper) 0%, #c4561e 45%, #a3451a 100%);
}
.service-detail-hero-banner--re {
  background-image: linear-gradient(135deg, #10527e 0%, #0d4569 45%, #0a3856 100%);
}

.service-detail-hero-banner h2 {
  font-family: var(--serif);
  font-size: 36px;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}

.service-detail-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.service-detail-subtitle {
  font-size: 17px;
  line-height: 1.65;
  max-width: 640px;
  opacity: 0.92;
  margin: 0;
}

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

.service-detail-main h3 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 18px;
}

.service-detail-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 28px;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: all 180ms ease;
}

.feature-chip:hover {
  background: var(--sand-soft);
  border-color: var(--copper);
  transform: translateY(-1px);
}

.feature-chip i,
.feature-chip svg {
  width: 16px !important;
  height: 16px !important;
  color: var(--copper);
  stroke-width: 2.2;
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  counter-reset: process-step;
  border-left: 3px solid var(--sand);
}

.process-steps li {
  counter-increment: process-step;
  padding: 10px 0 18px 28px;
  position: relative;
}

.process-steps li::before {
  content: counter(process-step);
  position: absolute;
  left: -15px;
  top: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--copper);
  color: #fff;
  font-weight: 700;
  font-family: var(--serif);
  font-size: 15px;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 8px rgba(240, 78, 35, 0.28);
}

.process-steps li h4 {
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--ink);
}

.process-steps li p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.side-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 20px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(19, 39, 68, 0.03);
}

.side-card--accent {
  background: var(--sand-soft);
  border-color: transparent;
}

.side-card h4 {
  font-family: var(--serif);
  font-size: 17px;
  margin: 0 0 12px;
  color: var(--ink);
}

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

.side-card ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
}

.side-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--copper);
  font-weight: 800;
  font-size: 13px;
}

.big-number {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--copper);
  line-height: 1;
  margin: 8px 0 4px;
}

.side-card p.small-muted {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.button--full {
  width: 100%;
  justify-content: center;
  display: inline-flex;
}

@media (max-width: 880px) {
  .service-detail-layout {
    grid-template-columns: 1fr;
  }
  .service-detail-hero-banner {
    padding: 40px 24px 32px;
  }
  .service-detail-hero-banner h2 {
    font-size: 28px;
  }
}

/* ================================
   TEAM: IMAGE CARDS + PDF LINK BUTTON
   ================================ */

.team-card--image {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.team-card--image:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(19, 39, 68, 0.11);
  border-color: var(--copper);
}

.team-card-media {
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--sand-soft);
}

.team-card-media .team-card-placeholder,
.team-card-media img,
.team-card-media svg,
.team-card-media i {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat;
}

.team-card-media .team-card-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  background-image: linear-gradient(135deg, var(--sand-soft), #e4d9c6 60%);
}

.team-card-media .team-card-placeholder.has-image {
  background-color: var(--paper);
}

.team-card--image:hover .team-card-placeholder,
.team-card--image:hover .team-card-media img {
  transform: none;
}

.team-card-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px solid var(--copper);
  border-radius: 6px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  transition: all 180ms ease;
  align-self: flex-start;
}

.team-card-pdf-link:hover,
.team-card-pdf-link:focus-visible {
  background: var(--accent-text);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.team-card-pdf-link i,
.team-card-pdf-link svg {
  width: 15px !important;
  height: 15px !important;
  stroke-width: 2.1;
}

.administration-page { background: #fff; padding: 56px 0 0; }
.administration-heading { align-items: flex-start; margin-bottom: 36px; }
.administration-heading > div, .administration-heading > p { flex: 1; min-width: 0; }
.administration-heading .eyebrow { color: #33785d; letter-spacing: 0; }
.administration-toolbar { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.administration-count, .administration-actions, .administration-toolbar a, .administration-contact .button, .member-document { display: inline-flex; align-items: center; gap: 10px; }
.administration-count { color: #263b32; font-size: 14px; font-weight: 600; }
.administration-actions { flex-wrap: wrap; gap: 24px; }
.administration-toolbar svg, .administration-contact svg, .member-document svg { width: 18px; height: 18px; flex-shrink: 0; }
.administration-toolbar [hidden] { display: none; }
.administration-members { display: grid; gap: 24px; padding: 32px 0 48px; }
.administration-member { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid #dce5df; border-top: 3px solid #33785d; border-radius: 6px; background: #fff; }
.administration-member:nth-child(3n + 2) { border-top-color: #f04e23; }
.administration-member:nth-child(3n) { border-top-color: #56606b; }
.member-identity { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.member-initials, .member-portrait { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%; object-fit: cover; }
.member-initials { display: grid; place-items: center; background: #edf5f0; color: #286345; font-size: 24px; font-weight: 700; }
.administration-member:nth-child(3n + 2) .member-initials { background: #fff0ec; color: #ab4024; }
.administration-member:nth-child(3n) .member-initials { background: #f0f2f4; color: #424b55; }
.member-role { font-size: 13px; font-weight: 600; color: #526459; line-height: 1.5; overflow-wrap: anywhere; }
.administration-member h2 { font-size: 22px; line-height: 1.35; letter-spacing: 0; margin: 0 0 14px; overflow-wrap: anywhere; }
.member-bio { margin: 0 0 24px; font-size: 15px; }
.member-document { margin-top: auto; font-size: 14px; }
.administration-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 32px 0 48px; border-top: 1px solid var(--line); }
.administration-contact .eyebrow { margin-bottom: 12px; color: #33785d; letter-spacing: 0; }
.administration-contact h3 { font-size: 24px; letter-spacing: 0; }
.administration-contact p { margin-bottom: 0; }
.team-card-media .team-card-initials { display: grid; place-items: center; color: #33785d; background: #edf5f0; font-size: 44px; font-weight: 700; }
.hierarchy-section { padding: 32px 0; }
body[data-page="administration"] .whatsapp-float { position: static; margin: 20px 24px 20px auto; }
body[data-page="administration"] .back-to-top { display: none; }
.hierarchy-section h2, .staff-register h2 { font-size: 24px; letter-spacing: 0; }
.hierarchy-tree, .hierarchy-tree ul { list-style: none; margin: 0; padding: 0; }
.hierarchy-tree li { position: relative; min-width: 0; }
.hierarchy-tree > li > .hierarchy-node, .hierarchy-tree > li > ul > li > .hierarchy-node { max-width: 280px; margin-inline: auto; }
.hierarchy-node { display: flex; flex-direction: column; gap: 5px; padding: 16px 12px; border: 1px solid #d8dfe6; border-radius: 6px; background: #f0f3f6; color: #263b50; text-decoration: none; text-align: center; overflow-wrap: anywhere; }
.hierarchy-node strong { font-size: 14px; line-height: 1.4; }
.hierarchy-node span { font-size: 12px; line-height: 1.5; }
.hierarchy-node--photo { padding: 3px; gap: 0; }
.hierarchy-node--photo strong { padding: 10px 8px 4px; }
.hierarchy-node--photo > span { padding: 0 8px 10px; }
.hierarchy-portrait { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; margin: 0; flex-shrink: 0; }
.hierarchy-node--executive { background: #172d48; color: #fff; border-color: #172d48; }
.hierarchy-node--manager { background: #d9431c; color: #fff; border-color: #d9431c; }
.hierarchy-node:hover { outline: 2px solid #33785d; outline-offset: 2px; color: #263b50; }
.hierarchy-node--executive:hover, .hierarchy-node--manager:hover { color: #fff; }
.hierarchy-tree li > ul { position: relative; padding-top: 24px; }
.hierarchy-tree li > ul::before { content: ""; position: absolute; top: 0; height: 24px; left: 50%; width: 1px; background: #8092a3; }
.hierarchy-tree > li > ul > li > ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #8092a3; }
.hierarchy-tree > li > ul > li > ul::before { top: -24px; }
.hierarchy-tree > li > ul > li > ul > li::before { content: ""; position: absolute; top: -18px; height: 18px; left: 50%; width: 1px; background: #8092a3; }
.hierarchy-tree > li > ul > li > ul > li > ul { display: grid; gap: 12px; padding-left: 12px; border-left: 1px solid #8092a3; }
.hierarchy-key { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 28px 0 12px; padding: 0; font-size: 13px; }
.hierarchy-key li { display: flex; align-items: center; gap: 8px; }
.hierarchy-key span { width: 12px; height: 12px; border: 1px solid #c6d1de; }
.key-executive { background: #172d48; }
.key-manager { background: #d9431c; }
.key-support { background: #f0f3f6; }
.hierarchy-note { font-size: 13px; color: #576573; margin: 16px 0 0; }
.staff-register { padding: 24px 0 40px; border-top: 1px solid var(--line); }
.staff-table-wrap { overflow-x: auto; }
.staff-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.staff-table td, .staff-table th { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.staff-table thead { background: #172d48; color: #fff; }
.staff-table thead th { font-size: 12px; font-weight: 600; }
.staff-table tbody th { font-weight: 600; }
.staff-table tbody tr:nth-child(even) { background: #f7f9fa; }
.staff-table tbody tr { scroll-margin-top: 100px; }
.staff-table tbody tr:target { background: #edf5f0; outline: 2px solid #33785d; outline-offset: -2px; }
.staff-person { display: flex; gap: 10px; align-items: center; }
.staff-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; object-fit: cover; border-radius: 50%; background: #eaf1ec; color: #33785d; font-size: 11px; }
.staff-biography { margin: 8px 0 0; font-size: 13px; font-weight: 400; }
@media (max-width: 980px) {
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  #team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hierarchy-tree > li > ul > li > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  #team-grid { grid-template-columns: 1fr; }
  .brand { min-width: 0; gap: 8px; }
  .brand-logo { width: 70px; height: 60px; }
  .brand > span { min-width: 0; }
  .brand-name, .brand-caption { overflow-wrap: anywhere; letter-spacing: 0; }
  .section { padding-block: 48px; }
  h1 { font-size: 40px; letter-spacing: 0; overflow-wrap: anywhere; }
  h2 { font-size: 30px; letter-spacing: 0; overflow-wrap: anywhere; }
  .hero-actions .button { flex: 1 1 140px; }
  .hero::before, .hero::after { display: none; }
  .header-actions { gap: 12px; }
  .site-nav { max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
  .listing-filters { flex-direction: column; align-items: stretch; }
  .listing-filters .field { min-width: 0; width: 100%; }
  .whatsapp-float { position: static; margin: 20px 18px 20px auto; }
  .back-to-top { display: none; }
  .contact-layout, .calculator, .card-grid > *, .pillar-grid > * { min-width: 0; }
  .footer-links a, .contact-details a { overflow-wrap: anywhere; }
}

@media (max-width: 600px) {
  .administration-page { padding-top: 32px; }
  .administration-heading { flex-direction: column; gap: 16px; }
  .administration-member { padding: 22px; }
  .administration-actions { gap: 16px; }
  .hierarchy-tree > li > ul > li > ul { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid #8092a3; padding-left: 20px; }
  .hierarchy-tree > li > ul > li > ul > li::before { left: -20px; top: 28px; width: 20px; height: 1px; }
  .hierarchy-tree > li > ul > li > ul::before { display: none; }
  .staff-table thead { display: none; }
  .staff-table tbody, .staff-table tr, .staff-table td, .staff-table th { display: block; width: 100%; }
  .staff-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .staff-table td, .staff-table tbody th { border: 0; padding: 5px 12px; overflow-wrap: anywhere; }
  .staff-table td[data-label]::before { content: attr(data-label) ": "; font-size: 12px; font-weight: 600; color: #576573; }
}
