*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #8f32d1;
  --purple-dark: #6a1fa0;
  --purple-light: #b06de8;
  --purple-faint: #f4ecfc;
  --gold: #d6b936;
  --gold-light: #e8d06a;
  --gold-faint: #fdf8e8;
  --ink: #1a1025;
  --ink-muted: #5a4d6b;
  --surface: #ffffff;
  --border: #e8dff5;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(143,50,209,0.10);
  --shadow-lg: 0 12px 48px rgba(143,50,209,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: var(--shadow); }

/* Logo area: image + wordmark side by side */
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.nav-logo-img {
  width: 36px; height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--purple-faint);
  border: 1px solid var(--border);
  /* Shown when a real logo image is provided */
}
.nav-logo-placeholder {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; font-weight: 700;
  flex-shrink: 0;
}
.nav-logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--purple);
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-logo-wordmark span { color: var(--gold); }

.nav-links {
  display: flex; gap: 2rem; list-style: none; align-items: center;
}
.nav-links a {
  font-size: 0.92rem; font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }

.nav-cta {
  background: var(--purple);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--purple-dark) !important; transform: translateY(-1px); }

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center; gap: 0.25rem;
  background: var(--purple-faint);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.2rem 0.3rem;
}
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-size: 0.78rem; font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  color: var(--ink-muted);
  transition: background 0.2s, color 0.2s;
  font-family: var(--font-body);
}
.lang-btn.active {
  background: var(--purple);
  color: #fff;
}

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--purple); border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 5% 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 30%, rgba(143,50,209,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(214,185,54,0.10) 0%, transparent 55%),
    var(--purple-faint);
}

.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); pointer-events: none;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(143,50,209,0.15);
  right: -100px; top: -80px;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: rgba(214,185,54,0.18);
  left: 5%; bottom: 5%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.04); }
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(214,185,54,0.15);
  border: 1px solid rgba(214,185,54,0.4);
  color: #7a6010;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.82rem; font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.hero-badge::before { content: '✦'; color: var(--gold); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--purple); }

.hero p {
  font-size: 1.12rem;
  color: var(--ink-muted);
  max-width: 520px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 1rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(143,50,209,0.3);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(143,50,209,0.4);
}

.btn-secondary {
  color: var(--purple);
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  font-size: 1rem; font-weight: 500;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--purple);
  background: transparent;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-secondary:hover {
  background: var(--purple-faint);
  transform: translateY(-2px);
}

.hero-stats {
  position: absolute; right: 5%; bottom: 12%;
  z-index: 1;
  display: flex; flex-direction: column; gap: 1rem;
}

.stat-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow);
  min-width: 160px;
  animation: fadeUp 0.8s ease both;
}
.stat-card:nth-child(2) { animation-delay: 0.15s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--purple);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--ink-muted); font-weight: 500; margin-top: 0.2rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── SECTIONS GENERAL ── */
section { padding: 6rem 5%; }

.section-label {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--purple); }

.section-sub {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}

/* ── SERVICES ── */
#services { background: #fff; }

.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--purple-faint), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--purple-light); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.3rem;
  box-shadow: 0 4px 12px rgba(143,50,209,0.25);
  position: relative; z-index: 1;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  position: relative; z-index: 1;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--ink-muted);
  line-height: 1.65;
  position: relative; z-index: 1;
}

.service-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.75rem; font-weight: 600;
  color: var(--purple);
  background: var(--purple-faint);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  position: relative; z-index: 1;
}

/* ── WHY US ── */
#why {
  background: linear-gradient(160deg, #1a1025 0%, #2d1654 100%);
  position: relative; overflow: hidden;
}
#why::before {
  content: '';
  position: absolute; right: -200px; top: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214,185,54,0.08) 0%, transparent 65%);
}

#why .section-label { color: var(--gold); }
#why .section-title { color: #fff; }
#why .section-sub { color: rgba(255,255,255,0.6); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.why-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.6rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  transition: background 0.25s, border-color 0.25s;
}
.why-item:hover { background: rgba(255,255,255,0.08); border-color: rgba(214,185,54,0.25); }

.why-dot {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(214,185,54,0.2), rgba(214,185,54,0.05));
  border: 1px solid rgba(214,185,54,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; margin-top: 2px;
}

.why-item h4 { font-family: var(--font-display); font-size: 1.05rem; color: #fff; margin-bottom: 0.4rem; }
.why-item p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ── CONTACT ── */
#contact { background: var(--purple-faint); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3.5rem;
}

.contact-info h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin-bottom: 1rem; }
.contact-info p { color: var(--ink-muted); font-size: 0.95rem; line-height: 1.7; font-weight: 300; margin-bottom: 2rem; }

.contact-item { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.1rem; }
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--purple);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
  box-shadow: 0 3px 10px rgba(143,50,209,0.25);
}
.contact-item span { font-size: 0.93rem; color: var(--ink-muted); }
.contact-item strong { display: block; color: var(--ink); font-size: 0.88rem; }

/* ── FORM ── */
.contact-form {
  background: #fff;
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group:last-of-type { margin-bottom: 1.5rem; }

.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--ink);
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(143,50,209,0.1);
  background: #fff;
}
.form-group textarea { min-height: 120px; }

.form-submit {
  width: 100%;
  background: var(--purple);
  color: #fff;
  padding: 0.95rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(143,50,209,0.3);
}
.form-submit:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(143,50,209,0.4); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-success { text-align: center; padding: 2rem 0; }
.form-success .check { font-size: 3rem; margin-bottom: 1rem; }
.form-success h4 { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin-bottom: 0.5rem; }
.form-success p { color: var(--ink-muted); font-size: 0.93rem; }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 3rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
}

.footer-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.footer-logo-placeholder {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: #fff; font-weight: 700;
  flex-shrink: 0;
}
.footer-logo-wordmark {
  font-family: var(--font-display); font-size: 1.3rem; color: #fff;
}
.footer-logo-wordmark span { color: var(--gold); }

.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

.footer-copy { font-size: 0.82rem; }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  z-index: 99;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-size: 2rem; color: var(--ink); text-decoration: none; transition: color 0.2s; }
.mobile-menu a:hover { color: var(--purple); }
.mobile-menu-close { position: absolute; top: 1.5rem; right: 5%; font-size: 1.5rem; cursor: pointer; background: none; border: none; color: var(--ink); }

.mobile-lang {
  display: flex; gap: 0.5rem;
}
.mobile-lang .lang-btn {
  font-size: 1rem; padding: 0.4rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  color: var(--ink-muted);
}
.mobile-lang .lang-btn.active {
  background: var(--purple); color: #fff; border-color: var(--purple);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-stats { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  section { padding: 4rem 5%; }
  .hero { padding: 7rem 5% 4rem; }
  footer { flex-direction: column; text-align: center; }
  .services-header { flex-direction: column; }
}
