/* ====== REPAIR PAGE – scoped styles ====== */
input,select,textarea{
    font-size: 16px;
}


.repair-page {
    width: 95%;
    margin-inline: auto;
}

.repair-hero {
    position: relative;
    border-radius: 0 0 40px 40px;
    background: radial-gradient(1100px 650px at 80% -10%, rgba(100, 181, 255, .14), transparent 60%), radial-gradient(900px 600px at -10% 20%, rgba(122, 255, 214, .12), transparent 50%), #0f141b;
    color: #fff;
    overflow: hidden;
}

.repair-hero .inner {
    display: grid;
    grid-template-columns: 1.35fr .9fr;
    gap: 1.4rem;
    align-items: center;
    min-height: clamp(380px, 58vh, 520px);
    padding: clamp(1.2rem, 4vw, 2rem);
}

.repair-hero h1 {
    font-size: clamp(1.8rem, 4.2vw, 2.6rem);
    line-height: 1.15;
    margin: .4rem 0;
}

.repair-hero p.lead {
    color: #dfeaff;
    max-width: 60ch;
}

.repair-hero .kicker {
    color: #b8c8ff;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .8rem;
}

.repair-hero .card {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #eaf0ff;
    box-shadow: none;
}

.rp-grid {
    display: grid;
    grid-template-columns: 1.4fr .9fr;
    gap: 1.4rem;
}

@media (max-width: 980px) {
    .repair-hero .inner, .rp-grid {
        grid-template-columns: 1fr;
    }
}

.rp-form {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 20px;
    padding: clamp(1rem, 3vw, 1.25rem);
    box-shadow: var(--shadow);
}

.rp-form h2 {
    margin: 0 .2rem 1rem;
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}

.rp-fieldset {
    border: 0;
    padding: 0;
    margin: 1rem 0;
}

.rp-legend {
    display: inline-block;
    font-weight: 600;
    margin-bottom: .6rem;
}

.rp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
}

.rp-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: .8rem;
}

@media (max-width: 680px) {
    .rp-grid-2, .rp-grid-3 {
        grid-template-columns: 1fr;
    }
}

input{
    cursor: pointer;

}

.rp-input, .rp-select, .rp-textarea {
    width: 100%;
    padding: .75rem .85rem;
    border: 1px solid #e6eaf2;
    border-radius: 12px;
    background: #fff;
    color: #0f141b;
}

.rp-textarea {
    min-height: 90px;
    resize: vertical;
}

.rp-help {
    font-size: .85rem;
    color: #6b7a8b;
    margin-top: .25rem;
}

.rp-curier {
    font-size: .85rem;
    color: #6b7a8b;
}

.rp-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
}

.rp-chip {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .6rem .7rem;
    border-radius: 12px;
    border: 1px solid #e6eaf2;
    background: #fff;
    cursor: pointer;
}

.rp-chip input {
    accent-color: #e6a50e;
}

.rp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
    justify-content: flex-start;
    margin-top: 1rem;
}

.btn.secondary {
    background: rgba(0, 0, 0, .06);
    color: #0f141b;
    border: 1px solid rgba(0, 0, 0, .08);
}

.rp-side {
    position: sticky;
    top: 84px;
    align-self: start;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .85));
    padding: 1rem;
    box-shadow: var(--shadow);
}

.rp-side h3 {
    margin: .2rem 0 .6rem;
    font-size: 1.05rem;
}

.rp-side .row {
    display: flex;
    justify-content: space-between;
    gap: .6rem;
    padding: .4rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, .08);
}

.rp-side .row:last-child {
    border-bottom: 0;
}

.rp-side .muted {
    font-size: .9rem;
}

.rp-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-top: .8rem;
}

.rp-badge {
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    padding: .6rem;
    text-align: center;
    background: #fff;
}

.rp-info {
    background: #fffbea;
    border: 1px solid #ffe089;
    color: #5a4600;
    border-radius: 16px;
    padding: .75rem .9rem;
}

.rp-faq {
    margin-top: 1.5rem;
}

.rp-faq details {
    border: 1px solid #e6eaf2;
    border-radius: 14px;
    padding: .8rem 1rem;
    background: #fff;
}

.rp-faq details+details {
    margin-top: .6rem;
}

.rp-faq summary {
    cursor: pointer;
    font-weight: 600;
}

.rp-consent {
    display: grid;
    gap: .4rem;
    margin-top: .25rem;
}

.rp-brand-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .6rem;
    align-items: center
}

.rp-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .02));
    margin: .8rem 0;
}

.rp-cta-bar {
    position: sticky;
    bottom: 10px;
    display: flex;
    gap: .6rem;
    justify-content: center;
    padding: .6rem;
    backdrop-filter: blur(6px);
}

.primary-bottom {
    background-color: #e6a50e;
}

/* ASIDECSS */

/* ===== Summary WOW add-ons ===== */
.s-progress{
    --size: 120px;
    position: relative;
    width: var(--size);
    height: var(--size);
    margin: .4rem auto .8rem;
  }
  .s-progress .ring{ width: 100%; height: 100%; transform: rotate(-90deg); }
  .s-progress .bg{
    fill: none; stroke: rgba(0,0,0,.06); stroke-width: 12;
  }
  .s-progress .fg{
    fill: none; stroke: #e6a50e; stroke-width: 12; stroke-linecap: round;
    transition: stroke-dashoffset .6s cubic-bezier(.22,1,.36,1);
    filter: drop-shadow(0 4px 14px rgba(230,165,14,.25));
  }
