/* ============================================================
   MÃES DO AMOR LGBTQIA+ — Base Styles
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--size-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
  width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-default);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-dark);
}

p {
  line-height: var(--leading-relaxed);
  color: var(--text-medium);
}

/* ── Selection ── */
::selection {
  background-color: rgba(107, 53, 163, 0.20);
  color: var(--color-primary-dark);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f0eef8; }
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* ── Container ── */
.container-fluid { width: 100%; padding: 0 var(--space-6); }

.container-site {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-8);
  width: 100%;
  box-sizing: border-box;
}

/* Ganha do max-width do Bootstrap .container em telas médias */
.container.container-site {
  max-width: var(--container-max);
  width: 100%;
}

.link-primary { color: var(--color-primary); }
.link-primary:hover { color: var(--color-primary-dark); }

.btn-full {
  width: 100%;
  justify-content: center;
}


/* ── Sections ── */
.section {
  padding: var(--space-24) 0;
  position: relative;
}

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

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

.section--dark p {
  color: var(--text-white-dim);
}

.section--dark .section-title--white {
  color: var(--text-white);
}

.section--dark .section-label--light {
  color: rgba(200, 170, 255, 0.95);
}

.section--light {
  background: var(--bg-light);
}

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

.section--gradient {
  background: var(--gradient-pride-subtle);
}

/* ── Section Labels ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--size-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gradient-pride);
  border-radius: var(--radius-full);
}

.section-label--light {
  color: rgba(155, 101, 211, 0.90);
}

.section-title {
  font-size: clamp(var(--size-2xl), 4vw, var(--size-5xl));
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-6);
  color: var(--text-dark);
}

.section-title--white {
  color: var(--text-white);
}

.section-subtitle {
  font-size: var(--size-md);
  color: var(--text-medium);
  line-height: var(--leading-relaxed);
  max-width: 640px;
}

.section-subtitle--white {
  color: var(--text-white-dim);
}

.section-header {
  margin-bottom: var(--space-16);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-label { justify-content: center; }
.section-header--center .section-subtitle { margin: 0 auto; }

/* ── Navbar ── */
.navbar-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-h);
  z-index: var(--z-navbar);
  transition: background var(--duration-slow) var(--ease-default),
              box-shadow var(--duration-slow) var(--ease-default),
              backdrop-filter var(--duration-slow) var(--ease-default);
  background: transparent;
}

.navbar-main.scrolled {
  background: var(--bg-glass-dark);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 32px rgba(0, 0, 0, 0.28);
}

.navbar-main.scrolled .navbar-brand-text,
.navbar-main.scrolled .nav-link-main {
  color: rgba(255, 255, 255, 0.88);
}

.navbar-main.scrolled .nav-link-main:hover,
.navbar-main.scrolled .nav-link-main.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.10);
}

.navbar-main.scrolled .navbar-toggler-main span {
  background: var(--text-white);
}

/* Always readable nav links on hero */
.navbar-main .nav-link-main {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.navbar-main .navbar-brand-text {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.navbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-8);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.navbar-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  transition: transform var(--duration-normal) var(--ease-spring);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.22));
  background: transparent;
}

.navbar-brand:hover .navbar-logo {
  transform: scale(1.05);
}

.navbar-brand-text {
  display: none;
}

.nav-main {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  margin-bottom: 0;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
}

.nav-main .nav-link-main,
.nav-main .nav-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link-main {
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-weight: var(--weight-medium);
  color: var(--text-white-dim);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  transition: color var(--duration-normal) var(--ease-default),
              background var(--duration-normal) var(--ease-default);
  position: relative;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
}

.nav-link-main:hover,
.nav-link-main.active {
  color: var(--text-white);
  background: rgba(255,255,255,0.10);
}

.nav-cta {
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-white);
  background: var(--gradient-pride);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  transition: opacity var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-spring);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.nav-cta:hover {
  opacity: 0.90;
  transform: translateY(-1px);
  color: var(--text-white);
}

/* Hamburger */
.navbar-toggler-main {
  display: none;
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}

