/* ==========================================================================
   Agenda electronică — stiluri globale
   ========================================================================== */

:root {
  --ae-blue:        #2f8fc4;   /* bara de sus */
  --ae-blue-dark:   #1b6ca8;   /* titluri */
  --ae-blue-link:   #0f76bd;   /* linkuri */
  --ae-btn:         #4a9ae0;   /* buton principal */
  --ae-btn-hover:   #3a88cd;
  --ae-sidebar:     #1f5f7a;

  --txt:            #333b44;
  --txt-soft:       #5b6672;
  --line:           #e3e8ec;

  --bg:             #f3f4f5;
  --panel:          #eef1f2;
  --card:           #ffffff;

  --radius:         14px;
  --shadow:         0 1px 3px rgba(16, 40, 60, .08), 0 6px 18px rgba(16, 40, 60, .06);
  --shadow-sm:      0 1px 2px rgba(16, 40, 60, .07), 0 2px 8px rgba(16, 40, 60, .05);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--txt);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ae-blue-link); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ==========================================================================
   Bara de sus
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 62px;
  background: var(--ae-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar__logo { width: 46px; height: 34px; flex: none; }

.topbar__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .1px;
  color: #fff;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: #fff;
}
.topbar__right a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar__right svg { width: 17px; height: 17px; }

/* ==========================================================================
   Hero — cercuri + butoane acces
   ========================================================================== */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  flex-wrap: wrap;
  padding: 42px 24px 34px;
}

.hero__circle {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  display: block;
  transition: transform .18s ease;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.hero__circle:hover { transform: translateY(-3px) scale(1.02); }
.hero__circle svg { width: 100%; height: 100%; }

.hero__access {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.access-pill {
  display: flex;
  align-items: center;
  gap: 0;
  width: 232px;
  height: 62px;
  padding: 0;
  border: 2px solid var(--ae-blue);
  border-radius: 34px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease;
  font-family: var(--font);
}
.access-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(47, 143, 196, .28);
}

.access-pill__avatar {
  width: 62px;
  height: 100%;
  flex: none;
  border-radius: 30px 0 0 30px;
  overflow: hidden;
}
.access-pill__avatar svg { width: 100%; height: 100%; object-fit: cover; }

.access-pill__text {
  flex: 1;
  text-align: left;
  padding-left: 4px;
}
.access-pill__text b {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--ae-blue-dark);
  line-height: 1.05;
}
.access-pill__text span {
  display: block;
  font-size: 11px;
  color: var(--txt-soft);
}

.access-pill__badge {
  width: 46px;
  height: 100%;
  flex: none;
  background: var(--ae-blue);
  border-radius: 0 30px 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.access-pill__badge svg { width: 24px; height: 24px; }

/* ==========================================================================
   Panoul principal
   ========================================================================== */

.panel {
  max-width: 1470px;
  margin: 0 auto;
  padding: 26px 0 40px;
  background: var(--panel);
  border-radius: 26px;
}

.wrap {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 26px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 26px;
  padding: 34px 38px;
}

.card__title {
  margin: 0 0 8px;
  font-size: 27px;
  font-weight: 700;
  color: var(--ae-blue-dark);
  text-align: center;
}
.card__subtitle {
  margin: 0 0 34px;
  text-align: center;
  color: var(--txt-soft);
  font-size: 15px;
}

/* --- Descoperă ----------------------------------------------------------- */

.discover {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 46px;
  align-items: start;
}

.discover h2 {
  margin: 6px 0 16px;
  font-size: 26px;
  line-height: 1.32;
  font-weight: 700;
  color: var(--ae-blue-dark);
}
.discover p {
  margin: 0 0 24px;
  color: var(--txt);
  font-size: 15.5px;
  line-height: 1.6;
}

.video {
  border-radius: 12px;
  overflow: hidden;
  background: #eaf3fa;
  box-shadow: var(--shadow-sm);
}

.video__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 100% at 20% 0%, #ffffff 0%, #dbe9f4 42%, #b9d2e6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}
.video__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.22));
}
.video__label {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  z-index: 2;
  color: #123;
}
.video__label small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ae-blue-dark);
}
.video__label strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #16354d;
  line-height: 1.2;
}
.video__play {
  position: relative;
  z-index: 3;
  width: 74px;
  height: 52px;
  border-radius: 13px;
  background: #ff0033;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.28);
  transition: transform .18s ease;
}
.video__thumb:hover .video__play { transform: scale(1.07); }
.video__play::before {
  content: "";
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}
.video__yt {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  right: 20px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.video__caption {
  display: block;
  text-align: center;
  padding: 16px 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ae-blue-link);
  background: #f2f8fc;
}

