/* Tractari GIB – design 2026. Foaie de stil unica, fara dependente externe. */
:root {
	--bg: #0f1318;
	--bg-2: #161c23;
	--bg-3: #1e2630;
	--ink: #11161c;
	--text: #2a3440;
	--muted: #667483;
	--line: #e3e7ec;
	--paper: #f5f6f8;
	--white: #fff;
	--amber: #ffb81c;
	--amber-2: #ffcf5c;
	--amber-ink: #1b1400;
	--red: #d92d20;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(15, 19, 24, .12);
	--wrap: 1180px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: #8a5a00; text-underline-offset: 3px; }
a:not(.btn):hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: #8f5c00; margin: 0 0 .6rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--amber-ink); padding: .7rem 1rem; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ---------- Butoane ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: 999px; font: 700 1rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--amber); color: var(--amber-ink); }
.btn--primary:hover { background: var(--amber-2); color: var(--amber-ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.section--light .btn--ghost, .contact__card .btn--ghost, .cta-band .btn--ghost { }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* ---------- Topbar + header ---------- */
.topbar { background: #080b0f; color: #b9c2cc; font-size: .875rem; }
.topbar__inner { display: flex; gap: 1.6rem; align-items: center; justify-content: flex-end; padding-block: .45rem; }
.topbar__item { display: inline-flex; gap: .4rem; align-items: center; color: inherit; text-decoration: none; }
.topbar .icon { color: var(--amber); }
.topbar a:hover { color: #fff; }

.site-header { background: var(--bg); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 0 rgba(255, 184, 28, .9); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; padding-block: .6rem; }
.brand img { height: 58px; width: auto; }
.primary-nav { margin-inline: auto; }
.primary-nav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: .6rem .95rem; border-radius: 999px; color: #d6dde5; text-decoration: none; font-weight: 600; font-size: .98rem; }
.primary-nav a:hover { background: var(--bg-3); color: #fff; }
.primary-nav a[aria-current="page"] { color: var(--amber); }
.header-call { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: #fff; line-height: 1.15; }
.header-call__label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); font-weight: 800; }
.header-call__number { font-size: 1.35rem; font-weight: 800; display: inline-flex; gap: .4rem; align-items: center; }
.header-call:hover { color: var(--amber); }
.nav-toggle { display: none; background: var(--bg-3); color: #fff; border: 0; border-radius: 10px; width: 44px; height: 44px; margin-left: auto; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; vertical-align: middle; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--bg) url("/images/slide01.jpg") center / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 11, 15, .92) 0%, rgba(8, 11, 15, .72) 48%, rgba(8, 11, 15, .25) 100%); z-index: -1; }
.hero__inner { padding-block: clamp(3.5rem, 9vw, 7rem); max-width: 760px; margin-left: max(1.25rem, calc((100vw - var(--wrap)) / 2)); margin-right: 1.25rem; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero__lead { font-size: 1.2rem; color: #d9e0e7; max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.8rem 0 0; }
.chips li { display: inline-flex; gap: .45rem; align-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); padding: .45rem .9rem; border-radius: 999px; font-size: .92rem; font-weight: 600; backdrop-filter: blur(4px); }
.chips .icon { color: var(--amber); }

/* ---------- Page hero (pagini interioare) ---------- */
.page-hero { background: radial-gradient(1200px 400px at 85% -20%, rgba(255, 184, 28, .22), transparent 60%), var(--bg); color: #fff; padding-block: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 22ch; }
.page-hero__lead { color: #c9d2db; max-width: 62ch; font-size: 1.12rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .9rem; color: #94a1af; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumbs a { color: var(--amber); text-decoration: none; }

/* ---------- Sectiuni ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--bg); color: #c9d2db; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 62ch; margin-bottom: 2.4rem; }
.section__head--center { margin-inline: auto; text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.figure { margin: 0; position: relative; }
.figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.figure--stack img + img { position: absolute; width: 46%; right: -3%; bottom: -8%; border: 6px solid #fff; }

/* ---------- Carduri ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--amber); color: var(--text); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card__body { padding: 1.2rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 1rem; }
.card__more { margin-top: auto; font-weight: 700; color: #8a5a00; display: inline-flex; gap: .4rem; align-items: center; }
.cards--small { grid-template-columns: repeat(3, 1fr); margin-top: 1.4rem; }
.card--flat { padding: 1.4rem; }
.card--flat .icon { width: 2rem; height: 2rem; color: #b27300; margin-bottom: .6rem; }

/* ---------- Beneficii ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; list-style: none; padding: 0; margin: 0; }
.feature { background: var(--bg-2); border: 1px solid #263140; border-radius: var(--radius); padding: 1.5rem; }
.feature .icon { width: 2.2rem; height: 2.2rem; color: var(--amber); margin-bottom: .8rem; }
.feature h3 { font-size: 1.1rem; }
.feature p { margin: 0; font-size: .97rem; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checklist li { position: relative; padding: .35rem 0 .35rem 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .6rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231b1400' d='M9.2 16.6 4.9 12.3l-1.4 1.4 5.7 5.7L21 7.6l-1.4-1.4z'/%3E%3C/svg%3E") center / 80% no-repeat; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--amber); color: var(--amber-ink); font-weight: 800; margin-bottom: .9rem; }
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--muted); }

.areas { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.areas li { padding: .4rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.3rem; }
.faq details[open] { border-color: var(--amber); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); padding: 1.1rem 2rem 1.1rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: #b27300; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text); padding-bottom: 1.1rem; margin: 0; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(100deg, #ffb81c, #ffd25e); color: var(--amber-ink); padding-block: 2.6rem; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0; color: var(--amber-ink); font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-band p { margin: .3rem 0 0; }
.cta-band .btn--dark { font-size: 1.15rem; padding: 1rem 1.7rem; }

/* ---------- Continut pagini interioare ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.notice { background: #fff8e5; border-left: 4px solid var(--amber); padding: 1rem 1.2rem; border-radius: 8px; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; list-style: none; padding: 0; margin: 0; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; background: var(--paper); }
.gallery img { width: 100%; aspect-ratio: 250 / 320; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.06); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(4, 6, 9, .9); }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 10px; margin: auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #fff; padding: .5rem .2rem; }
.lightbox button { background: #fff; color: var(--ink); border: 0; border-radius: 999px; padding: .5rem 1rem; font-weight: 700; cursor: pointer; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); color: #c9d2db; padding-block: clamp(3rem, 7vw, 5rem); }
.contact h2 { color: #fff; }
.contact__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: start; }
.contact .eyebrow { color: var(--amber); }
.contact a:not(.btn) { color: var(--amber-2); }
.contact .muted, .site-footer .muted { color: #9fabb8; }
.form { display: grid; gap: 1rem; margin-top: 1.4rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; color: #e8edf2; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea { width: 100%; padding: .8rem 1rem; border-radius: 10px; border: 1px solid #2d3948; background: var(--bg-2); color: #fff; font: inherit; }
.form input::placeholder, .form textarea::placeholder { color: #8e9bab; }
.form input:focus, .form textarea:focus { border-color: var(--amber); outline: none; box-shadow: 0 0 0 3px rgba(255, 184, 28, .25); }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #ff6b5e; }
.form__check { display: flex !important; gap: .7rem; align-items: flex-start; font-weight: 400 !important; font-size: .9rem !important; color: #9aa7b5 !important; }
.form__check input { margin-top: .25rem; accent-color: var(--amber); width: 1.1rem; height: 1.1rem; flex: none; }
.form__trap { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form__status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form__status.is-ok { color: #6ee7a8; }
.form__status.is-error { color: #ff9a8f; }
.form button[disabled] { opacity: .6; cursor: progress; }
.contact__card { background: var(--bg-2); border: 1px solid #263140; border-radius: var(--radius); padding: 1.8rem; }
.contact__logo { display: grid; place-items: center; margin-bottom: 1.2rem; }
.contact__logo img { height: 180px; width: auto; max-width: 100%; }
.contact__card address { font-style: normal; margin-bottom: 1.2rem; }
.contact__card address p { display: flex; gap: .7rem; margin-bottom: .8rem; align-items: flex-start; }
.contact__card address .icon { color: var(--amber); margin-top: .25rem; }
.contact__card .btn { margin-top: .7rem; }

/* ---------- Footer ---------- */
.site-footer { background: #080b0f; color: #9aa7b5; padding-top: 3rem; font-size: .96rem; }
.site-footer a { color: #c9d2db; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2rem; }
.footer__brand { color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: .4rem; }
.footer__title { color: #fff; font-weight: 700; margin-bottom: .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.social { display: inline-flex; gap: .5rem; align-items: center; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid #1a222c; padding-block: 1.2rem; font-size: .88rem; }
.footer__legal p { margin: 0; }

/* ---------- Bara de apel (mobil) ---------- */
.callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.cards, .features { grid-template-columns: repeat(2, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.header-call__label { display: none; }
}
@media (max-width: 860px) {
	.topbar__mail { display: none; }
	.topbar__inner { justify-content: center; }
	.nav-toggle { display: grid; place-items: center; }
	.header-call { display: none; }
	.header__inner { flex-wrap: wrap; }
	.primary-nav { display: none; flex-basis: 100%; margin: 0; order: 5; }
	.primary-nav.is-open { display: block; padding-bottom: .8rem; }
	.primary-nav ul { flex-direction: column; }
	.primary-nav a { padding: .85rem 1rem; border-radius: 10px; }
	.split, .contact__grid, .steps { grid-template-columns: 1fr; }
	.split--reverse > :first-child { order: 0; }
	.figure--stack img + img { position: static; width: 100%; border: 0; margin-top: .8rem; }
	.cards--small { grid-template-columns: 1fr; }
	.hero__inner { margin-inline: 1.25rem; }
	body { padding-bottom: 64px; }
	.callbar { display: grid; grid-template-columns: 1.4fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 60; box-shadow: 0 -6px 20px rgba(0, 0, 0, .25); }
	.callbar__btn { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; font-weight: 800; text-decoration: none; }
	.callbar__btn--call { background: var(--amber); color: var(--amber-ink); }
	.callbar__btn--form { background: var(--bg); color: #fff; }
	.callbar__btn--call:hover { color: var(--amber-ink); }
	.callbar__btn--form:hover { color: #fff; }
}
@media (max-width: 560px) {
	.cards, .features, .form__grid, .footer__grid { grid-template-columns: 1fr; }
	.btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
	.topbar, .site-header, .callbar, .contact__form { display: none; }
}
