/* -------------------
   1. Global Reset
-------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* -------------------
   2. Root Variables
-------------------- */
:root {
  --color-primary: #a00000;
  --color-primary-hover: #780000;
  --color-secondary: #7c7c7c;
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-gold: #b08d57;

  --font-main: 'Inter', sans-serif;
  --font-heading: 'Merriweather', serif;
  --font-size-base: 16px;

  --header-sticky-offset: 64px;
}

/* -------------------
   3. Global Styles
-------------------- */
body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 {
  letter-spacing: 0.5px;
}

p {
  margin-bottom: 1rem;
}

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

#why-megaserve h2,
#pathways h2,
#why-cyprus h2,
#stats h2,
#services h2,
#testimonial h2,
#contact-cta h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.note {
  font-size: 0.95rem;
  color: #666;
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: #555;
}

.content-narrow {
  max-width: 900px;
  margin: 0 auto;
}

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: #fff;
  color: #000;
  border: 2px solid var(--color-primary);
  z-index: 10000;
}

/* Fade-up helper — scroll-triggered reveal (used for below-fold sections) */
.fade-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* Fade-in-on-load — pure CSS reveal for above-fold content (hero, anchor nav, main content) */
.fade-in-on-load {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeInOnLoad 0.6s ease forwards;
}

.fade-in-on-load[data-anim-delay="0.1"] { animation-delay: 0.1s; }
.fade-in-on-load[data-anim-delay="0.15"] { animation-delay: 0.15s; }
.fade-in-on-load[data-anim-delay="0.2"] { animation-delay: 0.2s; }
.fade-in-on-load[data-anim-delay="0.3"] { animation-delay: 0.3s; }

@keyframes fadeInOnLoad {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Improve anchor scrolling for sticky header */
:is(h1, h2, h3)[id] {
  scroll-margin-top: calc(var(--header-sticky-offset) + 40px);
}

/* -------------------
   4. Layout Containers
-------------------- */
.container {
  width: 90%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* -------------------
   5. Sticky Header & Navigation
-------------------- */
#site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

#site-header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#site-header .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 0;
  padding-right: 0;
}

.site-logo {
  height: 60px;
}

.logo-link {
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.header-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

#main-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  align-items: center;
}

#main-nav > ul > li > a { font-size: 0.95rem; }

#main-nav a {
  position: relative;
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

#main-nav a.active {
  font-weight: 600;
}

#main-nav > ul > li > a:not(.btn-primary) {
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}
#main-nav > ul > li > a:not(.btn-primary):hover {
  color: var(--color-gold);
}
#main-nav > ul > li > a:not(.btn-primary)::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.2s ease;
}
#main-nav > ul > li > a:not(.btn-primary):hover::after,
#main-nav > ul > li > a:not(.btn-primary)[aria-current="page"]::after {
  width: 100%;
}

/* Nav CTA */
#main-nav .nav-cta a.btn-primary {
  background: #c1121f;
  color: #fff !important;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

#main-nav .nav-cta a.btn-primary:hover {
  background: #9e0f1a;
  transform: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

#main-nav .nav-cta a.btn-primary::after {
  content: none;
}

/* Dropdowns */
#main-nav li.has-dropdown {
  position: relative;
}

#main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  z-index: 1001;
}

#main-nav .dropdown li {
  padding: 0;
}

#main-nav .dropdown a {
  display: block;
  padding: 10px 16px;
  white-space: normal;
  line-height: 1.35;
}

#main-nav li.has-dropdown:hover > .dropdown,
#main-nav li.has-dropdown:focus-within > .dropdown,
#main-nav li.has-dropdown.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#main-nav li.has-dropdown > a::after {
  content: "▾";
  font-size: 0.8rem;
  margin-left: 6px;
  color: var(--color-primary);
}

#main-nav .dropdown .menu-label {
  padding: 8px 16px 4px;
  font-size: 0.8rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: default;
}

#main-nav .dropdown .menu-label .badge {
  display: inline-block;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  background: #fafafa;
  color: #555;
}

/* Flyouts */
#main-nav .dropdown li.has-flyout {
  position: relative;
}

#main-nav .dropdown li.has-flyout > a .submenu-caret {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.9em;
  line-height: 1;
  transform: translateY(-1px);
  opacity: 0.9;
}

#main-nav .dropdown .flyout {
  position: absolute;
  top: -10px;
  left: 100%;
  min-width: 260px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1002;
}

#main-nav .dropdown .flyout a {
  display: block;
  padding: 10px 16px;
  white-space: normal;
  line-height: 1.35;
}

