/* ═══════════════════════════════════════════
   SHALVA ACADEMY — style.css v3
═══════════════════════════════════════════ */

:root {
  --burg:       #7D1B2A;
  --burg-dark:  #5C1220;
  --burg-mid:   #6B1724;
  --blue:       #1F4DA1;
  --gold:       #E8A020;
  --gold-lt:    #F5C060;
  --cream:      #FAF6F1;
  --white:      #FFFFFF;
  --dark:       #111111;
  --mid:        #484848;
  --muted:      #888888;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Nunito Sans', sans-serif;
  --max:        1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ── SCROLL ANIMATIONS ── */
[data-anim] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-anim].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-anim="fade"] { transform: none; }
[data-anim="fade"].visible { transform: none; }
[data-anim="left"]  { transform: translateX(-32px); }
[data-anim="left"].visible  { transform: translateX(0); }
[data-anim="right"] { transform: translateX(32px); }
[data-anim="right"].visible { transform: translateX(0); }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* ── ICON BOXES (Lucide) ── */
.icon-box {
  width: 52px; height: 52px;
  background: rgba(125,27,42,0.07);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background 0.25s;
  flex-shrink: 0;
}
.icon-box svg { width: 22px; height: 22px; stroke: var(--burg); stroke-width: 1.75; fill: none; }
.icon-box.gold  { background: rgba(232,160,32,0.12); }
.icon-box.gold  svg { stroke: var(--gold); }
.icon-box.white { background: rgba(255,255,255,0.1); }
.icon-box.white svg { stroke: rgba(255,255,255,0.85); }
.icon-box.sm  { width: 40px; height: 40px; border-radius: 8px; margin-bottom: 0; }
.icon-box.sm  svg { width: 18px; height: 18px; }
.icon-box.lg  { width: 64px; height: 64px; border-radius: 14px; }
.icon-box.lg  svg { width: 28px; height: 28px; }

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(125,27,42,0.07);
  transition: box-shadow 0.3s, transform 0.3s;
}
nav.scrolled { box-shadow: 0 2px 28px rgba(0,0,0,0.07); }

.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img { height: 50px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--burg); letter-spacing: 0.03em; }
.logo-tag  { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--mid);
  transition: color 0.2s; position: relative; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 2px; background: var(--burg);
  transition: width 0.25s ease;
}
.nav-links a:hover       { color: var(--burg); }
.nav-links a:hover::after { width: 100%; }

/* Active nav state */
.nav-links a.active       { color: var(--burg); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--burg) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 3px !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  transition: background 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover  { background: var(--burg-dark) !important; }
.nav-cta.active { background: var(--burg-dark) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; border: none; background: none;
  flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--burg); border-radius: 1px;
  transition: all 0.3s;
}
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 150px 0 88px;
  background: var(--burg-dark);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  border: 1px solid rgba(232,160,32,0.1); border-radius: 50%;
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; right: 30px; top: 50%;
  transform: translateY(-50%);
  width: 380px; height: 380px;
  border: 1px solid rgba(232,160,32,0.06); border-radius: 50%;
  pointer-events: none;
}
.page-hero-eye {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.page-hero-eye::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--gold);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 600; color: var(--white); line-height: 1.08; max-width: 680px;
}
.page-hero p {
  font-size: 17px; color: rgba(255,255,255,0.7);
  max-width: 560px; margin-top: 18px; line-height: 1.75;
}

/* ── SECTION EYEBROW ── */
.sect-eye {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--burg); margin-bottom: 14px;
}
.sect-eye::before { content: ''; display: block; width: 22px; height: 2px; background: var(--gold); }
.sect-eye.center { justify-content: center; }
.sect-eye.light  { color: var(--gold); }
.sect-eye.light::before { background: var(--gold); }

.sect-head { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.sect-head h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600; color: var(--burg-dark); line-height: 1.15; margin-bottom: 14px;
}
.sect-head p { font-size: 15.5px; color: var(--mid); line-height: 1.8; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-block; background: var(--gold); color: var(--burg-dark);
  padding: 15px 36px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: 3px; transition: all 0.2s;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }

.btn-burg {
  display: inline-block; background: var(--burg); color: var(--white);
  padding: 14px 36px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: 3px; transition: all 0.2s;
}
.btn-burg:hover { background: var(--burg-dark); transform: translateY(-2px); }