/* --- Infograficul din dreapta -------------------------------------------- */

.info {
  background: linear-gradient(160deg, #f4fafe 0%, #e9f3fb 100%);
  border: 1px solid #dbe9f4;
  border-radius: 14px;
  padding: 26px 28px 20px;
}
.info h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--ae-blue-dark);
}
.info > p {
  margin: 0 0 22px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--txt-soft);
  max-width: 400px;
}

.info__feature {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.info__icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info__icon svg { width: 20px; height: 20px; }
.info__icon--blue   { background: #dceafa; color: #2b7fd0; }
.info__icon--green  { background: #daf3e4; color: #2e9c5e; }
.info__icon--purple { background: #e6e2fb; color: #6c5bd4; }
.info__icon--orange { background: #fdeacd; color: #d99019; }

.info__feature b {
  display: block;
  font-size: 13.5px;
  color: var(--ae-blue-dark);
  margin-bottom: 2px;
}
.info__feature span {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--txt-soft);
}

.info__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #d9e7f3;
}
.info__stat {
  display: flex;
  align-items: center;
  gap: 9px;
}
.info__stat svg { width: 22px; height: 22px; color: #4a9ae0; flex: none; }
.info__stat small {
  display: block;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--txt-soft);
}
.info__stat b {
  display: block;
  font-size: 15px;
  color: var(--ae-blue-dark);
}

/* --- Cum funcționează ---------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  margin-top: 8px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: #d6e2ea;
}

.step { text-align: center; position: relative; }
.step__num {
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ae-blue);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--card);
}
.step b {
  display: block;
  font-size: 16.5px;
  color: var(--ae-blue-dark);
  margin-bottom: 6px;
}
.step span {
  display: block;
  font-size: 13.5px;
  color: var(--txt-soft);
}

/* --- Disponibil pe orice dispozitiv -------------------------------------- */

.devices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.devices__right {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.device {
  position: relative;
  border: 1px solid #e2e9ee;
  border-radius: 12px;
  background: #f8fafc;
  padding: 22px 24px;
}
.device--main {
  border: 2px solid var(--ae-blue);
  background: #f2f9fd;
  padding-top: 26px;
}

.device__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ae-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 14px;
  white-space: nowrap;
}

.device__head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.device__icon {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.device__icon svg { width: 24px; height: 24px; }
.device__icon--a { background: #e2f0f9; color: #3a8fc7; }
.device__icon--b { background: #e2eefb; color: #2b7fd0; }
.device__icon--c { background: #eaf5e2; color: #6aa63f; }

.device__head b {
  display: block;
  font-size: 16.5px;
  color: var(--ae-blue-dark);
  line-height: 1.25;
  min-width: 96px;
}
.device__head p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  color: var(--txt);
  line-height: 1.45;
}

.device__status {
  margin-left: auto;
  flex: none;
  background: #e7f6e8;
  color: #2c7a3f;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 8px;
}

.device__how {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #dceaf3;
  border-radius: 10px;
  padding: 18px 20px;
}
.device__how > b {
  display: block;
  font-size: 13.5px;
  color: var(--ae-blue-dark);
  margin-bottom: 12px;
}
.device__how ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: how;
}
.device__how li {
  counter-increment: how;
  position: relative;
  display: block;
  min-height: 21px;
  padding: 5px 0 5px 33px;
  font-size: 14px;
  line-height: 1.5;
}
.device__how li::before {
  content: counter(how);
  position: absolute;
  left: 0;
  top: 5px;
  width: 21px;
  height: 21px;
  flex: none;
  border-radius: 50%;
  background: var(--ae-blue);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Rândul de linkuri (FAQ / Ghid video) -------------------------------- */

.guides {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.guide {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 18px;
  text-align: center;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.guide:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(16,40,60,.1), 0 12px 26px rgba(16,40,60,.09);
}
.guide b {
  font-size: 20px;
  font-weight: 700;
  color: var(--ae-blue-link);
  letter-spacing: .2px;
}
.guide span { font-size: 14px; color: var(--txt-soft); }
.guide__tags {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.guide__tags i {
  font-style: normal;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ae-blue-link);
  background: #eaf4fb;
  padding: 5px 16px;
  border-radius: 8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #f0f1f2;
  border-top: 1px solid #e2e5e8;
  padding: 46px 0 26px;
  margin-top: 10px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 34px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer__brand svg { width: 48px; height: 36px; flex: none; }
.footer__brand b {
  display: block;
  font-size: 19px;
  color: var(--ae-blue-dark);
  line-height: 1.15;
}
.footer__brand small { font-size: 12px; color: var(--txt-soft); }

.footer__about {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--txt-soft);
  max-width: 620px;
}

.footer__stats { display: flex; gap: 34px; }
.footer__stats div b {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--ae-blue-link);
}
.footer__stats div span { font-size: 12px; color: var(--txt-soft); }

.footer h4 {
  margin: 4px 0 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  color: var(--txt-soft);
  text-transform: uppercase;
}

.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 14px; }
.footer__list a,
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--txt);
}
.footer__list a { color: var(--txt); }
.footer__list a:hover { color: var(--ae-blue-link); }

.footer__ico {
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--ae-blue-link);
  margin-top: 1px;
}

.footer__contact { list-style: none; margin: 0; padding: 0; }
.footer__contact li { margin-bottom: 16px; }
.footer__contact small {
  display: block;
  font-size: 12px;
  color: var(--txt-soft);
}

.footer__bottom {
  border-top: 1px solid #dfe3e6;
  padding-top: 22px;
  font-size: 13px;
  color: var(--txt-soft);
}

.partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 62px;
  flex-wrap: wrap;
  padding: 34px 26px 6px;
}
.partner { display: flex; align-items: center; gap: 12px; }
.partner svg { flex: none; }
.partner__txt {
  font-size: 10.5px;
  line-height: 1.35;
  letter-spacing: .4px;
  color: #26476b;
  font-weight: 600;
}
.partner__caption {
  text-align: center;
  font-size: 9.5px;
  color: #26476b;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: .3px;
}
.partner--box {
  background: #fff;
  border: 1px solid #e4e7ea;
  padding: 14px 20px;
  border-radius: 4px;
}

/* Buton „sus" */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #dfe3e6;
  background: #fff;
  color: var(--txt-soft);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 40;
}
.to-top.is-visible { display: flex; }
.to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   Modal autentificare
   ========================================================================== */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(240, 243, 245, .72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 96px 20px 40px;
  z-index: 100;
}
.overlay.is-open { display: flex; }

