/* ============================================================
   JANDY — "Paper & Ink"
   Un site care se simte ca un ambalaj premium de carton:
   hartie calda, serif expresiv, accente terracotta.
   ============================================================ */

:root {
  --paper: #f4efe4;
  --paper-deep: #ece4d2;
  --card: #fdfaf3;
  --ink: #23271f;
  --ink-soft: #4c5147;
  --muted: #75796d;
  --line: rgba(35, 39, 31, 0.12);
  --forest: #17382a;
  --forest-deep: #0e281d;
  --terra: #c2481a;
  --terra-deep: #9e3910;
  --terra-wash: #f6ddcd;
  --cream: #f7f2e5;
  --gold: #d9a13a;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --max: 1240px;
  --gutter: max(24px, calc((100vw - var(--max)) / 2));
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 32px;
  --ease: cubic-bezier(0.25, 1, 0.4, 1);
  --shadow: 0 2px 6px rgba(35, 39, 31, 0.05), 0 18px 44px rgba(35, 39, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--terra);
  color: var(--cream);
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1 em,
h2 em,
.cta-band em {
  font-style: italic;
  color: var(--terra);
}

:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  clip: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 60;
}

/* ============ Header: navbar plutitor tip pastila ============ */

.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(1080px, 100%);
  min-height: 62px;
  padding: 8px 10px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(253, 250, 243, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 4px 20px rgba(35, 39, 31, 0.07);
  transition: box-shadow 280ms ease, background 280ms ease;
}

.site-header.is-scrolled .nav-pill {
  background: rgba(253, 250, 243, 0.94);
  box-shadow: 0 10px 36px rgba(35, 39, 31, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: max-content;
}

.brand-logo {
  height: 48px;
  width: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--terra-deep);
  background: var(--terra-wash);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--forest);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 200ms ease, transform 200ms var(--ease);
}

.nav-cta:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--forest);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 240ms var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ============ Butoane ============ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms ease, color 220ms ease;
}

.button-fill {
  color: var(--cream);
  background: var(--terra);
  box-shadow: 0 10px 26px rgba(194, 72, 26, 0.3);
}

.button-fill::after {
  content: "\2192";
  transition: transform 220ms var(--ease);
}

.button-fill:hover {
  background: var(--terra-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(194, 72, 26, 0.36);
}

.button-fill:hover::after {
  transform: translateX(4px);
}

.button-line {
  color: var(--ink);
  border-color: rgba(35, 39, 31, 0.28);
  background: transparent;
}

.button-line:hover {
  border-color: var(--ink);
  background: var(--card);
  transform: translateY(-2px);
}

/* ============ Hero ============ */

.hero {
  padding: 150px var(--gutter) 72px;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(217, 161, 58, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(194, 72, 26, 0.07), transparent 70%),
    var(--paper);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.chip {
  display: inline-block;
  margin: 0 0 22px;
  padding: 8px 16px;
  border: 1px solid rgba(35, 39, 31, 0.2);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.9rem, 6.4vw, 5.4rem);
  line-height: 1.02;
}

.hero-lead {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 1.13rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  margin: 48px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-proof li {
  display: grid;
  gap: 2px;
}

.hero-proof strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--forest);
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  box-shadow: var(--shadow);
}

.hero-tag {
  position: absolute;
  margin: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
}

.hero-tag-a {
  top: 12%;
  left: -8%;
  transform: rotate(-4deg);
}

.hero-tag-b {
  bottom: 8%;
  right: -4%;
  transform: rotate(3deg);
}

/* ============ Banda repere (statica) ============ */

.marquee {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 30px;
  padding: 22px var(--gutter);
  background: var(--forest);
  color: var(--cream);
  text-align: center;
}

.marquee span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
}

.marquee .dot {
  color: var(--gold);
  font-style: normal;
  font-size: 0.9rem;
}

/* ============ Sectiuni ============ */

