/*
Theme Name: RAPID
Theme URI: https://rapidnepal.com
Author: RAPID Team
Description: WordPress theme for RAPID Consulting — Research, Planning, Engineering, Architecture, GIS, and Development Consulting for Sustainable Communities across Nepal. Uses MySQL via WordPress core, with custom post types for Projects, Services, and FAQs.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rapid
Tags: custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

:root {
  --radius: 0.625rem;
  --background: oklch(1 0 0);
  --foreground: oklch(0.22 0.02 240);
  --surface: oklch(0.975 0.005 230);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.22 0.02 240);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.22 0.02 240);
  --primary: oklch(0.73 0.055 186);
  --primary-foreground: oklch(1 0 0);
  --primary-dark: oklch(0.65 0.06 188);
  --secondary: oklch(0.96 0.008 220);
  --secondary-foreground: oklch(0.25 0.03 230);
  --muted: oklch(0.965 0.006 230);
  --muted-foreground: oklch(0.5 0.02 240);
  --accent: oklch(0.94 0.025 186);
  --accent-foreground: oklch(0.3 0.05 188);
  --destructive: oklch(0.6 0.22 27);
  --destructive-foreground: oklch(1 0 0);
  --border: oklch(0.92 0.008 230);
  --input: oklch(0.92 0.008 230);
  --ring: oklch(0.73 0.055 186);
  --accent-red: oklch(0.62 0.22 27);
  --accent-green: oklch(0.65 0.17 145);
  --accent-blue: oklch(0.62 0.18 245);
  --font-display: "Montserrat", "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", "Open Sans", ui-sans-serif, system-ui, sans-serif;
  --shadow-soft: 0 1px 2px rgba(31, 41, 51, 0.04), 0 4px 16px -4px rgba(31, 41, 51, 0.08);
  --shadow-card: 0 2px 4px rgba(31, 41, 51, 0.04), 0 12px 32px -8px rgba(31, 41, 51, 0.12);
  --shadow-glow: 0 10px 40px -10px color-mix(in oklab, var(--primary) 45%, transparent);
  --gradient-primary: linear-gradient(135deg, oklch(0.72 0.06 185) 0%, oklch(0.66 0.07 188) 100%);
  --gradient-hero: linear-gradient(
    180deg,
    rgba(15, 30, 35, 0.15) 0%,
    rgba(15, 30, 35, 0.55) 70%,
    rgba(15, 30, 35, 0.85) 100%
  );
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin: 0 0 0.5em;
  line-height: 1.15;
}
h1 {
  font-size: clamp(1.9rem, 4vw, 3.5rem);
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--primary);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container-x {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .container-x {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container-x {
    padding: 0 2rem;
  }
}

.section-y {
  padding: 3rem 0;
}
@media (min-width: 640px) {
  .section-y {
    padding: 4rem 0;
  }
}
@media (min-width: 1024px) {
  .section-y {
    padding: 5rem 0;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-dark);
  flex-wrap: wrap;
  line-height: 1.6;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  flex-shrink: 0;
}
/* Category links inside single-project page hero eyebrow */
.eyebrow a.project-term-link,
.page-hero .eyebrow a,
.page-hero-inner .eyebrow a {
  color: var(--primary-dark);
  text-decoration: none;
  border-bottom: 1px dashed rgba(47, 158, 165, 0.35);
  padding-bottom: 1px;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}
.eyebrow a.project-term-link:hover,
.page-hero .eyebrow a:hover,
.page-hero-inner .eyebrow a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
/* Dot separator between linked terms in eyebrow */
.eyebrow .project-term-sep {
  color: rgba(100, 116, 139, 0.55);
  font-weight: 500;
  margin: 0 0.125rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: scale(1.03);
  color: var(--primary-foreground);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.03);
  color: #fff;
}
.btn-dark {
  background: var(--foreground);
  color: var(--background);
}
.btn-dark:hover {
  background: var(--primary-dark);
  transform: scale(1.03);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--foreground);
}
.btn-white:hover {
  background: var(--foreground);
  color: #fff;
  transform: scale(1.03);
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
}
.story-link::after {
  content: "→";
  transition: transform 0.2s;
}
.story-link:hover::after {
  transform: translateX(4px);
}