.modal {
  width: 100%;
  max-width: 262px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(16, 40, 60, .22);
  animation: modal-in .18s ease-out;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 14px 16px 20px;
  border-bottom: 1px solid var(--line);
}
.modal__head h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  color: #1f2b36;
}
.modal__close {
  width: 30px;
  height: 30px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: #f1f4f6;
  color: #4a5560;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__close:hover { background: #e5eaee; }
.modal__close svg { width: 15px; height: 15px; }

.modal__body { padding: 30px 26px 26px; }

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333b44;
  margin-bottom: 7px;
}
.field label i {
  font-style: normal;
  color: #d9534f;
  margin-right: 3px;
}

.field__input {
  position: relative;
  display: flex;
  align-items: center;
}
.field input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--txt);
  background: #eef4f9;
  border: 1px solid #dbe4eb;
  border-radius: 6px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus {
  border-color: var(--ae-btn);
  background: #f4f9fd;
  box-shadow: 0 0 0 3px rgba(74, 154, 224, .16);
}
.field input[type="password"] { padding-right: 42px; }

.field__eye {
  position: absolute;
  right: 6px;
  width: 30px;
  height: 30px;
  border: 0;
  background: none;
  color: #66727e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.field__eye svg { width: 17px; height: 17px; }

.field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 13px;
}
.field__help {
  width: 17px;
  height: 17px;
  color: #8d99a5;
}

