/* =========================================================
   MARKETING PAGE — hero slider, testimonials, contact form
   Built on top of the shared design tokens in style.css
   ========================================================= */

.section{
  max-width:1080px; margin:0 auto; padding:80px 24px;
  position:relative;
}
.section-eyebrow{
  color:var(--orange); font-weight:700; font-size:13px; letter-spacing:.06em;
  text-transform:uppercase; margin:0 0 12px;
}
.section-title{
  font-size:32px; line-height:1.25; font-weight:800; color:var(--ink);
  letter-spacing:-.01em; margin:0 0 40px; max-width:640px;
}

/* ---------- hero slider shell ---------- */
.hero-slider{
  position:relative; overflow:hidden; background:#fff;
  border-bottom:1px solid var(--line);
}
/* arrows/dots are scoped to this content-width wrap (not the full
   viewport-wide .hero-slider) so they hug the same 1200px column as
   the testimonial carousel below — one consistent carousel language */
.hero-slider-inner-wrap{
  position:relative; max-width:1200px; margin:0 auto;
}
.hero-slider-track{
  display:flex; align-items:flex-start; width:500%;
  transition:transform .6s cubic-bezier(.65,0,.35,1);
}
.hero-slide{
  width:20%; flex:0 0 20%;
  min-height:600px; display:flex; align-items:center;
}
.hero-slide-inner{
  max-width:1080px; margin:0 auto; padding:64px 24px; width:100%;
  position:relative;
}

/* --- slide 1: hero --- */
.hero-slide--1 .hero-slide-inner{
  display:grid; grid-template-columns:1fr 1.1fr; gap:48px; align-items:center;
}
/* .hero-copy p{color:var(--muted)} below is more specific than a bare
   .hero-eyebrow, so this is scoped as .hero-copy p.hero-eyebrow to win
   without relying on source order (same bug class as the CTA fix). */
