/* === CSS Custom Properties === */
:root {
  --purple: #38028C;
  --purple-dark: #270162;
  --purple-light: #5A1DB8;
  --yellow: #FFD700;
  --yellow-soft: #FFF3B0;
  --green: #3A8C3F;
  --green-light: #E8F5E9;
  --white: #FFFFFF;
  --off-white: #FAFAF7;
  --gray-100: #F5F5F0;
  --gray-200: #E8E8E3;
  --gray-600: #6B6B60;
  --gray-800: #2A2A25;
  --charcoal: #1A1A15;
  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === Skip Link === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--purple);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* === Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 21, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--yellow);
  transition: background 0.3s var(--ease-out);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-link img { height: 48px; width: auto; }

.nav-desktop { display: flex; gap: 8px; }
.nav-desktop a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-200);
  padding: 8px 16px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--yellow);
  background: rgba(255, 215, 0, 0.08);
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal) !important;
  background: var(--yellow) !important;
  padding: 10px 20px !important;
  border-radius: 6px;
  transition: transform 0.15s, box-shadow 0.15s !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.35);
}
.nav-cta:active { transform: translateY(0); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--yellow);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 21, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 999;
}
.nav-mobile.active { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  transition: color 0.15s;
}
.nav-mobile a:hover { color: var(--yellow); }

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(39, 1, 98, 0.88) 0%, rgba(26, 26, 21, 0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: fadeInDown 0.6s var(--ease-out) both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.7s var(--ease-out) 0.1s both;
}
.hero h1 .accent { color: var(--yellow); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 36px;
  animation: fadeInUp 0.7s var(--ease-out) 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s var(--ease-out) 0.3s both;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.btn-primary {
  background: var(--yellow);
  color: var(--charcoal);
}
.btn-primary:hover { box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.15);
}

.btn-dark {
  background: var(--purple);
  color: var(--white);
}
.btn-dark:hover { box-shadow: 0 8px 24px rgba(56, 2, 140, 0.4); }

/* === Section Utility === */
.section-pad { padding: 100px 24px; }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple);
  background: rgba(56, 2, 140, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-label-light {
  color: var(--yellow);
  background: rgba(255, 215, 0, 0.12);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.7;
}

/* === Services Section === */
.services {
  background: var(--white);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--yellow), var(--green));
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}
.services-header .section-sub { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--off-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(56, 2, 140, 0.1);
}
.service-card-img {
  height: 200px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s 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-display);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--purple-dark);
}
.service-card-body p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(56, 2, 140, 0.06);
  color: var(--purple);
}

/* === About Section === */
.about {
  background: var(--gray-100);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}
.about-img::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 120px;
  height: 120px;
  background: var(--yellow);
  border-radius: 12px;
  z-index: -1;
}
.about-text h2 { color: var(--purple-dark); }
.about-text p {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 20px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-800);
}
.about-feature .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* === Why Choose Us === */
.why-us {
  background: var(--purple-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
}
.why-us-header {
  text-align: center;
  margin-bottom: 60px;
}
.why-us-header .section-title { color: var(--white); }
.why-us-header .section-sub { color: rgba(255, 255, 255, 0.7); margin: 0 auto; }

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.why-us-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 36px;
  transition: background 0.3s, border-color 0.3s;
}
.why-us-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 215, 0, 0.3);
}
.why-us-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 215, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.why-us-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--yellow);
}
.why-us-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === Service Area / Map === */
.service-area {
  background: var(--white);
  position: relative;
}
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.area-text h2 { color: var(--purple-dark); }
.area-text p {
  color: var(--gray-600);
  margin-top: 16px;
  line-height: 1.7;
}
.area-img {
  border-radius: 16px;
  overflow: hidden;
}
.area-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
#map {
  height: 400px;
  border-radius: 16px;
  border: 2px solid var(--gray-200);
  z-index: 1;
}

/* === Contact / CTA Section === */
.contact-section {
  position: relative;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background: url('../img/cta-bg.jpg') center/cover no-repeat;
  z-index: 0;
}
.contact-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(39, 1, 98, 0.92) 0%, rgba(26, 26, 21, 0.88) 100%);
}
.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
}
.contact-info > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 215, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-detail h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow);
  margin-bottom: 4px;
}
.contact-detail p,
.contact-detail a {
  color: var(--white);
  font-size: 1rem;
}
.contact-detail a:hover { color: var(--yellow); }

.payment-methods {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.payment-methods h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow);
  margin-bottom: 12px;
}
.payment-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.payment-tag {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
}
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--purple-dark);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--off-white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  min-height: 48px;
}
.form-submit:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
}
.form-submit:active { transform: translateY(0); }
.form-submit:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

#form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  display: none;
}
#form-status.success {
  display: block;
  background: var(--green-light);
  color: var(--green);
}
#form-status.error {
  display: block;
  background: #FEE2E2;
  color: #DC2626;
}

/* === Footer === */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 24px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 36px; width: auto; }
.footer-brand span {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
}

/* === Scroll Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }

/* === Keyframes === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Responsive === */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }

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

  .about-grid,
  .area-grid,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .why-us-grid { grid-template-columns: 1fr; }

  .about-img { order: -1; }
  .about-img img { height: 280px; }

  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .section-pad { padding: 60px 16px; }
  .hero-content { padding: 100px 16px 60px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .contact-form-wrap { padding: 24px; }
  .about-features { grid-template-columns: 1fr; }
  .service-card-img { height: 160px; }
}

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