/* ============================================================
   KASI TECH HUB – Main Stylesheet
   Modern African technology-inspired design
   Mobile-first · Accessible · Fully responsive
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy: #0a1628;
  --navy-light: #132238;
  --navy-mid: #1a2f4a;
  --blue: #1e6fd9;
  --blue-light: #3b8aef;
  --turquoise: #00c2b8;
  --turquoise-dark: #00a39b;
  --green: #22c55e;
  --green-dark: #16a34a;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.05);
  --shadow: 0 4px 16px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.12);
  --shadow-lg: 0 16px 48px rgba(10, 22, 40, 0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1180px;
  --header-h: 72px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--turquoise-dark);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.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;
}

/* Honeypot – hidden from humans */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(1.85rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }

p { margin-bottom: 1rem; color: var(--gray-600); }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 0.6rem;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-desc {
  max-width: 640px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--off-white);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark .section-title {
  color: var(--white);
}

.section-dark p,
.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.78);
}

.section-dark .section-label {
  color: var(--turquoise);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--turquoise) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(30, 111, 217, 0.35);
}

.btn-primary:hover {
  color: var(--white);
  box-shadow: 0 6px 20px rgba(30, 111, 217, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-orange:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled,
.btn.loading {
  opacity: 0.7;
  pointer-events: none;
  cursor: not-allowed;
}

.btn .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: 250px;
  height: Auto;
  border-radius: 10px;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-tag {
  font-size: 0.65rem;
  color: var(--turquoise-dark);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-menu a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--blue);
  background: rgba(30, 111, 217, 0.08);
}

.nav-cta {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 8px;
  background: var(--gray-100);
  transition: background var(--transition);
}

.hamburger:hover {
  background: var(--gray-200);
}

.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 999;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: 0.95rem 1rem;
  color: var(--gray-800);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: var(--radius);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--blue);
  background: var(--gray-50);
}

.mobile-nav .btn {
  margin-top: 1rem;
  width: 100%;
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 55%, #0d3a5c 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0, 194, 184, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(30, 111, 217, 0.25) 0%, transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 194, 184, 0.15);
  border: 1px solid rgba(0, 194, 184, 0.35);
  color: var(--turquoise);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--turquoise), #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 1.75rem;
}

.hero-slogan {
  color: var(--turquoise);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-item strong {
  font-size: 1.35rem;
  color: var(--turquoise);
  font-weight: 800;
}

.hero-meta-item span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hero-image-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- Cards Grid ---------- */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 1.75rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 194, 184, 0.35);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.card-icon.blue { background: rgba(30, 111, 217, 0.12); }
.card-icon.turquoise { background: rgba(0, 194, 184, 0.12); }
.card-icon.orange { background: rgba(249, 115, 22, 0.12); }
.card-icon.green { background: rgba(34, 197, 94, 0.12); }
.card-icon.navy { background: rgba(10, 22, 40, 0.08); }

.card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.card p {
  font-size: 0.95rem;
  flex-grow: 1;
}

.card ul {
  margin: 0.5rem 0 1.25rem;
  flex-grow: 1;
}

.card ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--turquoise);
  font-weight: 700;
  font-size: 0.85rem;
}

.card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.about-content p {
  font-size: 1.02rem;
}

.mv-cards {
  display: grid;
  gap: 1.25rem;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--turquoise);
  box-shadow: var(--shadow);
}

.mv-card.vision {
  border-left-color: var(--orange);
}

.mv-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.mv-card p {
  font-size: 0.95rem;
  margin: 0;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.value-tag {
  background: rgba(30, 111, 217, 0.08);
  color: var(--blue);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Stats ---------- */
.stats-bar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--turquoise);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Why Choose Us ---------- */
.benefits-grid {
  display: grid;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.benefit-item:hover {
  border-color: var(--turquoise);
  box-shadow: var(--shadow);
}

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--turquoise));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.benefit-item h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--navy);
}