.card-hover {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: color-mix(in oklab, var(--primary) 40%, var(--border));
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  animation: fade-up 0.7s ease-out both;
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  height: 4rem;
}
@media (min-width: 768px) {
  .header-inner {
    height: 5rem;
  }
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--foreground);
}
.site-brand-logo {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow-glow);
  transition: transform 0.3s;
}
.site-brand:hover .site-brand-logo {
  transform: scale(1.1);
}
@media (min-width: 640px) {
  .site-brand-logo {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.125rem;
  }
}
.site-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.site-brand-sub {
  display: none;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .site-brand-sub {
    display: block;
  }
}

.main-nav {
  display: none;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
}
.main-nav a {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(31, 41, 51, 0.8);
  transition: all 0.2s;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  background: var(--accent);
  color: var(--primary-dark);
}
@media (min-width: 1280px) {
  .main-nav a {
    padding: 0.5rem 1rem;
  }
}

.header-cta {
  display: none;
}
@media (min-width: 1280px) {
  .header-cta {
    display: inline-flex;
  }
}

.menu-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--foreground);
  cursor: pointer;
  font-size: 1.25rem;
}
@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
}
.mobile-menu.open {
  display: block;
}
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(31, 41, 51, 0.85);
  text-decoration: none;
}
.mobile-menu .current-menu-item > a,
.mobile-menu .current_page_item > a {
  background: var(--accent);
  color: var(--primary-dark);
}
.mobile-menu-cta {
  padding: 0 0 1rem;
}

/* ========== HERO (HOME) ========== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
@media (min-width: 640px) {
  .hero {
    min-height: 88vh;
  }
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -10;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -10;
  background: var(--gradient-hero);
}
.hero-content {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 5rem;
  color: #fff;
  width: 100%;
}
@media (min-width: 640px) {
  .hero-content {
    padding-top: 7rem;
    padding-bottom: 6rem;
  }
}
@media (min-width: 768px) {
  .hero-content {
    padding-top: 9rem;
    padding-bottom: 8rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
@media (min-width: 640px) {
  .hero-badge {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
  }
}
.hero-badge-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--primary);
}

.hero-title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
    margin-top: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}
@media (min-width: 640px) {
  .hero-subtitle {
    margin-top: 1.5rem;
    font-size: 1.125rem;
  }
}
@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-ctas {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .hero-ctas {
    margin-top: 2.25rem;
  }
}

.hero-stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 56rem;
}
@media (min-width: 640px) {
  .hero-stats {
    margin-top: 4rem;
    gap: 1rem;
  }
}
@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.hero-stat {
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1rem;
}
@media (min-width: 640px) {
  .hero-stat {
    padding: 0.9rem 1.25rem;
  }
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  display: block;
}
@media (min-width: 640px) {
  .hero-stat-num {
    font-size: 1.875rem;
  }
}
.hero-stat-label {
  margin-top: 0.25rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-left: 0;
  color: rgba(255, 255, 255, 0.75);
}
@media (min-width: 640px) {
  .hero-stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }
}

/* ========== PAGE HERO ========== */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 22px 22px;
}
.page-hero-inner {
  position: relative;
  padding-top: 3.5rem;
  max-width: 48rem;
}
@media (min-width: 640px) {
  .page-hero-inner {
    padding: 5rem 0;
  }
}
@media (min-width: 768px) {
  .page-hero-inner {
    padding: 7rem 0;
  }
}
.page-hero h1 {
  margin-top: 0.75rem;
  font-size: 1.9rem;
  line-height: 1.1;
}
@media (min-width: 640px) {
  .page-hero h1 {
    font-size: 2.75rem;
  }
}
@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 3.75rem;
  }
}
@media (min-width: 1024px) {
  .page-hero h1 {
    font-size: 4.5rem;
  }
}
.page-hero-sub {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .page-hero-sub {
    margin-top: 1.25rem;
    font-size: 1.125rem;
  }
}

/* ========== GRID / SECTIONS ========== */
.grid-2 {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.grid-cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (min-width: 1024px) {
  .grid-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-projects {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .grid-projects {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-projects {
    grid-template-columns: repeat(3, 1fr);
  }
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
  }
}
.section-head-text {
  max-width: 40rem;
}
.section-head p {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ========== CARDS ========== */
.icon-card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
}
.icon-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--primary-dark);
}
.icon-card-icon.primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.icon-card h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
}
.icon-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(31, 41, 51, 0.85);
}

