/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --plum-50:  #faf5ff;
  --plum-100: #f3e8ff;
  --plum-200: #e9d5ff;
  --plum-300: #d8b4fe;
  --plum-400: #c084fc;
  --plum-500: #a855f7;
  --plum-600: #9333ea;
  --plum-700: #7e22ce;
  --plum-800: #6b21a8;
  --plum-900: #581c87;
  --plum-950: #3b0764;

  --amber-300:  #fcd34d;
  --amber-400:  #fbbf24;
  --amber-500:  #f59e0b;
  --amber-600:  #d97706;
  --amber-700:  #b45309;

  --warm-50:  #faf8f5;
  --warm-100: #f5f0e8;
  --warm-200: #ede4d6;
  --warm-700: #5c4a3a;
  --warm-800: #3d2e22;
  --warm-900: #2a1f17;

  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(91, 14, 90, 0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(91, 14, 90, 0.08), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(91, 14, 90, 0.12), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(91, 14, 90, 0.15), 0 8px 20px rgba(0,0,0,0.1);

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--warm-800);
  background: var(--warm-50);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--plum-500);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--warm-900);
  margin-bottom: 20px;
}

.text-plum {
  color: var(--plum-700);
}

.text-amber {
  color: var(--amber-600);
}

.section-sub {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

.lead {
  font-size: 1.125rem;
  color: var(--warm-700);
  margin-bottom: 16px;
}

.center {
  text-align: center;
}

.muted {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  padding: 12px 28px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-amber {
  background: var(--amber-500);
  color: var(--warm-900);
  border-color: var(--amber-500);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-amber:hover {
  background: var(--amber-600);
  border-color: var(--amber-600);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
  color: var(--warm-900);
}

.btn-plum {
  background: var(--plum-700);
  color: #fff;
  border-color: var(--plum-700);
  box-shadow: 0 4px 14px rgba(126, 34, 206, 0.3);
}

.btn-plum:hover {
  background: var(--plum-800);
  border-color: var(--plum-800);
  box-shadow: 0 6px 20px rgba(126, 34, 206, 0.4);
  color: #fff;
}

.btn-outline-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.22);
  border-color: #fff;
  color: #fff;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 245, 245, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(107, 33, 168, 0.08);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 245, 245, 0.96);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--warm-900);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--plum-700);
  background: var(--plum-100);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  line-height: 1;
}

.nav-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--warm-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--warm-700);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber-500);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.nav-links a:not(.btn):hover {
  color: var(--plum-700);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--warm-800);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plum-950);
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/8386643/pexels-photo-8386643.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 7, 100, 0.92) 0%,
    rgba(107, 33, 168, 0.85) 40%,
    rgba(147, 51, 234, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-eyebrow {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
}

.hero-title span.text-amber {
  color: var(--amber-400);
}

.hero-title span {
  display: block;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.9rem;
}

.trust-item svg {
  color: var(--amber-400);
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--warm-100);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-img-float {
  position: absolute;
  bottom: -32px;
  right: -24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--warm-50);
}

.about-img-float img {
  width: 260px;
  height: 180px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: -16px;
  left: -16px;
  background: var(--plum-700);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.badge-number {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-400);
}

.badge-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.about-text .section-eyebrow {
  text-align: left;
}

.about-text .section-title {
  text-align: left;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--warm-200);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--plum-700);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(107, 33, 168, 0.06);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107, 33, 168, 0.12);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--plum-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum-700);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--plum-700);
  color: #fff;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--warm-900);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== COMMUNITY ===== */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.community-text .section-eyebrow {
  text-align: left;
}

.community-text .section-title {
  text-align: left;
}

.community-visual {
  position: relative;
}

.community-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.community-quote {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--amber-500);
  color: var(--warm-900);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  max-width: 320px;
  box-shadow: var(--shadow-lg);
}

.community-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 8px;
  font-style: italic;
}

.community-quote cite {
  font-size: 0.82rem;
  font-weight: 700;
  font-style: normal;
  color: var(--warm-800);
}

/* ===== VISIT ===== */
.visit-header {
  margin-bottom: 56px;
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.visit-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(107, 33, 168, 0.06);
  transition: all var(--transition);
}

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

.visit-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--plum-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--plum-700);
  transition: all var(--transition);
}

.visit-card:hover .visit-icon {
  background: var(--plum-700);
  color: #fff;
}

.visit-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--warm-900);
  margin-bottom: 10px;
}

.visit-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

.visit-card p a {
  font-weight: 700;
  color: var(--plum-700);
}

.visit-card p a:hover {
  color: var(--plum-500);
  text-decoration: underline;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-eyebrow {
  text-align: left;
}

.contact-info .section-title {
  text-align: left;
}

.contact-details {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--warm-700);
}

.contact-detail svg {
  color: var(--plum-600);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-detail a {
  font-weight: 600;
  color: var(--plum-700);
}

.contact-detail a:hover {
  color: var(--plum-500);
  text-decoration: underline;
}

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(107, 33, 168, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--warm-800);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--warm-50);
  color: var(--warm-900);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--plum-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

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

.form-note {
  font-size: 0.82rem;
  color: var(--gray-500);
  text-align: center;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--plum-100);
  color: var(--plum-800);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 8px;
}

.form-success svg {
  color: var(--plum-600);
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--plum-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-logo {
  text-decoration: none;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--amber-400);
  text-decoration: none;
}

.footer-contact p {
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.footer-contact a {
  color: var(--amber-400);
}

.footer-contact a:hover {
  color: var(--amber-300);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

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

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

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid,
  .community-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-images {
    max-width: 500px;
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 245, 245, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(107, 33, 168, 0.08);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-trust {
    gap: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .services-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .about-img-float {
    right: 0;
    bottom: -20px;
  }

  .about-img-main img {
    height: 300px;
  }

  .about-stats {
    gap: 24px;
  }

  .community-quote {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 16px;
    max-width: 100%;
  }

  .community-img {
    height: 280px;
  }

  .contact-form-wrap {
    padding: 28px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: clamp(2rem, 12vw, 2.8rem);
  }

  .about-badge {
    top: -10px;
    left: -10px;
  }

  .about-stats {
    flex-wrap: wrap;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
