:root {
  --purple: #6000cd;
  --purple-dark: #4a00a0;
  --purple-soft: #f4ecff;
  --ink: #111111;
  --muted: #5b5b5b;
  --line: #e8e8e8;
  --white: #ffffff;
  --bg: #ffffff;
  --footer-bg: #0f0f12;
  --container: 1140px;
  --font: "Libre Franklin", "Segoe UI", sans-serif;
  --radius: 4px;
  --shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--purple);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 280px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  padding: 0.55rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius);
}

.nav a:hover,
.nav a.active {
  color: var(--purple);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border: 1.5px solid var(--purple);
  color: var(--purple);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--purple);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  background: var(--purple);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid var(--purple);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
}

.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
}

.eyebrow {
  color: var(--purple);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

/* Hero */
.hero {
  padding: 4.5rem 0 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(96, 0, 205, 0.08), transparent 55%),
    linear-gradient(180deg, #faf7ff 0%, #ffffff 70%);
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.08rem;
  max-width: 640px;
  margin: 0 auto 1.6rem;
}

.hero-visual {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  animation: heroRise 1.1s ease both;
}

.hero-visual img {
  width: 100%;
  height: clamp(220px, 38vw, 420px);
  object-fit: cover;
}

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

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #faf8ff 0%, #ffffff 100%);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.section-head p {
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #d9c4ff;
}

.service-card-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.service-card-body {
  padding: 1.5rem 1.35rem 1.65rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
}

.service-card p {
  margin-bottom: 1.1rem;
}

.learn-more {
  color: var(--purple);
  font-weight: 600;
  font-size: 0.92rem;
}

.learn-more:hover {
  text-decoration: underline;
}

.about-grid,
.feature-grid,
.why-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.feature-item h3,
.why-card h3 {
  font-size: 1.15rem;
}

.about-visual,
.why-visual {
  border-radius: 8px;
  overflow: hidden;
  min-height: 360px;
  background: #ece6f7;
}

.about-visual img,
.why-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.why-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.why-visual {
  min-height: 420px;
}

.why-visual img {
  min-height: 420px;
}

.why-list {
  display: grid;
  gap: 1.25rem;
}

.why-card {
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--purple);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.04);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.quote-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
}

.quote-card::before {
  content: "“";
  position: absolute;
  top: 0.6rem;
  left: 1rem;
  font-size: 3rem;
  color: var(--purple);
  opacity: 0.35;
  line-height: 1;
}

.quote-card p {
  margin-top: 1rem;
}

.quote-card cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

.cta-banner {
  padding: 4.5rem 0;
  background:
    linear-gradient(120deg, rgba(74, 0, 160, 0.78), rgba(96, 0, 205, 0.72)),
    url("assets/cta.jpg") center / cover no-repeat;
  color: var(--white);
  text-align: center;
}

.cta-banner h2,
.cta-banner p {
  color: var(--white);
}

.cta-banner p {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  opacity: 0.92;
}

.cta-banner .btn {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}

.cta-banner .btn:hover {
  background: var(--purple-soft);
}

/* Inner pages */
.page-hero {
  padding: 3.5rem 0 2rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(96, 0, 205, 0.1), transparent 45%),
    linear-gradient(180deg, #f8f4ff 0%, #ffffff 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.8rem);
  max-width: 820px;
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: var(--purple);
}

.offer-list {
  display: grid;
  gap: 1.5rem;
}

.offer-item {
  padding: 1.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.offer-item:hover {
  border-color: #d9c4ff;
  box-shadow: var(--shadow);
}

.offer-media {
  aspect-ratio: 21 / 9;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #eee;
}

.offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-item h2 {
  font-size: 1.35rem;
  color: var(--purple);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.value-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
}

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

.mission-card {
  padding: 1.75rem;
  background: var(--purple-soft);
  border-radius: 6px;
}

.mission-card h3 {
  color: var(--purple);
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-panel,
.contact-form {
  padding: 1.75rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-meta {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.contact-meta a:hover {
  color: var(--purple);
}

.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: #fafafa;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(96, 0, 205, 0.25);
  border-color: var(--purple);
  background: var(--white);
}

.form-note {
  min-height: 1.5rem;
  margin-top: 0.75rem;
  color: var(--purple);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: #cfcfd4;
  padding: 2.5rem 0 1.75rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-weight: 600;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.footer-links a {
  color: #d7d7dc;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #c9a6ff;
}

.footer-bottom {
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.88rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .services-grid,
  .feature-grid,
  .values-grid,
  .testimonials,
  .mission-grid,
  .about-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1rem;
    box-shadow: 0 16px 30px rgba(17, 17, 17, 0.06);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.5rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .about-visual,
  .why-visual {
    min-height: 260px;
  }
}

@media (max-width: 600px) {
  .logo-text {
    font-size: 0.82rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
