/* Talib marketing site — rebuilt from the original WordPress (Lativ) design */
:root {
  --primary: #400000;
  --blush: #f2e8e8;
  --rose: #ca9d9d;
  --white: #ffffff;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --max: 1200px;
  --gradient: linear-gradient(127deg, #f2b8b8 0%, #e69898 29%, #fff4f4 65%, #fff4f4 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary);
  background: var(--white) var(--gradient) no-repeat;
  background-size: 100% 100vh;
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; padding: 20px; }
.header-bar {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 6px 24px rgba(64, 0, 0, 0.05);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.6rem; }
.brand img { width: 40px; height: 40px; }
.nav { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 0.9rem; font-weight: 400; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--primary); cursor: pointer; padding: 6px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  border: 0;
  border-radius: var(--radius-pill);
  padding: 12px 30px;
  font: 500 0.95rem 'Sora', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.88; }
.btn-light { background: var(--white); color: var(--primary); }

/* Hero */
.hero { text-align: center; padding: 100px 20px 60px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 4.8rem); font-weight: 700; margin-bottom: 0.4em; }
.hero p { font-size: 1.05rem; margin: 0 0 48px; }
.store-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  padding: 10px 22px 10px 16px;
  min-width: 190px;
}
.store-badge svg { width: 28px; height: 28px; flex: none; }
.store-badge small { display: block; font-size: 0.68rem; line-height: 1.1; font-weight: 400; }
.store-badge strong { display: block; font-size: 1.15rem; line-height: 1.2; font-weight: 600; }

/* Sections */
.section { padding: 60px 20px; }
.section-title { text-align: center; font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 40px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--max); margin: 0 auto; align-items: start; }
.card { border-radius: var(--radius-lg); padding: 50px 30px; min-height: 340px; }
.card h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 400; margin-bottom: 1em; }
.card p { margin: 0; font-size: 0.95rem; }
.card-1 { background: var(--blush); }
.card-2 { background: var(--primary); color: var(--white); margin-top: 0; }
.card-3 { background: var(--rose); color: var(--white); margin-top: 40px; }

/* Testimonial */
.testimonial { background: var(--primary); color: var(--white); padding: 90px 20px; }
.testimonial .inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.testimonial img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1; object-fit: cover; }
.testimonial blockquote { margin: 0 0 30px; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.3; }
.testimonial .who { margin: 0 0 30px; font-size: 0.9rem; }
.testimonial .who strong { display: block; font-weight: 500; }

/* Premium */
.premium-wrap { padding: 80px 20px; background: linear-gradient(180deg, #fbeaea 0%, #fff7f7 100%); }
.premium {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.premium h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.premium p { margin: 0 0 28px; }
.premium .art { background: var(--primary); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; }
.premium .art img { width: 100%; height: 100%; object-fit: cover; }

/* Generic page panel (About, Contact, Courses) */
.panel { max-width: var(--max); margin: 20px auto 60px; background: var(--white); border-radius: var(--radius-lg); padding: 70px 20px; }
.panel > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.panel h1 { text-align: center; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 500; }
.panel h2 { font-size: 1.35rem; margin-top: 1.8em; }
.panel .lead { text-align: center; }
.panel img { border-radius: var(--radius-lg); margin: 30px auto; }
.panel p { margin-top: 0; margin-bottom: 1.1em; }
.kicker strong { font-weight: 600; }

/* Courses */
.course-list { display: grid; gap: 20px; max-width: 900px !important; margin-top: 40px; }
.course { border-radius: var(--radius-lg); padding: 36px; background: var(--blush); }
.course:nth-child(2) { background: var(--primary); color: var(--white); }
.course:nth-child(3) { background: var(--rose); color: var(--white); }
.course h2 { margin: 0 0 0.3em; font-size: 1.5rem; font-weight: 500; }
.course .meta { font-size: 0.85rem; opacity: 0.85; margin-bottom: 1em; }
.course p { margin: 0; }

/* Contact form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.form label { display: block; font-size: 0.9rem; font-weight: 400; }
.form label.full { grid-column: 1 / -1; }
.form .req { opacity: 0.6; font-size: 0.8rem; }
.form input, .form textarea {
  font: 300 1rem 'Sora', sans-serif;
  color: var(--primary);
  border: 1px solid #d8c4c4;
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--white);
  display: block;
  width: 100%;
  margin-top: 6px;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--rose); border-color: var(--rose); }
.form textarea { min-height: 160px; resize: vertical; }
.form .actions { grid-column: 1 / -1; }
.form-note { font-size: 0.85rem; opacity: 0.75; margin-top: 12px; }

/* Footer */
.site-footer { background: #fff7f7; padding: 60px 20px 40px; }
.site-footer .inner { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--primary); padding-top: 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-cols h4 { margin: 0 0 10px; font-size: 0.9rem; font-weight: 500; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; font-size: 0.85rem; }
.footer-cols li { margin-bottom: 6px; }
.socials { display: flex; gap: 18px; align-items: flex-start; }
.socials a { display: inline-flex; }
.socials svg { width: 18px; height: 18px; fill: var(--primary); }
.footer-brand { margin-top: 50px; }
.footer-brand .brand { font-size: 1.6rem; }
.footer-brand p { margin: 8px 0 0; font-size: 0.9rem; }
.copyright { margin-top: 30px; font-size: 0.75rem; opacity: 0.7; }

/* Mobile */
@media (max-width: 860px) {
  .header-bar { padding: 14px 20px; flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 14px; padding: 10px 0 6px; }
  .nav.open { display: flex; }
  .nav .nav-cta { display: block; }
  .cards, .testimonial .inner, .premium { grid-template-columns: 1fr; }
  .card { min-height: 0; margin-top: 0 !important; }
  .testimonial .inner { gap: 40px; }
  .premium { padding: 30px 20px; gap: 30px; }
  .panel { margin: 10px 16px 40px; padding: 50px 20px; }
  .form { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
}
@media (min-width: 861px) { .nav .nav-cta { display: none; } }
