/* ============================================================
   Sectiunea "Calculator productie"
   Inlocuieste fosta sectiune "Noutati si promotii".
   Titlul e text, nu imagine (fosta grafica noutati.png era un PNG
   cu litere) — asa poate fi schimbat oricand fara Photoshop.
   ============================================================ */

#calculator {
  padding-top: 40px;
  padding-bottom: 60px;
}

#calculator .titlu-sectiune {
  font-family: 'Montserrat', sans-serif;
  font-size: 46px;
  line-height: 60px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -1px;
  text-align: left;
  color: #1a1a1a;
  margin: 0 0 10px;
}

#calculator .titlu-sectiune .accent {
  color: #f5b210;
}

#calculator .descriere {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 26px;
  color: #555;
  max-width: 680px;
  margin: 0 0 34px;
}

/* --- butonul care desfasoara calculatorul --- */
/* tema pune width:100% pe orice <button> (base.css) — il readucem la
   latimea continutului, altfel arata ca o banda, nu ca un buton */
#calculator .buton-calculator {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  padding: 16px 28px;
  background: #f5b210;
  border: 0;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a1a1a;
  transition: background .2s ease;
}

#calculator .buton-calculator:hover,
#calculator .buton-calculator:focus-visible {
  background: #1a1a1a;
  color: #f5b210;
}

#calculator .buton-calculator .sageata {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform .3s ease;
}

#calculator .buton-calculator[aria-expanded="true"] .sageata {
  transform: rotate(180deg);
}

/* --- cadrul in care intra aplicatia --- */
#calculator .cadru-aplicatie {
  position: relative;
  width: 100%;
  height: 0;                 /* inchis; JS pune inaltimea reala */
  overflow: hidden;
  transition: height .35s ease;
}

#calculator .cadru-aplicatie iframe {
  display: block;
  width: 100%;
  height: 420px;             /* valoare de pornire; JS o ajusteaza dupa continut */
  border: 0;
  background: #f5f3ef;
}

/* fara JS, calculatorul nu are cum sa functioneze oricum */
#calculator .fara-js {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #8a8a8a;
}

@media only screen and (max-width: 959px) {
  #calculator .titlu-sectiune { font-size: 32px; line-height: 42px; }
}

@media only screen and (max-width: 767px) {
  #calculator { padding-top: 20px; padding-bottom: 40px; }
  #calculator .titlu-sectiune { font-size: 24px; line-height: 32px; }
  #calculator .descriere { font-size: 14px; line-height: 23px; }
  #calculator .buton-calculator {
    width: 100%;
    justify-content: center;
    padding: 15px 18px;
    font-size: 13px;
  }
}