.navbar-toggler-main span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  margin: 0;
  background: var(--text-white);
  border-radius: var(--radius-full);
  transform: translate(-50%, -50%);
  transition: transform var(--duration-normal) var(--ease-default),
              opacity var(--duration-normal) var(--ease-default);
}

.navbar-toggler-main span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 7px));
}
.navbar-toggler-main span:nth-child(2) {
  transform: translate(-50%, -50%);
}
.navbar-toggler-main span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 7px));
}

.navbar-toggler-main.open span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.navbar-toggler-main.open span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler-main.open span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Mobile Nav Drawer — painel compacto à direita */
.nav-drawer {
  position: fixed;
  top: var(--navbar-h);
  right: 0;
  bottom: 0;
  left: auto;
  width: min(260px, 78vw);
  max-width: 260px;
  background: var(--bg-dark);
  z-index: calc(var(--z-navbar) - 1);
  padding: var(--space-4);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out),
              visibility var(--duration-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  pointer-events: none;
}

.nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-drawer .nav-link-main {
  font-size: var(--size-sm);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.85);
  justify-content: flex-start;
}

.nav-drawer .nav-link-main:hover,
.nav-drawer .nav-link-main.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.10);
}

.nav-drawer .nav-cta {
  margin-top: var(--space-3);
  align-self: stretch;
  text-align: center;
  justify-content: center;
  font-size: var(--size-sm);
  padding: var(--space-3) var(--space-4);
}

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #161022;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video-wrap > .hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) brightness(0.92);
}

.hero-fallback-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2A1848 0%, #4A1C7A 50%, #C23B74 100%);
}

/* Animated pride rays behind content */
.hero-rays {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-rays::before,
.hero-rays::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(155,89,182,0.18) 0deg,
    rgba(44,130,201,0.10) 60deg,
    rgba(26,188,156,0.10) 120deg,
    rgba(240,165,0,0.10) 180deg,
    rgba(232,97,74,0.10) 240deg,
    rgba(194,59,116,0.14) 300deg,
    rgba(155,89,182,0.18) 360deg
  );
  animation: heroRaysRotate 40s linear infinite;
}

.hero-rays::after {
  animation-duration: 60s;
  animation-direction: reverse;
  opacity: 0.5;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--space-6);
  width: min(960px, 100%);
  max-width: 960px;
  box-sizing: border-box;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--size-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.94);
  margin-bottom: var(--space-6);
  animation: fadeUp 0.8s var(--ease-out) both;
}

.hero-label-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gradient-pride);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--size-hero);
  font-weight: var(--weight-semibold);
  color: var(--text-white);
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  margin-bottom: var(--space-6);
  animation: fadeUp 0.8s var(--ease-out) 0.15s both;
  text-shadow: 0 2px 24px rgba(20, 10, 40, 0.35);
}

.hero-title span {
  background: var(--gradient-pride);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(var(--size-md), 2vw, var(--size-xl));
  color: rgba(255, 255, 255, 0.95);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.8s var(--ease-out) 0.30s both;
  text-shadow: 0 2px 16px rgba(20, 10, 40, 0.40);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease-out) 0.45s both;
}

/* ── Buttons ── */
.btn-pride {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.01em;
  color: var(--text-white);
  background: var(--gradient-pride);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-default);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-pride::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--duration-normal) var(--ease-default);
}

.btn-pride:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  opacity: 0.93;
  color: var(--text-white);
}

.btn-pride:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: calc(var(--space-4) - 2px) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-white);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.40);
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--duration-normal) var(--ease-default),
              border-color var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-spring);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.70);
  transform: translateY(-2px);
  color: var(--text-white);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-white);
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-default);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text-white);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: calc(var(--space-4) - 2px) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  background: transparent;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-spring);
}

.btn-secondary:hover {
  background: rgba(107,53,163,0.08);
  transform: translateY(-2px);
  color: var(--color-primary-dark);
}