#main-nav .dropdown li.has-flyout:hover > .flyout,
#main-nav .dropdown li.has-flyout:focus-within > .flyout,
#main-nav .dropdown li.has-flyout.open > .flyout {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#main-nav .dropdown .flyout.align-right {
  left: auto;
  right: 100%;
}

/* Mobile nav toggle */
#nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

#nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Mobile nav */
@media (max-width: 1100px) {
  #nav-toggle {
    display: flex;
  }

  #main-nav {
    display: none;
    width: 100%;
  }

  #main-nav.active {
    display: block;
  }

  #main-nav ul {
    flex-direction: column;
    gap: 0;
    text-align: left;
    padding-top: 0.5rem;
  }

  .header-flex {
    flex-wrap: wrap;
  }

  #main-nav li.has-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
  }

  #main-nav .dropdown {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  #main-nav li.has-dropdown.open > .dropdown {
    display: block;
  }

  #main-nav .dropdown a {
    padding: 10px 12px 10px 16px;
  }

  #main-nav .dropdown .flyout {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  #main-nav .dropdown li.has-flyout.open > .flyout {
    display: block;
  }

  #main-nav .dropdown .flyout a {
    padding-left: 28px;
  }

  #main-nav .dropdown li.has-flyout > a .submenu-caret {
    margin-left: auto;
    transform: rotate(90deg);
    transition: transform 0.2s ease;
  }

  #main-nav .dropdown li.has-flyout.open > a .submenu-caret {
    transform: rotate(270deg);
  }

  /* Center-align mobile dropdown parent labels and child links */
  #main-nav li.has-dropdown > a {
    justify-content: center;
    text-align: center;
    color: inherit;
  }

  #main-nav .dropdown {
    padding-left: 0;
    text-align: center;
    list-style: none;
  }

  #main-nav .dropdown li {
    text-align: center;
    padding-left: 0;
  }

  #main-nav .dropdown a {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    display: block;
  }

  #main-nav .dropdown .flyout a {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }
}

/* -------------------
   6. Hero Section
-------------------- */
.hero {
  position: relative;
  text-align: center;
  color: #fff;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg, url("assets/hero-office.webp"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.92) contrast(1.05);
  opacity: 1;
  z-index: 0;
}

.hero .hero-fader {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.92) contrast(1.05);
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  z-index: 1;
}

.hero .hero-fader.show {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 20, 0.55),
    rgba(20, 20, 20, 0.35),
    rgba(20, 20, 20, 0.15)
  );
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  max-width: 860px;
  padding: 0 1rem;
}

.hero-content {
  max-width: 860px;
}

.hero h1 {
  margin-bottom: 0.75rem;
  color: #ffffff;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.65);
}

.hero-heading-main {
  display: block;
  font-size: 3.1rem;
  line-height: 1.08;
  margin-bottom: 0.45rem;
}

.hero-heading-sub {
  display: block;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.28;
  max-width: 760px;
  margin: 0 auto;
}

.hero-underline {
  width: 80px;
  height: 3px;
  background-color: var(--color-gold);
  margin: 18px auto 22px;
}

.hero-intro {
  max-width: 760px;
  margin: 0 auto 1.8rem;
  font-size: 1.12rem;
  line-height: 1.7;
  color: #f0f0f0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.hero p,
#contact-cta .contact-intro {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.25rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  min-width: 210px;
  padding: 12px 28px;
  border-radius: 4px;
  line-height: 1.2;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  top: 0;
  transition: top 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
}

.hero-btn:hover {
  top: -2px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.24);
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #8b0000);
  color: #fff;
  border: 1px solid var(--color-gold);
}

.hero-btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-hover), #5e0000);
  color: #fff;
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hero-btn::after {
  content: none !important;
}

/* Manual nav buttons */
.hero .hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 26px;
  line-height: 42px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(2px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero .hero-nav:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: translateY(calc(-50% - 1px));
}

.hero .hero-nav.prev {
  left: 14px;
}

.hero .hero-nav.next {
  right: 14px;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 1.25rem 1rem 1.5rem;
  }
  .hero-content {
    padding-bottom: 0.5rem;
  }

  .hero-heading-main {
    font-size: 1.75rem;
    line-height: 1.15;
    margin-bottom: 0.25rem;
  }

  .hero-heading-sub {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .hero-underline {
    margin: 10px auto 14px;
  }

  .hero-intro {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1rem;
  }

  .hero-actions {
    margin-top: 0.75rem;
  }

  .hero-btn {
    min-width: 0;
    width: 100%;
    max-width: 320px;
    min-height: 44px;
    padding: 10px 20px;
  }

  .hero .hero-nav {
    display: none;
  }
}

