/* kalrapro.ro — „atelier / fișă tehnică”: bumbac nealbit, navy de club, ață roșie folosită rar */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(/assets/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(/assets/fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url(/assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url(/assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --cotton: #f2eee5;      /* bumbac nealbit — fundal */
  --calico: #e8e2d5;      /* calico — fundal secundar */
  --card: #faf8f3;
  --ink: #1b2433;         /* navy-negru — titluri */
  --navy: #22344d;        /* navy de club — text, zone închise */
  --text: #2c3a4d;        /* text curent */
  --soft: #4a5869;        /* text secundar (≥ 6:1 pe bumbac) */
  --thread: #b8442f;      /* ață de însăilat — doar CTA și detalii mici */
  --thread-dark: #9f3b28;
  --line: #cfc6b4;
  --on-navy: #f2eee5;
  --on-navy-soft: #c3ccd8;
  --radius: 3px;
  --wrap: 1200px;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--cotton); font-stretch: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); font-stretch: 80%; }
h3 { font-size: 1.2rem; font-stretch: 90%; letter-spacing: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--thread); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Etichete mono — ca pe fișa tehnică, doar la micro-legende */
.eyebrow, .stat dt, .spec-card dt, .card-n, .step::before, .terms dt, .hero-figure figcaption, .brand-sub {
  font-family: var(--mono); font-weight: 500; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
}

/* Butoane */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  font: 600 1rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-accent { background: var(--thread); color: #fff; }
.btn-accent:hover { background: var(--thread-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--on-navy); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.link-arrow { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; white-space: nowrap; }
.link-arrow::after { content: " →"; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(242, 238, 229, .96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(6px)) { .site-header { background: rgba(242, 238, 229, .85); backdrop-filter: blur(6px); } }
.header-row { display: flex; align-items: center; gap: 36px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; padding: 8px 0; }
.brand-logo { height: 64px; width: auto; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { text-decoration: none; font-size: .95rem; color: var(--text); white-space: nowrap; }
.main-nav a:hover { color: var(--ink); text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-decoration: none; color: var(--soft); padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius); white-space: nowrap; }
.lang:hover { color: var(--ink); border-color: var(--ink); }

/* Hero — luminos, cu fotografia reală */
.hero { padding: clamp(40px, 7vw, 88px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { color: var(--thread); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-stretch: 78%; letter-spacing: -.015em; margin-bottom: 24px; max-width: 13ch; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); max-width: 54ch; color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }

.hero-figure { margin: 0; position: relative; }
.hero-img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--calico); }
.hero-figure figcaption { color: var(--soft); margin-top: 10px; font-size: .72rem; }
.spec-card { position: absolute; right: -14px; bottom: 36px; margin: 0; min-width: 230px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; box-shadow: 0 1px 0 rgba(27, 36, 51, .06); }
.spec-card div { display: flex; justify-content: space-between; gap: 18px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.spec-card div:last-child { border-bottom: 0; }
.spec-card dt { color: var(--soft); font-size: .7rem; padding-top: 2px; }
.spec-card dd { margin: 0; font-weight: 600; color: var(--ink); font-size: .92rem; text-align: right; }

.stats { margin: clamp(48px, 7vw, 80px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.stat { padding: 18px 20px 26px 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat dt { color: var(--soft); margin-top: 8px; }
.stat dd { margin: 0; font-weight: 700; font-stretch: 80%; font-size: clamp(1.7rem, 2.8vw, 2.3rem); color: var(--ink); line-height: 1.1; white-space: nowrap; }

/* Secțiuni */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-alt { background: var(--calico); }
.seam-top { position: relative; }
.seam-top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; border-top: 2px dashed var(--line); }
.section-head { margin-bottom: 40px; max-width: 760px; }
.lead-dark { font-size: 1.12rem; color: var(--soft); max-width: 60ch; }
.subhead { font-size: 1.35rem; margin-top: 64px; font-stretch: 85%; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.card { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--line); }
.card:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.card-n { color: var(--thread); display: block; margin-bottom: 12px; }
.card h3 { font-size: 1.28rem; }
.card p { color: var(--soft); margin: 0; }

.services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.services li { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.services li + li { border-left: 1px solid var(--line); }
.services strong { color: var(--ink); font-weight: 700; font-stretch: 90%; font-size: 1.05rem; }
.services span { color: var(--soft); font-size: .93rem; line-height: 1.5; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: step; }
.step { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 16px; }
.step::before { content: counter(step, decimal-leading-zero) " /"; display: block; color: var(--thread); margin-bottom: 10px; }
.step p { color: var(--soft); font-size: .95rem; margin: 0; }

.terms { margin-top: 8px; }
.terms dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.terms dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.terms dt { color: var(--soft); padding-top: 3px; }
.terms dd { margin: 0; color: var(--text); }

.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.why li { padding: 24px 0; border-top: 1px solid var(--line); }
.why h3 { font-size: 1.35rem; }
.why p { color: var(--soft); margin: 0; }

/* Broderie și DTF — atu, cu poze reale */
.emb { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.emb-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.emb-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.emb-list h3 { font-size: 1.08rem; margin-bottom: .3em; }
.emb-list p { color: var(--soft); margin: 0; font-size: .95rem; }
.emb-gallery { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; }
.emb-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); background: var(--cotton); }
.emb-gallery.n3 img:first-child { grid-row: span 2; height: 100%; }
.emb-gallery.n3 img:not(:first-child) { aspect-ratio: 4 / 5; }
.emb-gallery.n1, .emb-gallery.n2 { grid-template-columns: 1fr 1fr; }

/* WhatsApp */
.wa-icon { width: 22px; height: 22px; flex: none; }
.btn-wa { background: #1e7d4f; color: #fff; gap: 10px; }
.btn-wa:hover { background: #17663f; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px;
  background: #1e7d4f; color: #fff; text-decoration: none; font-weight: 600; padding: 12px 18px 12px 14px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(27, 36, 51, .22); }
.wa-float:hover { background: #17663f; }
.wa-float .wa-icon { width: 26px; height: 26px; }

.factory { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; align-items: start; }
.factory-text p { color: var(--text); }
.note { font-size: .95rem; color: var(--soft); padding: 12px 0 0; border-top: 1px dashed var(--line); margin-top: 24px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 10px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); background: var(--cotton); }
.gallery img:first-child { grid-row: span 2; aspect-ratio: 4 / 5; }
.gallery img:not(:first-child) { aspect-ratio: 4 / 3; }

.local { padding: 56px 0; }
.local-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; border: 1px solid var(--line); background: var(--card); padding: 28px 32px; border-radius: var(--radius); }
.local-inner p { margin: 0; color: var(--soft); max-width: 62ch; }
.h-small { font-size: 1.35rem; font-stretch: 85%; }

/* Cerere ofertă — singura zonă închisă (navy) */
.quote { background: var(--navy); color: var(--on-navy); }
.quote h2 { color: #fff; }
.quote-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; align-items: start; }
.quote-intro p { color: var(--on-navy-soft); }
.quote-direct { font-family: var(--mono); font-size: .9rem; }
.quote-direct a { color: #fff; }
.rfq { background: var(--cotton); color: var(--ink); padding: 32px; border-radius: var(--radius); display: grid; gap: 16px; }
.rfq .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.rfq label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.rfq input, .rfq select, .rfq textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px; min-height: 46px; width: 100%; }
.rfq textarea { resize: vertical; }
.rfq input:focus, .rfq select:focus, .rfq textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(34, 52, 77, .18); }
.rfq .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--text); }
.rfq .consent input { width: 20px; min-height: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.rfq button { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Documente (confidențialitate, mulțumim, 404) */
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-stretch: 80%; }
.doc h2 { font-size: 1.4rem; margin-top: 1.6em; font-stretch: 90%; }
.doc p, .doc li { color: var(--text); }
.thanks { min-height: 50vh; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-navy-soft); padding: 52px 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer address { font-style: normal; }
.site-footer a { color: var(--on-navy); }
.brand-footer { margin-bottom: 16px; }
.brand-footer img { height: 72px; width: auto; }
.site-footer .muted { color: var(--on-navy-soft); }

/* Responsive */
@media (max-width: 1060px) {
  .main-nav { display: none; }
  .header-row { justify-content: space-between; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .services li + li { border-left: 0; }
  .services li { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .terms dl { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .factory, .quote-grid, .emb { grid-template-columns: 1fr; gap: 36px; }
  .spec-card { right: 12px; bottom: 44px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr 1fr; }
  .card, .card:not(:nth-child(3n + 1)) { padding: 24px 24px 26px 0; border-left: 0; }
  .card:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-row { gap: 12px; min-height: 60px; }
  .brand-logo { height: 44px; }
  .emb-list { grid-template-columns: 1fr; }
  .wa-float { padding: 14px; right: 14px; bottom: 14px; }
  .wa-float span { display: none; }
  .site-footer { padding-bottom: 96px; }
  .spec-card { position: static; margin-top: 10px; min-width: 0; }
  .stat dd { font-size: 1.6rem; }
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(even) { padding-left: 0; border-left: 0; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .terms dl > div { grid-template-columns: 1fr; gap: 2px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .local-inner { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .rfq { padding: 20px 16px; }
  .rfq .row2 { grid-template-columns: 1fr; }
  .rfq button { justify-self: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
}
