/* ==========================================================================
   Polyconcepts & Consultancy Ltd — Design System
   ========================================================================== */

:root {
  --navy: #0D1B2A;
  --navy-800: #142943;
  --navy-700: #1B3358;
  --navy-600: #23426e;
  --amber: #F3811E;
  --amber-600: #d76e14;
  --amber-100: #FFF1E2;
  --red: #C0262D;
  --red-600: #a11f25;
  --ink: #0F172A;
  --gray-900: #1A2233;
  --gray-700: #48566B;
  --gray-500: #7A8AA0;
  --gray-200: #E4E9F1;
  --gray-100: #F4F6FA;
  --white: #FFFFFF;

  --font-display: 'Newsreader', 'Georgia', serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(13, 27, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(13, 27, 42, 0.10);
  --shadow-lg: 0 12px 32px rgba(13, 27, 42, 0.14);

  --header-top-h: 40px;
  --header-main-h: 84px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h4 {
  font-family: var(--font-body);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 800;
}
p { margin: 0 0 1em; color: var(--gray-700); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
svg { width: 18px; height: 18px; flex-shrink: 0; }

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

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

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader-mark {
  width: 96px;
  height: 96px;
}
.preloader .pl-ring circle {
  stroke-dasharray: 528;
  stroke-dashoffset: 528;
  transform-origin: 100px 100px;
  animation: pl-draw 1s ease forwards 0.1s;
}
.preloader .pl-badge {
  opacity: 0;
  transform-origin: 100px 100px;
  animation: pl-fade-up 0.6s ease forwards 0.7s;
}
.preloader .pl-mono {
  opacity: 0;
  transform-origin: 100px 100px;
  animation: pl-fade-up 0.5s ease forwards 1.05s;
}
.preloader.preloader-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes pl-draw {
  from { stroke-dashoffset: 528; }
  to { stroke-dashoffset: 0; }
}
@keyframes pl-fade-up {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .preloader .pl-ring circle,
  .preloader .pl-badge,
  .preloader .pl-mono {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
  }
  .preloader { transition: opacity 0.2s ease, visibility 0.2s ease; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 30px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--amber);
  color: var(--white);
}
.btn-primary:hover { background: var(--amber-600); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn-ghost:hover { border-color: var(--navy); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ---------- Badges ---------- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 2px;
  background: transparent;
  border: 1px solid var(--amber-600);
  color: var(--amber-600);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 20px;
}
.badge-pill svg { width: 14px; height: 14px; }
.badge-pill-light {
  border-color: rgba(243, 129, 30, 0.55);
  color: #FFB067;
}
.badge-dot {
  width: 6px; height: 6px;
  background: currentColor;
  display: inline-block;
}

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.74rem;
  color: var(--amber-600);
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.eyebrow-light { color: #FFB067; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-top {
  background: var(--navy);
  color: #C9D4E3;
  font-size: 0.82rem;
}
.header-top-inner {
  height: var(--header-top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-top-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #FFC98F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-top-contact { display: flex; align-items: center; gap: 20px; }
.header-top-phone, .header-top-email, .header-top-whatsapp {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.header-top-phone svg, .header-top-whatsapp svg { width: 13px; height: 13px; }
.header-top-phone:hover, .header-top-email:hover, .header-top-whatsapp:hover { color: var(--white); }
.header-top-whatsapp:hover { color: #25D366; }

.header-main-inner {
  height: var(--header-main-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark-img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark-fallback-text { display: none; }
.brand-mark.brand-mark-fallback {
  border-radius: 3px;
  background: var(--navy);
  color: var(--amber);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.brand-mark.brand-mark-fallback .brand-mark-fallback-text { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-size: 1rem; color: var(--navy); }
.site-footer .brand-text strong { color: var(--white); }
.brand-text small { color: var(--gray-500); font-size: 0.72rem; font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-700);
  padding: 6px 0;
  position: relative;
  transition: color 0.15s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--amber);
  transition: right 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-call-btn { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--navy); margin: 0 auto; transition: all 0.2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
/* ==========================================================
   HERO — FULL BACKGROUND IMAGE
   ========================================================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 680px;
  padding: 90px 0 100px;

  background:
    linear-gradient(
      90deg,
      rgba(13, 27, 42, 0.97) 0%,
      rgba(13, 27, 42, 0.88) 42%,
      rgba(13, 27, 42, 0.58) 72%,
      rgba(13, 27, 42, 0.42) 100%
    ),
    url("/images/carousel-1.jpg") center center / cover no-repeat;

  border-top: 3px solid var(--amber);
}

/* Subtle brand glow on the right */
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;

  width: 420px;
  height: 420px;

  right: -140px;
  bottom: -180px;

  background: var(--amber);
  opacity: 0.12;

  border-radius: 50%;
  filter: blur(40px);
}

.hero-inner {
  position: relative;
  z-index: 2;

  display: block;
  max-width: 1180px;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero-lede {
  color: #D5DFEC;
  max-width: 650px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 30px;
}

.hero-trust {
  margin-top: 45px;
}


/* Remove the old white hero card if it is still present */
.hero-panel-card {
  display: none;
}


/* ==========================================================
   MOBILE HERO
   ========================================================== */

@media (max-width: 768px) {
  .hero {
    min-height: 650px;
    padding: 70px 0 80px;

    background:
      linear-gradient(
        180deg,
        rgba(13, 27, 42, 0.94) 0%,
        rgba(13, 27, 42, 0.86) 55%,
        rgba(13, 27, 42, 0.72) 100%
      ),
      url("/images/carousel.png") center center / cover no-repeat;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-lede {
    font-size: 0.96rem;
  }

  .hero-trust {
    margin-top: 35px;
  }
}
.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px;
}
.hero-trust-item { display: flex; flex-direction: column; gap: 3px; }
.hero-trust-item strong { color: var(--white); font-family: var(--font-display); font-size: 1.15rem; }
.hero-trust-item span { color: #93A3BC; font-size: 0.78rem; font-weight: 600; }

.hero-panel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--amber);
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
}
.hero-panel-card h3 { margin-bottom: 4px; }
.hero-panel-card > p { font-size: 0.9rem; margin-bottom: 20px; }

/* ---------- Forms ---------- */
.lead-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form-compact .form-row { grid-template-columns: 1fr; }
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-field label span { color: var(--red); margin-left: 2px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(243,129,30,0.16);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field.field-error input,
.form-field.field-error select,
.form-field.field-error textarea {
  border-color: var(--red);
}
.field-error-msg { color: var(--red); font-size: 0.76rem; margin-top: 4px; font-weight: 600; }

.form-feedback { font-size: 0.86rem; font-weight: 600; margin-bottom: 14px; display: none; }
.form-feedback.is-success { display: block; color: #1a7f4b; }
.form-feedback.is-error { display: block; color: var(--red); }

.form-privacy { font-size: 0.72rem; color: var(--gray-500); margin: 10px 0 0; text-align: center; }

/* ---------- Values ---------- */
.section { padding: 88px 0; }
.section-heading { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-values { background: var(--gray-100); }
.section-values-alt { background: var(--white); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--white);
  padding: 28px 28px 26px;
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--amber);
  position: relative;
}
.value-index {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--amber-600);
  display: block;
  margin-bottom: 12px;
}
.value-card h3 { margin-bottom: 8px; font-size: 1.3rem; }
.value-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 2px solid transparent;
  padding: 28px;
  transition: border-color 0.15s ease;
}
.service-card:hover { border-color: var(--gray-200); border-left-color: var(--amber); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; margin-bottom: 16px; }
.service-card-link { color: var(--amber-600); font-weight: 700; font-size: 0.82rem; }

.service-card-icon {
  width: 42px; height: 42px;
  border: 1.5px solid var(--gray-200);
  margin-bottom: 20px;
  position: relative;
}
.service-card-icon::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 20px;
  transform: translate(-50%, -50%);
  background: var(--navy);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.icon-chart-bar::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 3v18h18'/%3E%3Crect x='7' y='12' width='3' height='6'/%3E%3Crect x='12' y='8' width='3' height='10'/%3E%3Crect x='17' y='5' width='3' height='13'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 3v18h18'/%3E%3Crect x='7' y='12' width='3' height='6'/%3E%3Crect x='12' y='8' width='3' height='10'/%3E%3Crect x='17' y='5' width='3' height='13'/%3E%3C/svg%3E"); }
.icon-trending-up::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'/%3E%3Cpolyline points='17 6 23 6 23 12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'/%3E%3Cpolyline points='17 6 23 6 23 12'/%3E%3C/svg%3E"); }
.icon-banknotes::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.icon-academic-cap::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 10L12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c0 1.5 3 3 6 3s6-1.5 6-3v-5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 10L12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c0 1.5 3 3 6 3s6-1.5 6-3v-5'/%3E%3C/svg%3E"); }
.icon-shield-check::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }

/* ---------- Why section ---------- */
.section-why { background: var(--navy); }
.why-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.why-copy h2 { color: var(--white); font-size: clamp(1.5rem, 2.8vw, 2rem); }
.why-list { display: flex; flex-direction: column; gap: 20px; margin: 24px 0 28px; }
.why-list li { display: flex; flex-direction: column; gap: 4px; }
.why-list strong { color: var(--white); font-family: var(--font-display); font-size: 1rem; }
.why-list span { color: #B7C3D6; font-size: 0.92rem; }
.link-arrow { color: var(--amber); font-weight: 700; }
.why-panel { display: flex; flex-direction: column; gap: 16px; }
.why-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.why-stat strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 4px; }
.why-stat span { color: #93A3BC; font-size: 0.82rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  border-top: 3px solid var(--red);
  padding: 56px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band-text h2 { color: var(--white); font-size: 1.6rem; margin-bottom: 8px; max-width: 480px; }
.cta-band-text p { color: #B7C3D6; margin: 0; max-width: 480px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #B7C3D6; padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { color: #93A3BC; font-size: 0.9rem; }
.footer-rc { font-size: 0.8rem; color: #6E7F99; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #B7C3D6; font-size: 0.9rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom-inner {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #6E7F99;
}

.mobile-fab-stack {
  display: none;
  position: fixed;
  bottom: 20px; right: 20px;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}
.mobile-fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.mobile-fab svg { width: 26px; height: 26px; }
.mobile-fab-call { background: var(--red); }
.mobile-fab-whatsapp { background: #25D366; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.2s ease;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gray-700);
}
.modal-close:hover { background: var(--gray-200); }
.modal-header { margin-bottom: 22px; }
.modal-header h3 { font-size: 1.4rem; margin-bottom: 6px; }
.modal-header p { font-size: 0.9rem; margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy);
  padding: 64px 0 72px;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.2vw, 2.6rem); max-width: 760px; }
.page-hero p { color: #C9D4E3; max-width: 640px; margin: 0; }
.page-hero-service .service-hero-line { font-size: 1.1rem; color: #FFC98F; font-weight: 600; margin-bottom: 24px; }

.breadcrumb { background: var(--gray-100); padding: 14px 0; font-size: 0.82rem; color: var(--gray-500); }
.breadcrumb a { color: var(--gray-700); font-weight: 600; }
.breadcrumb a:hover { color: var(--amber-600); }
.breadcrumb span { margin: 0 6px; }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; }
.about-mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.about-mv-card {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px;
  border-left: 4px solid var(--amber);
}
.about-mv-card h3 { font-size: 1rem; margin-bottom: 8px; }
.about-mv-card p { font-size: 0.9rem; margin: 0; }

.about-sidebar { display: flex; flex-direction: column; gap: 24px; }
.ceo-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--amber);
  padding: 32px;
  text-align: center;
}
.ceo-avatar {
  width: 72px; height: 72px;
  border: 1.5px solid var(--amber);
  color: var(--amber);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.ceo-card h3 { color: var(--white); margin-bottom: 2px; }
.ceo-title { color: var(--amber); font-weight: 700; font-size: 0.85rem; margin-bottom: 14px; }
.ceo-card p:last-child { color: #B7C3D6; font-size: 0.88rem; margin: 0; }

.credential-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.credential-card h4 { font-size: 0.95rem; margin-bottom: 16px; }
.credential-card ul { display: flex; flex-direction: column; gap: 14px; }
.credential-card li { display: flex; flex-direction: column; }
.credential-card strong { color: var(--navy); font-size: 0.95rem; }
.credential-card span { color: var(--gray-500); font-size: 0.8rem; }

.about-profile-download { width: 100%; }

/* ---------- Services list page ---------- */
.services-detail-list { display: flex; flex-direction: column; gap: 28px; }
.service-detail-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  scroll-margin-top: 100px;
}
.service-detail-card-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 8px; }
.service-detail-number { color: var(--amber-600); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.service-detail-card h2 { font-size: 1.4rem; margin: 2px 0 0; }
.service-detail-summary { font-size: 1rem; margin-bottom: 24px; }
.service-item-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin-bottom: 28px; }
.service-item-list li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 2px solid var(--gray-200); }
.service-item-list strong { color: var(--navy); font-size: 0.92rem; }
.service-item-list span { color: var(--gray-700); font-size: 0.85rem; }
.service-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Service detail page ---------- */
.service-article-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; }
.service-article-intro { font-size: 1.05rem; color: var(--gray-900); }
.service-article h2 { font-size: 1.3rem; margin-top: 32px; }
.service-breakdown { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.service-breakdown-item {
  padding: 18px 20px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
}
.service-breakdown-item h3 { font-size: 0.98rem; margin-bottom: 4px; }
.service-breakdown-item p { font-size: 0.88rem; margin: 0; }
.service-article-cta {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.service-article-cta h3 { color: var(--white); font-size: 1.1rem; }
.service-article-cta p { color: #B7C3D6; font-size: 0.88rem; }

.service-sidebar { display: flex; flex-direction: column; gap: 20px; }
.service-sidebar-card {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px;
}
.service-sidebar-card h4 { font-size: 0.9rem; margin-bottom: 14px; }
.service-sidebar-card ul { display: flex; flex-direction: column; gap: 10px; }
.service-sidebar-card a { font-size: 0.88rem; font-weight: 600; color: var(--gray-700); }
.service-sidebar-card a:hover { color: var(--amber-600); }
.service-sidebar-contact { display: flex; flex-direction: column; gap: 10px; }
.sidebar-phone, .sidebar-email { font-weight: 700; color: var(--navy); font-size: 0.92rem; }

/* ---------- Contact page ---------- */
.section-contact { padding-top: 56px; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.contact-form-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form-panel h2 { margin-bottom: 4px; }
.contact-form-panel > p { font-size: 0.9rem; margin-bottom: 24px; }

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.contact-info-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.contact-phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E4E9F1;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.94rem;
}
.contact-phone-link:last-child { border-bottom: none; }
.contact-phone-link svg { color: var(--amber); width: 18px; height: 18px; flex-shrink: 0; }
.contact-phone-link:hover { color: var(--amber); }
.contact-whatsapp-link svg { color: #25D366; }
.contact-whatsapp-link:hover { color: #25D366; }

.offices-list { display: flex; flex-direction: column; gap: 16px; }
.office-card {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.office-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.office-card p { font-size: 0.86rem; margin-bottom: 10px; }
.office-map-link { color: var(--amber-600); font-weight: 700; font-size: 0.82rem; }

/* ---------- Phone directory (contact page, sidebar, footer) ---------- */
p.office-person {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}
.office-person strong { color: var(--navy); font-size: 0.95rem; }
.office-person span {
  color: var(--gray-500);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.office-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.office-phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
}
.office-phone-link svg { color: var(--amber-600); width: 16px; height: 16px; }
.office-phone-link:hover { color: var(--amber-600); }

.sidebar-dir {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-dir-branch {
  color: var(--amber-600);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sidebar-dir-name { color: var(--navy); font-size: 0.92rem; }
.sidebar-dir-role { color: var(--gray-500); font-size: 0.78rem; }
.sidebar-dir-phones {
  display: flex;
  flex-wrap: wrap;
  column-gap: 14px;
  margin-top: 4px;
}
.sidebar-dir-phones a { font-weight: 700; color: var(--navy); font-size: 0.84rem; }
.sidebar-dir-phones a:hover { color: var(--amber-600); }

.footer-contact-entry {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-contact-branch { color: var(--white); font-weight: 700; font-size: 0.85rem; }
.footer-contact-person { color: #93A3BC; font-size: 0.78rem; font-weight: 600; }
.footer-contact-phones {
  display: flex;
  flex-wrap: wrap;
  column-gap: 14px;
  row-gap: 4px;
}
.footer-contact-phones a { font-size: 0.85rem; }
.footer-contact-email { padding-top: 2px; }

/* ---------- Error pages ---------- */
.error-page { text-align: center; padding: 120px 0; }
.error-code {
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--gray-200);
  margin-bottom: 8px;
}
.error-page .hero-actions { justify-content: center; margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .why-grid, .about-grid, .service-article-grid, .contact-grid { grid-template-columns: 1fr; }
  .values-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-item-list { grid-template-columns: 1fr; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
}

@media (max-width: 860px) {
  .header-top-badge { font-size: 0.7rem; }
  .header-top-contact { display: none; }
  .main-nav {
    position: fixed;
    top: calc(var(--header-top-h) + var(--header-main-h));
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    max-height: calc(100vh - var(--header-top-h) - var(--header-main-h));
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
  .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .mobile-fab-stack { display: flex; }
  .lead-form .form-row { grid-template-columns: 1fr; }
  .modal-box { padding: 26px 20px; }
  .brand-text small { display: none; }
}

@media (max-width: 640px) {
  .values-grid, .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
  :root { --header-main-h: 72px; }
  .container { padding: 0 18px; }
  .service-detail-card { padding: 26px 20px; }
  .about-mv-grid { grid-template-columns: 1fr; }
}
