/* Pagina de prezentare azipot.ro (peste baza.css). Stil 2026: crem cald, verde-petrol, portocaliu, sticlă, capsule. */

:root {
  --cream: #fff4e8;
  --cream-deep: #ffe9d2;
  --ink: #16202b;
  --radius-xl: 28px;
  --wrap: 1160px;
  --shadow-soft: 0 1px 2px rgba(60, 30, 5, 0.05), 0 10px 30px rgba(60, 30, 5, 0.08);
  --shadow-phone: 0 2px 6px rgba(10, 40, 40, 0.18), 0 30px 60px rgba(10, 40, 40, 0.25);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  background-color: var(--cream);
  /* Granulație fină de hârtie (aceeași idee ca textura din logo). */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .15 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.wrap.narrow {
  max-width: 800px;
}
.center {
  text-align: center;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(40px, 7.2vw, 72px);
}
h2 {
  font-size: clamp(30px, 4.6vw, 46px);
  margin-bottom: 16px;
}
h3 {
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
p {
  margin: 0 0 14px;
  text-wrap: pretty;
}
.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: #3d4856;
  line-height: 1.5;
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.hl {
  color: var(--primary);
  background: linear-gradient(transparent 70%, rgba(242, 140, 56, 0.35) 70%);
  border-radius: 4px;
}

/* Butoane-capsulă */
.btn {
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s cubic-bezier(0.3, 1.6, 0.5, 1), background 0.15s;
}
.btn:active {
  transform: scale(0.96);
}
.btn-lg {
  min-height: 58px;
  padding: 0 30px;
  font-size: 18px;
  box-shadow: var(--shadow-raised);
}
.btn-lg.btn-secondary {
  box-shadow: none;
  background: rgba(11, 107, 107, 0.1);
}
.btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 16px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--hero);
  color: #fff;
}
.skip:focus {
  top: 12px;
}

/* ---------- Antet din sticlă ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 244, 232, 0.72);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid rgba(120, 70, 20, 0.08);
}
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a:not(.btn) {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.nav a:not(.btn):hover {
  background: rgba(11, 107, 107, 0.08);
}
.nav-cta {
  margin-left: 8px;
}
.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 107, 107, 0.08);
  cursor: pointer;
}
.burger,
.burger::before,
.burger::after {
  display: block;
  width: 20px;
  height: 2.5px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--hero);
  transition: transform 0.2s;
  content: '';
}
.burger::before {
  transform: translateY(-7px);
}
.burger::after {
  transform: translateY(4.5px);
}
.menu-btn[aria-expanded='true'] .burger {
  background: transparent;
}
.menu-btn[aria-expanded='true'] .burger::before {
  transform: translateY(0) rotate(45deg);
}
.menu-btn[aria-expanded='true'] .burger::after {
  transform: translateY(-2.5px) rotate(-45deg);
}

@media (max-width: 920px) {
  .menu-btn {
    display: block;
  }
  .nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255, 250, 244, 0.97);
    box-shadow: var(--shadow-soft), 0 20px 50px rgba(60, 30, 5, 0.15);
    display: none;
  }
  .nav.open {
    display: flex;
  }
  .nav a:not(.btn) {
    padding: 14px 16px;
    font-size: 18px;
  }
  .nav-cta {
    margin: 8px 0 0;
    min-height: 52px;
  }
}

/* ---------- Erou ---------- */
.hero {
  padding: 48px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stores li {
  display: flex;
  flex-direction: column;
  padding: 8px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.15;
}
.store-k {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.75;
  letter-spacing: 0.02em;
}

.hero-art {
  position: relative;
  height: 600px;
}
.blob {
  position: absolute;
  inset: 6% 2% 4% 8%;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 30% 30%, #ffd4a6, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(11, 107, 107, 0.28), transparent 60%), var(--cream-deep);
}
.phone {
  margin: 0;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2a3542, #0f161e);
  box-shadow: var(--shadow-phone);
}
.phone img {
  display: block;
  width: 100%;
  border-radius: 38px;
  aspect-ratio: 600 / 1298;
  object-fit: cover;
  background: #f4f6f8;
}
.hero-art .phone {
  position: absolute;
  width: 268px;
}
.phone-front {
  left: 14%;
  top: 4%;
  z-index: 2;
  transform: rotate(-3deg);
}
.phone-back {
  right: 4%;
  top: 14%;
  z-index: 1;
  transform: rotate(5deg) scale(0.9);
  opacity: 0.95;
}
.hero-logo {
  position: absolute;
  z-index: 3;
  left: -2%;
  bottom: -2%;
  width: 180px;
  filter: drop-shadow(0 12px 18px rgba(60, 30, 5, 0.18));
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-art {
    height: 540px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
}
@media (max-width: 520px) {
  .hero {
    padding-top: 28px;
  }
  .hero-art {
    height: 470px;
  }
  .hero-art .phone {
    width: 210px;
    padding: 7px;
    border-radius: 36px;
  }
  .hero-art .phone img {
    border-radius: 30px;
  }
  .phone-front {
    left: 6%;
  }
  .phone-back {
    right: 0;
  }
  .hero-logo {
    width: 128px;
    left: auto;
    right: 4%;
    bottom: -1%;
  }
  .cta-row .btn {
    width: 100%;
  }
}

/* ---------- Secțiuni și carduri ---------- */
.section {
  padding: 72px 0;
}
.card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 860px) {
  .cards3 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 56px 0;
  }
}

