/* rarespanta.ro — identitate: cobalt + bleumarin, chihlimbar ca semnal („automatizarea rulează”), Schibsted Grotesk. */
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-display: swap; src: url(fonts/schibsted-grotesk-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: "Schibsted Grotesk"; font-weight: 400; font-display: swap; src: url(fonts/schibsted-grotesk-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: "Schibsted Grotesk"; font-weight: 600; font-display: swap; src: url(fonts/schibsted-grotesk-latin-600-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: "Schibsted Grotesk"; font-weight: 600; font-display: swap; src: url(fonts/schibsted-grotesk-latin-ext-600-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: "Schibsted Grotesk"; font-weight: 800; font-display: swap; src: url(fonts/schibsted-grotesk-latin-800-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: "Schibsted Grotesk"; font-weight: 800; font-display: swap; src: url(fonts/schibsted-grotesk-latin-ext-800-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 {
  --cobalt: #1F3BD9; --cobalt-deep: #172EB0; --midnight: #0B1440; --amber: #FFB938;
  --cloud: #F3F5FB; --slate: #4A5578; --ice: #C9D3FF; --white: #FFFFFF; --line: #DCE1F0;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px; --sect: 72px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --sect: 112px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--midnight); font: 400 1.0625rem/1.6 var(--font); }
@media (min-width: 1024px) { body { font-size: 1.125rem; } }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--midnight); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

h1 { font-weight: 800; font-size: clamp(3rem, 8.4vw, 6.25rem); line-height: .95; letter-spacing: -0.045em; }
h2 { font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 18ch; }
h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }
@media (min-width: 1024px) { h3 { font-size: 1.375rem; } }

.wrap { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--white); color: var(--midnight); padding: 8px 12px; }
.section { padding: var(--sect) 0; }
.section--cloud { background: var(--cloud); }
.section__intro { color: var(--slate); max-width: 60ch; margin-top: 20px; font-size: 1.125rem; }
.proofs, .rows, .domains, .steps { margin-top: 40px; }
@media (min-width: 1024px) { .proofs, .rows, .domains, .steps { margin-top: 56px; } }

.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 10px; background: var(--cobalt); color: var(--white); font: 600 1.0625rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--midnight); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .65; cursor: wait; }
.btn--amber { background: var(--amber); color: var(--midnight); }
.btn--amber:hover { background: var(--white); color: var(--midnight); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 1rem; }

/* Header + hero: un singur câmp cobalt */
.top { position: sticky; top: 0; z-index: 5; background: var(--cobalt); border-bottom: 1px solid rgb(255 255 255 / .14); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; white-space: nowrap; }
.logo img { border-radius: 9px; box-shadow: 0 0 0 1.5px rgb(255 255 255 / .55); }
.logo:hover { color: var(--white); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--white); font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: 8px; }
.nav a:not(.btn):hover { background: rgb(255 255 255 / .12); color: var(--white); }
.nav .lang { color: var(--ice); }
.nav .btn { margin-left: 8px; background: var(--amber); color: var(--midnight); }
.nav .btn:hover { background: var(--white); color: var(--midnight); }
.nav__opt { display: none !important; }
@media (min-width: 940px) { .top__in { min-height: 80px; } .nav__opt { display: inline-flex !important; } }

.hero { background: var(--cobalt); color: var(--white); padding: 56px 0 72px; overflow: hidden; }
@media (min-width: 1024px) { .hero { padding: 96px 0 128px; } }
.hero__in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; } }
.hero h1 { max-width: 9ch; }
.lead { margin-top: 28px; color: var(--ice); font-size: 1.1875rem; line-height: 1.55; max-width: 34em; }
@media (min-width: 1024px) { .lead { font-size: 1.3125rem; } }
.lead strong { color: var(--white); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }
.link-light { color: var(--white); font-weight: 600; text-decoration-color: rgb(255 255 255 / .45); text-decoration-thickness: 2px; }
.link-light:hover { color: var(--amber); text-decoration-color: var(--amber); }

