/* ============================================================
   DIGITAL LOBBY — shared stylesheet for both pages
   Colors, fonts and spacing are all defined once below (:root)
   so you can retint the whole site by editing a few lines here.
   ============================================================ */

:root{
  --navy: #0B3D8F;
  --navy-deep: #062354;
  --sky: #3E8FC4;
  --gold: #F5B324;
  --gold-deep: #E19B00;
  --gold-soft: #FDF1D2;
  --red: #E12A3F;
  --red-soft: #FBE4E7;
  --bg: #F6F8FB;
  --card: #FFFFFF;
  --ink: #1C2530;
  --muted: #5B6675;
  --line: #E3E8F0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 35, 65, 0.08);
  --maxw: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family:'Inter', -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
h1,h2,h3,h4{
  font-family:'Poppins', 'Inter', sans-serif;
  color: var(--navy-deep);
  line-height: 1.2;
  margin: 0 0 .5em;
}
p{ margin:0 0 1em; color: var(--ink); }
a{ color: var(--sky); text-decoration:none; }
img{ max-width:100%; display:block; border-radius: var(--radius); }
.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section{ padding: 84px 0; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px; text-transform:uppercase; letter-spacing:.14em;
  font-size:.75rem; font-weight:700; color: var(--navy);
  background: #EAF0FB; padding:6px 14px 6px 12px; border-radius: 999px; margin-bottom:16px;
}
.eyebrow::before{ content:""; width:7px; height:7px; border-radius:50%; background: var(--red); flex-shrink:0; }
.section-head{ max-width: 700px; margin-bottom: 48px; }
.section-head p{ color: var(--muted); font-size: 1.05rem; }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding: 14px 26px; border-radius: 999px; font-weight:600;
  font-size:.98rem; border:2px solid transparent; cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--gold); color: var(--navy-deep); box-shadow: 0 8px 20px rgba(245,179,36,.35); }