.ba .before {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f3ebe2;
  color: #7a6a5a;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-color: rgba(180, 35, 24, 0.55);
  text-decoration-thickness: 2px;
}
.ba .arrow {
  display: block;
  margin: 10px 0 8px 18px;
  color: var(--spark);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}
.ba p:last-child,
.mini p:last-of-type,
.who p:last-child {
  margin-bottom: 0;
  color: #3d4856;
}

.ticks {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 34px;
}
.ticks li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%230B6B6B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 18px no-repeat;
  content: '';
}

/* ---------- Funcții ---------- */
.features h2 {
  margin-bottom: 8px;
}
.feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-top: 72px;
}
.feature.flip .feature-text {
  order: 2;
}
.feature-text p {
  font-size: 18px;
  color: #3d4856;
}
.feature-text h3 {
  font-size: clamp(26px, 3vw, 34px);
}
.mascot {
  display: block;
  width: 84px;
  margin: 0 0 10px -8px;
}
.feature-art {
  display: flex;
  justify-content: center;
  padding: 28px;
  border-radius: 36px;
  background: radial-gradient(circle at 50% 30%, #ffffff 0, rgba(255, 255, 255, 0) 70%), var(--cream-deep);
}
.feature-art .phone {
  width: 100%;
  max-width: 280px;
}
.tablet {
  margin: 56px auto 0;
  max-width: 980px;
}
.tablet img {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(145deg, #2a3542, #0f161e);
  box-shadow: var(--shadow-phone);
}
.tablet figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
}
@media (max-width: 860px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 56px;
  }
  .feature.flip .feature-text {
    order: 0;
  }
  .feature-art .phone {
    max-width: 250px;
  }
  .tablet img {
    padding: 6px;
    border-radius: 16px;
  }
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 72px;
}
.mascot-sm {
  display: block;
  width: 64px;
  margin: 0 0 8px -6px;
}
.tokens {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.tokens span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px dashed #d8dee4;
  border-radius: 999px;
  color: transparent;
}
.tokens .on {
  border: 0;
  background: radial-gradient(circle at 35% 30%, #ffe08a, #f7b733);
  box-shadow: 0 0 0 3px #fde3c4;
  color: #c8780c;
  font-size: 20px;
}
@media (max-width: 760px) {
  .mini-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Siguranța datelor (secțiune închisă) ---------- */
.safety {
  margin: 24px 12px;
  border-radius: 40px;
  background: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.1), transparent 40%), var(--hero);
  color: #fff;
}
.safety h2 {
  color: #fff;
}
.safety .lead {
  color: var(--hero-muted);
}
.safe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}
.safe-grid li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: 24px;
  background: var(--hero-soft);
}
.safe-grid svg {
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
  fill: #ffc48f;
}
.safe-grid strong {
  font-size: 18px;
}
.safe-grid span {
  color: var(--hero-muted);
}
.link-light {
  color: #ffd2a8;
  font-weight: 700;
}
@media (max-width: 860px) {
  .safe-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .safety {
    margin: 16px 8px;
    border-radius: 30px;
  }
  .safe-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pentru cine ---------- */
.who-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: var(--cream-deep);
  font-size: 28px;
}
.schools {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  background: linear-gradient(120deg, #ffffff 40%, #fff1e2);
}
.schools img {
  flex: none;
  width: 96px;
}
.schools > div {
  flex: 1;
}
.schools p:last-child {
  margin: 0;
  color: #3d4856;
}
.schools .btn {
  flex: none;
}
.tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fde3c4;
  color: #9a4b0b;
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 760px) {
  .schools {
    flex-direction: column;
    align-items: flex-start;
  }
  .schools .btn {
    width: 100%;
  }
}

