/* =========================================================
   BookVora Partners — Design tokens (matches bookvora.store)
   ========================================================= */
:root{
  color-scheme: only light;

  --ink:        #1f1330;
  --ink-soft:   #4a3d5c;
  --muted:      #7b7089;
  --paper:      #faf8fb;
  --paper-deep: #f1edf6;
  --card:       #ffffff;

  --purple-700: #4c1d95;
  --purple-600: #6d28d9;
  --purple-500: #7c3aed;
  --purple-400: #a855f7;
  --purple-100: #efe6fc;

  --rose-600:   #be185d;
  --rose-500:   #db2777;
  --rose-100:   #fbe4f0;

  --gold-600:   #a9791f;
  --gold-100:   #f7ecd3;

  --teal-600:   #0f766e;
  --teal-100:   #e3f5f3;

  --line:       #e6e0ee;

  --grad-brand: linear-gradient(120deg, var(--purple-600) 0%, var(--rose-500) 100%);
  --grad-page:  linear-gradient(135deg, var(--purple-400), var(--purple-700));

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 60px -25px rgba(31, 19, 48, 0.35);
  --shadow-card: 0 12px 30px -18px rgba(31, 19, 48, 0.28);
  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; background:#faf8fb; }
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }
input, select, textarea{ font-family: inherit; }
h1,h2,h3,h4{ margin: 0; font-family: var(--font-display); color: var(--ink); font-weight: 600; }
p{ margin: 0; }
:focus-visible{ outline: 2px solid var(--purple-500); outline-offset: 3px; border-radius: 4px; }

.container{ width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rose-600);
}
.eyebrow::before{ content: ""; width: 22px; height: 1px; background: var(--rose-500); }