.btn-primary:hover{ box-shadow: 0 12px 26px rgba(245,179,36,.45); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,.55); color:#fff; }
.btn-outline.dark{ border-color: var(--navy); color: var(--navy); }
.btn-red{ background: var(--red); color:#fff; box-shadow: 0 8px 20px rgba(225,42,63,.3); }
.btn-red:hover{ box-shadow: 0 12px 26px rgba(225,42,63,.4); }

/* ---------- header ---------- */
header{
  position: sticky; top:0; z-index: 50;
  background: rgba(246,248,251,.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; padding: 12px 24px; max-width: var(--maxw); margin:0 auto; }
.brand{ display:flex; flex-direction:column; align-items:flex-start; gap:2px; }.brand-name{ font-family:'Poppins','Inter',sans-serif; font-weight:700; font-size:.85rem; color: var(--navy-deep); letter-spacing:.02em; }
.brand img{ height:58px; width:auto; border-radius:0; }
nav ul{ list-style:none; display:flex; gap:6px; margin:0; padding:0; }
nav a{
  color: var(--navy-deep); font-weight:600; font-size:.98rem;
  padding:10px 16px; border-radius:999px; transition: background .15s ease, color .15s ease;
}
nav a:hover, nav a.active{ background: var(--navy); color:#fff; }
.nav-toggle{ display:none; }

/* ---------- hero ---------- */
.hero{
  position:relative; overflow:hidden;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 62%, var(--sky) 130%);
  color:#fff; padding: 96px 0 110px;
}
.hero::before{
  content:""; position:absolute; width:420px; height:420px; border-radius:50%;
  background: var(--gold); opacity:.16; filter: blur(90px); top:-140px; right:-100px; z-index:1;
}
.hero::after{
  content:""; position:absolute; width:340px; height:340px; border-radius:50%;
  background: var(--red); opacity:.14; filter: blur(100px); bottom:-120px; left:8%; z-index:1;
}
.hero .container{ display:grid; grid-template-columns: 1fr 1.05fr; gap:48px; align-items:center; position:relative; z-index:2; }
.hero h1{ color:#fff; font-size: clamp(2.1rem, 4vw, 3.1rem); }
.hero p{ color: rgba(255,255,255,.85); font-size:1.1rem; max-width:520px; }
.hero-actions{ display:flex; gap:14px; margin-top:28px; flex-wrap:wrap; }
.hero-badge{
  display:inline-flex; align-items:center; gap:10px; background: rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.25); padding:8px 16px; border-radius:999px;
  font-size:.85rem; margin-bottom:18px; color:#fff;
}
.hero-media{ position:relative; }
.hero-media img{ box-shadow: var(--shadow); width:100%; aspect-ratio: 4 / 3.1; object-fit:cover; }
@media (max-width:560px){ .hero-media img{ aspect-ratio: 4 / 3; } }
.facets{ position:absolute; inset:0; pointer-events:none; opacity:.5; }

/* ---------- about ---------- */
.about-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:56px; align-items:start; }
.about-grid p{ text-align:justify; }
.about-meta{ margin-top:18px; font-size:.88rem; color:var(--muted); display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.about-meta .dot{ color:var(--gold); }

/* ---------- product cards ---------- */
.card-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; }
.card{
  background: var(--card); border:1px solid var(--line); border-radius: var(--radius);
  padding:28px; box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease;
  display:flex; flex-direction:column; gap:10px;
}
.card:hover{ transform: translateY(-6px); border-color: var(--sky); }
.card .icon{ font-size:2rem; transition: transform .22s ease; }
.card:hover .icon{ transform: scale(1.15) rotate(-6deg); }
.card h3{ font-size:1.15rem; margin-bottom:2px; }
.card p{ color:var(--muted); font-size:.95rem; margin-bottom:0; text-align:justify; }
.card .tag{ margin-top:auto; font-size:.8rem; font-weight:700; color:var(--sky); }
.card.featured{ border:2px solid var(--gold); background: linear-gradient(180deg,#fff, var(--gold-soft)); }
.card-cta{
  margin-top:auto; padding-top:14px; display:inline-flex; align-items:center; gap:6px;
  font-size:.85rem; font-weight:700; padding:10px 18px; border-radius:999px; width:fit-content;
}
.card-cta.active{ background: var(--gold); color: var(--navy-deep); }
.card-cta.outline{ background:transparent; border:2px solid var(--navy); color: var(--navy); }

/* ---------- spotlight banner ---------- */
.spotlight{
  position:relative; border-radius: 22px; overflow:hidden; color:#fff;
  min-height:340px; display:flex; align-items:center;
}
.spotlight img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:0; }
.spotlight::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(11,31,58,.92) 30%, rgba(11,31,58,.55) 75%);
}
.spotlight-inner{ position:relative; z-index:2; padding: 48px 56px; max-width:560px; }
.spotlight-inner .eyebrow{ background: rgba(255,255,255,.15); color:#fff; }
.spotlight-inner h2{ color:#fff; font-size:clamp(1.6rem,3vw,2.3rem); }
.spotlight-inner p{ color:rgba(255,255,255,.85); }

/* ---------- interactive scroller (clients / partners) ---------- */
.client-panel{
  background: var(--card); border:1px solid var(--line); border-radius: 18px;
  padding: 22px 22px 8px; box-shadow: var(--shadow); margin-bottom: 24px;
}
.client-panel:last-child{ margin-bottom:0; }
.scroller-label{
  font-size:1.05rem; margin-bottom:16px; display:flex; align-items:center; gap:10px;
  padding-bottom:12px; border-bottom:1px solid var(--line);
}
.scroller{ display:flex; align-items:center; gap:12px; }
.scroller-wrap{ position:relative; flex:1; min-width:0; }
.scroller-wrap::before, .scroller-wrap::after{
  content:""; position:absolute; top:4px; bottom:14px; width:36px; z-index:3; pointer-events:none;
}
.scroller-wrap::before{ left:0; background:linear-gradient(90deg, var(--card), transparent); }
.scroller-wrap::after{ right:0; background:linear-gradient(270deg, var(--card), transparent); }
.scroller-track{
  display:flex; gap:12px; overflow-x:auto; scroll-behavior:auto;
  padding:4px 2px 14px; cursor:grab;
  scrollbar-width:thin; scrollbar-color: var(--navy) transparent;
}
.scroller-track.dragging{ cursor:grabbing; }
.scroller-track::-webkit-scrollbar{ height:6px; }
.scroller-track::-webkit-scrollbar-thumb{ background: var(--line); border-radius:999px; }
.scroller-track li, .scroller-track .schip{
  background:var(--bg); border:1px solid var(--line); padding:11px 18px; border-radius:999px;
  font-size:.9rem; color:var(--ink); font-weight:600; white-space:nowrap; flex-shrink:0;
  list-style:none; user-select:none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.scroller-track .schip:hover{ transform: translateY(-3px); border-color: var(--sky); background:#fff; box-shadow: 0 8px 16px rgba(15,35,65,.1); }
.scroller-track.partner-track .schip{ border-radius:10px; color:var(--navy); font-weight:700; }
.scroller-track.partner-track .schip:hover{ border-color: var(--gold-deep); }
.scroller-btn{
  flex-shrink:0; width:38px; height:38px; border-radius:50%; border:2px solid var(--navy);
  background:#fff; color:var(--navy); font-size:1.2rem; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:.15s ease; position:relative; z-index:4;
}
.scroller-btn:hover{ background:var(--navy); color:#fff; }
@media (max-width:560px){ .scroller-btn{ display:none; } .scroller-wrap::before, .scroller-wrap::after{ width:22px; } }

/* ---------- lists / checkmarks ---------- */
.check-list{ list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.check-list li{ display:flex; gap:12px; align-items:flex-start; color: var(--ink); }
.check-list li::before{
  content:"✔"; color:#2E9E5B; font-weight:700; flex-shrink:0;
  background:#E4F6EB; width:24px; height:24px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:.75rem; margin-top:2px;
}
.cross-list li::before{ content:"✕"; color: var(--red); background: var(--red-soft); }

/* ---------- two-col media block ---------- */
.media-copy{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.media-copy.reverse{ direction: rtl; }
.media-copy.reverse > *{ direction: ltr; }
.img-pair{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }

/* ---------- subject cards (VR curriculum) ---------- */
.subject-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; }
.subject-card{
  position:relative; background:var(--card); border:1px solid var(--line); border-radius:16px;
  padding:28px 24px; overflow:hidden; cursor:default;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.subject-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:5px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0); transform-origin:left; transition: transform .25s ease;
}
.subject-card:nth-child(3n+2)::before{ background: linear-gradient(90deg, var(--gold), var(--red)); }
.subject-card:nth-child(3n)::before{ background: linear-gradient(90deg, var(--red), var(--navy)); }
.subject-card:hover{ transform: translateY(-8px); box-shadow: 0 18px 34px rgba(11,61,143,.14); border-color: transparent; }
.subject-card:hover::before{ transform: scaleX(1); }
.subject-icon{
  width:56px; height:56px; border-radius:14px; background: var(--gold-soft);
  display:flex; align-items:center; justify-content:center; font-size:1.6rem;
  margin-bottom:16px; transition: transform .22s ease;
}
.subject-card:hover .subject-icon{ transform: scale(1.12) rotate(-4deg); }
.subject-card h3{ font-size:1.1rem; margin-bottom:6px; }
.subject-card p{ color:var(--muted); font-size:.92rem; margin-bottom:0; }
@media (max-width:900px){ .subject-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .subject-grid{ grid-template-columns: 1fr; } }

/* ---------- video frame ---------- */
.video-frame{
  max-width:900px; margin:0 auto; padding:10px; border-radius:22px;
  background: linear-gradient(135deg, var(--navy), var(--gold) 60%, var(--red));
  box-shadow: var(--shadow);
}
.video-frame-inner{
  position:relative; width:100%; padding-bottom:56.25%; height:0;
  border-radius:16px; overflow:hidden; background:#000;
}
.video-frame-inner iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0; border-radius:16px;
}

/* ---------- section variants ---------- */
.section-alt{ background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-navy{ background: var(--navy-deep); color:#fff; }
.section-navy h2, .section-navy .section-head p{ color:#fff; }
.section-navy .section-head p{ color: rgba(255,255,255,.7); }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap:56px; }
.contact-info-list{ list-style:none; padding:0; margin:0 0 28px; display:grid; gap:16px; }
.contact-info-list li{ display:flex; gap:14px; align-items:flex-start; }
.contact-info-list .ic{
  width:40px; height:40px; border-radius:10px; background:rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:1.1rem;
}
.contact-info-list b{ display:block; color:#fff; }
.contact-info-list span{ color:rgba(255,255,255,.75); font-size:.95rem; }
.whatsapp-btn{
  display:inline-flex; align-items:center; gap:10px; background:#25D366; color:#fff;
  padding:12px 22px; border-radius:999px; font-weight:700; margin-top:8px;
}

form.contact-form{ background:#fff; border-radius: var(--radius); padding:32px; box-shadow: var(--shadow); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.contact-form label{ display:block; font-size:.85rem; font-weight:700; color:var(--navy-deep); margin-bottom:6px; }
.contact-form input, .contact-form select, .contact-form textarea{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:10px;
  font-family:inherit; font-size:.95rem; margin-bottom:16px; background:#F9FAFC; color:var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus{
  outline:2px solid var(--sky); outline-offset:1px; background:#fff;
}
.contact-form button{ width:100%; justify-content:center; }
.form-note{ font-size:.82rem; color:var(--muted); margin-top:10px; }

/* ---------- footer ---------- */
footer{ background: var(--navy-deep); color:rgba(255,255,255,.65); padding:28px 0; font-size:.88rem; }
.footer-inner{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; align-items:center; }
.footer-inner a{ color:rgba(255,255,255,.8); }

/* ---------- welcome popup ---------- */
.promo-overlay{
  position:fixed; inset:0; z-index:999; display:flex; align-items:center; justify-content:center;
  padding:20px; background: rgba(6,35,84,.66); backdrop-filter: blur(3px);
  opacity:0; pointer-events:none; transition: opacity .35s ease;
}
.promo-overlay.show{ opacity:1; pointer-events:auto; }
.promo-modal{
  position:relative; width:100%; max-width:420px; background:#fff; border-radius:20px;
  overflow:hidden; box-shadow: 0 30px 80px rgba(6,35,84,.45);
  transform: translateY(18px) scale(.96); transition: transform .35s ease;
}
.promo-overlay.show .promo-modal{ transform: translateY(0) scale(1); }
.promo-close{
  position:absolute; top:12px; right:12px; z-index:2; width:32px; height:32px; border-radius:50%;
  background: var(--red-soft); color: var(--red); border:none; font-size:1rem; font-weight:700;
  cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.15s ease;
}
.promo-close:hover{ background: var(--red); color:#fff; }
.promo-img-wrap{
  position:relative; width:100%; aspect-ratio: 4 / 3; overflow:hidden;
  background: linear-gradient(135deg,#EDEFF3,#E3E8F0);
  display:flex; align-items:center; justify-content:center;
}
.promo-img-wrap::before{
  content:""; width:64px; height:64px; border-radius:50%; background: var(--gold); opacity:.55;
}
.promo-img-wrap img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:0; }
.promo-img-wrap.img-missing img{ display:none; }
.promo-img-label{
  display:none; position:absolute; bottom:10px; left:10px; right:10px; text-align:center;
  font-size:.72rem; color: var(--muted); background: rgba(255,255,255,.9); padding:6px 10px; border-radius:8px;
}
.promo-img-wrap.img-missing .promo-img-label{ display:block; }
.promo-body{ padding:24px 26px 28px; text-align:center; }
.promo-body h3{ font-size:1.25rem; margin-bottom:8px; }
.promo-body p{ color: var(--muted); margin-bottom:20px; }
.promo-body .btn{ width:100%; justify-content:center; }

/* ---------- focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:3px solid var(--gold); outline-offset:2px;
}

/* ---------- page-scoped: justify all paragraphs on the fotonVR page ---------- */
.page-fotonvr p{ text-align:justify; }

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .hero .container, .about-grid, .media-copy, .client-cols, .contact-grid{ grid-template-columns:1fr; }
  .media-copy.reverse{ direction:ltr; }
  .card-grid{ grid-template-columns: repeat(2,1fr); }
  .form-row{ grid-template-columns:1fr; }
  .nav-wrap{ flex-direction:column; align-items:flex-start; gap:10px; }
  nav ul{ flex-wrap:wrap; gap:6px; }
  nav a{ padding:8px 12px; font-size:.9rem; }
}
@media (max-width: 560px){
  .card-grid{ grid-template-columns:1fr; }
  .img-pair{ grid-template-columns:1fr; }
  section{ padding:60px 0; }
  .spotlight-inner{ padding:32px 24px; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
}
