/* Credit Online – stil landing page */
:root{
  --yellow:#FFC20E; --yellow-soft:#FFF4CC; --yellow-deep:#F2B200;
  --blue:#0B3A82; --blue-dark:#072A60;
  --red:#D11F2A;
  --ink:#14213D; --muted:#4D5A78; --line:#E3E7EF; --soft:#F5F7FB; --white:#fff;
  --r-sm:8px; --r-md:14px; --r-lg:22px;
  --font-head:'Bricolage Grotesque','Arial Black',Arial,sans-serif;
  --font-body:Figtree,'Segoe UI',Arial,sans-serif;
  --wrap:1160px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;font-family:var(--font-body);font-size:17px;line-height:1.55;color:var(--ink);background:var(--white)}
img{max-width:100%;height:auto}
a{color:var(--blue)}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hp{position:absolute;left:-9999px;opacity:0}

/* Banda tricolor */
.tricolor{display:flex;height:6px}
.tricolor span{flex:1}
.tricolor span:nth-child(1){background:var(--blue)}
.tricolor span:nth-child(2){background:var(--yellow)}
.tricolor span:nth-child(3){background:var(--red)}
.tricolor-sm{height:5px;border-radius:var(--r-lg) var(--r-lg) 0 0;overflow:hidden;margin:-28px -28px 22px}

/* Header */
.site-header{position:sticky;top:0;z-index:40;background:var(--yellow);border-bottom:1px solid rgba(11,58,130,.12)}
.header-row{display:flex;align-items:center;gap:28px;min-height:76px}
.brand img{display:block;width:200px;height:auto}
.main-nav{display:flex;gap:22px;margin-left:auto}
.main-nav a{color:var(--ink);text-decoration:none;font-weight:600;font-size:15px}
.main-nav a:hover{color:var(--blue);text-decoration:underline;text-underline-offset:4px}

/* Butoane */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;cursor:pointer;
  font:700 16px/1 var(--font-body);padding:15px 24px;border-radius:999px;text-decoration:none;transition:background .15s,transform .15s}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-dark)}