/* ── Value Cards ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.value-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-default);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-pride);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107,53,163,0.10);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  font-size: var(--size-xl);
  transition: background var(--duration-normal) var(--ease-default);
}

.value-card:hover .value-icon {
  background: rgba(107,53,163,0.16);
}

.value-title {
  font-size: var(--size-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-dark);
  margin-bottom: var(--space-3);
}

.value-desc {
  font-size: var(--size-sm);
  color: var(--text-medium);
  line-height: var(--leading-relaxed);
}

/* ── Testimonials ── */
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-spring);
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: rgba(107,53,163,0.12);
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-text {
  font-size: var(--size-md);
  color: var(--text-medium);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  font-style: italic;
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: auto;
  flex-shrink: 0;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #FFD700;
  font-size: 0.85rem;
  margin-bottom: var(--space-4);
  margin-left: auto;
  align-self: flex-end;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.testimonial-stars i {
  color: #FFD700;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--border-light);
}

.testimonial-avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: var(--size-sm);
  font-weight: var(--weight-bold);
  color: #fff;
  letter-spacing: 0.06em;
  border: none;
  flex-shrink: 0;
  text-transform: uppercase;
  line-height: 1;
}

.testimonial-avatar--a { background: var(--color-primary); }
.testimonial-avatar--b { background: var(--color-secondary); }
.testimonial-avatar--c { background: var(--color-accent-teal); }
.testimonial-avatar--d { background: var(--color-accent-coral); }

.testimonial-name {
  font-weight: var(--weight-semibold);
  color: var(--text-dark);
  font-size: var(--size-sm);
}

.testimonial-role {
  font-size: var(--size-xs);
  color: var(--text-light);
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, #6B35A3 0%, #C23B74 55%, #E67E22 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-24) 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(var(--size-2xl), 4vw, var(--size-4xl));
  color: var(--text-white);
  margin-bottom: var(--space-6);
}

.cta-subtitle {
  color: var(--text-white-dim);
  font-size: var(--size-md);
  margin-bottom: var(--space-10);
  line-height: var(--leading-relaxed);
}

/* ── Contact ── */
.contact-form-group {
  margin-bottom: var(--space-5);
}

.contact-label {
  display: block;
  font-size: var(--size-sm);
  font-weight: var(--weight-medium);
  color: var(--text-dark);
  margin-bottom: var(--space-2);
}

.contact-input {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  color: var(--text-dark);
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-normal) var(--ease-default),
              box-shadow var(--duration-normal) var(--ease-default);
  -webkit-appearance: none;
}

.contact-input::placeholder {
  color: var(--text-light);
}

.contact-input:focus,
.contact-input:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(107,53,163,0.18);
}

textarea.contact-input {
  resize: vertical;
  min-height: 140px;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ── Contact Info ── */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107,53,163,0.10);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  font-size: var(--size-md);
}

.contact-info-label {
  font-size: var(--size-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--space-1);
}

.contact-info-value {
  font-size: var(--size-base);
  color: var(--text-dark);
  font-weight: var(--weight-medium);
}

.contact-info-value a {
  color: var(--color-primary);
}

.contact-info-value a:hover {
  color: var(--color-primary-dark);
}

/* ── Social Links ── */
.social-links {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(107,53,163,0.10);
  color: var(--color-primary);
  font-size: var(--size-base);
  transition: background var(--duration-normal) var(--ease-default),
              color var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-spring);
  text-decoration: none;
}

.social-link:hover {
  background: var(--color-primary);
  color: var(--text-white);
  transform: translateY(-3px);
}

.social-links--dark .social-link {
  background: rgba(255,255,255,0.08);
  color: var(--text-white-dim);
}

.social-links--dark .social-link:hover {
  background: var(--color-primary);
  color: var(--text-white);
}

/* ── Footer ── */
.footer {
  background: linear-gradient(180deg, #221833 0%, #161022 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-20) 0 0;
}

.footer-canvas,
#glitter-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: var(--space-8);
}

.footer-cta {
  margin-top: var(--space-6);
}

.footer-logo {
  height: 88px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-5);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
  background: transparent;
}

.footer-desc {
  color: rgba(255,255,255,0.86);
  font-size: var(--size-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--size-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  color: rgba(255,255,255,0.86);
  font-size: var(--size-sm);
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-default),
              transform var(--duration-fast) var(--ease-default);
  display: inline-flex;
  align-items: flex-start;
  gap: var(--space-2);
  max-width: 100%;
}