.benefit-item p {
  font-size: 0.88rem;
  margin: 0;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.form-group label .req {
  color: var(--orange);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 111, 217, 0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form-group .field-error {
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 500;
  display: none;
}

.form-group .field-error.show {
  display: block;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--blue);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  line-height: 1.45;
}

.form-actions {
  margin-top: 0.5rem;
}

/* Form alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  display: none;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.5;
}

.alert.show {
  display: flex;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #15803d;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #b91c1c;
}

.alert-info {
  background: rgba(30, 111, 217, 0.1);
  border: 1px solid rgba(30, 111, 217, 0.3);
  color: #1d4ed8;
}

.ref-number {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: 0.04em;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--turquoise);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  padding-top: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--turquoise));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.author-info strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.sample-badge {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.35rem;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item.active {
  box-shadow: var(--shadow);
  border-color: rgba(0, 194, 184, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  background: transparent;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 1.1rem;
  color: var(--blue);
  font-weight: 700;
}

.faq-item.active .faq-icon {
  background: var(--turquoise);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 1.35rem 1.25rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-info-card {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.75rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 194, 184, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--turquoise);
  margin-bottom: 0.2rem;
}

.contact-detail a,
.contact-detail span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.contact-detail a:hover {
  color: var(--turquoise);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.hours-box {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hours-box h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.hours-box p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--turquoise-dark) 100%);
  padding: 3.5rem 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}

.cta-banner .btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-top: 0.85rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--turquoise);
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--turquoise);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--turquoise);
}

.footer-credit {
  color: var(--turquoise);
  font-weight: 500;
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
  font-size: 1.75rem;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: var(--white);
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse-ring 2s ease-out infinite;
  opacity: 0;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.6rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--turquoise);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  padding-top: 0.5rem;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--gray-600);
  font-size: 0.98rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--blue);
  text-decoration: underline;
}

/* ---------- Admin Dashboard ---------- */
.admin-login {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--off-white);
}

.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--gray-200);
}

.login-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  text-align: center;
}

.login-card > p {
  text-align: center;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
}

.admin-panel {
  display: none;
  padding: 2rem 0 4rem;
  background: var(--off-white);
  min-height: calc(100vh - var(--header-h));
}

.admin-panel.active {
  display: block;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.admin-toolbar input,
.admin-toolbar select {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  background: var(--white);
  min-width: 0;
  flex: 1 1 160px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
  text-align: center;
}

.admin-stat-card strong {
  display: block;
  font-size: 1.75rem;
  color: var(--blue);
  font-weight: 800;
}

.admin-stat-card span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 700px;
}

.admin-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.admin-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: var(--gray-50);
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-new { background: rgba(30, 111, 217, 0.12); color: var(--blue); }
.status-contacted { background: rgba(249, 115, 22, 0.12); color: var(--orange-dark); }
.status-accepted { background: rgba(0, 194, 184, 0.12); color: var(--turquoise-dark); }
.status-completed { background: rgba(34, 197, 94, 0.12); color: var(--green-dark); }
.status-cancelled { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }

.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.9rem;
  transition: all var(--transition);
  margin-right: 0.25rem;
}

.btn-icon:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-icon.danger:hover {
  background: #ef4444;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}

.modal-header h3 {
  font-size: 1.15rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gray-100);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
}

.modal-close:hover {
  background: var(--gray-200);
}

.modal-body {
  padding: 1.5rem;
}

.detail-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
}

.detail-row dt {
  font-weight: 600;
  color: var(--gray-500);
}

.detail-row dd {
  color: var(--gray-800);
  word-break: break-word;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--gray-500);
}

.empty-state p {
  margin-top: 0.5rem;
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive breakpoints ---------- */
@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row.cols-2 {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .admin-stats {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (min-width: 900px) {
  .nav-menu {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }

  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }

  .cards-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .form-row.cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .cards-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

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

/* Print */
@media print {
  .site-header,
  .whatsapp-float,
  .hamburger,
  .mobile-nav {
    display: none !important;
  }
}
