/* === BASE === */
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.4rem; }

h1 em, h2 em {
  font-style: italic;
  color: var(--rose-dk);
}

a { transition: color 0.2s; }
a:hover { color: var(--rose-dk); }

img { border-radius: var(--radius-md); }

/* === CONTAINER === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--rose-dk);
  color: var(--white);
  border-color: var(--rose-dk);
}

.btn-primary:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(176, 120, 120, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--rose-dk);
  border-color: var(--rose-dk);
}

.btn-outline:hover {
  background: var(--rose-dk);
  color: var(--white);
  transform: translateY(-2px);
}

/* === SECTION HELPERS === */
.section-title {
  text-align: center;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === NAV === */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 0;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--rose-dk);
}

.nav-cta-btn {
  background: var(--rose-dk);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius-xl);
}

.nav-cta-btn:hover {
  background: var(--rose-deep);
  color: var(--white) !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO === */
#hero {
  padding: 80px 0 60px;
}

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

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  gap: 32px;
}

.badge {
  text-align: center;
}

.badge-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--rose-dk);
}

.badge-label {
  font-size: 0.8rem;
  color: var(--text-hint);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blob {
  position: absolute;
  width: 380px;
  height: 380px;
  background: var(--rose-lt);
  border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%;
  animation: blobMove 8s ease-in-out infinite;
}

@keyframes blobMove {
  0%, 100% { border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%; }
  50% { border-radius: 40% 60% 50% 50% / 60% 40% 50% 60%; }
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* === STRIP === */
#strip {
  background: var(--rose);
  padding: 16px 0;
}

.strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--rose-deep);
  font-weight: 500;
}

.strip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose-deep);
  opacity: 0.5;
}

/* === SUBJECTS === */
#subjects {
  padding: var(--section-y) 0;
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.subject-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.subject-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(180, 140, 140, 0.15);
}

.subject-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.subject-card h3 {
  margin-bottom: 10px;
  color: var(--text);
}

.subject-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* === PRICING === */
#pricing {
  padding: var(--section-y) 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card.featured {
  background: var(--white);
  border: 2px solid var(--rose-dk);
  box-shadow: 0 12px 40px rgba(176, 120, 120, 0.18);
  transform: scale(1.04);
}

.price-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rose-dk);
  color: var(--white);
  padding: 4px 18px;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
}

.price-card h3 {
  margin-bottom: 8px;
}

.price {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--rose-dk);
  margin-bottom: 4px;
}

.price-desc {
  color: var(--text-hint);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.price-card ul {
  text-align: left;
  margin-bottom: 24px;
}

.price-card li {
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.price-card li::before {
  content: '✓ ';
  color: var(--rose-dk);
  font-weight: 600;
}

.price-card .btn {
  width: 100%;
}

/* === TEAM === */
#team {
  padding: var(--section-y) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-photo-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--rose-lt);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-role {
  color: var(--rose-dk);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.team-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* === TESTIMONIALS === */
#testimonials {
  padding: var(--section-y) 0;
  background: var(--rose-lt);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}

.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.7;
}

.testimonial-author strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
}

.testimonial-author span {
  color: var(--text-hint);
  font-size: 0.8rem;
}

/* === CTA === */
#cta {
  padding: var(--section-y) 0;
  background: var(--white);
}

.cta-inner {
  text-align: center;
  max-width: 560px;
}

.cta-inner h2 {
  margin-bottom: 12px;
}

.cta-inner > p {
  color: var(--text-muted);
  margin-bottom: 36px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-form input {
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--cream);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.cta-form input:focus {
  outline: none;
  border-color: var(--rose-dk);
}

.cta-form .btn {
  margin-top: 4px;
}

.form-success {
  color: var(--rose-dk);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 24px 0;
}

/* === FOOTER === */
#footer {
  background: var(--text);
  color: var(--rose-lt);
  padding-top: 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
  color: var(--white);
  display: block;
  margin-bottom: 6px;
}

.footer-brand p {
  color: var(--text-hint);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--rose);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-contacts {
  display: flex;
  gap: 20px;
}

.footer-contacts a {
  color: var(--rose);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-contacts a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 16px 0;
}

.footer-bottom p {
  text-align: center;
  color: var(--text-hint);
  font-size: 0.8rem;
}

/* === MOBILE === */
@media (max-width: 1024px) {
  .subjects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .container { padding: 0 20px; }

  /* Nav mobile */
  .burger { display: flex; }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  /* Hero mobile */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-sub { margin: 0 auto 32px; }
  .hero-btns { justify-content: center; }
  .hero-badges { justify-content: center; }

  .hero-visual { order: -1; }

  .blob { width: 280px; height: 280px; }
  .hero-photo { width: 260px; height: 260px; }

  /* Strip mobile */
  .strip-inner {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 1rem;
  }

  /* Team mobile */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pricing mobile */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .price-card.featured {
    transform: none;
  }

  .price-card.featured:hover {
    transform: translateY(-4px);
  }

  /* Testimonials mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Footer mobile */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Buttons */
  .btn { min-height: 48px; }
}

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

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

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns .btn {
    width: 100%;
  }
}
