/* ===== CSS VARIABLES ===== */
:root {
  --purple: #6B3FA0;
  --purple-dark: #4e2d7a;
  --purple-light: #8B5FC0;
  --gold: #C9A84C;
  --gold-light: #dfc06e;
  --bg: #F5F0FA;
  --text: #2D1F3D;
  --grey: #7A6D8A;
  --white: #ffffff;
  --font-display: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(107, 63, 160, 0.12);
  --shadow-lg: 0 12px 48px rgba(107, 63, 160, 0.2);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 240, 250, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 63, 160, 0.08);
  transition: box-shadow var(--transition);
}
header.scrolled { box-shadow: var(--shadow); }

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo img { height: 36px; width: auto; }

nav { display: flex; align-items: center; gap: 2rem; }
nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
nav a:hover { color: var(--purple); }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--purple); }
nav a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--bg);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(107,63,160,0.1);
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(107,63,160,0.08);
}
.mobile-nav .nav-cta {
  text-align: center;
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  font-family: var(--font-body);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-purple {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline-purple:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-purple {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.btn-purple:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== SECTION BASE ===== */
section { padding: 6rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title em { color: var(--purple); font-style: italic; }

/* ===== SUBPAGE HERO ===== */
.subpage-hero {
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  background: var(--purple);
  position: relative;
  overflow: hidden;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -200px; right: -100px;
  animation: pulse 6s ease-in-out infinite;
}
.subpage-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.subpage-hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.subpage-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}
.subpage-hero h1 em { color: var(--gold); font-style: italic; }
.subpage-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}
.subpage-hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}

/* ===== SLOGAN STRIP ===== */
.slogan-strip {
  background: var(--gold);
  padding: 1.25rem 2rem;
  text-align: center;
  overflow: hidden;
}
.slogan-strip p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--white);
  font-style: italic;
}
.slogan-strip-purple { background: var(--purple); }

/* ===== SERVICE LIST (subpages) ===== */
.services-list {
  background: var(--white);
  padding: 5rem 2rem;
}
.services-list-grid {
  max-width: 900px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(107,63,160,0.08);
  transition: background var(--transition);
}
.service-item:last-child { border-bottom: none; }
.service-item-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: background var(--transition);
}
.service-item:hover .service-item-icon { background: var(--purple); }
.service-item-body {}
.service-item-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.service-item-desc {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  background: var(--bg);
  padding: 5rem 2rem;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
  text-align: center;
}
.how-step {}
.how-step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}
.how-step-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
.how-step-desc { font-size: 0.875rem; color: var(--grey); line-height: 1.6; }

/* ===== ICONS SECTION ===== */
.icons-section { background: var(--white); padding: 5rem 2rem; }
.icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1000px;
  margin: 2.5rem auto 0;
  text-align: center;
}
.icon-card { padding: 1rem; }
.icon-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(107,63,160,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all var(--transition);
}
.icon-card:hover .icon-circle {
  background: var(--purple);
  border-color: var(--purple);
  transform: scale(1.08);
}
.icon-circle svg { width: 32px; height: 32px; }
.icon-card:hover .icon-circle svg path,
.icon-card:hover .icon-circle svg circle,
.icon-card:hover .icon-circle svg polyline,
.icon-card:hover .icon-circle svg line { stroke: white; }
.icon-title { font-weight: 600; font-size: 1rem; color: var(--text); margin-bottom: 0.5rem; line-height: 1.3; }
.icon-desc { font-size: 0.875rem; color: var(--grey); line-height: 1.6; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--purple);
  padding: 4rem 2rem;
  text-align: center;
  color: white;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.75rem;
  line-height: 1.3;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CONTACT SECTION ===== */
.contact-section { background: var(--purple); padding: 5rem 2rem; color: white; }
.contact-inner { max-width: 1000px; margin: 0 auto; }
.contact-inner .section-label { color: var(--gold); }
.contact-inner .section-title { color: white; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}
.contact-phone {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  color: white;
  transition: background var(--transition), transform var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}
.contact-phone:hover { background: rgba(255,255,255,0.15); transform: translateX(4px); }
.contact-phone-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-phone-name { font-size: 0.78rem; opacity: 0.7; }
.contact-phone-number { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.02em; }
.contact-phone-role { font-size: 0.72rem; opacity: 0.6; }
.contact-map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  height: 180px;
  margin-top: 1rem;
}
.map-placeholder {
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  line-height: 1.6;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  appearance: none;
}
.form-group input::placeholder { color: rgba(255,255,255,0.35); }
.form-group select option { background: var(--purple-dark); color: white; }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}
.form-submit-note { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 0.75rem; text-align: center; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  border: 1px solid rgba(201,168,76,0.3);
}
.form-success h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--gold); }
.form-success p { font-size: 0.9rem; opacity: 0.8; }

/* ===== FOOTER ===== */
footer { background: var(--purple-dark); padding: 2.5rem 2rem; color: rgba(255,255,255,0.6); }
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-logo { height: 32px; width: auto; margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.82rem; line-height: 1.5; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.4rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1000px;
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  text-align: center;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .icons-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .how-steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  section { padding: 4rem 1.25rem; }
  .icons-section, .services-list, .how-section,
  .contact-section, .cta-section { padding: 4rem 1.25rem; }
}
@media (max-width: 480px) {
  .subpage-hero-cta, .cta-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
}