.section {
  padding: 110px var(--gutter);
}

.section-paper {
  background: var(--paper-deep);
}

.section-head {
  max-width: 820px;
  margin-bottom: 52px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--terra);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.kicker span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(194, 72, 26, 0.4);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.kicker-light {
  color: var(--gold);
}

.kicker-light span {
  border-color: rgba(217, 161, 58, 0.5);
}

.section-head h2,
.prsm-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: 1.06;
}

.section-lead {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 680px;
}

/* ============ Catalog ============ */

.catalog-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.catalog-note strong {
  color: var(--ink);
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-card[hidden] {
  display: none;
}

.product-card.is-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--cream);
  transition: transform 500ms var(--ease);
}

.product-card.is-featured img {
  aspect-ratio: auto;
  flex: 1;
  min-height: 0;
}

.product-card img[src$=".png"],
.product-card img[src$=".svg"] {
  object-fit: contain;
  padding: 18px;
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-body {
  padding: 20px 22px 24px;
}

.product-card .tag {
  margin: 0 0 10px;
  color: var(--terra);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.product-card.is-featured h3 {
  font-size: 1.8rem;
}

.product-card p:not(.tag):not(.sizes) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.product-card .sizes {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
}

/* ============ Personalizare (sectiune dark) ============ */

.section-dark {
  background:
    radial-gradient(ellipse 50% 40% at 90% 0%, rgba(217, 161, 58, 0.12), transparent 70%),
    var(--forest);
  color: var(--cream);
}

.section-dark .section-head h2 {
  color: var(--cream);
}

.section-dark .section-lead {
  color: rgba(247, 242, 229, 0.72);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(247, 242, 229, 0.14);
  border-radius: var(--r);
  background: rgba(247, 242, 229, 0.05);
  transition: background 240ms ease, transform 240ms var(--ease);
}

.step:hover {
  background: rgba(247, 242, 229, 0.09);
  transform: translateY(-4px);
}

.step-no {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
}

.step img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-sm);
  margin-bottom: 18px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: var(--cream);
}

.step p {
  margin: 0;
  color: rgba(247, 242, 229, 0.68);
  font-size: 0.93rem;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding: 32px 36px;
  border: 1px dashed rgba(247, 242, 229, 0.3);
  border-radius: var(--r);
}

.cta-band p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.25;
}

.cta-band em {
  color: var(--gold);
}

/* ============ HoReCa ============ */

.horeca-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.horeca-card {
  padding: 28px;
  border-top: 2px solid var(--ink);
  background: transparent;
}

.horeca-card h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.horeca-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}

.showcase img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px var(--r) var(--r);
  box-shadow: var(--shadow);
  transition: transform 300ms var(--ease);
}

.showcase img:nth-child(even) {
  margin-top: 36px;
  border-radius: var(--r) var(--r) 999px 999px;
}

.showcase img:hover {
  transform: translateY(-6px);
}

/* ============ Sustenabilitate ============ */

.sustain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.sustain-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 18px;
  padding: 34px 28px 34px 0;
  border-bottom: 1px solid var(--line);
}

.sustain-index {
  grid-row: span 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--terra);
  line-height: 1;
}

.sustain-item h3 {
  margin: 0;
  font-size: 1.35rem;
}

.sustain-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ============ Despre ============ */

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.about-copy > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 620px;
}

.values-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.values-list li {
  padding: 14px 0 14px 22px;
  border-left: 2px solid var(--terra);
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.values-list strong {
  color: var(--ink);
  font-weight: 600;
}

.about-media {
  margin: 0;
}

.about-media img {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: var(--r-lg) 999px var(--r-lg) var(--r-lg);
  box-shadow: var(--shadow);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 26px 18px 0 0;
  border-top: 1px solid rgba(35, 39, 31, 0.25);
}

.timeline li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terra);
}

.timeline strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--forest);
}

.timeline span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ============ Certificare ============ */

