/* ==========================================================================
   AS Training & Coaching — one-page site
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,500;1,9..144,600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --bg-dark: #0e1015;
  --bg-dark-2: #14171f;
  --charcoal: #1a1d25;
  --cream: #f6f2e9;
  --cream-2: #efe8d8;
  --paper: #fbf9f4;
  --text-dark: #201d18;
  --text-muted: #66625a;
  --text-on-dark: #eee9dd;
  --text-on-dark-muted: #a6a297;
  --gold: #c8963f;
  --gold-light: #e3bd75;
  --gold-dim: #8a6a34;
  --line-dark: rgba(238,233,221,0.12);
  --line-light: rgba(32,29,24,0.1);
  --shadow: 0 30px 60px -20px rgba(20,15,5,0.35);
  --radius: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family:'Manrope', sans-serif;
  background: var(--paper);
  color: var(--text-dark);
  font-size:16px;
  line-height:1.65;
  -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, textarea{ font-family:inherit; font-size:1rem; }

h1,h2,h3,h4{
  font-family:'Fraunces', serif;
  font-weight:600;
  line-height:1.12;
  margin:0;
  letter-spacing:-0.01em;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  font-family:'Manrope', sans-serif;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.22em;
  text-transform:uppercase;
  color: var(--gold);
}
.eyebrow::before{
  content:"";
  width:28px; height:1px;
  background: var(--gold);
  display:inline-block;
}

.section{ padding: 8rem 0; position:relative; }
.section-dark{ background: var(--bg-dark); color: var(--text-on-dark); }
.section-cream{ background: var(--cream); }
.section-paper{ background: var(--paper); }
.container{ width:100%; max-width:1180px; margin:0 auto; padding:0 2rem; }

.section-head{
  max-width: 640px;
  margin-bottom: 4rem;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(2rem, 4vw, 2.9rem); margin-top:.6rem; }
.section-head p{ margin-top:1.1rem; color: var(--text-muted); font-size:1.05rem; max-width: 52ch; }
.section-dark .section-head p{ color: var(--text-on-dark-muted); }
.section-head.center p{ margin-left:auto; margin-right:auto; }

.btn{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding: 1rem 1.9rem;
  border-radius: var(--radius);
  font-weight:700;
  font-size:.82rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  border:1px solid transparent;
  transition: all .35s var(--ease);
  white-space:nowrap;
}
.btn-gold{ background: var(--gold); color:#1a1408; }
.btn-gold:hover{ background: var(--gold-light); transform: translateY(-2px); }
.btn-outline{ border-color: rgba(238,233,221,.35); color: var(--text-on-dark); }
.btn-outline:hover{ border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn-outline-dark{ border-color: rgba(32,29,24,.25); color: var(--text-dark); }
.btn-outline-dark:hover{ border-color: var(--text-dark); background: var(--text-dark); color: var(--cream); transform: translateY(-2px); }
.btn svg{ width:14px; height:14px; transition: transform .3s var(--ease); }
.btn:hover svg{ transform: translateX(3px); }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }
.reveal-stagger > *{ opacity:0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.is-visible > *{ opacity:1; transform:none; }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay: .19s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay: .26s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay: .33s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay: .40s; }
.reveal-stagger.is-visible > *:nth-child(7){ transition-delay: .47s; }
.reveal-stagger.is-visible > *:nth-child(8){ transition-delay: .54s; }
.reveal-stagger.is-visible > *:nth-child(9){ transition-delay: .61s; }

/* ================= HEADER ================= */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding: 1.4rem 0;
  transition: all .4s var(--ease);
  background: transparent;
}
.site-header.is-scrolled{
  padding: .8rem 0;
  background: rgba(14,16,21,.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; }

.brand{ display:flex; align-items:center; gap:.8rem; z-index:1100; }
.brand-mark{
  width:44px; height:44px; border-radius:50%;
  background: radial-gradient(circle at 32% 28%, var(--gold-light), var(--gold) 60%, var(--gold-dim));
  color:#1a1408;
  display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces', serif; font-style:italic; font-weight:600; font-size:1.15rem;
  flex-shrink:0;
  box-shadow: 0 4px 14px rgba(200,150,63,.35);
}
.brand-name{ font-family:'Fraunces', serif; color: var(--text-on-dark); line-height:1.1; }
.brand-name b{ display:block; font-size:1.02rem; font-weight:600; letter-spacing:.02em; }
.brand-name span{ display:block; font-size:.66rem; letter-spacing:.24em; text-transform:uppercase; color: var(--gold-light); margin-top:.15rem; }

.main-nav ul{ display:flex; gap:2.1rem; }
.main-nav a{
  font-size:.78rem; font-weight:600; letter-spacing:.09em; text-transform:uppercase;
  color: var(--text-on-dark-muted);
  position:relative; padding: .3rem 0;
  transition: color .3s;
}
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:0; height:1px; width:0;
  background: var(--gold); transition: width .35s var(--ease);
}
.main-nav a:hover, .main-nav a.active{ color: var(--text-on-dark); }
.main-nav a:hover::after, .main-nav a.active::after{ width:100%; }

