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

:root {
  --purple-deep: #2D1B4E;
  --purple-mid: #4A2D7A;
  --purple-light: #6B3FA0;
  --gold: #C9A84C;
  --gold-light: #E8D48B;
  --gold-dark: #A68A3E;
  --white: #FFFFFF;
  --off-white: #FAF8F5;
  --gray-light: #F0EDE8;
  --gray-mid: #8A8690;
  --gray-dark: #3A3640;
  --text: #2A2630;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--purple-deep); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 0.8rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); margin-bottom: 0.6rem; }
p { margin-bottom: 1rem; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--purple-deep);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--purple-deep);
}
.btn-purple {
  background: var(--purple-mid);
  color: var(--white);
  border-color: var(--purple-mid);
}
.btn-purple:hover {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
}

/* === HEADER / NAV === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(45, 27, 78, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}
.logo img { width: 40px; height: 40px; }
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--purple-deep) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 4px;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold-dark) !important;
  color: var(--white) !important;
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}
.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--purple-deep);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s ease;
    padding: 2rem;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }
  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 8rem 1rem 4rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,27,78,0.88) 0%, rgba(74,45,122,0.78) 50%, rgba(45,27,78,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  margin-bottom: 1.2rem;
}
.hero h1 .gold { color: var(--gold); }
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  padding: 10rem 1rem 4rem;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,27,78,0.9), rgba(74,45,122,0.82));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.9; font-size: 1.1rem; }
.breadcrumb {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.75;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { margin: 0 0.4rem; }

/* === SECTIONS === */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--off-white);
}
.section-purple {
  background: var(--purple-deep);
  color: var(--white);
}
.section-purple h2, .section-purple h3 { color: var(--gold); }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.section-header .overline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto;
  border-radius: 2px;
}

/* === GRID LAYOUTS === */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(45,27,78,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(45,27,78,0.15);
}
.card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.card-body {
  padding: 1.5rem;
}
.card-body h3 { margin-bottom: 0.5rem; }

/* === FEATURE BOXES === */
.feature-box {
  text-align: center;
  padding: 2rem 1.5rem;
}
.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--gold);
  font-size: 1.8rem;
}

/* === IMAGE BLOCK (text + image side) === */
.img-block {
  height: 350px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 30px rgba(45,27,78,0.12);
}

/* === STATS === */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
  padding: 2rem 0;
}
@media (min-width: 768px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}
.stat-item h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.stat-item p {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* === TESTIMONIALS === */
.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 2px 15px rgba(45,27,78,0.06);
}
.testimonial .stars {
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}
.testimonial blockquote {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--gray-dark);
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--purple-mid);
}

/* === FAQ === */
.faq-item {
  border-bottom: 1px solid var(--gray-light);
  padding: 1.2rem 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--purple-deep);
  gap: 1rem;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

/* === PRICING TABLE === */
.pricing-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(45,27,78,0.08);
  position: relative;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.pricing-card.featured {
  border-color: var(--gold);
  transform: scale(1.03);
}
.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--purple-deep);
  padding: 0.3rem 1.2rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--purple-deep);
  margin: 1rem 0 0.3rem;
}
.pricing-card .price-sub {
  color: var(--gray-mid);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.pricing-card ul {
  text-align: left;
  margin-bottom: 2rem;
}
.pricing-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.93rem;
}
.pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* === CONTACT FORM === */
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--purple-deep);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-light);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-mid);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* === CONTACT INFO === */
.contact-info-card {
  background: var(--purple-deep);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
}
.contact-info-card h3 { color: var(--gold); margin-bottom: 1.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.1rem;
}
.contact-info-item strong {
  display: block;
  margin-bottom: 0.2rem;
}
.contact-info-item a { color: var(--gold-light); }

/* === FOOTER === */
.site-footer {
  background: var(--purple-deep);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; line-height: 1.6; }
.site-footer h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}
.site-footer ul li { margin-bottom: 0.6rem; }
.site-footer ul a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.site-footer ul a:hover { color: var(--gold); }
.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* === UTILITY === */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }

/* === CTA BAND === */
.cta-band {
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-deep));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--gold); margin-bottom: 1rem; }
.cta-band p { max-width: 600px; margin: 0 auto 2rem; opacity: 0.9; }

/* === TABLE === */
.table-responsive { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}
th {
  background: var(--purple-deep);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}
td { font-size: 0.93rem; }
tr:hover { background: var(--off-white); }

/* === LIST CHECK === */
.list-check li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
}
.list-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}

/* === MAP === */
.map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(45,27,78,0.1);
}
.map-wrapper iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* === 404 === */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1rem 4rem;
  background: var(--off-white);
}
.page-404 h1 {
  font-size: clamp(5rem, 12vw, 10rem);
  color: var(--purple-mid);
  opacity: 0.3;
  line-height: 1;
}
.page-404 h2 { margin-bottom: 1rem; }
.page-404 p { margin-bottom: 2rem; color: var(--gray-mid); }