.doc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.doc-card {
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--card);
  cursor: pointer;
  color: inherit;
  text-align: left;
  text-decoration: none;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.doc-card:hover,
.doc-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.doc-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  background: var(--cream);
}

.doc-card span {
  display: block;
  padding: 12px 14px 4px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

.doc-card small {
  display: block;
  padding: 2px 14px 12px;
  color: var(--terra);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.doc-card:not(:has(small)) span {
  padding-bottom: 12px;
}

/* ============ PRSM ============ */

.prsm-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background: var(--forest-deep);
  color: var(--cream);
}

.prsm-copy h2 {
  color: var(--cream);
}

.prsm-copy p:not(.kicker) {
  margin: 18px 0 28px;
  color: rgba(247, 242, 229, 0.72);
  max-width: 560px;
}

.prsm-preview {
  margin: 0;
  justify-self: center;
}

.prsm-preview img {
  max-height: 500px;
  border-radius: var(--r-sm);
  background: var(--card);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  transform: rotate(1.5deg);
  transition: transform 300ms var(--ease);
}

.prsm-preview img:hover {
  transform: rotate(0deg);
}

/* ============ Contact ============ */

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
  align-items: stretch;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border-radius: var(--r);
  background: var(--forest);
  color: var(--cream);
}

.contact-line {
  display: grid;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(247, 242, 229, 0.14);
  text-decoration: none;
  transition: padding-left 200ms var(--ease);
}

.contact-line:hover {
  padding-left: 8px;
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line span {
  color: rgba(247, 242, 229, 0.55);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-line strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 500;
  font-size: 0.93rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(35, 39, 31, 0.2);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--terra);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(194, 72, 26, 0.16);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
}

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

.site-footer {
  padding: 60px var(--gutter) 32px;
  overflow: hidden;
  background: var(--forest-deep);
  color: rgba(247, 242, 229, 0.72);
}

.footer-word {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(5rem, 17vw, 15rem);
  line-height: 0.9;
  text-align: center;
  color: rgba(247, 242, 229, 0.08);
  user-select: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  padding-top: 44px;
  border-top: 1px solid rgba(247, 242, 229, 0.12);
}

.footer-about p {
  margin: 0 0 22px;
  max-width: 380px;
  font-size: 0.95rem;
}

.company-details {
  display: grid;
  gap: 12px;
  margin: 0;
}

.company-details div {
  display: grid;
  gap: 1px;
}

.company-details dt {
  color: rgba(247, 242, 229, 0.42);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-details dd {
  margin: 0;
  color: rgba(247, 242, 229, 0.85);
  font-size: 0.9rem;
}

.footer-col h2 {
  margin: 0 0 14px;
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  margin: 9px 0;
  color: rgba(247, 242, 229, 0.66);
  text-decoration: none;
  font-size: 0.94rem;
  transition: color 160ms ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}

.footer-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 46px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  background: var(--cream);
}

.footer-logos img {
  max-width: 140px;
  max-height: 32px;
  object-fit: contain;
}

.footer-bottom {
  margin: 36px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(247, 242, 229, 0.12);
  color: rgba(247, 242, 229, 0.45);
  font-size: 0.85rem;
}

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

.doc-modal {
  width: min(920px, calc(100% - 28px));
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  background: var(--card);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.4);
  overflow: auto;
  overscroll-behavior: contain;
}