.project-card {
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.project-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.project-card:hover .project-card-img img {
  transform: scale(1.1);
}
.project-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.project-card-link:hover,
.project-card-link:focus {
  color: inherit;
}
.project-card-cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  max-width: calc(100% - 1.5rem);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.2;
}
.project-card-cat-stack .project-card-cat-item {
  display: block;
  line-height: 1.2;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-card-body h3 {
  font-size: 1.125rem;
  line-height: 1.3;
}
.project-card-body p {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-card-meta {
  margin-top: auto;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.75rem;
}
.project-card-meta dt {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
}
.project-card-meta dd {
  margin: 0.25rem 0 0;
  font-weight: 600;
  color: rgba(31, 41, 51, 0.9);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .check-list {
    grid-template-columns: 1fr 1fr;
  }
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.check-list svg {
  flex-shrink: 0;
  color: var(--primary-dark);
}

.testimonial-card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.testimonial-card > svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}
.testimonial-card blockquote {
  margin: 1rem 0 0;
  line-height: 1.7;
  color: rgba(31, 41, 51, 0.9);
}
.testimonial-card figcaption {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.testimonial-card figcaption p:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  margin: 0;
}
.testimonial-card figcaption p:last-child {
  margin: 0.125rem 0 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--gradient-primary);
  padding: 2.5rem;
  color: #fff;
}
@media (min-width: 768px) {
  .cta-banner {
    padding: 4rem;
  }
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 20px 20px;
}
.cta-banner-inner {
  position: relative;
  max-width: 48rem;
}
.cta-banner h2 {
  color: #fff;
  font-size: 1.9rem;
  line-height: 1.15;
}
@media (min-width: 768px) {
  .cta-banner h2 {
    font-size: 3rem;
  }
}
.cta-banner p {
  margin-top: 1.25rem;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  line-height: 1.7;
}
.cta-banner .btn {
  margin-top: 2rem;
}

/* ========== SERVICES LARGE ========== */
.service-list {
  display: grid;
  gap: 1.5rem;
}
.service-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .service-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }
}
.service-card-left {
  padding: 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .service-card-left {
    padding: 2.5rem;
    border-bottom: 0;
    border-right: 1px solid var(--border);
  }
}
.service-num {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}
.service-card h2 {
  margin-top: 1.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .service-card h2 {
    font-size: 1.875rem;
  }
}
.service-card p {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}
.service-card-right {
  padding: 2rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) {
  .service-card-right {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .service-card-right {
    padding: 2.5rem;
  }
}
.service-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-dark);
}
.service-col ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.service-col li {
  display: flex;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.service-col li svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--primary-dark);
}

.services-cta {
  margin-top: 4rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .services-cta {
    flex-direction: row;
    align-items: center;
    padding: 3rem;
  }
}
.services-cta h2 {
  margin: 0;
  font-size: 1.5rem;
}
@media (min-width: 768px) {
  .services-cta h2 {
    font-size: 1.875rem;
  }
}
.services-cta p {
  margin: 0.5rem 0 0;
  color: var(--muted-foreground);
}

/* ========== PROJECT FILTERS ========== */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--card);
  color: rgba(31, 41, 51, 0.8);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

/* ========== TEAM ========== */
.team-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.team-card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.team-avatar {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  flex-shrink: 0;
}
.team-name {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
}
.team-role {
  margin: 0.125rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========== MISSION / VISION ========== */
.mission-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .mission-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== VALUES ========== */
.values-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ========== FAQs ========== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}
.faq-item {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--foreground);
  transition: background 0.2s;
}
@media (min-width: 768px) {
  .faq-q {
    font-size: 1.125rem;
  }
}
.faq-q:hover {
  background: color-mix(in oklab, var(--accent) 40%, transparent);
}
.faq-q svg {
  flex-shrink: 0;
  color: var(--primary-dark);
  transition: transform 0.3s;
}
.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
}
.faq-item.open .faq-a {
  opacity: 1;
}
.faq-a-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
  }
}

