/* =========================================================
   Afri-Consult Ghana — Premium Corporate Website Stylesheet
   Brand palette extracted from Logo_Afri-Consult.png
   ========================================================= */

:root {
  /* Brand colours (from logo) */
  --ac-red: #D2000A;
  --ac-red-dark: #9C0007;
  --ac-red-light: #F5424A;
  --ac-gold: #F5A800;
  --ac-gold-light: #FFC940;
  --ac-green: #0B8A2E;
  --ac-green-dark: #066621;
  --ac-brown: #6E3300;

  /* Light theme */
  --bg: #FFFFFF;
  --bg-alt: #FBF8F6;
  --bg-elevated: #FFFFFF;
  --text: #1A1512;
  --text-muted: #5C534C;
  --border: #EDE6E0;
  --card-shadow: 0 10px 30px -12px rgba(26, 21, 18, 0.15);
  --header-bg: rgba(255, 255, 255, 0.85);
  --overlay: rgba(20, 10, 6, 0.55);

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --header-h: 118px;
  --header-h-scrolled: 86px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

html.dark {
  --bg: #131110;
  --bg-alt: #1B1816;
  --bg-elevated: #201C1A;
  --text: #F5F0EC;
  --text-muted: #B7ACA3;
  --border: #2E2926;
  --card-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
  --header-bg: rgba(19, 17, 16, 0.85);
  --overlay: rgba(10, 6, 4, 0.65);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  transition: background-color .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-head { font-family: var(--font-head); }

::selection { background: var(--ac-red); color: #fff; }

/* Focus visibility for a11y */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--ac-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Visually hidden but accessible to screen readers / SEO */
.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;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ac-red);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Loading Screen ---------- */
#loader {
  position: fixed; inset: 0; z-index: 9998;
  background: linear-gradient(135deg, #17110D, #2A0E08 60%, #17110D);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  width: 74px; height: 74px;
  animation: pulseSpin 1.4s ease-in-out infinite;
}
@keyframes pulseSpin {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: .85; }
  50% { transform: scale(1.12) rotate(8deg); opacity: 1; }
}

/* ---------- Scroll progress ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--ac-gold), var(--ac-red));
  z-index: 10000;
  transition: width .1s linear;
}

/* ---------- Header ---------- */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: height .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
#site-header.scrolled {
  height: var(--header-h-scrolled);
  border-color: var(--border);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.15);
}
.header-inner {
  width: 100%; max-width: 1360px; margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0;
  padding: 0; margin: 0; /* no extra whitespace around the mark itself */
}
.brand img {
  height: 82px; width: auto; max-width: none; display: block;
  transition: height .35s var(--ease);
  background: none; /* the PNG itself is transparent — no fill behind it */
}
#site-header.scrolled .brand img { height: 62px; }
@media (max-width: 480px) {
  .brand img { height: 56px; }
  #site-header.scrolled .brand img { height: 46px; }
}