.doc-modal[open] {
  animation: modal-in 260ms var(--ease);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.doc-modal::backdrop {
  background: rgba(14, 40, 29, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.modal-shell {
  padding: 0 20px 20px;
}

.modal-top {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 14px;
  margin-bottom: 4px;
  background: var(--card);
}

.modal-top h2 {
  margin: 0;
  font-size: 1.2rem;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-pdf {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--terra);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: background 160ms ease;
}

.modal-pdf:hover {
  background: var(--terra-deep);
}

.modal-pdf[hidden] {
  display: none;
}

.modal-close {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  font-weight: 500;
  transition: background 160ms ease;
}

.modal-close:hover {
  background: var(--terra-wash);
}

.doc-modal img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--r-sm);
  background: var(--cream);
}

/* ============ Pagina PRSM ============ */

.prsm-back {
  margin-bottom: 34px;
}

.prsm-detail {
  padding-top: 108px;
  background:
    radial-gradient(ellipse 60% 45% at 85% 0%, rgba(217, 161, 58, 0.13), transparent 70%),
    var(--paper);
}

.prsm-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.prsm-document {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: zoom-in;
  width: min(100%, 560px);
}

.prsm-document img {
  width: 100%;
  border-radius: var(--r-sm);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.prsm-document:hover img,
.prsm-document:focus-visible img {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg, 0 24px 60px rgba(35, 39, 31, 0.2));
}

.zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(35, 39, 31, 0.82);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms ease, transform 220ms var(--ease);
  pointer-events: none;
}

.prsm-document:hover .zoom-hint,
.prsm-document:focus-visible .zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.prsm-content {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
}

.prsm-content h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.prsm-content p {
  color: var(--ink-soft);
}

.prsm-content a {
  color: var(--terra);
  font-weight: 600;
  text-decoration-color: rgba(194, 72, 26, 0.4);
  text-underline-offset: 3px;
}

.prsm-content a:hover {
  color: var(--terra-deep);
}

/* ============ Reveal ============ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-pill {
    width: min(560px, 100%);
  }

  body.nav-open .nav-links {
    position: fixed;
    inset: 92px 16px auto;
    display: grid;
    justify-content: stretch;
    justify-items: stretch;
    gap: 0;
    padding: 12px 22px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--card);
    box-shadow: 0 24px 60px rgba(35, 39, 31, 0.2);
    z-index: 49;
  }

  body.nav-open .nav-links a {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1rem;
  }

  body.nav-open .nav-links a:last-child {
    border-bottom: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card.is-featured {
    grid-column: span 2;
    grid-row: auto;
  }

  .product-card.is-featured img {
    aspect-ratio: 16 / 9;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .doc-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 0;
  }

  .hero-inner,
  .about-layout,
  .prsm-band,
  .contact-layout,
  .prsm-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 520px;
  }

  .hero-visual img {
    max-height: 440px;
  }

  .hero-tag-a {
    left: 2%;
  }

  .hero-tag-b {
    right: 2%;
  }

  .about-media {
    order: -1;
  }

  .about-media img {
    min-height: 320px;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 78px 20px;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .nav-cta {
    display: none;
  }

  .hero-proof {
    flex-wrap: wrap;
    gap: 20px 32px;
  }

  .product-grid,
  .steps,
  .horeca-grid,
  .showcase,
  .sustain-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-card.is-featured {
    grid-column: auto;
  }

  .showcase img:nth-child(even) {
    margin-top: 0;
  }

  .sustain-item {
    padding-right: 0;
  }

  .doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band {
    padding: 24px;
  }

  .cta-band .button {
    width: 100%;
  }

  .contact-panel,
  .contact-form {
    padding: 26px;
  }

  .contact-form .button {
    justify-self: stretch;
    width: 100%;
  }

  .prsm-detail {
    padding-top: 96px;
  }

  .prsm-back {
    margin-bottom: 24px;
  }

  /* Documentele se vad la rezolutia lor nativa, cu deplasare pe orizontala:
     altfel textul scanat devine ilizibil pe ecran mic. */
  .doc-modal {
    width: calc(100% - 12px);
    max-height: 94vh;
  }

  .modal-shell {
    padding: 0 8px 12px;
  }

  .modal-top {
    padding: 14px 6px 12px;
  }

  .doc-modal img {
    max-width: none;
    margin: 0;
  }

  .footer-logos {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-logos a {
    width: 100%;
  }
}