/* -------------------
   6b. Service Page Hero (compact)
-------------------- */
body .page-hero .container {
  padding: 1.5rem 0 1rem;
}
body .page-hero h1 {
  margin-bottom: 0.5rem;
  font-size: 1.9rem;
  line-height: 1.2;
}
body .page-hero > .container > p {
  margin-bottom: 0.5rem;
}
body .page-hero .micro-trust {
  margin-top: 0.4rem;
}
body .page-hero .cta-row {
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  body .page-hero .container {
    padding: 1rem 0 0.75rem;
  }
  body .page-hero h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  body .page-hero > .container > p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* -------------------
   7. Buttons
-------------------- */
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #8b0000);
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-gold);
  line-height: 1.2;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-hover), #5e0000);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.24);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  line-height: 1.2;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.24);
}

.service-card .btn-secondary,
.card-grid .btn-secondary,
.page-hero .btn-secondary,
.cta-row .btn-secondary {
  color: var(--color-primary);
  background: #fff;
  border: 1px solid var(--color-primary);
}
.service-card .btn-secondary:hover,
.card-grid .btn-secondary:hover,
.page-hero .btn-secondary:hover,
.cta-row .btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
}

/* One-time shimmer effect */
.btn-primary.shimmer {
  position: relative;
  overflow: hidden;
}

.btn-primary.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shimmerMove 1.2s ease-out forwards;
}

@keyframes shimmerMove {
  to {
    left: 150%;
  }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 rgba(176, 141, 87, 0.6); }
  50% { box-shadow: 0 0 15px rgba(176, 141, 87, 0.9); }
  100% { box-shadow: 0 0 0 rgba(176, 141, 87, 0.6); }
}

.btn-pulse {
  animation: pulseGlow 1.5s ease-in-out;
}

/* -------------------
   8. Why MegaServe
-------------------- */
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  text-align: center;
}

#why-megaserve .trust-grid {
  align-items: stretch;
}

#why-megaserve .trust-item {
  flex: 1 1 220px;
  max-width: 260px;
  background: #f8f8f8;
  padding: 1.25rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  color: var(--color-text);
  font-weight: 400;
}

#why-megaserve .trust-item strong {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--color-primary);
  font-weight: 700;
}

#why-megaserve .trust-item p {
  margin-bottom: 0;
  color: var(--color-text);
  font-weight: 400;
}

/* -------------------
   9. Stats Section
-------------------- */
.stats-section {
  background-color: #f7f7f7;
  padding: 4rem 0;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat {
  text-align: center;
  min-width: 180px;
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px);
}

.stat-icon {
  margin-bottom: 0.75rem;
}

.stat-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.8;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

#stats .stat:hover .stat-icon svg,
#stats .stat:focus-within .stat-icon svg {
  color: var(--color-gold) !important;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-primary);
}

.stat-label {
  font-size: 1rem;
  max-width: 140px;
  margin: 0 auto;
}

/* -------------------
   10. Services
-------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.hover-card {
  background-color: #f8f8f8;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px) rotateX(1deg) rotateY(1deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.hover-card h3 {
  color: var(--color-primary);
}

#services .service-card ul a {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

#services .service-card ul a:hover {
  color: var(--color-primary);
  border-color: var(--color-gold);
}

#services .service-card ul {
  margin-left: 1rem;
}

#services .service-card li {
  margin: 0.25rem 0;
}

#services .centered-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

#services .centered-row .service-card {
  flex: 1 1 250px;
  max-width: 420px;
}

/* -------------------
   11. Testimonials
-------------------- */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
}

.quote-style {
  background-color: #f9f9f9;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  border-radius: 8px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.quote-style img {
  height: auto;
  max-height: 60px;
  max-width: 280px;
  margin-bottom: 0.75rem;
  display: block;
  object-fit: contain;
}
.quote-style img[alt*="Stara Sokolova"] {
  max-height: 80px;
}
.quote-logo-wrap {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.quote-style p {
  margin-bottom: 1.25rem;
}

.quote-style::before {
  content: none;
}

.client-name {
  display: block;
  margin-top: auto;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
}

.quote-style--compact {
  justify-content: center;
}

.quote-style--compact::before {
  content: none;
}

.quote-style--compact .client-name {
  margin-top: 1.25rem;
}

.trust-card {
  text-align: center;
  justify-content: center;
}

.trust-card::before {
  content: none;
}

.trust-card h3 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.quote-style p,
.quote-style .client-name {
  max-width: 100%;
}

/* -------------------
   12. Contact CTA
-------------------- */
#contact-cta {
  background-color: var(--color-primary);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  border-top: 2px solid var(--color-gold);
}

