/* ==========================================================
   ALFA IT CENTER — Franchise Landing (ISFJ-friendly design)
   Modern, calm, structured, trust-forward, fully responsive
   ========================================================== */

:root{
  --bg: #0b0c10;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --text: #111827;
  --muted: #5b6475;
  --border: rgba(17,24,39,.12);
  --shadow: 0 20px 60px rgba(17,24,39,.08);
  --shadow-2: 0 10px 30px rgba(17,24,39,.08);
  --accent: #ff3b30; /* logo red */
  --accent-2: #ff6a63;
  --good: #14b8a6;
  --warn: #f59e0b;
  --radius: 22px;
  --radius-sm: 16px;
  --max: 1120px;
  --pad: 20px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(255,59,48,.16), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(20,184,166,.12), transparent 55%),
    #f4f6fb;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
p{ line-height:1.6; color: var(--muted); }
h1,h2,h3{ margin:0; color: var(--text); letter-spacing:-0.02em; }
h1{ font-size: clamp(30px, 4vw, 46px); line-height:1.12; }
h2{ font-size: clamp(24px, 3vw, 34px); line-height:1.18; }
h3{ font-size: 18px; line-height:1.25; }

.container{
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left: 16px; top: 16px; width:auto; height:auto;
  background:#fff; padding: 10px 12px; border-radius: 12px;
  box-shadow: var(--shadow-2);
  z-index: 9999;
}

/* Top subtle bar */
.topbar{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17,24,39,.08);
}
.progress{
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--good));
  width: 0%;
}

/* Header */
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 240px;
}
.brand__logo{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(255,59,48,.18);
  border: 1px solid rgba(17,24,39,.10);
  object-fit: cover;
  background:#fff;
}
.brand__text strong{
  display:block;
  font-size: 14px;
  letter-spacing: .02em;
}
.brand__text span{
  display:block;
  font-size: 12px;
  color: var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  gap: 14px;
}
.nav a{
  font-size: 13px;
  color: rgba(17,24,39,.78);
  padding: 10px 10px;
  border-radius: 12px;
}
.nav a:hover{ background: rgba(17,24,39,.05); }
.nav a.active{
  color: var(--text);
  background: rgba(255,59,48,.10);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,.10);
  background: #fff;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.btn:active{ transform: translateY(0); }
.btn--primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(255,59,48,.22);
}
.btn--primary:hover{ box-shadow: 0 24px 70px rgba(255,59,48,.26); }
.btn--ghost{
  background: rgba(255,255,255,.6);
}
.btn--small{ padding: 10px 12px; font-size: 13px; border-radius: 13px; }
.btn svg{ width: 16px; height: 16px; }

.burger{
  display:none;
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.8);
  border-radius: 14px;
  width: 44px; height: 44px;
  align-items:center; justify-content:center;
  cursor:pointer;
}
.burger span{
  width: 20px; height: 2px; background: #111827;
  display:block; position: relative;
}
.burger span::before, .burger span::after{
  content:"";
  position:absolute; left:0;
  width: 20px; height: 2px; background:#111827;
}
.burger span::before{ top:-6px; }
.burger span::after{ top:6px; }

/* Hero */
.hero{
  padding: 42px 0 24px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items:stretch;
}
.hero__card{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.hero__card::after{
  content:"";
  position:absolute; right:-180px; top:-180px;
  width: 360px; height: 360px;
  background: radial-gradient(circle at 30% 30%, rgba(255,59,48,.20), transparent 60%);
  filter: blur(2px);
  pointer-events:none;
}
.kicker{
  display:inline-flex;
  gap: 8px;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(20,184,166,.10);
  border: 1px solid rgba(20,184,166,.18);
  color: #0f766e;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 14px;
}
.kicker .dot{
  width: 8px; height: 8px; border-radius: 999px; background: var(--good);
  box-shadow: 0 0 0 6px rgba(20,184,166,.12);
}
.hero__lead{ margin: 14px 0 18px; font-size: 16px; }
.hero__cta{ display:flex; gap: 12px; flex-wrap:wrap; margin-top: 16px; }
.hero__meta{
  display:flex; gap: 10px; flex-wrap:wrap;
  margin-top: 18px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(17,24,39,.10);
  font-size: 12px;
  color: rgba(17,24,39,.78);
}
.chip svg{ width: 14px; height: 14px; }

.hero__aside{
  display:grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}
.aside__box{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-2);
}
.aside__box h3{ font-size: 15px; }
.aside__list{
  margin: 12px 0 0;
  padding: 0;
  list-style:none;
  display:grid;
  gap: 10px;
}
.aside__list li{
  display:flex; gap: 10px;
  color: rgba(17,24,39,.80);
  font-size: 13px;
}
.badge{
  width: 26px; height: 26px;
  border-radius: 10px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,59,48,.10);
  border: 1px solid rgba(255,59,48,.18);
  flex: 0 0 26px;
}
.badge svg{ width: 14px; height: 14px; }