/* ---------- Prețuri ---------- */
.price {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  outline: 3px solid rgba(242, 140, 56, 0.35);
  outline-offset: -3px;
}
.price .lead {
  margin-bottom: 24px;
}
.price-list li {
  font-size: 18px;
}
@media (max-width: 860px) {
  .price {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px;
  }
}

/* ---------- Întrebări ---------- */
.faq {
  margin-top: 32px;
}
.faq details {
  margin-bottom: 12px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.faq summary {
  position: relative;
  padding: 20px 60px 20px 24px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  position: absolute;
  right: 20px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  content: '+';
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 0;
  padding: 0 24px 22px;
  color: #3d4856;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-text img {
  width: 120px;
  margin: 0 0 8px -10px;
}
.form {
  padding: 32px;
}
.field {
  margin-bottom: 16px;
}
.field label:not(.check) {
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.row2 .field {
  margin-bottom: 0;
}
.form .hint {
  margin: 6px 0 16px;
  font-size: 14px;
  color: var(--muted);
}
.opt {
  font-weight: 400;
  color: var(--muted);
}
.form input:not([type='checkbox']),
.form select,
.form textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 10px 16px;
  border: 0;
  border-radius: 16px;
  background: #f4f1ec;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  box-shadow: inset 0 0 0 1.5px transparent;
  transition: box-shadow 0.15s, background 0.15s;
}
.form textarea {
  min-height: 96px;
  resize: vertical;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--primary), 0 0 0 4px var(--primary-soft);
}
.form [aria-invalid='true'] {
  box-shadow: inset 0 0 0 2px var(--danger);
}
.err {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--danger);
}
.err:empty {
  display: none;
}
.form-error {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--danger-soft);
  color: var(--danger);
  font-weight: 600;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
}
.check input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--primary);
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.submit {
  width: 100%;
  margin-top: 6px;
}
.done {
  text-align: center;
}
.done img {
  width: 150px;
  margin: 0 auto 8px;
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 480px) {
  .row2 {
    grid-template-columns: 1fr;
  }
  .row2 .field + .field {
    margin-top: 16px;
  }
  .form {
    padding: 22px;
  }
}

/* ---------- Subsol ---------- */
.foot {
  margin-top: 40px;
  padding: 40px 0 calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(120, 70, 20, 0.1);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 40px;
  align-items: start;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.foot nav a {
  color: var(--ink);
  font-weight: 600;
}
.foot-small {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.company {
  grid-column: 1 / -1;
}
@media (max-width: 640px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Apariții la derulare (doar unde există animation-timeline) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    @keyframes reveal {
      from {
        opacity: 0;
        transform: translateY(36px) scale(0.98);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .phone-front {
    animation: float 7s ease-in-out infinite;
  }
  @keyframes float {
    50% {
      transform: rotate(-3deg) translateY(-10px);
    }
  }
}

.done:focus {
  outline: none;
}

/* Contact direct (varianta „vitrină”, fără formular): două butoane late. */
.direct h3 {
  margin-top: 0;
}
.direct .btn {
  display: flex;
  width: 100%;
  margin-top: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.direct .hint {
  margin: 16px 0 0;
}