/* Nav with animated pill hover */
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: .55rem 1.1rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .01em;
  border-radius: 999px;
  z-index: 1;
  transition: color .35s var(--ease);
}
.nav-link::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--ac-red);
  border-radius: 999px;
  transform: scale(.5);
  opacity: 0;
  z-index: -1;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.nav-link:hover::before, .nav-link:focus-visible::before, .nav-link.active::before {
  transform: scale(1);
  opacity: 1;
}
.nav-link:hover, .nav-link:focus-visible, .nav-link.active { color: #fff; }

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

.icon-btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text);
  cursor: pointer; transition: all .3s var(--ease);
}
.icon-btn:hover { border-color: var(--ac-red); color: var(--ac-red); transform: translateY(-2px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600; font-size: .92rem;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--ac-red); color: #fff; box-shadow: 0 8px 20px -8px rgba(210,0,10,.6); }
.btn-primary:hover { background: var(--ac-red-dark); transform: translateY(-3px); box-shadow: 0 14px 26px -10px rgba(210,0,10,.7); }
.btn-outline { border-color: currentColor; color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: var(--bg); transform: translateY(-3px); }
.btn-gold { background: var(--ac-gold); color: #241600; box-shadow: 0 8px 20px -8px rgba(245,168,0,.6); }
.btn-gold:hover { background: var(--ac-gold-light); transform: translateY(-3px); }
.btn-white { background: #fff; color: var(--ac-red); }
.btn-white:hover { background: var(--ac-gold); color: #241600; transform: translateY(-3px); }

.mobile-toggle { display: none; }

/* ---------- Mobile nav ---------- */
#mobile-nav {
  position: fixed; inset: 0; z-index: 895;
  background: var(--bg);
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
  overflow-y: auto;
}
#mobile-nav.open { transform: translateY(0); }
#mobile-nav .nav-link { display: block; font-size: 1.25rem; padding: .9rem 0; border-bottom: 1px solid var(--border); border-radius: 0; }
#mobile-nav .nav-link::before { display: none; }
#mobile-nav .nav-link:hover, #mobile-nav .nav-link.active { color: var(--ac-red); }

/* ---------- Instant page switching (no scrolling between pages) ----------
   Each top-level <section id="…" class="page-section"> is a "page". Only
   the one matching the current route is shown; the router swaps the
   .page-active class instantly instead of scrolling the long document. */
.page-section { display: none; }
.page-section.page-active { display: block; animation: pageFadeIn .28s var(--ease); }
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .page-section.page-active { animation: none; }
}

/* ---------- Sections base ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; scroll-margin-top: var(--header-h); }
/* Section immediately following the hero slider — sits right beneath it,
   with a small, responsive 20–30px gap instead of the normal section padding. */
.section-tight-top {
  padding-top: clamp(20px, 2.5vw, 30px);
  margin-top: 0;
}
#hero { margin-bottom: 0; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--ac-red); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: .9rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--ac-gold); display: inline-block; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 700; line-height: 1.15; margin: 0 0 1rem; }
.section-lede { color: var(--text-muted); font-size: 1.08rem; max-width: 60ch; line-height: 1.7; }
.bg-alt { background: var(--bg-alt); }

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 80svh; /* reduced 20% from full-screen (100svh) */
  display: flex; align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.6s ease, transform 8s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slides::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,8,5,.75) 0%, rgba(20,8,5,.55) 40%, rgba(10,5,3,.88) 100%);
  z-index: 1;
}
.hero-orbs span {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; z-index: 1;
  animation: floatOrb 12s ease-in-out infinite;
}
.hero-orbs span:nth-child(1) { width: 340px; height: 340px; background: var(--ac-red); top: -80px; right: 8%; }
.hero-orbs span:nth-child(2) { width: 260px; height: 260px; background: var(--ac-gold); bottom: -60px; left: 6%; animation-delay: -4s; }
.hero-orbs span:nth-child(3) { width: 200px; height: 200px; background: var(--ac-green); top: 40%; left: 45%; animation-delay: -8s; }
@keyframes floatOrb { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-30px) translateX(20px); } }

.hero-content { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  padding: .5rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  margin-bottom: 1.6rem;
}
.hero-badge img { height: 20px; width: auto; border-radius: 3px; }
.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -.01em;
  max-width: 18ch;
  margin: 0 0 1.4rem;
}
.hero-title .accent { color: var(--ac-gold); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.86); max-width: 52ch; line-height: 1.7; margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-slide-dots { display: flex; gap: .5rem; }
.hero-slide-dots button {
  width: 34px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); border: none; cursor: pointer;
  transition: background .3s var(--ease);
}
.hero-slide-dots button.active { background: var(--ac-gold); }

.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(255,255,255,.75);
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; position: relative; }
.scroll-cue .mouse::before {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--ac-gold); border-radius: 2px;
  animation: mouseScroll 1.6s ease-in-out infinite;
}
@keyframes mouseScroll { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 18px; } }

/* ---------- Stat cards ---------- */
.stats-strip {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.14);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  max-width: 900px;
}
.stat-card { background: rgba(20,12,8,.35); padding: 1.4rem 1rem; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: clamp(1.6rem,2.6vw,2.3rem); font-weight: 700; color: #fff; }
.stat-num .plus { color: var(--ac-gold); }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.75); margin-top: .25rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card:hover { transform: translateY(-8px); border-color: var(--ac-gold); }

.service-card { padding: 2.1rem 1.8rem; height: 100%; position: relative; overflow: hidden; }
.service-card .icon-wrap {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--ac-red), var(--ac-gold));
  color: #fff; font-size: 1.4rem; margin-bottom: 1.4rem;
  transition: transform .5s var(--ease);
}
.service-card:hover .icon-wrap { transform: rotate(-8deg) scale(1.08); }
.service-card h3 { font-size: 1.18rem; margin: 0 0 .6rem; }
.service-card p { color: var(--text-muted); font-size: .95rem; line-height: 1.65; margin: 0; }
.service-card .num { position: absolute; top: 1.3rem; right: 1.5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; color: var(--border); }