/* Text mai apropiat în centrul inelului */
.s-progress-label{
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    font-weight: 700; font-size: .95rem;
    line-height: 1;         /* strânge spațiul vertical */
    gap: 2px;               /* control fin al distanței */
  }
  .s-progress-label #sPercent{
    display: block;
    margin: 0;
  }
  
  
  .s-check{ list-style: none; padding: 0; margin: .2rem 0 .6rem; display: grid; gap: .3rem; }
  .s-check li{
    display: flex; align-items: center; gap: .5rem;
    font-size: .92rem; color: #6b7a8b;
  }
  .s-check li::before{
    content: "○"; font-weight: 700; width: 1.1rem; text-align: center; opacity: .8;
  }
  .s-check li.is-done{ color: #0f141b; font-weight: 600; }
  .s-check li.is-done::before{ content: "✓"; color: #2c7a4b; }
  
  .s-eta{ background: #fffbea; border: 1px solid #ffe089; color: #5a4600; border-radius: 12px; padding: .6rem .7rem; }
  .s-eta-title{ font-weight: 600; margin-bottom: .1rem; }
  .s-eta-value{ font-variant-numeric: tabular-nums; }
  
  .s-preview{ margin-top: .8rem; }
  .s-preview-top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
  .btn.tiny{
    font-size: .78rem; padding: .3rem .55rem; border-radius: 8px; border: 1px solid rgba(0,0,0,.08);
    background: rgba(0,0,0,.04); color: black;
  }
  .s-preview-box{
    background: #f7f8fb; border: 1px dashed #e6eaf2; border-radius: 10px;
    padding: .6rem .7rem; max-height: 180px; overflow: auto; white-space: pre-wrap; color: #0f141b;
  }
  
  /* Micro-feedback pe rândurile rezumatului când se actualizează */
  .rp-side .row.flash{ animation: flashRow .9s ease; }
  @keyframes flashRow {
    0%{ background: rgba(230,165,14,.18); }
    100%{ background: transparent; }
  }
  /* Checkbox custom: interior alb, bordură auriu, bifa aurie */
input[type="checkbox"]{
    appearance: none;
    -webkit-appearance: none;
    min-width: 20px;
    height: 20px;
    border: 1px solid #e6a50e;      /* aurie */
    border-radius: 8px;
    background: #fff;               /* ALB */
    display: inline-grid;
    place-content: center;
    margin: 0;                      /* ca să nu sară în layout */
    outline: none;
    transition: box-shadow .2s ease, transform .05s ease;
  }
  input[type="checkbox"]::after{
    content: "";
    width: 13px;
    height: 13px;
    transform: scale(0);
    cursor: pointer;
    transition: transform .15s ease;
    /* formă de bifă prin clip-path – performant și fără imagini */
    clip-path: polygon(14% 54%, 0 68%, 39% 100%, 100% 31%, 86% 17%, 39% 69%);
    background: #e6a50e;            /* bifa AURIE */
  }
  input[type="checkbox"]:checked::after{
    transform: scale(1);
  }
  input[type="checkbox"]:focus-visible{
    box-shadow: 0 0 0 4px rgba(230,165,14,.15);
  }
  input[type="checkbox"]:active{
    transform: scale(.98);
  }
  

  /* INPUT RADIO  */

  /* Radio custom: interior ALB, inel AURIU, punct auriu când e bifat */
input[type="radio"]{
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #e6a50e;   /* inel auriu */
    border-radius: 50%;
    background: #fff;            /* interior alb */
    display: inline-grid;
    place-content: center;
    margin: 0 .6rem 0 0;         /* spațiu față de text */
    vertical-align: middle;
    outline: none;
    transition: box-shadow .2s ease, transform .05s ease;
  }
  input[type="radio"]::after{
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e6a50e;         /* punct auriu */
    transform: scale(0);
    transition: transform .15s ease;
  }
  input[type="radio"]:checked::after{
    transform: scale(1);
  }
  input[type="radio"]:focus-visible{
    box-shadow: 0 0 0 4px rgba(230,165,14,.18);
  }
  input[type="radio"]:active{
    transform: scale(.98);
  }
  
  /* (opțional) aliniere frumoasă în „chips” */
  .rp-chip{
    display: inline-flex;
    align-items: center;
    gap: .6rem;
  }
  
  /* FAQ  */

  /* Smooth accordion */
.fx-a{
    overflow: hidden;
    height: 0;                 /* închis implicit */
    opacity: 0;
    padding: 0 .9rem;          /* doar lateral când e închis */
  }
  .fx-a[data-animating]{
    transition:
      height .28s cubic-bezier(.22,1,.36,1),
      padding .28s cubic-bezier(.22,1,.36,1),
      opacity .24s ease;
  }
  .fx-a.is-open{
    /* starea finală (deschis) */
    opacity: 1;
    padding: .6rem .9rem .8rem; /* padding complet */
  }
  