.hero-copy p.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px; color:var(--orange);
  font-weight:700; font-size:13px; letter-spacing:.08em; text-transform:uppercase; margin:0 0 16px;
}
.hero-eyebrow::before{
  content:""; width:22px; height:2px; background:var(--orange); display:inline-block;
}
.hero-copy h1{
  font-size:56px; font-weight:900; letter-spacing:-.02em; line-height:1.02;
  margin:0 0 24px; color:var(--ink);
}
.hero-copy p{
  font-size:18px; line-height:1.6; color:var(--muted); max-width:460px; margin:0 0 32px;
}
.hero-plus-grid{
  display:grid; grid-template-columns:repeat(6,14px); gap:8px; color:var(--line); margin-top:40px;
}
.hero-plus-grid span{font-size:16px; font-weight:700; line-height:1; color:#C9CFD4;}
.hero-visual{
  position:relative; display:flex; align-items:center; justify-content:center;
  height:500px; min-width:0; overflow:hidden; border-radius:28px;
}
.hero-visual-blob{
  position:absolute; inset:0; z-index:0;
  background:linear-gradient(160deg, #F3AE93, #E8794F);
}
.hero-visual img{
  position:relative; z-index:1; width:92%; max-width:92%; height:auto; max-height:88%;
  object-fit:contain; filter:drop-shadow(0 16px 26px rgba(20,30,40,.18));
}

/* --- slide 2: areas --- */
.areas-intro{ max-width:640px; margin:0 auto 8px; text-align:left;}
.areas-intro p{ color:var(--muted); font-size:16px; margin:0 0 10px;}
.areas-intro h2{ font-size:30px; font-weight:800; color:var(--ink); letter-spacing:-.01em; margin:0 0 40px; line-height:1.3;}
.areas-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.area-card{
  display:block; text-decoration:none; background:var(--card);
  border-radius:var(--radius); box-shadow:var(--shadow-sm); padding:32px 24px;
  text-align:center; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border:1px solid var(--line);
}
.area-card:hover, .area-card:focus-visible{
  transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:transparent;
  outline:none;
}
.area-card .area-icon-wrap{
  width:64px; height:64px; margin:0 auto 18px; border-radius:16px;
  background:linear-gradient(160deg, #FBEAE3, #F6D3C4);
  display:flex; align-items:center; justify-content:center;
  transition:transform .2s ease;
}
.area-card:hover .area-icon-wrap{ transform:scale(1.06); }
.area-card .area-icon{ width:30px; height:30px; color:var(--orange-dark); }
.area-card h3{ margin:0 0 8px; font-size:17px; font-weight:800; color:var(--ink); }
.area-card p{ margin:0; font-size:14.5px; line-height:1.55; color:var(--muted); }

/* --- slide 3: rozlišovanie --- */
/* full 1080px column, matching slides 1 & 2 exactly — no more narrower slide */
.rozlisovanie-slide p{ max-width:760px; }
.rozlisovanie-slide h2{
  font-size:34px; font-weight:800; letter-spacing:-.01em; margin:0 0 24px; color:var(--ink);
}
.rozlisovanie-slide p{
  font-size:16.5px; line-height:1.75; color:var(--muted); margin:0 0 18px;
}
.rozlisovanie-slide strong{ color:var(--ink); }
/* scoped to <p> links only (e.g. the coffee@ mailto) so it never
   touches .btn-cta, which must always stay white */
.rozlisovanie-slide p a{ color:var(--orange-dark); font-weight:700; text-decoration:none; border-bottom:1.5px solid rgba(232,106,68,.35); }
.rozlisovanie-slide p a:hover{ border-color:var(--orange-dark); }
.rozlisovanie-slide .btn-cta,
.rozlisovanie-slide .btn-cta:hover{ color:#fff; border-bottom:none; }
.rozlisovanie-slide .btn-cta{ margin-top:20px; }

/* --- slide 4: piaristické misie --- */
.misie-slide{
  display:grid; grid-template-columns:1.3fr 1fr; gap:48px; align-items:center;
}
.misie-copy h2{
  font-size:34px; font-weight:800; letter-spacing:-.01em; margin:0 0 20px; color:var(--ink);
}
.misie-copy p{
  font-size:16px; line-height:1.7; color:var(--muted); margin:0 0 14px; max-width:620px;
}
.misie-focus-label{ font-weight:800; color:var(--ink); margin-top:22px; margin-bottom:16px; }
.focus-row{ display:flex; gap:22px; flex-wrap:wrap; }
.focus-item{ display:flex; align-items:flex-start; gap:12px; flex:1 1 160px; }
.focus-item .icon-circle{
  width:40px; height:40px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(160deg, #FBEAE3, #F6D3C4);
  display:flex; align-items:center; justify-content:center;
}
.focus-item .icon-circle svg{ width:19px; height:19px; color:var(--orange-dark); }
.focus-item span:last-child{ font-size:13.5px; font-weight:700; color:var(--ink); line-height:1.4; padding-top:8px; }
.misie-qr{ display:flex; justify-content:center; }
.qr-card{
  background:#fff; border:2px solid var(--orange); border-radius:18px;
  padding:22px; text-align:center; box-shadow:var(--shadow-sm); max-width:260px;
}
.qr-card img{ width:100%; height:auto; display:block; margin-bottom:14px; border-radius:6px; }
.qr-card p{ margin:0 0 6px; font-size:14px; font-weight:800; color:var(--ink); line-height:1.35; }
.qr-card p.qr-card-sub{ font-size:12.5px; font-weight:600; color:var(--muted); margin-bottom:12px; }
.qr-card a{ display:block; font-size:12.5px; color:var(--orange-dark); font-weight:700; text-decoration:none; }
.qr-card a:hover{ text-decoration:underline; }

/* --- slide 5: príď na kávu o povolaní --- */
.coffee-slide{
  display:grid; grid-template-columns:1fr 1.1fr; gap:48px; align-items:center;
}
.coffee-copy h2{
  font-size:36px; font-weight:900; letter-spacing:-.01em; margin:0 0 18px; color:var(--ink);
}
.coffee-copy > p{
  font-size:16px; line-height:1.7; color:var(--muted); margin:0 0 28px; max-width:460px;
}
.coffee-copy .btn-cta{ margin-bottom:18px; }
.coffee-email{ font-size:14px; color:var(--muted); margin:0; }
.coffee-email a{ color:var(--orange-dark); font-weight:700; text-decoration:none; }
.coffee-email a:hover{ text-decoration:underline; }

/* --- slider controls --- */
.slider-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:5;
  width:48px; height:48px; border-radius:50%; border:none; cursor:pointer;
  background:var(--orange); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 2px 6px rgba(212,90,54,.25), 0 10px 22px rgba(212,90,54,.28);
  transition:background .15s ease, transform .15s ease;
}
.slider-arrow:hover{ background:var(--orange-dark); transform:translateY(-50%) scale(1.05); }
.slider-arrow:focus-visible{ outline:2px solid var(--orange-dark); outline-offset:3px; }
.slider-arrow:disabled{ opacity:.35; cursor:default; transform:translateY(-50%); }
.slider-arrow svg{ width:20px; height:20px; }
.slider-arrow--prev{ left:20px; }
.slider-arrow--next{ right:20px; }
.slider-dots{
  position:absolute; left:0; right:0; bottom:22px; display:flex; justify-content:center; gap:8px; z-index:5;
}
.slider-dots button{
  width:8px; height:8px; border-radius:50%; border:none; padding:0; cursor:pointer;
  background:rgba(46,50,56,0.18); transition:background .15s ease, transform .15s ease;
}
.slider-dots button.active{ background:var(--orange); transform:scale(1.2); }

.btn-cta{
  display:inline-flex; align-items:center; gap:10px; background:var(--orange); color:#fff;
  font-weight:700; font-size:16px; padding:16px 30px; border-radius:999px; border:none;
  cursor:pointer; text-decoration:none;
  box-shadow:0 2px 6px rgba(212,90,54,.2), 0 10px 24px rgba(212,90,54,.22);
  transition:background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-cta:hover{ background:var(--orange-dark); transform:translateY(-2px); box-shadow:0 4px 10px rgba(212,90,54,.25), 0 14px 30px rgba(212,90,54,.28); }
.btn-cta:focus-visible{ outline:2px solid var(--orange-dark); outline-offset:3px; }
.btn-cta svg{ width:16px; height:16px; }

/* ---------- 5 steps to entering the order ---------- */
.steps-section{ background:#fff; scroll-margin-top:24px; }
.steps-list{ max-width:760px; margin:0 auto; }
.step-item{
  display:grid; grid-template-columns:48px 1fr; gap:28px;
  padding-bottom:44px; position:relative;
}
.step-item:last-child{ padding-bottom:0; }
.step-marker{ position:relative; display:flex; justify-content:center; }
.step-number{
  width:48px; height:48px; border-radius:50%; background:var(--orange); color:#fff;
  font-weight:800; font-size:18px; display:flex; align-items:center; justify-content:center;
  box-shadow:0 2px 6px rgba(212,90,54,.2), 0 10px 22px rgba(212,90,54,.22);
  position:relative; z-index:1; flex-shrink:0;
}
.step-marker::after{
  content:""; position:absolute; top:48px; bottom:-44px; left:50%;
  width:2px; background:var(--line); transform:translateX(-50%);
}
.step-item:last-child .step-marker::after{ display:none; }
.step-content{ padding-top:6px; }
.step-content h3{ margin:0 0 12px; font-size:20px; font-weight:800; letter-spacing:-.01em; color:var(--ink); }
.step-content p{ margin:0 0 14px; font-size:15.5px; line-height:1.75; color:var(--muted); }
.step-content p:last-child{ margin-bottom:0; }
.step-content strong{ color:var(--ink); }
.step-content a{ color:var(--orange-dark); font-weight:700; text-decoration:none; border-bottom:1.5px solid rgba(232,106,68,.35); }
.step-content a:hover{ border-color:var(--orange-dark); }
.steps-cta{ text-align:center; margin-top:56px; }

/* ---------- testimonials ---------- */
.testimonials-section{ background:#fff; overflow:hidden; }
.testimonials-wrap{ position:relative; max-width:820px; margin:0 auto; padding:0 68px; }
.testimonial-track{ position:relative; min-height:220px; }
.testimonial-card{
  position:absolute; inset:0; background:var(--bg); border-radius:var(--radius);
  box-shadow:var(--shadow-sm); padding:40px 44px; opacity:0; visibility:hidden;
  transform:translateY(6px); transition:opacity .45s ease, transform .45s ease;
  display:flex; flex-direction:column; gap:16px; overflow:hidden;
}
.testimonial-card::before{
  content:"\201C"; position:absolute; top:6px; right:26px; font-size:80px; font-weight:900;
  color:#fff; line-height:1; font-family:Georgia, serif; z-index:0;
}
.testimonial-card > *{ position:relative; z-index:1; }
.testimonial-card.active{ opacity:1; visibility:visible; position:relative; transform:translateY(0); }
.testimonial-head{ display:flex; align-items:center; gap:16px; }
.testimonial-avatar{
  width:58px; height:58px; border-radius:50%; border:3px solid #fff;
  box-shadow:0 0 0 1.5px var(--line); flex-shrink:0; background:#fff;
  overflow:hidden; display:block;
}
.testimonial-avatar img{
  width:100%; height:100%; object-fit:cover; display:block;
  transform:scale(var(--zoom, 2.4)); transform-origin:center center;
}
.testimonial-stars{ color:var(--orange); font-size:14px; letter-spacing:2px; margin:0 0 4px; }
.testimonial-name{ font-weight:700; color:var(--ink); font-size:16px; }
.testimonial-role{ color:var(--muted); font-size:13.5px; }
.testimonial-quote{ margin:0; color:var(--ink); font-size:16.5px; line-height:1.65; }
.testimonial-dots{ display:flex; justify-content:center; gap:8px; margin-top:28px; }
.testimonial-dots button{
  width:8px; height:8px; border-radius:50%; border:none; padding:0; cursor:pointer;
  background:rgba(46,50,56,0.18); transition:background .15s ease, transform .15s ease;
}
.testimonial-dots button.active{ background:var(--orange); transform:scale(1.2); }
.testimonials-wrap .slider-arrow{
  background:#fff; color:var(--orange-dark); box-shadow:var(--shadow-sm);
}
.testimonials-wrap .slider-arrow:hover{ background:var(--orange); color:#fff; }
.testimonials-wrap .slider-arrow--prev{ left:0; }
.testimonials-wrap .slider-arrow--next{ right:0; }

/* ---------- contact form ---------- */
.contact-section{ background:#fff; }
.contact-card{
  max-width:560px; margin:0 auto; background:var(--card); border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow-sm); padding:44px;
}
.contact-card h2{ margin:0 0 8px; font-size:26px; font-weight:800; letter-spacing:-.01em; color:var(--ink); }
.contact-card p.contact-sub{ margin:0 0 28px; color:var(--muted); font-size:15px; line-height:1.55; }
.form-field{ margin-bottom:20px; }
.form-field label{
  display:block; font-size:13px; font-weight:700; letter-spacing:.02em; color:var(--ink); margin-bottom:8px;
}
.form-field input, .form-field textarea{
  width:100%; padding:14px 16px; border-radius:12px; border:1.5px solid var(--line);
  font:inherit; font-size:15px; color:var(--ink); background:var(--bg);
  transition:border-color .15s ease, background .15s ease;
}
.form-field textarea{ min-height:128px; resize:vertical; }
.form-field input:focus, .form-field textarea:focus{
  outline:none; border-color:var(--orange); background:#fff;
}
.form-status{ margin-top:16px; font-size:14px; font-weight:600; min-height:20px; }
.form-status.ok{ color:#1a7f4b; }
.form-status.err{ color:#c93a3a; }
.contact-card button[type="submit"]{ width:100%; justify-content:center; }
.contact-card button[type="submit"]:disabled{ opacity:.6; cursor:default; }

/* ---------- responsive ---------- */
@media (max-width:860px){
  .hero-slide{ min-height:auto; }
  .hero-slide--1 .hero-slide-inner{ grid-template-columns:1fr; gap:32px; text-align:center; }
  .hero-eyebrow{ margin-left:auto; margin-right:auto; }
  .hero-copy p{ margin-left:auto; margin-right:auto; }
  .hero-plus-grid{ margin-left:auto; margin-right:auto; justify-content:center; }
  .hero-copy h1{ font-size:40px; }
  .hero-visual{ height:360px; order:-1; border-radius:24px; }
  .hero-visual img{ width:94%; max-width:94%; max-height:90%; margin:0 auto; }
  .areas-grid{ grid-template-columns:1fr; }
  .areas-intro h2{ font-size:24px; }
  .rozlisovanie-slide h2{ font-size:26px; }
  .misie-slide{ grid-template-columns:1fr; gap:28px; text-align:center; }
  .misie-copy h2{ font-size:26px; }
  .misie-copy p{ margin-left:auto; margin-right:auto; }
  .focus-row{ justify-content:center; text-align:left; }
  .misie-qr{ margin-top:28px; }
  .qr-card{ margin:0 auto; }
  .coffee-slide{ grid-template-columns:1fr; gap:0; text-align:center; }
  .coffee-copy h2{ font-size:28px; }
  .coffee-copy > p{ margin-left:auto; margin-right:auto; }
  .slider-arrow{ width:40px; height:40px; }
  .slider-arrow svg{ width:16px; height:16px; }
  .slider-arrow--prev{ left:8px; }
  .slider-arrow--next{ right:8px; }
  .step-item{ grid-template-columns:40px 1fr; gap:18px; padding-bottom:36px; }
  .step-number{ width:40px; height:40px; font-size:16px; }
  .step-marker::after{ top:40px; bottom:-36px; }
  .step-content h3{ font-size:18px; }
  .testimonials-wrap{ padding:0 50px; }
  .testimonial-card{ padding:28px 24px; }
  .testimonial-card::before{ font-size:60px; right:16px; }
  .testimonial-avatar{ width:76px; height:76px; border-width:3px; }
  .contact-card{ padding:28px; }
  .section{ padding:56px 16px; }
}

@media (max-width:520px){
  .testimonial-head{ flex-direction:column; text-align:center; gap:12px; }
  .testimonial-avatar{ width:96px; height:96px; border-width:3px; }
  .testimonial-card::before{ font-size:48px; right:12px; top:2px; }
  .hero-visual{ height:300px; }
  .hero-visual img{ max-height:90%; max-width:94%; }
  .area-card .area-icon-wrap{ width:72px; height:72px; }
  .area-card .area-icon{ width:36px; height:36px; }
}