.industry-card {
  padding: 1.6rem; text-align: center; height: 100%;
}
.industry-card .ic { font-size: 1.8rem; color: var(--ac-red); margin-bottom: .8rem; }
.industry-card h4 { font-size: .98rem; margin: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: 3rem; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-left: 60px; margin-bottom: 2.4rem; }
.timeline-item::before {
  content: ''; position: absolute; left: 11px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ac-gold); border: 4px solid var(--bg);
  box-shadow: 0 0 0 2px var(--ac-red);
}
.timeline-item h4 { margin: 0 0 .3rem; font-size: 1.05rem; }
.timeline-item .year { color: var(--ac-red); font-weight: 700; font-size: .82rem; letter-spacing: .06em; }
.timeline-item p { color: var(--text-muted); margin: .4rem 0 0; }

/* ---------- Team ---------- */
.team-card { text-align: center; padding: 1.8rem 1.4rem; }
.team-photo {
  width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 1.1rem;
  overflow: hidden; border: 4px solid var(--bg-alt); box-shadow: 0 0 0 3px var(--ac-gold);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--ac-red), var(--ac-brown));
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin: 0 0 .2rem; font-size: 1.08rem; }
.team-card .role { color: var(--ac-red); font-size: .82rem; font-weight: 600; margin-bottom: .8rem; }
.team-card p.bio { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }
.team-social { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.team-social a {
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-alt); color: var(--text); font-size: .85rem; transition: all .3s var(--ease);
}
.team-social a:hover { background: var(--ac-red); color: #fff; }

/* ---------- Projects (masonry) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 2.4rem; }
.filter-btn {
  padding: .55rem 1.2rem; border-radius: 999px; border: 1px solid var(--border); background: transparent;
  color: var(--text); font-size: .86rem; font-weight: 600; cursor: pointer; transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--ac-red); }
.filter-btn.active { background: var(--ac-red); border-color: var(--ac-red); color: #fff; }

.masonry { column-count: 3; column-gap: 1.4rem; }
@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 600px) { .masonry { column-count: 1; } }
.project-card {
  break-inside: avoid; margin-bottom: 1.4rem; border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--border); background: var(--bg-elevated);
}
.project-card .thumb { position: relative; overflow: hidden; }
.project-card .thumb img { width: 100%; display: block; transition: transform .6s var(--ease); }
.project-card:hover .thumb img { transform: scale(1.08); }
.project-card .thumb .tag {
  position: absolute; top: .9rem; left: .9rem; background: var(--ac-gold); color: #241600;
  font-size: .72rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}
.project-card .body { padding: 1.2rem 1.3rem 1.4rem; }
.project-card h4 { margin: 0 0 .4rem; font-size: 1.02rem; }
.project-card p { color: var(--text-muted); font-size: .88rem; margin: 0; line-height: 1.6; }
.project-card.hide { display: none; }

/* ---------- Awards ---------- */
.award-counter-card { text-align: center; padding: 2.2rem 1rem; }
.award-counter-card .icon { font-size: 2rem; color: var(--ac-gold); margin-bottom: .8rem; }
.award-counter-card .num { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; }
.award-counter-card .label { color: var(--text-muted); font-size: .9rem; margin-top: .3rem; }

/* ---------- Testimonials (glass) ---------- */
#testimonials { position: relative; background: linear-gradient(135deg, #1B0C06, #2C0E06 55%, #1B0C06); color: #fff; }
#testimonials .eyebrow { color: var(--ac-gold); }
#testimonials .section-lede { color: rgba(255,255,255,.7); }
.testi-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 2.2rem;
  height: 100%;
  display: flex; flex-direction: column;
}
.testi-card .quote-mark { font-size: 2.4rem; color: var(--ac-gold); font-family: Georgia, serif; line-height: 1; margin-bottom: .6rem; }
.testi-card p.quote { flex: 1; font-size: 1.02rem; line-height: 1.75; color: rgba(255,255,255,.92); }
.testi-card .who { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.testi-card .avatar {
  width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg,var(--ac-gold),var(--ac-red));
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-head);
}
.testi-card .who h5 { margin: 0; font-size: .95rem; }
.testi-card .who span { font-size: .8rem; color: rgba(255,255,255,.6); }

/* ---------- Partners carousel ---------- */
.partners-track { padding: 1rem 0; }
.swiper-partners .swiper-slide {
  display: flex; align-items: center; justify-content: center;
  height: 90px;
}
.swiper-partners img { max-height: 55px; max-width: 140px; object-fit: contain; filter: grayscale(1) opacity(.65); transition: all .35s var(--ease); }
.swiper-partners img:hover { filter: grayscale(0) opacity(1); transform: scale(1.06); }