.btn-burg-lg {
  display: inline-block; background: var(--burg); color: var(--white);
  padding: 18px 46px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: 3px; transition: all 0.2s;
}
.btn-burg-lg:hover { background: var(--burg-dark); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block; background: transparent; color: var(--white);
  padding: 15px 36px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 3px; border: 2px solid rgba(255,255,255,0.3); transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }

.btn-outline {
  display: inline-block; background: transparent; color: var(--burg);
  padding: 14px 36px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 3px; border: 2px solid var(--burg); transition: all 0.2s;
}
.btn-outline:hover { background: var(--burg); color: var(--white); }

.btn-outline-lg {
  display: inline-block; background: transparent; color: var(--burg);
  padding: 18px 46px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 3px; border: 2px solid var(--burg); transition: all 0.2s;
}
.btn-outline-lg:hover { background: var(--burg); color: var(--white); }

/* ── PULLQUOTE ── */
.pullquote {
  border-left: 3px solid var(--gold); padding: 14px 22px; margin: 26px 0;
  font-family: var(--serif); font-size: 19px; font-style: italic;
  color: var(--burg); line-height: 1.6;
}

/* ── CTA BAND ── */
.adm-cta {
  padding: 110px 28px; text-align: center;
  background: var(--cream); position: relative; overflow: hidden;
}
.adm-cta::before {
  content: 'SHALVA'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif); font-size: 200px; font-weight: 700;
  color: rgba(125,27,42,0.04); white-space: nowrap; pointer-events: none;
}
.adm-cta h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 600; color: var(--burg-dark); line-height: 1.1; margin-bottom: 18px;
}
.adm-cta p {
  font-size: 16px; color: var(--mid);
  max-width: 500px; margin: 0 auto 40px; line-height: 1.8;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: #0D0D0D; color: rgba(255,255,255,0.65); padding: 80px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 56px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand img    { height: 54px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p      { font-size: 13.5px; line-height: 1.8; color: rgba(255,255,255,0.42); max-width: 260px; margin-bottom: 20px; }
.footer-motto        { font-family: var(--serif); font-size: 15px; font-style: italic; color: var(--gold); }
.footer-col h4       { font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-col ul       { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a     { font-size: 13.5px; color: rgba(255,255,255,0.48); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold); }
.contact-row         { display: flex; gap: 10px; margin-bottom: 11px; align-items: flex-start; }
.contact-lbl         { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); min-width: 54px; padding-top: 2px; flex-shrink: 0; }
.contact-val         { font-size: 13.5px; color: rgba(255,255,255,0.52); line-height: 1.6; }
.contact-val a       { color: inherit; transition: color 0.2s; }
.contact-val a:hover { color: var(--gold); }
.footer-bottom       { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p     { font-size: 12.5px; color: rgba(255,255,255,0.28); }
.social-row          { display: flex; gap: 10px; }
.social-btn          { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); font-size: 13px; font-weight: 700; transition: all 0.2s; }
.social-btn:hover    { border-color: var(--gold); color: var(--gold); }

/* ── FORMS ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burg); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid rgba(0,0,0,0.12); border-radius: 3px;
  font-family: var(--sans); font-size: 14.5px; color: var(--dark); background: var(--white);
  transition: border 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--burg); box-shadow: 0 0 0 3px rgba(125,27,42,0.07); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 54px; height: 54px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 850;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-float svg { width: 26px; height: 26px; fill: white; }

/* ── BACK TO TOP ── */
.back-top {
  position: fixed; bottom: 92px; right: 28px;
  width: 40px; height: 40px;
  background: var(--burg); border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center;
  z-index: 849; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  box-shadow: 0 3px 12px rgba(125,27,42,0.35);
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover   { transform: translateY(-3px); }
.back-top svg     { width: 18px; height: 18px; stroke: white; stroke-width: 2; fill: none; }

/* ── KEYFRAME ANIMATIONS ── */
@keyframes up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes pulse {
  0%, 100% { transform: translateX(-50%) translateY(0);  }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: fixed; top: 76px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 20px 48px rgba(0,0,0,0.09);
    z-index: 899;
    padding: 12px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li   { width: 100%; }
  .nav-links a    { display: block; padding: 13px 28px; font-size: 14px; }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--burg); background: rgba(125,27,42,0.04); }
  .nav-cta { margin: 8px 20px 4px !important; display: block; text-align: center; }
  .hamburger  { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 130px 0 60px; }
  .form-row { grid-template-columns: 1fr; }
  .wa-float  { bottom: 20px; right: 20px; }
  .back-top  { bottom: 82px; right: 20px; }
}
