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

:root {
  --plum-50: #faf5f9;
  --plum-100: #f3e8f1;
  --plum-200: #e7c7df;
  --plum-300: #d49cc4;
  --plum-400: #c06fa8;
  --plum-500: #a84d8f;
  --plum-600: #8e3a75;
  --plum-700: #7B2D8B;
  --plum-800: #5e1f6a;
  --plum-900: #3d1247;
  --plum-950: #220a28;

  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #F5C54B;
  --amber-500: #d97706;
  --amber-600: #b45309;
  --amber-700: #92400e;
  --amber-800: #78350f;
  --amber-900: #451a03;

  --text-dark: #1a0a14;
  --text-mid: #4a3042;
  --text-light: #7a5a6e;
  --text-on-dark: #f5e6f0;
  --text-on-dark-muted: #c4a3b8;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--plum-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

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

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--plum-500);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--plum-900);
  margin-bottom: 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber-400);
  color: var(--text-dark);
  border-color: var(--amber-400);
}

.btn-primary:hover {
  background: var(--amber-500);
  border-color: var(--amber-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 197, 75, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-secondary:hover {
  background: var(--text-dark);
  color: var(--plum-50);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--plum-950);
  border-color: var(--plum-950);
}

.btn-outline-light:hover {
  background: var(--plum-950);
  color: var(--plum-50);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.0625rem;
}

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

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 245, 249, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(123, 45, 139, 0.08);
  transition: background 0.3s var(--ease-out);
}

.nav.scrolled {
  background: rgba(250, 245, 249, 0.96);
  box-shadow: 0 4px 32px rgba(123, 45, 139, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--plum-900);
}

.nav-logo-icon {
  font-size: 1.5rem;
  color: var(--amber-400);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber-400);
  transition: width 0.3s var(--ease-out);
}

.nav-menu a:hover { color: var(--plum-700); }
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
  background: var(--plum-700);
  color: var(--plum-50) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s var(--ease-out) !important;
}

.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--plum-800) !important;
  color: var(--plum-50) !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--plum-900);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: var(--plum-50);
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: -8px 0 32px rgba(0,0,0,0.1);
  }

  .nav-menu.open { transform: translateX(0); }

  .nav-menu a {
    font-size: 1.125rem;
    color: var(--text-dark);
  }

  .nav-cta {
    margin-top: 8px;
  }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--plum-950) 0%,
    var(--plum-800) 25%,
    var(--plum-700) 50%,
    var(--plum-600) 75%,
    var(--plum-500) 100%
  );
  padding: 120px 24px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(245, 197, 75, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(168, 77, 143, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

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

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

.hero-headline {
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--plum-50);
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero-headline em {
  font-style: italic;
  color: var(--amber-400);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

.hero-actions .btn-secondary {
  border-color: var(--plum-200);
  color: var(--plum-100);
}

.hero-actions .btn-secondary:hover {
  background: var(--plum-100);
  color: var(--plum-900);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--plum-300);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--plum-300), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── Section base ── */
.section {
  padding: 100px 0;
}

/* ── Services ── */
.services {
  background: var(--plum-50);
}

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

.service-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(123, 45, 139, 0.06);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(123, 45, 139, 0.12);
}

.service-card-img {
  height: 260px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 28px;
}

.service-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--plum-900);
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ── About ── */
.about {
  background: white;
}

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

.about-images {
  position: relative;
  height: 600px;
}

.about-img-main {
  width: 75%;
  height: 460px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(123, 45, 139, 0.15);
}

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

.about-img-float {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  border: 6px solid white;
  box-shadow: 0 12px 40px rgba(123, 45, 139, 0.12);
}

.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content { max-width: 480px; }

.about-text {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

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

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

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-images { height: 400px; }
  .about-img-main { height: 340px; }
  .about-img-float { height: 200px; }
}

/* ── Gallery ── */
.gallery {
  background: var(--plum-50);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-row: span 2; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) { grid-row: span 1; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--plum-950) 0%,
    var(--plum-800) 50%,
    var(--plum-700) 100%
  );
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(245, 197, 75, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-eyebrow { color: var(--amber-400); }

.cta-title {
  color: var(--plum-50);
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.0625rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact ── */
.contact {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-text {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  list-style: none;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--plum-500);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--plum-900);
  margin-bottom: 2px;
}

.contact-item span,
.contact-item a {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.contact-item a:hover { color: var(--plum-600); }

/* Form */
.contact-form-wrapper {
  background: var(--plum-50);
  border-radius: 20px;
  padding: 40px;
}

.contact-form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--plum-900);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--plum-200);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--plum-500);
  box-shadow: 0 0 0 3px rgba(123, 45, 139, 0.1);
}

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

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

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  font-size: 0.875rem;
  color: #065f46;
  line-height: 1.5;
}

.form-success svg {
  width: 20px;
  height: 20px;
  color: #059669;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px; }
}

/* ── Footer ── */
.footer {
  background: var(--plum-950);
  color: var(--text-on-dark-muted);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { max-width: 280px; }

.footer-logo-icon {
  font-size: 2rem;
  color: var(--amber-400);
  display: block;
  margin-bottom: 8px;
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--plum-100);
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
}

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

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-on-dark-muted);
  transition: color 0.2s;
}

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

.footer-address p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-on-dark-muted);
}

.footer-copy {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--plum-400);
  padding-top: 24px;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { max-width: none; }
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
  .hero-scroll-line { animation: none; }
}