.header-cta{ display:flex; align-items:center; gap:1.6rem; }
.header-cta .btn{ padding: .78rem 1.5rem; }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; width:26px;
  background:none; border:none; z-index:1100;
}
.nav-toggle span{ display:block; height:2px; width:100%; background: var(--text-on-dark); transition: all .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Meniul mobil e ascuns complet în afara breakpoint-ului mobil — vezi media query de mai jos */
.mobile-nav{ display:none; }

/* ================= HERO ================= */
.hero{
  min-height:100vh;
  display:flex; align-items:center;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  position:relative;
  overflow:hidden;
  padding-top: 6rem;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(238,233,221,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238,233,221,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 10%, transparent 68%);
  pointer-events:none;
}
.hero-glow{
  position:absolute; width:60vw; height:60vw; max-width:900px; max-height:900px;
  right:-18vw; top:-14vw;
  background: radial-gradient(circle, rgba(200,150,63,.22), transparent 60%);
  pointer-events:none;
}
.hero-watermark{
  position:absolute; right:-4%; bottom:-8%;
  font-family:'Fraunces', serif; font-style:italic; font-weight:600;
  font-size: min(34vw, 420px); color: rgba(238,233,221,.035);
  line-height:1; pointer-events:none; white-space:nowrap;
}
.hero .container{ position:relative; z-index:2; }
.hero-inner{ max-width: 760px; }
.hero-inner .eyebrow{ margin-bottom:1.6rem; }
.hero-title{
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight:500;
}
.hero-title em{ font-style:italic; color: var(--gold-light); font-weight:500; }
.hero-sub{
  margin-top:2rem; max-width: 54ch; font-size:1.12rem;
  color: var(--text-on-dark-muted);
}
.hero-actions{ display:flex; gap:1.2rem; flex-wrap:wrap; margin-top:2.8rem; }

.hero-scroll{
  position:absolute; left:2rem; bottom:2.4rem; z-index:3;
  display:flex; align-items:center; gap:.8rem;
  font-size:.68rem; letter-spacing:.2em; text-transform:uppercase;
  color: var(--text-on-dark-muted);
}
.hero-scroll .line{ width:1px; height:46px; background: linear-gradient(var(--gold), transparent); position:relative; overflow:hidden; }
.hero-scroll .line::after{
  content:""; position:absolute; top:-46px; left:0; width:100%; height:46px;
  background: var(--gold-light);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine{ 0%{ top:-46px; } 60%{ top:46px; } 100%{ top:46px; } }

.hero-stats{
  position:absolute; right:2rem; bottom:2.4rem; z-index:3;
  display:flex; gap:2.4rem;
}
.hero-stats div{ text-align:right; }
.hero-stats b{ display:block; font-family:'Fraunces', serif; font-size:1.5rem; color: var(--gold-light); }
.hero-stats span{ font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; color: var(--text-on-dark-muted); }

/* ================= INTRO / MISSION ================= */
.mission{
  display:grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items:start;
}
.mission-quote{
  font-family:'Fraunces', serif; font-style:italic; font-weight:400;
  font-size: clamp(1.5rem, 2.6vw, 2rem); line-height:1.35; color: var(--text-dark);
}
.mission-quote .accent{ color: var(--gold); }
.mission-list{ display:flex; flex-direction:column; gap:2.2rem; }
.mission-item{ display:flex; gap:1.4rem; }
.mission-item .num{
  font-family:'Fraunces', serif; font-style:italic; font-size:1.6rem; color: var(--gold);
  flex-shrink:0; width:2.4rem;
}
.mission-item h4{ font-size:1.15rem; font-weight:600; margin-bottom:.4rem; }
.mission-item p{ color: var(--text-muted); font-size:.98rem; }

/* ================= MATRIX ================= */
.matrix-wrap{ overflow-x:auto; padding-bottom:.5rem; }
.matrix{
  width:100%; border-collapse:separate; border-spacing:0;
  min-width: 760px;
  background: var(--bg-dark-2);
  border-radius: 4px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.matrix th, .matrix td{
  padding: 1.4rem 1.3rem;
  text-align:left;
  vertical-align:top;
  border-bottom: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
}
.matrix th{
  font-family:'Manrope', sans-serif;
  font-size:.7rem; letter-spacing:.16em; text-transform:uppercase;
  color: var(--gold-light);
  background: rgba(255,255,255,.02);
  font-weight:700;
}
.matrix tbody th{
  color: var(--text-on-dark);
  font-family:'Fraunces', serif; text-transform:none; letter-spacing:0; font-size:1rem; font-style:italic; font-weight:500;
}
.matrix td{ color: var(--text-on-dark-muted); font-size:.9rem; transition: background .3s, color .3s; }
.matrix tr:last-child td, .matrix tr:last-child th{ border-bottom:none; }
.matrix th:last-child, .matrix td:last-child{ border-right:none; }
.matrix td:hover{ background: rgba(200,150,63,.09); color: var(--text-on-dark); cursor:default; }

/* ================= SERVICES ================= */
.services-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
}
.service-card{
  background: var(--paper);
  border: 1px solid var(--line-light);
  padding: 2.4rem 2rem;
  border-radius: 3px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position:relative;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-num{
  font-family:'Fraunces', serif; font-style:italic; color: var(--gold);
  font-size:.95rem; margin-bottom:1.2rem; display:block;
}
.service-card h3{ font-size:1.2rem; margin-bottom:.8rem; }
.service-card p{ color: var(--text-muted); font-size:.92rem; }

.more-programs{ margin-top: 3.5rem; }
.more-programs-toggle{
  display:flex; align-items:center; gap:1rem; width:100%;
  background:none; border:none; border-top:1px solid var(--line-light);
  padding: 1.6rem 0; text-align:left;
  font-family:'Fraunces', serif; font-style:italic; font-size:1.3rem; color: var(--text-dark);
}
.program-item:last-child{ border-bottom:1px solid var(--line-light); }
.more-programs-toggle .plus{
  width:34px; height:34px; border-radius:50%; border:1px solid var(--line-light);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  font-size:1.1rem; color: var(--gold); transition: all .3s var(--ease);
}
.program-item details[open] .more-programs-toggle .plus{ background: var(--gold); color:#1a1408; transform: rotate(45deg); border-color: var(--gold); }
.program-item{ list-style:none; }
.program-item summary{ list-style:none; cursor:pointer; }
.program-item summary::-webkit-details-marker{ display:none; }
.program-body{ padding: 0 0 2rem 3.2rem; color: var(--text-muted); font-size:.92rem; max-width:70ch; }
.program-body ul{ display:flex; flex-direction:column; gap:.5rem; }
.program-body li{ position:relative; padding-left:1.2rem; }
.program-body li::before{ content:"—"; position:absolute; left:0; color: var(--gold); }

/* ================= CLIENTS ================= */
.clients-marquee{ position:relative; overflow:hidden; }
.clients-marquee::before, .clients-marquee::after{
  content:""; position:absolute; top:0; bottom:0; width:120px; z-index:2;
}
.clients-marquee::before{ left:0; background: linear-gradient(90deg, var(--cream), transparent); }
.clients-marquee::after{ right:0; background: linear-gradient(-90deg, var(--cream), transparent); }
.marquee-track{ display:flex; gap:3.2rem; width:max-content; animation: marquee 46s linear infinite; }
.clients-marquee:hover .marquee-track{ animation-play-state: paused; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.client-logo{
  height:56px; display:flex; align-items:center; flex-shrink:0;
}
.client-logo img{ max-height:100%; width:auto; filter: grayscale(100%) opacity(.55); transition: filter .3s; }
.client-logo img:hover{ filter: grayscale(0%) opacity(1); }
.marquee-row + .marquee-row{ margin-top:2.4rem; }
.marquee-row.reverse .marquee-track{ animation-direction: reverse; }

/* ================= COUNTER / ISTORIE ================= */
.counters{ display:grid; grid-template-columns: repeat(5, 1fr); gap:1.5rem; text-align:center; }
.counter-item{ padding: 2rem 1rem; border-left:1px solid var(--line-dark); }
.counter-item:first-child{ border-left:none; }
.counter-num{ font-family:'Fraunces', serif; font-style:italic; font-weight:600; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold-light); display:flex; align-items:baseline; justify-content:center; gap:.15rem; }
.counter-label{ margin-top:.8rem; font-size:.8rem; color: var(--text-on-dark-muted); max-width:16ch; margin-inline:auto; }

/* ================= TESTIMONIALS ================= */
.testi-wrap{ max-width: 800px; margin: 0 auto; text-align:center; position:relative; }
.testi-slide{ display:none; }
.testi-slide.is-active{ display:block; animation: fadeIn .6s var(--ease); }
@keyframes fadeIn{ from{ opacity:0; transform: translateY(12px);} to{ opacity:1; transform:none; } }
.testi-quote{ font-family:'Fraunces', serif; font-style:italic; font-size: clamp(1.25rem, 2.6vw, 1.65rem); line-height:1.5; color: var(--text-dark); }
.testi-quote::before{ content:"“"; color: var(--gold); }
.testi-quote::after{ content:"”"; color: var(--gold); }
.testi-name{ margin-top:2rem; font-weight:700; font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; }
.testi-name::before{ content:"— "; color: var(--gold); }
.testi-controls{ display:flex; justify-content:center; align-items:center; gap:1.6rem; margin-top:3rem; }
.testi-arrow{
  width:44px; height:44px; border-radius:50%; border:1px solid var(--line-light);
  display:flex; align-items:center; justify-content:center; background:none; color: var(--text-dark);
  transition: all .3s;
}
.testi-arrow:hover{ background: var(--text-dark); color: var(--cream); border-color: var(--text-dark); }
.testi-dots{ display:flex; gap:.6rem; }
.testi-dot{ width:8px; height:8px; border-radius:50%; background: var(--line-light); border:none; padding:0; }
.testi-dot.is-active{ background: var(--gold); }

/* ================= CONTACT ================= */
.contact-grid{ display:grid; grid-template-columns: .85fr 1.15fr; gap:4rem; }
.contact-info-list{ margin-top:2.4rem; display:flex; flex-direction:column; gap:1.6rem; }
.contact-info-item{ display:flex; gap:1.2rem; align-items:flex-start; }
.contact-info-item .ic{
  width:42px; height:42px; border-radius:50%; background: rgba(200,150,63,.12); color: var(--gold-light);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-info-item .ic svg{ width:18px; height:18px; }
.contact-info-item b{ display:block; font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color: var(--text-on-dark-muted); margin-bottom:.3rem; }
.contact-info-item a, .contact-info-item span.val{ font-size:1.02rem; color: var(--text-on-dark); }
.contact-social{ display:flex; gap:.8rem; margin-top:2.4rem; }

.contact-form{ background: var(--paper); padding: 2.6rem; border-radius:4px; color: var(--text-dark); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }
.field{ margin-bottom:1.2rem; }
.field-honeypot{
  position:absolute !important; left:-9999px !important; top:auto !important;
  width:1px; height:1px; overflow:hidden;
}
.field label{ display:block; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color: var(--text-muted); margin-bottom:.5rem; }
.field input, .field textarea{
  width:100%; border:none; border-bottom:1px solid var(--line-light); background:transparent;
  padding: .7rem .1rem; color: var(--text-dark); outline:none; transition: border-color .3s;
}
.field input:focus, .field textarea:focus{ border-color: var(--gold); }
.field textarea{ resize:vertical; min-height:110px; }
.form-msg{ margin-top:1rem; font-size:.88rem; display:none; }
.form-msg.show{ display:block; }
.form-msg.ok{ color:#4c7a4c; }

/* ================= FOOTER ================= */
.site-footer{ background: var(--bg-dark-2); color: var(--text-on-dark-muted); padding: 3rem 0 2rem; }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1.5rem; }
.footer-links{ display:flex; gap:1.8rem; flex-wrap:wrap; font-size:.82rem; }
.footer-links a:hover{ color: var(--gold-light); }
.footer-copy{ font-size:.8rem; }

.back-to-top{
  position:fixed; right:1.8rem; bottom:1.8rem; z-index:900;
  width:48px; height:48px; border-radius:50%; background: var(--gold); color:#1a1408;
  border:none; display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform: translateY(10px);
  transition: all .35s var(--ease); box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
.back-to-top.show{ opacity:1; visibility:visible; transform:none; }
.back-to-top svg{ width:18px; height:18px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .counters{ grid-template-columns: repeat(3, 1fr); }
  .counter-item:nth-child(4){ border-left:none; }
  .mission{ grid-template-columns: 1fr; gap:3rem; }
  .contact-grid{ grid-template-columns:1fr; gap:3rem; }
}

@media (max-width: 860px){
  .main-nav, .header-cta .btn{ display:none; }
  .nav-toggle{ display:flex; }
  .header-cta{ gap:0; }

  .mobile-nav{
    position:fixed; inset:0; background: var(--bg-dark); z-index:1050;
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2rem;
    opacity:0; visibility:hidden; transform: translateY(-16px);
    transition: all .4s var(--ease);
  }
  .mobile-nav.is-open{ opacity:1; visibility:visible; transform:none; }
  .mobile-nav a{
    font-family:'Fraunces', serif; font-style:italic; font-size:1.8rem; color: var(--text-on-dark);
  }
  .mobile-nav .btn{ margin-top:1rem; }

  .section{ padding: 5.5rem 0; }
  .services-grid{ grid-template-columns: 1fr; }
  .counters{ grid-template-columns: repeat(2, 1fr); }
  .counter-item{ border-left:none !important; }
  .hero-stats{ display:none; }
  .hero-scroll{ display:none; }
  .form-row{ grid-template-columns:1fr; }
  .program-body{ padding-left:0; }
}

@media (max-width: 520px){
  .container{ padding: 0 1.3rem; }
  .hero-title{ font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .section-head h2{ font-size: 1.7rem; }
  .counters{ grid-template-columns: repeat(2, 1fr); }
  .brand-name span{ display:none; }
  .footer-inner{ flex-direction:column; text-align:center; }
}