/* ============================================
   Tifapa Tours & Travel — East African Editorial
   Light & Dark Mode via data-theme attribute
   ============================================ */

/* --- Design Tokens --- */
:root,
[data-theme="light"] {
  --green: #1F3B2C;
  --green-light: #2a5a3e;
  --gold: #C8A24A;
  --gold-light: #e0c070;
  --ivory: #F5F0E6;
  --ivory-dark: #e8dfd0;
  --ocean: #0E2A3A;
  --ocean-light: #1a4f6e;
  --cream: #faf7f0;
  --white: #ffffff;
  --black: #1a1814;
  --gray-100: #f5f0e6;
  --gray-200: #e0d8c8;
  --gray-300: #b8ae9a;
  --gray-400: #8a8174;
  --gray-500: #6b6358;
  --gray-600: #4a443a;
  --gray-700: #2a2620;

  --nav-bg: rgba(245,240,230,0.92);
  --nav-border: rgba(200,162,74,0.15);
  --card-bg: #ffffff;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 6px 24px rgba(0,0,0,0.1);
  --section-alt-bg: #f8f4ec;
  --pillar-bg: #ffffff;
  --testimonial-border: var(--gold);
  --input-bg: #F5F0E6;
  --footer-bg: linear-gradient(135deg, #0E2A3A 0%, #081a24 100%);
  --hero-bg: linear-gradient(135deg, #1F3B2C 0%, #1a3a2a 25%, #0E2A3A 50%, #0a2a3a 70%, #1F3B2C 100%);
  --hero-text: #ffffff;
  --hero-sub: rgba(255,255,255,0.85);
  --hero-scroll: rgba(255,255,255,0.35);
  --btn-outline-border: rgba(255,255,255,0.5);
  --btn-outline-hover: rgba(255,255,255,0.12);

  --price-color: #1F3B2C;
  --price-color-dark: #1F3B2C;

  --font-serif: "Iowan Old Style", "Charter", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --max-width: 1200px;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-theme="dark"] {
  --ivory: #1a1814;
  --ivory-dark: #2a2620;
  --cream: #1f1c17;
  --white: #2a2620;
  --black: #e8dfd0;
  --gray-100: #2a2620;
  --gray-200: #3a342c;
  --gray-300: #5a5246;
  --gray-400: #8a8174;
  --gray-500: #a89e90;
  --gray-600: #c8bfb0;
  --gray-700: #e8dfd0;

  --nav-bg: rgba(26,24,20,0.92);
  --nav-border: rgba(200,162,74,0.1);
  --card-bg: #2a2620;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --card-shadow-hover: 0 6px 24px rgba(0,0,0,0.4);
  --section-alt-bg: #1f1c17;
  --pillar-bg: #2a2620;
  --testimonial-border: var(--gold);
  --input-bg: #1a1814;
  --footer-bg: linear-gradient(135deg, #0a1a24 0%, #040e14 100%);
  --hero-bg: linear-gradient(135deg, #0a1a14 0%, #0e1a14 25%, #060e14 50%, #040a14 70%, #0a1a14 100%);
  --hero-text: #e8dfd0;
  --hero-sub: rgba(232,223,208,0.8);
  --hero-scroll: rgba(232,223,208,0.3);
  --btn-outline-border: rgba(232,223,208,0.4);
  --btn-outline-hover: rgba(232,223,208,0.1);

  --price-color: #C8A24A;
  --price-color-dark: #C8A24A;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 0.15em; transition: color var(--transition); }
a:hover, a:focus-visible { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--black); }

/* --- Logo Image --- */
.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
}
.footer-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 1000;
  background: var(--green); color: var(--white); padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.875rem; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--black);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

/* --- Buttons --- */
.btn {
  display: inline-block; padding: 0.85rem 2rem;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  text-decoration: none; border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer; border: 2px solid transparent;
  line-height: 1.2; text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--black); border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(200,162,74,0.25);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--gold-light) 0%, #f0d080 100%);
  border-color: var(--gold-light); color: var(--black);
  transform: translateY(-2px); box-shadow: 0 4px 20px rgba(200,162,74,0.35);
}
.btn-outline {
  background: transparent; color: var(--hero-text); border-color: var(--btn-outline-border);
  backdrop-filter: blur(4px);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--btn-outline-hover); color: var(--hero-text);
  border-color: var(--hero-text); transform: translateY(-2px);
}
.btn-secondary {
  background: transparent; color: var(--green); border-color: var(--green);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--green); color: var(--white); transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(31,59,44,0.2);
}
.btn-full { width: 100%; }

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nav-border);
  transition: background 0.3s ease;
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--green); font-weight: 700; font-size: 1.15rem;
}
.nav-logo .logo-mark { color: var(--gold); font-size: 1.4rem; }
.nav-right {
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-links {
  display: flex; list-style: none; gap: 0.25rem; align-items: center;
}
.nav-links a {
  text-decoration: none; color: var(--gray-500); padding: 0.5rem 1rem;
  border-radius: var(--radius); font-size: 0.9rem; font-weight: 500;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--green); background: var(--gray-100); }