.section-tag{
  display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--purple-600); margin-bottom: 14px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.reveal{ opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 251, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.site-header .container{ display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand{ display: flex; align-items: center; gap: 12px; }
.brand img{ height: 38px; width: auto; }
.brand .divider{ width: 1px; height: 24px; background: var(--line); }
.brand .badge-text{
  font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--muted);
}

.main-nav{ display: flex; align-items: center; gap: 34px; }
.main-nav a{ font-size: 14.5px; font-weight: 500; color: var(--ink-soft); transition: color 0.2s ease; }
.main-nav a:hover{ color: var(--purple-600); }

.header-cta{ display: flex; align-items: center; gap: 14px; }

.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-size: 14.5px; font-weight: 600; border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; white-space: nowrap;
}
.btn svg{ flex-shrink: 0; }
.btn-primary{ background: var(--grad-brand); color: #fff; box-shadow: 0 14px 28px -12px rgba(109, 40, 217, 0.55); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(109, 40, 217, 0.65); }
.btn-ghost{ background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover{ border-color: var(--purple-400); color: var(--purple-600); }
.btn-whatsapp{ background: var(--ink); color: #fff; }
.btn-whatsapp:hover{ transform: translateY(-2px); background: var(--purple-700); }
.btn-block{ width: 100%; }

.nav-toggle{ display: none; background: none; border: none; padding: 8px; }

/* Mobile nav drawer */
.mobile-nav{
  position: fixed; inset: 0; z-index: 70; background: var(--paper);
  display: flex; flex-direction: column; padding: 26px 28px;
  transform: translateX(100%); transition: transform 0.35s ease;
}
.mobile-nav.open{ transform: translateX(0); }
.mobile-nav-top{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-nav a{ font-family: var(--font-display); font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn{ margin-top: 30px; }

/* =========================================================
   Hero
   ========================================================= */
.hero{ position: relative; padding: 92px 0 70px; overflow: hidden; }
.hero::before{
  content: ""; position: absolute; top: -180px; right: -160px; width: 620px; height: 620px;
  border-radius: 50%; border: 46px solid var(--rose-100); opacity: 0.7; z-index: 0;
}
.hero::after{
  content: ""; position: absolute; top: -80px; right: -60px; width: 420px; height: 420px;
  border-radius: 50%; border: 34px solid var(--purple-100); z-index: 0;
}
.hero .container{ position: relative; z-index: 1; max-width: 780px; text-align: center; }
.hero h1{
  font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1.08; letter-spacing: -0.01em; margin: 18px 0 22px;
}
.hero h1 em{
  font-style: italic; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub{ font-size: 19px; color: var(--ink-soft); max-width: 600px; margin: 0 auto 36px; }
.hero-ctas{ display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-stats{
  position: relative; z-index: 1; display: flex; justify-content: center; gap: 56px;
  margin-top: 64px; flex-wrap: wrap;
}
.hero-stats .stat{ text-align: center; }
.hero-stats .stat .num{ font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--ink); }
.hero-stats .stat .lbl{ font-size: 13px; color: var(--muted); margin-top: 4px; }

/* =========================================================
   Section shell
   ========================================================= */
.section{ padding: 108px 0; }
.section-band{ background: var(--paper-deep); }
.section-head{ max-width: 640px; margin-bottom: 62px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.15; }
.section-head p{ margin-top: 16px; font-size: 17px; color: var(--ink-soft); }

/* =========================================================
   Why partner — benefits shelf
   ========================================================= */
.benefits-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.benefit-item{
  padding: 34px 22px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative; transition: background 0.3s ease;
}
.benefit-item:last-child{ border-right: none; }
.benefit-item:hover{ background: var(--card); }
.benefit-item::before{ content:""; position:absolute; top:0; left:0; width:100%; height:4px; background: var(--spine-color, var(--purple-500)); }
.benefit-item .icon-wrap{
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--icon-bg, var(--purple-100)); color: var(--icon-fg, var(--purple-600)); margin-bottom: 22px;
}
.benefit-item h3{ font-size: 17px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.benefit-item p{ font-size: 14.5px; color: var(--muted); line-height: 1.55; }

@media (max-width: 1000px){
  .benefits-grid{ grid-template-columns: repeat(2, 1fr); }
  .benefit-item:nth-child(2n){ border-right: none; }
}
@media (max-width: 560px){
  .benefits-grid{ grid-template-columns: 1fr; }
  .benefit-item{ border-right: none !important; }
}

/* =========================================================
   Partnership types
   ========================================================= */
.types-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.type-card{
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 30px 26px; box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.type-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.type-card .icon-wrap{
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--icon-bg, var(--purple-100)); color: var(--icon-fg, var(--purple-600)); margin-bottom: 20px;
}
.type-card h3{ font-size: 18.5px; margin-bottom: 10px; }
.type-card p{ font-size: 14.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.type-card .type-cta{
  margin-top: 20px; font-size: 13.5px; font-weight: 600; color: var(--purple-600);
  display: inline-flex; align-items: center; gap: 6px;
}
.type-card .type-cta svg{ transition: transform 0.2s ease; }
.type-card:hover .type-cta svg{ transform: translateX(3px); }

@media (max-width: 980px){ .types-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .types-grid{ grid-template-columns: 1fr; } }

/* =========================================================
   Our partners showcase
   ========================================================= */
.partners-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.partner-card{
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px; box-shadow: var(--shadow-card);
}
.partner-card .partner-top{ display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.partner-avatar{
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-page); color: #fff; font-family: var(--font-display); font-size: 18px; font-weight: 600;
  overflow: hidden;
}
.partner-avatar img{ width: 100%; height: 100%; object-fit: cover; }
.partner-name{ font-size: 16px; font-weight: 600; color: var(--ink); }
.partner-type-tag{
  display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--purple-600); background: var(--purple-100);
  padding: 3px 10px; border-radius: 999px;
}
.partner-quote{ font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.partner-link{
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted);
}
.partner-link:hover{ color: var(--purple-600); }

@media (max-width: 980px){ .partners-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .partners-grid{ grid-template-columns: 1fr; } }

.partners-empty{
  text-align: center; padding: 64px 30px; border: 1.5px dashed var(--line); border-radius: var(--radius-lg);
  background: var(--card);
}
.partners-empty h3{ font-size: 22px; margin-bottom: 10px; }
.partners-empty p{ color: var(--ink-soft); font-size: 15.5px; max-width: 420px; margin: 0 auto 22px; }

/* =========================================================
   Application form
   ========================================================= */
.apply-shell{
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: 52px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px;
}
.apply-info h2{ font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.2; }
.apply-info p{ margin-top: 16px; color: var(--ink-soft); font-size: 16px; }
.apply-info .apply-points{ margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.apply-info .apply-points li{ display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.apply-info .apply-points svg{ flex-shrink: 0; margin-top: 2px; color: var(--rose-600); }

.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full{ grid-column: 1 / -1; }
.field label{
  display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px;
}
.field input, .field select, .field textarea{
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--paper); font-size: 14.5px; color: var(--ink); transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline: none; border-color: var(--purple-400); }
.field textarea{ resize: vertical; min-height: 110px; font-family: inherit; }
.field select{ appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b7089' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }

.apply-form .btn{ margin-top: 8px; }
.honeypot{ position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-note{
  margin-top: 16px; font-size: 14px; font-weight: 600; display: none; align-items: center; gap: 8px;
  padding: 12px 16px; border-radius: 12px;
}
.form-note.success{ background: #e9f7ef; color: #1c7c4d; }
.form-note.error{ background: #fdeceb; color: #b3261e; }
.form-note.show{ display: flex; }

@media (max-width: 980px){
  .apply-shell{ grid-template-columns: 1fr; padding: 34px; }
  .form-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   Partner / WhatsApp contact strip
   ========================================================= */
.contact-strip .container{
  background: radial-gradient(120% 140% at 100% 0%, var(--purple-700) 0%, var(--ink) 60%);
  color: #fff; border-radius: var(--radius-lg); padding: 56px; display: flex; align-items: center;
  justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.contact-strip .container::before{
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 2px, transparent 2px, transparent 64px);
}
.contact-strip-copy{ position: relative; z-index: 1; max-width: 460px; }
.contact-strip h2{ color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.2; }
.contact-strip p{ margin-top: 12px; color: rgba(255,255,255,0.72); font-size: 15.5px; }
.contact-strip-actions{ position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{ background: var(--ink); color: rgba(255,255,255,0.72); padding: 60px 0 30px; }
.footer-top{ display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); flex-wrap: wrap; }
.footer-brand img{ height: 32px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p{ font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-links{ display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h5{ font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 11px; }
.footer-col a{ font-size: 14.5px; transition: color 0.2s ease; }
.footer-col a:hover{ color: #fff; }
.footer-col .contact-item{ display: flex; align-items: center; gap: 9px; }
.footer-bottom{ display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px; }

/* =========================================================
   Floating WhatsApp
   ========================================================= */
.float-whatsapp{
  position: fixed; bottom: 26px; right: 26px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.6); transition: transform 0.25s ease;
}
.float-whatsapp:hover{ transform: scale(1.08); }
.float-whatsapp::before{
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37, 211, 102, 0.4);
  animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing{ 0%{ transform: scale(0.9); opacity: 0.8; } 100%{ transform: scale(1.35); opacity: 0; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 760px){
  .main-nav{ display: none; }
  .nav-toggle{ display: flex; }
  .section{ padding: 76px 0; }
  .hero{ padding: 56px 0 46px; }
  .contact-strip .container{ padding: 36px 26px; flex-direction: column; text-align: center; }
  .contact-strip-actions{ justify-content: center; }
  .footer-top{ flex-direction: column; }
  .footer-links{ gap: 32px; }
  .header-cta .btn-ghost{ display: none; }
}
@media (max-width: 480px){
  .container{ padding: 0 20px; }
  .apply-shell{ padding: 26px; }
}