.contact-form-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) {
  .contact-form-card {
    padding: 2.5rem;
  }
}
.contact-form-card h2 {
  font-size: 1.5rem;
}
.contact-form-card .intro {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.wpforms-container {
  margin-top: 2rem;
}
.contact-form-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .contact-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-form-grid .full {
  grid-column: 1 / -1;
}
.form-field label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(31, 41, 51, 0.7);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  background: var(--background);
  color: var(--foreground);
  font-family: inherit;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 22%, transparent);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-success {
  margin-top: 2rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 1.5rem;
}
.contact-success p {
  margin: 0;
}
.contact-success p:first-child {
  font-family: var(--font-display);
  font-weight: 700;
}
.contact-success p:last-child {
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.info-main {
  border-radius: 1rem;
  background: var(--gradient-primary);
  color: #fff;
  padding: 2rem;
  box-shadow: var(--shadow-glow);
}
.info-main h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}
.info-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}
.info-main li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.info-main li svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
}
.socials {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.socials-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  opacity: 0.9;
}
.social-links {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
}
.social-link {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
}
.social-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
  color: #fff;
}

.map-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
}
.map-card iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
.map-card-caption {
  padding: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
}

/* ========== FOOTER ========== */
.site-footer {
  margin-top: 4rem;
  background: oklch(0.2 0.02 230);
  color: oklch(0.92 0.01 230);
}
@media (min-width: 768px) {
  .site-footer {
    margin-top: 6rem;
  }
}
.footer-top {
  padding-top: 3rem ;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}
@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(4, 1fr);
    padding: 4rem 0;
  }
}

.footer-brand .site-brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.125rem;
}
.footer-brand .site-brand-title {
  color: #fff;
}
.footer-brand-desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}
.footer-socials {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.5rem;
}
.footer-socials .social-link {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
}
.footer-socials .social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
}
.footer-col li,
.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  display: flex;
  gap: 0.75rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--primary);
}
.footer-col li svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--primary);
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
    padding: 1.5rem 0;
  }
}
.footer-motto {
  font-style: italic;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.05);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
  display: block;
  width: 32px;
  height: 32px;
  fill: #fff;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.05);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
  display: block;
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* ========== CUSTOM LOGO (when uploaded) ========== */
/* ---------- WRAPPER sizing (controls logo height via parent container) ---------- */
a.site-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.625rem;
  min-width: 0;
  max-width: 56vw;
  flex: 0 1 auto;
  text-decoration: none;
  color: inherit;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  text-wrap: nowrap;
}
a.site-brand:visited,
a.site-brand:hover,
a.site-brand:focus,
a.site-brand:active {
  color: inherit;
  text-decoration: none;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.rapid-logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 2.25rem;
  max-height: 2.25rem;
  min-height: 2.25rem;
  min-width: 0;
  max-width: 100%;
  width: auto;
  line-height: 0;
  vertical-align: middle;
  overflow: hidden;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
@media (min-width: 640px) {
  .rapid-logo-wrapper {
    height: 2.75rem;
    max-height: 2.75rem;
    min-height: 2.75rem;
  }
}
.site-header.stuck .rapid-logo-wrapper {
  height: 2rem;
  max-height: 2rem;
  min-height: 2rem;
  transition:
    height 0.2s ease,
    max-height 0.2s ease,
    min-height 0.2s ease;
}
@media (min-width: 640px) {
  .site-header.stuck .rapid-logo-wrapper {
    height: 2.25rem;
    max-height: 2.25rem;
    min-height: 2.25rem;
  }
}

/* ---------- IMAGE inside wrapper — core sizing + aggressive inline-style overrides ---------- */
.rapid-logo-wrapper > img.rapid-logo-img,
.rapid-logo-wrapper img.rapid-logo-img,
.site-brand .rapid-logo-wrapper img.rapid-logo-img {
  width: auto !important;
  height: 100% !important;
  max-height: 100% !important;
  max-width: 220px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: left center;
  display: inline-block !important;
  vertical-align: middle;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  position: static !important;
}
@media (max-width: 639px) {
  .rapid-logo-wrapper img.rapid-logo-img {
    max-width: 170px !important;
  }
}
@media (min-width: 1024px) {
  .rapid-logo-wrapper img.rapid-logo-img {
    max-width: 260px !important;
  }
}

/* --- NUKE any inline width/height/style that WordPress / plugins inject on the <img> --- */
.rapid-logo-wrapper img.rapid-logo-img[width],
.rapid-logo-wrapper img.rapid-logo-img[height],
.rapid-logo-wrapper img.rapid-logo-img[style],
.site-brand .rapid-logo-wrapper img.rapid-logo-img[width],
.site-brand .rapid-logo-wrapper img.rapid-logo-img[height],
.site-brand .rapid-logo-wrapper img.rapid-logo-img[style] {
  width: auto !important;
  height: 100% !important;
  max-width: 220px !important;
  max-height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
}
@media (min-width: 1024px) {
  .rapid-logo-wrapper img.rapid-logo-img[width],
  .rapid-logo-wrapper img.rapid-logo-img[height],
  .rapid-logo-wrapper img.rapid-logo-img[style],
  .site-brand .rapid-logo-wrapper img.rapid-logo-img[width],
  .site-brand .rapid-logo-wrapper img.rapid-logo-img[height],
  .site-brand .rapid-logo-wrapper img.rapid-logo-img[style] {
    max-width: 260px !important;
  }
}

/* Also match any image inside the wrapper regardless of class (fallback) */
.rapid-logo-wrapper > img,
.rapid-logo-wrapper img {
  width: auto !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: left center;
  display: inline-block !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.rapid-logo-wrapper > img[width],
.rapid-logo-wrapper > img[height],
.rapid-logo-wrapper > img[style] {
  width: auto !important;
  height: 100% !important;
}

/* ---------- FALLBACK TEXT LOGO (R badge + RAPID wordmark) ---------- */
.site-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  max-width: 2.25rem;
  max-height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #2f9ea5 0%, #277c83 100%);
  color: #fff !important;
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .site-brand-logo {
    width: 2.75rem;
    height: 2.75rem;
    max-width: 2.75rem;
    max-height: 2.75rem;
    font-size: 1.375rem;
  }
}
.site-header.stuck .site-brand-logo {
  width: 2rem;
  height: 2rem;
  max-width: 2rem;
  max-height: 2rem;
  font-size: 1rem;
  transition: all 0.2s ease;
}
@media (min-width: 640px) {
  .site-header.stuck .site-brand-logo {
    width: 2.25rem;
    height: 2.25rem;
    max-width: 2.25rem;
    max-height: 2.25rem;
    font-size: 1.125rem;
  }
}

.site-brand-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  line-height: 1.1;
  min-width: 0;
}
.site-brand-title {
  display: block;
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-weight: 900;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--foreground, #0f172a);
}
@media (min-width: 640px) {
  .site-brand-title {
    font-size: 1.375rem;
  }
}
.site-brand-sub {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
  margin-top: 2px;
}
@media (min-width: 640px) {
  .site-brand-sub {
    font-size: 0.75rem;
  }
}