/* Automatizarea care rulează — singurul moment animat al paginii */
.run { position: relative; background: var(--white); color: var(--midnight); border-radius: 18px; padding: 24px 24px 12px; box-shadow: 0 40px 80px -30px rgb(6 12 48 / .65), 0 0 0 1px rgb(255 255 255 / .2); }
@media (min-width: 1024px) { .run { padding: 28px 30px 14px; transform: rotate(1.2deg); } }
.run figcaption { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; color: var(--slate); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.live { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgb(255 185 56 / .6); animation: puls 2s ease-out infinite; flex: none; }
.run li { position: relative; display: grid; gap: 2px; padding: 16px 0 16px 50px; }
.run li + li { border-top: 1px dashed var(--line); }
.run li b { font-weight: 600; font-size: 1.0625rem; }
.run li span { color: var(--slate); font-size: .9375rem; line-height: 1.45; }
.run li::before { content: ""; position: absolute; left: 0; top: 16px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); animation: gata .35s ease-out both; }
.run li::after { content: "✓"; position: absolute; left: 0; top: 16px; width: 32px; height: 32px; display: grid; place-items: center; font-weight: 800; font-size: .95rem; color: var(--midnight); animation: bifa .35s ease-out both; }
.run li:nth-child(1)::before, .run li:nth-child(1)::after { animation-delay: .5s; }
.run li:nth-child(2)::before, .run li:nth-child(2)::after { animation-delay: 1.1s; }
.run li:nth-child(3)::before, .run li:nth-child(3)::after { animation-delay: 1.7s; }
.run li.run__wait::before { animation: asteapta .35s ease-out 2.3s both; }
.run li.run__wait::after { content: ""; }
.badge { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: #FFF3D6; color: #6B4A00; font-size: .8125rem; font-weight: 600; font-style: normal; vertical-align: 2px; }
@keyframes gata { from { border-color: var(--line); background: var(--white); } to { border-color: var(--amber); background: var(--amber); } }
@keyframes bifa { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes asteapta { from { border-color: var(--line); } to { border-color: var(--cobalt); border-style: dashed; } }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgb(255 185 56 / .6); } 70%, 100% { box-shadow: 0 0 0 9px rgb(255 185 56 / 0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* Ce am construit */
.proofs { display: grid; gap: 36px; }
@media (min-width: 900px) { .proofs { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.proof { border-top: 4px solid var(--cobalt); padding-top: 22px; }
.proof h3 { margin-bottom: 14px; }
.proof p { color: var(--slate); }
.proof p + p { margin-top: 10px; }
.proof b { color: var(--midnight); font-weight: 600; }

/* Servicii */
.rows { border-top: 2px solid var(--midnight); }
.row { display: grid; gap: 10px; padding: 30px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .row { grid-template-columns: 5fr 7fr; gap: 32px; padding: 40px 0; } }
.row h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.025em; }
@media (min-width: 1024px) { .row h3 { font-size: 1.875rem; } }
.row p { max-width: 60ch; }
.out { margin-top: 12px; color: var(--cobalt); font-weight: 600; font-size: 1rem; }

/* Domenii */
.domains { display: grid; gap: 0 56px; }
@media (min-width: 768px) { .domains { grid-template-columns: 1fr 1fr; } }
.domains article { padding: 26px 0; border-top: 1px solid var(--line); }
.domains h3 { margin-bottom: 8px; }
.domains p { color: var(--slate); }

/* Proces — secvență reală, deci numerotată */
.section--dark { background: var(--midnight); color: var(--white); }
.section--dark h2 { color: var(--white); }
.steps { display: grid; gap: 36px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 0; } .steps li { padding-right: 28px; border-left: 1px solid rgb(255 255 255 / .16); padding-left: 24px; } .steps li:first-child { border-left: 0; padding-left: 0; } }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; color: var(--amber); font-weight: 800; font-size: 3.5rem; line-height: 1; letter-spacing: -0.04em; margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; color: var(--white); }
.steps p { color: var(--ice); }
.steps .out { color: var(--amber); font-size: .9375rem; }

/* Despre */
.about { display: grid; gap: 48px; }
@media (min-width: 1024px) { .about { grid-template-columns: 7fr 5fr; gap: 96px; align-items: start; } }
.about__text p { margin-top: 20px; max-width: 58ch; }
.about__text p:first-of-type { margin-top: 24px; }
.principles { display: grid; gap: 16px; }
.principles li { background: var(--cloud); border-radius: 14px; padding: 22px 24px; }
.principles h3 { font-size: 1.125rem; margin-bottom: 4px; }
.principles p { color: var(--slate); }

/* Contact: cobalt, ca hero-ul */
.section--cobalt { background: var(--cobalt); color: var(--white); }
.section--cobalt h2 { color: var(--white); }
.contact { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } }
.contact__text p { margin-top: 20px; max-width: 42ch; color: var(--ice); }
.contact__text .note { font-size: .9375rem; }
.form { display: grid; gap: 20px; background: var(--white); color: var(--midnight); border-radius: 18px; padding: 24px; box-shadow: 0 40px 80px -30px rgb(6 12 48 / .6); }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; padding: 32px; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #B7C0DA; border-radius: 10px; background: var(--cloud); color: var(--midnight); font: 400 1rem/1.5 var(--font); }
.field input:hover, .field textarea:hover { border-color: var(--slate); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 1px; background: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { font-size: 1rem; }
.form__status[data-tip="ok"] { color: #0F6B3A; font-weight: 600; }
.form__status[data-tip="ok"]::before { content: "✓ "; }
.form__status[data-tip="eroare"] { color: #A3231B; font-weight: 600; }
.form__status[data-tip="eroare"]::before { content: "! "; }

/* Footer */
.foot { background: var(--midnight); color: var(--ice); padding: 32px 0; font-size: .9375rem; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.foot p { display: flex; align-items: center; gap: 12px; }
.foot img { border-radius: 6px; }
.foot a { color: var(--white); }
.foot a:hover { color: var(--amber); }