.nav-links .nav-cta {
  background: var(--green); color: var(--white); padding: 0.5rem 1.25rem;
}
.nav-links .nav-cta:hover { background: var(--green-light); color: var(--white); }

/* Theme Toggle */
.theme-toggle {
  background: none; border: 1px solid var(--gray-200); border-radius: 100px;
  cursor: pointer; padding: 0.35rem 0.6rem; font-size: 1rem; line-height: 1;
  display: flex; align-items: center; gap: 0.3rem;
  transition: all var(--transition); color: var(--gray-500);
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-toggle .theme-icon-dark { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-light { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-dark { display: inline; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle .bar {
  display: block; width: 24px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 8rem 1.5rem 4rem;
  background: var(--hero-bg);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,162,74,0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(14,42,58,0.3) 0%, transparent 50%);
}
.hero-content {
  position: relative; z-index: 1; text-align: center;
  max-width: 800px; margin: 0 auto;
  animation: heroFadeIn 1.2s ease forwards;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-suptitle {
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--gold); margin-bottom: 1rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}
.hero-title {
  color: var(--hero-text); margin-bottom: 1rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.hero-subtitle {
  font-size: 1.15rem; color: var(--hero-sub);
  max-width: 600px; margin: 0 auto 2.5rem;
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(0,0,0,0.2);
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 1; color: var(--hero-scroll);
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  animation: scrollBounce 2.5s ease infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
.scroll-arrow { font-size: 1.2rem; }

/* --- Sections --- */
.section {
  padding: 5rem 1.5rem;
  max-width: var(--max-width); margin: 0 auto;
}
.section-alt {
  padding: 5rem 1.5rem;
  max-width: 100%;
  background: var(--section-alt-bg);
  transition: background 0.3s ease;
}
.section-alt > * {
  max-width: var(--max-width); margin-left: auto; margin-right: auto;
}
.section-header {
  text-align: center; margin-bottom: 3.5rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-subtitle {
  color: var(--gray-400); font-size: 1.05rem;
  max-width: 600px; margin: 0 auto;
}
.section-ornament {
  display: block; width: 40px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 1.25rem;
  border-radius: 2px;
}

/* --- Card Grid (Tours) --- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--card-bg); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--card-shadow);
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--card-shadow-hover); transform: translateY(-4px);
}
.card-img {
  height: 200px; position: relative; overflow: hidden;
}
.card-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 1;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--black);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 0.3rem 0.75rem;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: 0.25rem; }
.card-duration {
  font-size: 0.85rem; color: var(--gray-400);
  margin-bottom: 0.75rem; font-family: var(--font-sans);
}
.card-body p { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 0.75rem; }
.card-price { font-size: 1rem; margin-bottom: 1.25rem; }
.card-price strong { font-size: 1.3rem; color: var(--price-color); }
.card-price-note { font-size: 0.8rem; color: var(--gray-400); }

/* --- Destinations Grid --- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.dest-item {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--card-shadow);
  transition: all var(--transition); cursor: pointer;
}
.dest-item:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-3px); }
.dest-img {
  height: 220px; position: relative; overflow: hidden;
}
.dest-info {
  padding: 1.25rem; background: var(--card-bg);
  transition: background 0.3s ease;
}
.dest-info h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.dest-info p { font-size: 0.88rem; color: var(--gray-400); }

/* --- Pillars (Why Us) --- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}
.pillar {
  text-align: center; padding: 2.5rem 1.5rem 2rem;
  background: var(--pillar-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow); transition: all var(--transition);
}
.pillar:hover {
  box-shadow: var(--card-shadow-hover); transform: translateY(-3px);
}
.pillar-icon {
  font-size: 2rem; margin-bottom: 1rem; display: block;
}
.pillar h3 { margin-bottom: 0.5rem; }
.pillar p { font-size: 0.92rem; color: var(--gray-500); }

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial {
  background: var(--card-bg); padding: 2rem; border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  border-left: 3px solid var(--testimonial-border);
  transition: all var(--transition);
}
.testimonial:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
.testimonial-stars {
  color: var(--gold); font-size: 1.1rem; margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}
.testimonial p {
  font-family: var(--font-serif);
  font-size: 1rem; line-height: 1.7;
  color: var(--gray-600); margin-bottom: 1rem;
  font-style: italic;
}
.testimonial footer { border-top: 1px solid var(--gray-200); padding-top: 1rem; }
.testimonial cite {
  font-style: normal; font-weight: 600; color: var(--black);
  display: block; font-size: 0.92rem;
}
.testimonial-location {
  font-size: 0.82rem; color: var(--gray-400);
}

/* --- Partners / Logo Marquee --- */
.section-partners {
  padding: 3rem 1.5rem;
  overflow: hidden;
}
.partners-track {
  overflow: hidden; width: 100%;
}
.partners-inner {
  display: flex; gap: 3rem; align-items: center;
  animation: marquee 25s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-logo {
  font-family: var(--font-sans); font-weight: 700; font-size: 1.1rem;
  color: var(--gray-300); text-transform: uppercase;
  letter-spacing: 0.1em; white-space: nowrap;
  transition: color var(--transition);
}
.partner-logo:hover { color: var(--gold); }

/* --- Contact Form (Standalone) --- */
.contact-form {
  display: flex; flex-direction: column; gap: 1.25rem;
  background: var(--card-bg); padding: 2rem; border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  transition: background 0.3s ease;
}
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label {
  font-size: 0.85rem; font-weight: 600; color: var(--gray-600);
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-sans); font-size: 0.95rem;
  padding: 0.75rem 1rem; border: 1px solid var(--gray-200);
  border-radius: var(--radius); background: var(--input-bg);
  color: var(--black); transition: all var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold); outline: none;
  box-shadow: 0 0 0 3px rgba(200,162,74,0.15);
  background: var(--card-bg);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-status {
  font-size: 0.9rem; padding: 0.75rem 1rem;
  border-radius: var(--radius); text-align: center;
}
.form-status-ok { background: rgba(31,59,44,0.1); color: var(--green); }
.form-status-err { background: rgba(200,50,50,0.1); color: #c83232; }

/* --- Footer --- */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.8);
  padding: 4rem 1.5rem 2rem;
}
.footer-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(200,162,74,0.12);
}
.footer-brand .logo-mark { color: var(--gold); font-size: 1.4rem; }
.footer-brand .logo-text {
  font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem;
  color: var(--white);
}
.footer-brand p { margin-top: 0.75rem; font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.footer-links h4 {
  font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold); margin-bottom: 1rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-links address { font-style: normal; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-bottom {
  max-width: var(--max-width); margin: 1.5rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.4);
}
.footer-bottom .attribution { font-size: 0.75rem; }
.footer-bottom .attribution a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom .attribution a:hover { color: var(--gold); }

/* --- Visitor Type Popup --- */
.visitor-popup-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(4px);
}
.visitor-popup-overlay.visible {
  opacity: 1; pointer-events: auto;
}
.visitor-popup {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 520px;
  width: 90%;
  text-align: center;
  box-shadow: 0 12px 60px rgba(0,0,0,0.3);
  animation: popupIn 0.4s ease;
}
@keyframes popupIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.visitor-popup h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.visitor-popup p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.visitor-options {
  display: flex;
  gap: 1rem;
}
.visitor-btn {
  flex: 1;
  background: var(--pillar-bg);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.visitor-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(200,162,74,0.15);
  transform: translateY(-2px);
}
.visitor-icon {
  font-size: 2rem;
}
.visitor-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--black);
  line-height: 1.3;
}
.visitor-currency {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

/* --- Hotel Price Display --- */
.hotel-price-display {
  font-size: 1.1rem;
  color: var(--price-color);
}
.hotel-price-display strong {
  color: var(--price-color);
}
[data-theme="dark"] .hotel-price-display {
  color: var(--price-color-dark);
}
[data-theme="dark"] .hotel-price-display strong {
  color: var(--price-color-dark);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; background: var(--nav-bg);
    border-bottom: 1px solid var(--nav-border);
    padding: 1rem; gap: 0.25rem;
    transform: translateY(-120%); opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0); opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 90vh; padding-top: 6rem; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .visitor-options { flex-direction: column; }
}
@media (max-width: 540px) {
  .dest-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .section { padding: 3rem 1.25rem; }
  .section-alt { padding: 3rem 1.25rem; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-content { animation: none; }
  .partners-inner { animation: none; }
  .hero-scroll-hint { animation: none; }
  .visitor-popup { animation: none; }
}