.btn-dark{background:var(--ink);color:#fff}
.btn-ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 2px currentColor}
.btn-ghost:hover{background:rgba(20,33,61,.06)}
.btn-call{background:var(--red);color:#fff;padding:12px 20px}
.btn-call:hover{background:#B5161F}
.btn-call svg{width:20px;height:20px;fill:currentColor}
.btn-call b{font-weight:800;margin-left:4px}
.btn-block{width:100%}
.btn[disabled]{opacity:.6;cursor:wait}

/* Hero */
.hero{position:relative;background:var(--yellow);overflow:hidden;padding:56px 0 88px}
.ribbon{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.hero-grid{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.hero h1{font-family:var(--font-head);font-weight:800;font-size:clamp(36px,5vw,60px);line-height:1.02;letter-spacing:-.02em;margin:0 0 22px;color:var(--blue-dark);max-width:14ch}
.lead{font-size:19px;max-width:52ch;margin:0 0 22px}
.hero-points{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.hero-points li{position:relative;padding-left:32px;font-weight:600}
.hero-points li::before{content:"";position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:50%;
  background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' stroke='%23FFC20E' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat}

/* Calculator */
.calc{background:#fff;border-radius:var(--r-lg);padding:28px;box-shadow:0 24px 60px -24px rgba(7,42,96,.45)}
.calc-title{font-family:var(--font-head);font-size:24px;margin:0 0 18px;color:var(--blue-dark)}
.range-field{margin:18px 0}
.range-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px;font-weight:600}
.range-head output{font-family:var(--font-head);font-size:22px;color:var(--blue)}
input[type=range]{width:100%;accent-color:var(--blue);height:28px}
.calc-result{background:var(--yellow-soft);border-radius:var(--r-md);padding:16px 18px;margin:20px 0}
.calc-result span{display:block;font-weight:600;font-size:14px;color:var(--muted)}
.calc-result strong{display:block;font-family:var(--font-head);font-size:40px;line-height:1.1;color:var(--blue-dark)}
.calc-result small{display:block;color:var(--muted);font-size:13px;margin-top:4px}

/* Campuri */
.field{display:block;margin:0 0 16px}
.field span{display:block;font-weight:600;font-size:14px;margin-bottom:6px}
.field input,.field select,.field textarea{width:100%;font:inherit;font-size:16px;padding:13px 14px;border:2px solid var(--line);
  border-radius:var(--r-sm);background:#fff;color:var(--ink)}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--blue);outline:none}
.field .invalid,.field input.invalid{border-color:var(--red)}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px;margin:6px 0 18px}
.check input{width:20px;height:20px;margin-top:2px;accent-color:var(--blue);flex-shrink:0}

/* Sectiuni */
.section{padding:84px 0}
.section-soft{background:var(--soft)}
.section-yellow{background:var(--yellow)}
.section-blue{background:var(--blue);color:#fff}
.section-blue a{color:var(--yellow)}
.section-title{font-family:var(--font-head);font-weight:800;font-size:clamp(28px,3.4vw,42px);line-height:1.08;letter-spacing:-.015em;margin:0 0 18px;color:var(--blue-dark)}
.section-blue .section-title{color:#fff}
.section-intro{max-width:62ch;margin:0 0 28px;color:var(--muted)}

/* Pasi */
.steps{list-style:none;counter-reset:s;padding:0;margin:36px 0 0;display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:4px solid var(--yellow)}
.steps li{counter-increment:s;padding:26px 24px 0 0;position:relative}
.steps li::before{content:counter(s);display:grid;place-items:center;width:44px;height:44px;border-radius:50%;
  background:var(--blue);color:var(--yellow);font:800 20px var(--font-head);margin:-50px 0 16px}
.steps b{font-size:19px;display:block;margin-bottom:6px}
.steps p{margin:0;color:var(--muted)}

/* Tabel pachete */
.table-scroll{overflow-x:auto;border-radius:var(--r-md);background:#fff;border:1px solid var(--line)}
.pkg-table{width:100%;border-collapse:collapse;min-width:720px}
.pkg-table th{text-align:left;font-size:14px;color:var(--muted);font-weight:600;padding:14px 18px;border-bottom:2px solid var(--yellow)}
.pkg-table td{padding:18px;border-bottom:1px solid var(--line);vertical-align:top}
.pkg-table tr:last-child td{border-bottom:0}
.pkg-table small{display:block;color:var(--muted);font-size:13px;margin-top:3px}
.tag{display:inline-block;font-size:13px;font-weight:700;padding:4px 10px;border-radius:999px}
.tag-free{background:#E5F4EA;color:#17633A}
.fine{font-size:13px;color:var(--muted);max-width:80ch;margin-top:18px}

/* Testimoniale */
.quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:28px;margin-top:30px}
.quote{margin:0;padding:0 0 0 20px;border-left:4px solid var(--yellow)}
.stars{color:var(--yellow-deep);letter-spacing:2px;font-size:18px}
.quote blockquote{margin:8px 0 12px;font-size:17px}
.quote figcaption{color:var(--muted);font-size:15px}

/* Formular comanda */
.order-wrap{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:start}
.order-side p{max-width:42ch}
.order-help{margin-top:28px;font-weight:600}
.phone-big{font-family:var(--font-head);font-size:34px;font-weight:800;color:var(--blue-dark);text-decoration:none}
.order-form{background:#fff;border-radius:var(--r-lg);padding:30px;box-shadow:0 24px 60px -30px rgba(7,42,96,.5)}
.progress{display:flex;list-style:none;padding:0;margin:0 0 26px;gap:8px;counter-reset:p}
.progress li{flex:1;counter-increment:p;font-size:13px;font-weight:700;color:var(--muted);padding-top:10px;border-top:4px solid var(--line)}
.progress li::before{content:counter(p) ". "}
.progress li.is-active,.progress li.is-done{color:var(--blue);border-color:var(--blue)}
.step{border:0;padding:0;margin:0;display:none}
.step.is-active{display:block}
.step-lead{margin:0 0 16px}
.step-actions{display:flex;justify-content:space-between;gap:12px;margin-top:8px}
.step-actions .btn-primary:only-child{margin-left:auto}
.form-error{color:var(--red);font-weight:600;margin:14px 0 0}

/* Selfie */
.selfie-box{position:relative;aspect-ratio:4/3;background:#0d1730;border-radius:var(--r-md);overflow:hidden;display:grid;place-items:center}
.selfie-box video,.selfie-box img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.selfie-box video{transform:scaleX(-1)}
.selfie-oval{position:absolute;width:46%;aspect-ratio:3/4;border:3px dashed rgba(255,194,14,.9);border-radius:50%;box-shadow:0 0 0 999px rgba(13,23,48,.35)}
.selfie-box.has-photo .selfie-oval{border-style:solid;border-color:#3FBF6F}
.selfie-msg{position:absolute;bottom:12px;left:12px;right:12px;text-align:center;color:#fff;font-weight:600;font-size:14px;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.selfie-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 18px}
.file-btn{position:relative;overflow:hidden}
.file-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px}
.company{display:grid;grid-template-columns:auto 1fr;gap:8px 18px;margin-top:24px}
.company dt{font-weight:700;color:var(--yellow)}
.company dd{margin:0}
.contact-form{background:#fff;color:var(--ink);border-radius:var(--r-lg);padding:28px}
.contact-form a{color:var(--blue)}
.form-status{margin:12px 0 0;font-weight:600}
.form-status.ok{color:#17633A}.form-status.err{color:var(--red)}

/* Footer */
.site-footer{background:var(--blue-dark);color:#C9D3E8;padding:48px 0 24px;font-size:14px}
.footer-grid{display:flex;justify-content:space-between;gap:32px;flex-wrap:wrap}
.footer-links{display:grid;gap:10px;align-content:start}
.site-footer a{color:#fff}
.fine-light{color:#93A3C4}
.copy{margin-top:28px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);color:#93A3C4}

/* Buton apel mobil */
.call-fab{display:none;position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:50;
  background:var(--red);color:#fff;text-decoration:none;font-weight:800;padding:14px 20px;border-radius:999px;
  align-items:center;gap:8px;box-shadow:0 10px 30px rgba(209,31,42,.45)}
.call-fab svg{width:20px;height:20px;fill:currentColor}

/* Modal */
.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:rgba(7,42,96,.55)}
.modal[hidden]{display:none}
.modal-card{background:#fff;border-radius:var(--r-lg);padding:28px;max-width:440px;width:100%;text-align:center;animation:pop .28s ease-out}
.modal-check{width:68px;height:68px;margin:0 auto 14px;border-radius:50%;background:var(--yellow);display:grid;place-items:center}
.modal-check svg{width:36px;height:36px;fill:none;stroke:var(--blue);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.modal-card h2{font-family:var(--font-head);font-size:28px;margin:0 0 10px;color:var(--blue-dark)}
.modal-or{font-weight:600;margin:22px 0 10px}
.modal-card .btn{margin-top:10px}
@keyframes pop{from{transform:scale(.94);opacity:0}to{transform:none;opacity:1}}

/* Responsive */
@media (max-width:960px){
  .main-nav{display:none}
  .header-row{justify-content:space-between}
  .hero-grid,.order-wrap,.contact-grid{grid-template-columns:1fr;gap:36px}
  .steps{grid-template-columns:1fr 1fr;row-gap:40px}
}
@media (max-width:640px){
  body{font-size:16px}
  .site-header .btn-call span{display:none}
  .site-header .btn-call{padding:12px}
  .brand img{width:170px}
  .hero{padding:36px 0 56px}
  .section{padding:60px 0}
  .grid-2{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .order-form,.calc,.contact-form{padding:22px}
  .call-fab{display:inline-flex}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
}
.footer-logo{max-height:46px;width:auto;background:#fff;border-radius:8px;padding:6px 10px}
.brand img{max-height:52px;width:auto;max-width:220px}
/* logo mai mare */
.header-row{min-height:94px}
.brand img{width:auto;height:66px;max-height:none;max-width:320px}
@media (max-width:640px){.header-row{min-height:80px}.brand img{height:52px;max-width:240px}}
/* logo dinamic: simbol + numele business-ului (sau logo-ul incarcat din admin) */
.brand{text-decoration:none}
.brand-logo{display:inline-flex;align-items:center;gap:12px;line-height:1.1}
.brand-text{display:flex;flex-direction:column}
.brand-text b{font-family:var(--font-head);font-weight:800;font-size:28px;letter-spacing:-.02em;color:var(--blue-dark)}
.brand-text small{font-size:13px;font-weight:600;color:var(--muted);margin-top:2px}
.brand-light .brand-text b{color:#fff}.brand-light .brand-text small{color:var(--yellow)}
.brand .brand-mark{height:56px;width:56px;max-width:none}
.brand .brand-upload{height:66px;width:auto;max-width:320px}
.footer-brand .brand-mark{height:44px;width:44px}.footer-brand .brand-text b{font-size:22px}
.footer-brand .brand-upload{max-height:52px;width:auto;background:#fff;border-radius:8px;padding:6px 10px}
@media (max-width:640px){
  .brand .brand-mark{height:44px;width:44px}.brand-text b{font-size:22px}.brand-text small{font-size:11px}
  .brand .brand-upload{height:52px;max-width:220px}
}