.footer-link i {
  flex-shrink: 0;
  margin-top: 0.2em;
}

.footer-link:hover {
  color: var(--text-white);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  text-align: center;
}

.footer-copy {
  font-size: var(--size-xs);
  color: rgba(255,255,255,0.86);
  line-height: 1.5;
  text-align: center;
  margin: 0;
  max-width: 100%;
}

.footer-copy > span {
  display: inline;
}

.footer-copy-sep {
  margin: 0 0.35em;
  opacity: 0.7;
}

.footer-dev-link {
  color: #22d3ee;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration-normal) var(--ease-default);
}

.footer-dev-link:hover {
  color: #67e8f9;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  padding: calc(var(--navbar-h) + var(--space-20)) 0 var(--space-20);
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-pride-subtle);
  pointer-events: none;
}

.page-hero .page-hero-title {
  color: var(--text-white);
}

.page-hero .page-hero-subtitle {
  color: rgba(255, 255, 255, 0.94);
}

.page-hero .section-label--light {
  color: rgba(200, 170, 255, 0.95);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(var(--size-3xl), 5vw, var(--size-6xl));
  color: var(--text-white);
  margin-bottom: var(--space-4);
}

.page-hero-subtitle {
  color: var(--text-white-dim);
  font-size: var(--size-lg);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Skip link (accessibility) ── */
.skip-link {
  position: absolute;
  top: -60px;
  left: var(--space-6);
  z-index: 9999;
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  font-weight: var(--weight-semibold);
  transition: top var(--duration-fast);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: var(--space-4);
}

/* ── About ── */
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
  transition: transform var(--duration-slower) var(--ease-out);
}

.about-image-wrap:hover img {
  transform: scale(1.03);
}

.about-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: var(--bg-glass-dark);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  color: var(--text-white);
}

.about-badge-number {
  font-family: var(--font-display);
  font-size: clamp(var(--size-xl), 2.5vw, var(--size-3xl));
  font-weight: var(--weight-bold);
  background: var(--gradient-pride);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.about-badge-text {
  font-size: var(--size-sm);
  color: var(--text-white-dim);
  margin-top: var(--space-1);
}

/* ── Mission Vision ── */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-6);
}

.mvv-card {
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.mvv-card--primary { background: var(--color-primary); }
.mvv-card--secondary { background: var(--color-secondary); }
.mvv-card--dark { background: var(--bg-dark-mid); border: 1px solid var(--border-dark); }

.mvv-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.mvv-card:hover { transform: translateY(-6px); }

.mvv-icon {
  font-size: var(--size-2xl);
  color: rgba(255,255,255,0.80);
  margin-bottom: var(--space-5);
}

.mvv-title {
  font-family: var(--font-display);
  font-size: var(--size-2xl);
  color: var(--text-white);
  margin-bottom: var(--space-4);
}

.mvv-text {
  font-size: var(--size-sm);
  color: rgba(255,255,255,0.75);
  line-height: var(--leading-relaxed);
}

.mvv-readmore {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: rgba(255, 255, 255, 0.90);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--duration-normal) var(--ease-default);
}

.mvv-readmore:hover {
  color: var(--text-white);
}

/* ── Map placeholder ── */
.map-embed {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow-md);
}

.map-static {
  position: relative;
  display: block;
  text-decoration: none;
}

.map-static img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-static-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--color-primary);
  color: #fff;
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.map-attrib {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-light);
}

.form-error {
  display: block;
  font-size: 0.8125rem;
  color: #B42318;
  margin-top: 6px;
  font-weight: 500;
}

.contact-input[aria-invalid="true"] {
  border-color: #B42318;
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.18);
}

/* ── Utility ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.gap-4 { gap: var(--space-4); }
.mt-auto { margin-top: auto; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-rays::before,
  .hero-rays::after { animation: none; }
}

@media (max-width: 767px) {
  .hero-rays::before,
  .hero-rays::after { animation: none; }
}