/* ---------- News ---------- */
.news-card { overflow: hidden; }
.news-card .thumb { height: 190px; background: linear-gradient(135deg, var(--ac-red), var(--ac-brown)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.4rem; }
.news-card .body { padding: 1.5rem; }
.news-card .meta { font-size: .78rem; color: var(--ac-red); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .6rem; }
.news-card h4 { margin: 0 0 .6rem; font-size: 1.08rem; line-height: 1.4; }
.news-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.6; margin: 0 0 1rem; }
.news-card a.read-more { font-weight: 700; color: var(--ac-red); text-decoration: none; font-size: .88rem; }
.news-card a.read-more:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.3rem .2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--text);
}
.faq-q .plus { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; transition: transform .4s var(--ease), background .3s; }
.faq-item.open .faq-q .plus { transform: rotate(135deg); background: var(--ac-red); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 .2rem 1.4rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ---------- Contact ---------- */
.contact-info-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; }
.contact-info-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--ac-red); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card h4 { margin: 0 0 .3rem; font-size: .98rem; }
.contact-info-card p { margin: 0; color: var(--text-muted); font-size: .9rem; line-height: 1.55; }
.contact-info-card a { color: var(--text-muted); text-decoration: none; }
.contact-info-card a:hover { color: var(--ac-red); }

.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg-elevated); color: var(--text); font-family: var(--font-body); font-size: .95rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--ac-red); box-shadow: 0 0 0 4px rgba(210,0,10,.12); outline: none;
}
.form-field .err { color: var(--ac-red); font-size: .78rem; margin-top: .3rem; display: none; }
.form-field.invalid input, .form-field.invalid textarea, .form-field.invalid select { border-color: var(--ac-red); }
.form-field.invalid .err { display: block; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 280px; position: relative; }
.map-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg-alt); color: var(--text-muted); gap: .5rem; text-align: center; padding: 1rem;
}

/* ---------- Footer ---------- */
footer { background: #150B07; color: rgba(255,255,255,.82); padding: 4.5rem 0 0; }
html.dark footer { background: #0B0908; }
footer a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .3s var(--ease); }
footer a:hover { color: var(--ac-gold); }
footer h5 { color: #fff; font-size: .95rem; margin-bottom: 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; font-size: .9rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--ac-red); color: #fff; }
.newsletter-form { display: flex; gap: .5rem; margin-top: .5rem; }
.newsletter-form input { flex: 1; padding: .75rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font-size: .88rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form button { border-radius: 999px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.6rem 0; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-bottom .legal-links { display: flex; gap: 1.4rem; }

/* ---------- Floating buttons ---------- */
.floating-stack { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 850; display: flex; flex-direction: column; gap: .8rem; align-items: flex-end; }
.fab {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); cursor: pointer; border: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.fab-whatsapp { background: #25D366; }
.fab-top { background: var(--ac-red); opacity: 0; pointer-events: none; transform: translateY(10px); }
.fab-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab:hover { transform: translateY(-4px) scale(1.05); }

/* ---------- Cookie banner ---------- */
#cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 950;
  max-width: 620px; margin: 0 auto;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.4);
  padding: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  transform: translateY(140%); transition: transform .6s var(--ease);
}
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p { margin: 0; font-size: .86rem; color: var(--text-muted); flex: 1; min-width: 220px; }

/* ---------- Toasts ---------- */
#toast-stack { position: fixed; top: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: .7rem; }
.toast {
  background: var(--bg-elevated); border: 1px solid var(--border); border-left: 4px solid var(--ac-green);
  border-radius: var(--radius-sm); padding: .9rem 1.2rem; box-shadow: var(--card-shadow);
  font-size: .88rem; display: flex; align-items: center; gap: .6rem; min-width: 260px;
  animation: toastIn .4s var(--ease);
}
.toast.error { border-left-color: var(--ac-red); }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* ---------- Skeleton loaders ---------- */
.skeleton { background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 37%, var(--bg-alt) 63%); background-size: 400% 100%; animation: skeletonWave 1.4s ease infinite; border-radius: var(--radius); }
@keyframes skeletonWave { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- AOS-lite reveal (fallback if AOS not loaded) ---------- */
[data-aos] { transition-property: opacity, transform; }

/* ---------- Utility ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

@media (max-width: 900px) {
  .nav-list, .header-actions .btn-outline { display: none; }
  .mobile-toggle { display: inline-flex; }
  .stats-strip { grid-template-columns: repeat(2,1fr); }
}

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