/* ---------- FOOTER logo (larger + lightened for dark background) ---------- */
.footer-brand .site-brand,
.footer-brand a.site-brand,
a.footer-brand-link {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  margin-bottom: 0.75rem !important;
}

.footer-brand .rapid-logo-wrapper {
  height: 3rem !important;
  max-height: 3rem !important;
  min-height: 3rem !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-bottom: 0.25rem !important;
}
.footer-brand .rapid-logo-wrapper img.rapid-logo-img,
.footer-brand .rapid-logo-wrapper > img.rapid-logo-img {
  max-width: 320px !important;
  max-height: 100% !important;
  width: auto !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
}
@media (max-width: 639px) {
  .footer-brand .rapid-logo-wrapper {
    height: 2.5rem !important;
    max-height: 2.5rem !important;
    min-height: 2.5rem !important;
  }
  .footer-brand .rapid-logo-wrapper img.rapid-logo-img {
    max-width: 240px !important;
  }
}

/* Footer fallback logo override */
.footer-brand .site-brand-logo {
  width: 3rem;
  height: 3rem;
  max-width: 3rem;
  max-height: 3rem;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  margin-bottom: 0 !important;
}
.footer-brand .site-brand-title {
  color: #fff !important;
}
.footer-brand .site-brand-sub {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* ========== TEAM PHOTO (larger when featured-image is uploaded) ========== */
.team-card .team-avatar {
  background-size: cover;
  background-position: center;
}

/* ========== PROJECT IMAGE GRID on archive (gap) ========== */
.grid-projects img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== PAGINATION ========== */
.pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: all 0.2s;
}
.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}
.pagination .current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ========== ACCESSIBILITY ========== */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}