/* Section */
.section{
  padding: 34px 0;
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.section__head p{ margin: 0; max-width: 62ch; }
.section__head .note{
  font-size: 12px;
  color: rgba(17,24,39,.65);
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(17,24,39,.10);
  padding: 10px 12px;
  border-radius: 14px;
}

/* Module system */
.modules{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  align-items:start;
}
.module-list{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  overflow:hidden;
}
.module-list button{
  width:100%;
  text-align:left;
  border:0;
  background: transparent;
  padding: 14px 14px;
  cursor:pointer;
  display:flex;
  gap: 10px;
  border-bottom: 1px solid rgba(17,24,39,.08);
}
.module-list button:hover{ background: rgba(17,24,39,.04); }
.module-list button.active{ background: rgba(255,59,48,.10); }
.module-list .num{
  width: 28px; height: 28px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(17,24,39,.05);
  border: 1px solid rgba(17,24,39,.08);
  font-weight: 800;
  font-size: 12px;
  flex: 0 0 28px;
}
.module-list button.active .num{
  background: rgba(255,59,48,.12);
  border-color: rgba(255,59,48,.22);
}
.module-list .ttl{
  font-weight: 800;
  color: rgba(17,24,39,.90);
  font-size: 13px;
}
.module-list .sub{
  display:block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(17,24,39,.62);
}

.module-panel{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  position:relative;
  overflow:hidden;
}
.module-panel::after{
  content:"";
  position:absolute; left:-120px; bottom:-140px;
  width: 320px; height: 320px;
  background: radial-gradient(circle at 60% 30%, rgba(20,184,166,.16), transparent 62%);
  pointer-events:none;
}
.module-panel__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.70);
  font-size: 12px;
  color: rgba(17,24,39,.72);
}
.module-panel__body{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.card{
  background: rgba(246,247,251,.8);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 18px;
  padding: 14px;
}
.card h4{
  margin:0 0 8px;
  font-size: 14px;
}
.ul{
  margin:0;
  padding:0 0 0 18px;
  color: rgba(17,24,39,.75);
  font-size: 13px;
  line-height:1.6;
}
.ul li{ margin: 6px 0; }
.kv{
  display:grid;
  gap: 10px;
}
.kv .row{
  display:flex; align-items:center; justify-content:space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.68);
}
.kv .row b{ font-size: 13px; }
.kv .row span{ font-size: 12px; color: rgba(17,24,39,.62); }

/* Steps / timeline */
.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-2);
  position:relative;
  overflow:hidden;
}
.step::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(255,59,48,.12), transparent 40%);
  pointer-events:none;
}
.step .top{
  display:flex; align-items:center; justify-content:space-between; gap: 12px;
  margin-bottom: 10px;
}
.step .tag{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,59,48,.10);
  border: 1px solid rgba(255,59,48,.18);
  color: rgba(17,24,39,.82);
  font-weight: 800;
}
.step p{ margin: 0; font-size: 13px; }

