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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  background: #f5f7fa;
  line-height: 1.7;
}

/* Home page only: hide the header logo (hero block has its own branding) */
body.home .site-logo {
  display: none !important;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #3b1f6e;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo {
  height: 34px;
  width: auto;
  display: block;
}

.logo-icon {
  display: none;
}


.logo-icon {
  background: linear-gradient(135deg, #7C3AED, #A855F7);
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.header-center {
  display: none;
}

.header-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

.header-brand {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 0 0 2px #7C3AED, 0 0 8px rgba(124, 58, 237, 0.5);
}

.header-tagline {
  font-size: 0.7rem;
  font-weight: 400;
  color: #c4a8ff;
}

.logo-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.logo-text small {
  font-weight: 400;
  font-size: 0.75rem;
  display: block;
  color: #c4a8ff;
}

/* Navigation */
nav a {
  color: #e8d5ff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #3b1f6e 0%, #7C3AED 100%);
  color: #fff;
  padding: 80px 0 70px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 28px;
  opacity: 0.9;
  line-height: 1.8;
}

.hero-logo {
  display: block;
  height: 140px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 20px;
}

.hero-tagline {
  display: block;
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 8px;
  opacity: 0.85;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #fff;
  color: #3b1f6e;
}

.btn-primary:hover {
  background: #f3e8ff;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
}

.btn-accent {
  background: #7C3AED;
  color: #fff;
}

.btn-accent:hover {
  background: #7C3AED;
}

/* Sections */
section {
  padding: 64px 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3b1f6e;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  color: #7a6299;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #f0e6ff;
  transition: box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.service-card .card-icon {
  width: 56px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #3b1f6e;
  margin-bottom: 10px;
}

.service-card p {
  color: #7a6299;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-card .btn-accent {
  font-size: 0.85rem;
  padding: 8px 20px;
}

/* CTA Section */
.cta {
  background: #3b1f6e;
  color: #fff;
  text-align: center;
  padding: 60px 0;
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #3b1f6e 0%, #7C3AED 100%);
  color: #fff;
  padding: 56px 0 48px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-header p {
  opacity: 0.85;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Content */
.content-section {
  background: #fff;
  border-radius: 10px;
  padding: 48px;
  margin: 40px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #f0e6ff;
}

.content-section h2 {
  font-size: 1.5rem;
  color: #3b1f6e;
  margin-bottom: 16px;
}

.content-section h3 {
  font-size: 1.15rem;
  color: #7C3AED;
  margin: 24px 0 10px;
}

.content-section p {
  margin-bottom: 16px;
  color: #7a6299;
}

.content-section ul {
  margin: 0 0 20px 20px;
  color: #7a6299;
}

.content-section li {
  margin-bottom: 8px;
}

/* Service detail page */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.service-detail-text ul {
  list-style: none;
  margin-left: 0;
}

.service-detail-text li {
  padding-left: 24px;
  position: relative;
}

.service-detail-text li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #7C3AED;
  font-weight: 700;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a1a2e;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #7C3AED;
  box-shadow: 0 0 0 3px rgba(44,111,170,0.12);
}

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

.contact-info-card {
  background: #f5f7fa;
  border-radius: 10px;
  padding: 32px;
  border: 1px solid #f0e6ff;
}

.contact-info-card h3 {
  font-size: 1.2rem;
  color: #3b1f6e;
  margin-bottom: 16px;
}

.contact-info-card p {
  margin-bottom: 10px;
  color: #7a6299;
}

.contact-info-card strong {
  color: #3b1f6e;
}

/* About */
.about-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: start;
}

.about-photo {
  width: 200px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f0e6ff;
}

/* Footer */
footer {
  background: #3b1f6e;
  color: #c4a8ff;
  padding: 40px 0 28px;
  font-size: 0.9rem;
}

footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

footer h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1rem;
}

footer a {
  color: #c4a8ff;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  transition: color 0.2s;
}

footer a:hover {
  color: #fff;
}

footer .copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  margin-top: 8px;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0 4px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 10px 14px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  section {
    padding: 40px 0;
  }

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

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .about-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo {
    margin: 0 auto;
  }

  footer .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .content-section {
    padding: 28px 20px;
  }

  .page-header h1 {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .logo img {
    height: 36px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .container {
    padding: 0 16px;
  }
}