#contact-cta .container {
  max-width: 900px;
  margin: 0 auto;
}

#contact-cta h1,
#contact-cta h2,
#contact-cta h3 {
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

#contact-cta .btn-primary {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

#contact-cta .btn-primary:hover {
  background: #f7f7f7;
  border-color: #f7f7f7;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.24);
}

#contact-cta .btn-secondary {
  border-color: #fff;
  color: #fff;
  background: transparent;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}

#contact-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.24);
}

#contact-cta a:not(.btn-primary):not(.btn-secondary) {
  color: #fff;
  text-decoration: underline;
}

#contact-cta a:not(.btn-primary):not(.btn-secondary):hover {
  opacity: 0.9;
}

.contact-intro {
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* -------------------
   13. Company-formation visual upgrades
-------------------- */
.anchor-nav {
  position: sticky;
  top: var(--header-sticky-offset);
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 900;
}

.anchor-nav .container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

.anchor-nav a {
  text-decoration: none;
  color: var(--color-text);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.anchor-nav a:hover {
  border-color: #e9e9e9;
  background: #fafafa;
}

.anchor-nav a.active {
  border-color: var(--color-gold);
  background: #fff8ef;
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.glance-card {
  background: #fff;
  border: 1px solid #eee;
  border-left: 3px solid var(--color-gold);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.glance-card .glance-kicker {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #7a7a7a;
  margin-bottom: 0.15rem;
}

.glance-card strong {
  display: block;
  color: var(--color-primary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}

.feature-grid .card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.feature-grid .card::before {
  color: var(--color-gold);
}

.stepper {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin-left: 0;
  position: relative;
}

.stepper li {
  counter-increment: step;
  margin: 1rem 0 1rem 2.5rem;
  position: relative;
  padding-left: 0.5rem;
}

.stepper li::before {
  content: counter(step);
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
}

.stepper li::after {
  content: "";
  position: absolute;
  left: -1.36rem;
  top: 28px;
  width: 2px;
  height: calc(100% - 28px);
  background: linear-gradient(to bottom, var(--color-primary) 0%, rgba(160, 0, 0, 0.15) 100%);
}

.stepper li:last-child::after {
  display: none;
}

.faq details summary {
  list-style: none;
}

.faq details summary::-webkit-details-marker {
  display: none;
}

.faq details summary::after {
  content: "▸";
  float: right;
  color: #999;
  transition: transform 0.2s, color 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(90deg);
  color: var(--color-primary);
}

#faq .note {
  color: #333;
  opacity: 1;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

/* -------------------
   14. Mobile sticky CTA
-------------------- */
#sticky-cta {
  display: none;
}

body.sticky-cta-pad {
}

@media (max-width: 768px) {
  body.sticky-cta-pad {
    padding-bottom: 76px;
  }

  #sticky-cta {
    display: flex;
    gap: 0.5rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.6rem 0.9rem;
    background: #ffffff;
    border-top: 1px solid #eee;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
    z-index: 1100;
    justify-content: center;
  }

  #sticky-cta .btn-primary {
    background: var(--color-primary) !important;
    color: #fff !important;
    border: 1px solid var(--color-primary) !important;
    padding: 0.65rem 1rem;
    flex: 1;
    max-width: 180px;
    box-shadow: none;
    font-size: 0.9rem;
  }

  #sticky-cta .btn-secondary {
    background: #fff !important;
    color: var(--color-primary) !important;
    border: 1px solid var(--color-primary) !important;
    padding: 0.65rem 1rem;
    flex: 1;
    max-width: 180px;
    box-shadow: none;
    font-size: 0.9rem;
  }
}

/* -------------------
   15. Footer
-------------------- */
#site-footer {
  background-color: var(--color-secondary);
  color: white;
  text-align: center;
  padding: 2rem 0;
  border-top: 2px solid var(--color-gold);
}

#site-footer a {
  color: #fff;
}

.footer-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.9rem;
}

/* -------------------
   16. Reduced motion tweaks
-------------------- */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .fade-in-on-load {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .hero .hero-fader {
    transition: none !important;
  }
}

.nav-phone a { font-size: 0.9rem; color: var(--color-text); font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.nav-phone a::after { content: none; }

.card-link { display: block; margin-top: 0.75rem; color: var(--color-primary); font-weight: 600; font-size: 0.95rem; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1050;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
@media (max-width: 768px) {
  body.sticky-cta-pad .whatsapp-float {
    bottom: 84px;
  }
}