/* Gallery + slider */
.gallery{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.carousel{
  position:relative;
}
.carousel__track{
  display:flex;
  overflow:auto;
  scroll-snap-type: x mandatory;
  scroll-behavior:smooth;
}
.carousel__track::-webkit-scrollbar{ height: 10px; }
.carousel__track::-webkit-scrollbar-thumb{
  background: rgba(17,24,39,.14);
  border-radius: 999px;
}
.slide{
  min-width: 100%;
  scroll-snap-align: start;
  position:relative;
}
.slide img{
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.slide .caption{
  position:absolute;
  left: 16px; bottom: 16px;
  right: 16px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 16px;
  padding: 12px 12px;
  display:flex; align-items:center; justify-content:space-between; gap: 10px;
}
.caption b{ font-size: 13px; }
.caption span{ font-size: 12px; color: rgba(17,24,39,.62); }

.carousel__btn{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-2);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.carousel__btn:hover{ transform: translateY(-50%) scale(1.02); }
.carousel__btn.prev{ left: 12px; }
.carousel__btn.next{ right: 12px; }
.carousel__btn svg{ width: 18px; height: 18px; }

.dots{
  display:flex;
  gap: 8px;
  padding: 12px 14px 14px;
  justify-content:center;
  background: rgba(255,255,255,.82);
  border-top: 1px solid rgba(17,24,39,.08);
}
.dotbtn{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(17,24,39,.18);
  border: 0;
  cursor:pointer;
}
.dotbtn.active{ background: rgba(255,59,48,.9); width: 26px; }

/* Reviews */
.reviews{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:stretch;
}
.review-card{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.review-card .stars{
  display:flex; gap: 6px; margin-bottom: 10px;
}
.review-card p{ margin: 0 0 14px; font-size: 14px; color: rgba(17,24,39,.80); }
.review-meta{
  display:flex; gap: 10px; align-items:center;
}
.avatar{
  width: 38px; height: 38px; border-radius: 14px;
  background: rgba(255,59,48,.12);
  border: 1px solid rgba(255,59,48,.18);
  display:flex; align-items:center; justify-content:center;
  font-weight: 900;
  color: rgba(17,24,39,.86);
}
.review-meta b{ font-size: 13px; display:block; }
.review-meta span{ font-size: 12px; color: rgba(17,24,39,.62); }

/* Calculator */
.calc{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items:stretch;
}
.form{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.fields{
  display:grid; gap: 12px;
}
.field label{
  display:block;
  font-size: 12px;
  color: rgba(17,24,39,.70);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,.14);
  background: rgba(255,255,255,.9);
  font: inherit;
  font-size: 14px;
  outline:none;
}
.field input:focus, .field textarea:focus, .field select:focus{
  border-color: rgba(255,59,48,.6);
  box-shadow: 0 0 0 4px rgba(255,59,48,.12);
}
.field textarea{ min-height: 98px; resize: vertical; }

.result{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap: 14px;
}
.metric{
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 18px;
  background: rgba(246,247,251,.8);
  padding: 14px;
}
.metric b{ display:block; font-size: 12px; color: rgba(17,24,39,.68); }
.metric strong{ display:block; font-size: 22px; margin-top: 4px; }
.small{
  font-size: 12px;
  color: rgba(17,24,39,.62);
}

/* FAQ */
.faq{
  display:grid;
  gap: 10px;
}
.acc{
  border-radius: var(--radius);
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-2);
  overflow:hidden;
}
.acc button{
  width:100%;
  text-align:left;
  padding: 14px 16px;
  border:0;
  background: transparent;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  font-weight: 800;
}
.acc button span{
  color: rgba(17,24,39,.85);
}
.acc button .chev{
  width: 28px; height: 28px;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.8);
  display:flex; align-items:center; justify-content:center;
  transition: transform .2s ease;
}
.acc .body{
  max-height: 0;
  overflow:hidden;
  transition: max-height .25s ease;
  border-top: 1px solid rgba(17,24,39,.08);
}
.acc .body > div{
  padding: 14px 16px;
  color: rgba(17,24,39,.78);
  font-size: 13px;
  line-height:1.7;
}
.acc.open button .chev{ transform: rotate(180deg); }
.acc.open .body{ max-height: 400px; }

/* Contacts */
.contacts{
  display:grid;
  grid-template-columns: 1fr .9fr;
  gap: 16px;
  align-items:stretch;
}
.contact-box{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.contact-list{
  margin: 0;
  padding: 0;
  list-style:none;
  display:grid;
  gap: 10px;
}
.contact-list a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(246,247,251,.8);
}
.contact-list a:hover{ border-color: rgba(255,59,48,.28); }

/* Footer */
.footer{
  padding: 26px 0 90px;
  color: rgba(17,24,39,.68);
}
.footer .row{
  display:flex;
  gap: 14px;
  justify-content:space-between;
  flex-wrap:wrap;
  align-items:center;
}
.footer small{ font-size: 12px; }
.footer a{ color: rgba(17,24,39,.78); border-bottom: 1px dashed rgba(17,24,39,.32); }

/* Mobile bottom bar */
.mobilebar{
  position:fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 80;
  display:none;
}
.mobilebar .wrap{
  display:flex;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(17,24,39,.12);
  box-shadow: var(--shadow);
}
.mobilebar .wrap a{
  flex: 1;
  text-align:center;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(246,247,251,.9);
  font-weight: 800;
  font-size: 13px;
}
.mobilebar .wrap a.primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .modules{ grid-template-columns: 1fr; }
  .module-panel__body{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .reviews{ grid-template-columns: 1fr; }
  .calc{ grid-template-columns: 1fr; }
  .contacts{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .burger{ display:flex; }
  .mobilebar{ display:block; }
}
@media (max-width: 560px){
  .hero__card{ padding: 18px; }
  .aside__box{ padding: 16px; }
  .step{ padding: 14px; }
  .slide img{ height: 340px; }
}

/* Mobile menu (overlay) */
.overlay{
  position:fixed;
  inset:0;
  background: rgba(11,12,16,.55);
  backdrop-filter: blur(6px);
  z-index: 120;
  display:none;
}
.overlay.open{ display:block; }
.drawer{
  position:absolute;
  right: 12px; left: 12px; top: 12px;
  background: rgba(255,255,255,.96);
  border-radius: 22px;
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: var(--shadow);
  padding: 12px;
}
.drawer .head{
  display:flex; justify-content:space-between; align-items:center;
  padding: 10px 10px 12px;
}
.drawer .head b{ font-size: 14px; }
.drawer .close{
  width: 44px; height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(246,247,251,.9);
  cursor:pointer;
}
.drawer nav{
  display:grid;
  gap: 6px;
  padding: 0 10px 10px;
}
.drawer nav a{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(246,247,251,.85);
  font-weight: 800;
  font-size: 13px;
}
.drawer nav a.primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color:#fff;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; }
}