.btn-primary {
  width: 100%;
  height: 44px;
  margin-top: 26px;
  border: 0;
  border-radius: 6px;
  background: var(--ae-btn);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.btn-primary:hover { background: var(--ae-btn-hover); }

.modal__register {
  display: block;
  text-align: center;
  margin-top: 24px;
  font-size: 13.5px;
  font-weight: 600;
}

.modal__error {
  display: none;
  margin: 0 0 18px;
  padding: 10px 13px;
  border-radius: 6px;
  background: #fdecea;
  border: 1px solid #f5c6c2;
  color: #a8342c;
  font-size: 13px;
}
.modal__error.is-visible { display: block; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .discover { grid-template-columns: 1fr; }
  .devices  { grid-template-columns: 1fr; }
  .guides   { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .info__stats { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
}

@media (max-width: 760px) {
  .topbar { padding: 0 16px; }
  .topbar__title { font-size: 18px; }
  .hero { gap: 26px; padding: 28px 16px; }
  .hero__circle { width: 150px; height: 150px; }
  .card { padding: 24px 20px; }
  .card__title { font-size: 22px; }
  .discover h2 { font-size: 21px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .guides { grid-template-columns: 1fr; }
  .device__head { flex-wrap: wrap; }
  .device__status { margin-left: 0; }
  .partners { gap: 30px; }
  .footer__stats { gap: 22px; }
}

/* ==========================================================================
   Imagini reale (decupate din platformă)
   ========================================================================== */

.topbar__logo { width: 52px; height: auto; object-fit: contain; }

.hero__circle img { width: 100%; height: 100%; object-fit: contain; display: block; }

.pill-img {
  display: block; width: 232px; padding: 0; border: 0; background: none; cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
.pill-img img { width: 100%; height: auto; display: block; }
.pill-img:hover { transform: translateY(-2px); filter: drop-shadow(0 6px 10px rgba(47,143,196,.35)); }

.info-img { width: 100%; height: auto; display: block; border-radius: 14px; }

.video__thumb--img { background: none; display: block; line-height: 0; aspect-ratio: auto; }
.video__thumb--img::after { display: none; }
.video__thumb--img img { width: 100%; height: auto; display: block; }

.device__icon { background: none !important; }
.device__icon img { width: 100%; height: 100%; object-fit: contain; display: block; }

.footer__brand img { height: 44px; width: auto; display: block; }

.partners { gap: 54px; }
.partner-img { width: auto; display: block; }
.partner-img--min { height: 52px; }
.partner-img--eu4 { height: 56px; }
.partner-img--ue  { height: 66px; }
.partner-img--at  { height: 70px; }

@media (max-width: 760px) {
  .hero__circle { width: 150px; height: 150px; }
  .partners { gap: 28px; }
}


/* ==========================================================================
   Telefon
   ========================================================================== */

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* pe ecrane tactile nu lăsăm „hover" lipit după atingere */
@media (hover: none) {
  .hero__circle:hover, .pill-img:hover, .guide:hover { transform: none; filter: none; box-shadow: var(--shadow); }
}

@media (max-width: 760px) {
  .device__head { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; }
  .device__head p { grid-column: 1 / -1; }
  .device__status { grid-column: 1 / -1; justify-self: start; margin-left: 0; }
  .device__head b { min-width: 0; }
  .pill-img { width: min(232px, 72vw); }
  .topbar__right a { font-size: 13px; }
  .overlay { padding-top: 70px; }
  .field input { font-size: 16px; }   /* sub 16px, iPhone mărește pagina la atingerea câmpului */
  .modal__close, .field__eye { width: 40px; height: 40px; }
  .modal__close svg { width: 17px; height: 17px; }
  .btn-primary { height: 48px; }
  .guide { min-height: 100px; padding: 18px 14px; }
}
