/* =========================================================
   Atelierul De Roti — stylesheet
   Palette: red (#e11414) + charcoal (#16181d) + white
   ========================================================= */

:root {
  --red: #e11414;
  --red-dark: #b00d0d;
  --ink: #16181d;
  --ink-soft: #23262e;
  --text: #1a1d23;
  --muted: #5b6470;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --wa: #25d366;
  --wa-dark: #1da851;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 24, 31, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 24, 31, 0.16);
  --container: 1140px;
  --header-h: 70px;
  --ff-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--ff-head); font-weight: 600; font-size: .95rem;
  padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--lg { font-size: 1.05rem; padding: .85em 1.7em; }
.btn--sm { font-size: .85rem; padding: .5em 1em; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); box-shadow: 0 8px 20px rgba(225, 20, 20, .3); }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: var(--wa-dark); box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--ghost-dark { background: transparent; color: #cfd3da; border-color: rgba(255,255,255,.25); }
.btn--ghost-dark:hover { color: #fff; border-color: #fff; }
/* Stacked button: main label + small parenthetical sub-line (e.g. "(… 24h)") */
.btn--stack { align-items: center; }
.btn__lines { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: left; }
.btn__main { font-weight: 600; }
.btn__sub { font-weight: 500; font-size: .72rem; opacity: .85; white-space: normal; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #c7ccd4; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: .6em; flex-wrap: wrap; min-height: 38px; }
.topbar__item { color: #c7ccd4; }
.topbar__item:hover { color: #fff; }
.topbar__phone { color: #fff; font-weight: 600; }
.topbar__sep { opacity: .4; }

/* ---------- Maintenance banner ---------- */
.maint-banner {
  background: var(--red-dark); color: #fff; text-align: center;
  font-family: var(--ff-head); font-weight: 600; font-size: .95rem;
  padding: .75rem 1rem; line-height: 1.4;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .6em; }
.brand__mark { display: inline-flex; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--ff-head); }
.brand__text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: .04em; color: var(--ink); }
.brand__text small { font-size: .72rem; letter-spacing: .3em; color: var(--red); font-weight: 700; }
.brand__logo { height: 46px; width: auto; flex: 0 0 auto; }
.brand__word { font-family: var(--ff-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -.005em; color: var(--ink); line-height: 1; white-space: nowrap; }
.brand__tld { color: var(--red); }
.brand--footer { align-items: center; }
.brand--footer .brand__logo { filter: brightness(0) invert(1); } /* black artwork → white on dark footer */
.brand--footer .brand__word { color: #fff; }

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav__link { font-weight: 500; font-size: .95rem; color: var(--text); position: relative; padding: 4px 0; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--red); transition: width .2s ease; }
.nav__link:hover { color: var(--red); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--red); }
.nav__cta { margin-left: .4rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(rgba(15,17,21,.82), rgba(15,17,21,.92)), url("../assets/img/photo2.jpg") center/cover no-repeat;
  background-color: var(--ink);
}
.hero__inner { padding: clamp(3rem, 8vw, 6.5rem) 0; position: relative; z-index: 1; }
.hero__content { max-width: 720px; }
.hero__eyebrow {
  display: inline-block; font-family: var(--ff-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: #ff6a6a;
  background: rgba(225,20,20,.14); border: 1px solid rgba(225,20,20,.4);
  padding: .4em .9em; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero__title { font-size: clamp(1.6rem, 8.5vw, 3.8rem); font-weight: 800; color: #fff; margin-bottom: .4em; }
.hero__title .accent { color: var(--red); white-space: nowrap; }
.hero__lead { font-size: clamp(1rem, 2.2vw, 1.2rem); color: #d7dbe2; max-width: 600px; margin-bottom: 1.8rem; }
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; padding: 0; margin: 0; }
.hero__badges li { position: relative; padding-left: 1.6em; font-weight: 500; color: #e7eaef; font-size: .95rem; }
.hero__badges li::before { content: "✓"; position: absolute; left: 0; color: #ff6a6a; font-weight: 800; }

/* ---------- Trust strip ---------- */
.trust { background: var(--bg); margin-top: -1px; }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  padding: 2.6rem 0; transform: translateY(-2.6rem); margin-bottom: -2.6rem;
}
.trust__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.trust__icon { font-size: 1.8rem; display: block; margin-bottom: .5rem; }
.trust__item h3 { font-size: 1.05rem; margin-bottom: .35em; }
.trust__item p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: #e7eaef; }
.section__head { max-width: 680px; margin: 0 auto 2.6rem; text-align: center; }
.section__head h2 { font-size: clamp(1.5rem, 5vw, 2.5rem); }
.section__sub { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section__head--light h2 { color: #fff; }
.section__head--light .section__sub { color: #aeb4bf; }

.eyebrow { display: inline-block; font-family: var(--ff-head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: .6rem; }
.eyebrow--light { color: #ff6a6a; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.about__certs { position: absolute; right: -10px; bottom: -22px; display: flex; gap: .6rem; background: #fff; padding: .7rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__certs img { width: 56px; height: 56px; border-radius: 8px; }
.about__text h2 { font-size: clamp(1.4rem, 5vw, 2.3rem); }
.about__text p { color: var(--muted); margin-bottom: 1rem; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.checklist li { position: relative; padding-left: 1.8em; margin-bottom: .6em; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--red); width: 1.2em; height: 1.2em; border-radius: 50%; font-size: .7em; display: grid; place-items: center; top: .25em; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service__icon { font-size: 2rem; display: block; margin-bottom: .7rem; }
.service h3 { font-size: 1.1rem; margin-bottom: .4em; }
.service p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 1.8rem; }
.price-card { position: relative; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.4rem; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card--popular { border-color: var(--red); box-shadow: 0 12px 30px rgba(225,20,20,.16); }
.price-card__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-family: var(--ff-head); font-weight: 600; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; padding: .35em 1em; border-radius: 999px; }
.price-card__size { font-family: var(--ff-head); font-weight: 600; color: var(--muted); font-size: 1.05rem; margin-bottom: .5rem; }
.price-card__value { font-family: var(--ff-head); font-weight: 800; font-size: 2.4rem; color: var(--ink); line-height: 1; }
.price-card__value span { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-top: .4rem; }
.pricing__note { max-width: 720px; margin: 0 auto 1.8rem; text-align: center; color: var(--muted); font-size: .95rem; }
.pricing__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Booking ---------- */
.booking { max-width: 880px; margin: 0 auto; background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.booking__steps { display: flex; list-style: none; margin: 0; padding: 0; counter-reset: step; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.booking__steps li { flex: 1; text-align: center; padding: 1rem .5rem; font-family: var(--ff-head); font-weight: 600; font-size: .8rem; color: var(--muted); counter-increment: step; position: relative; }
.booking__steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: #d7dbe2; color: #fff; margin-right: .5em; font-size: .85em; }
.booking__steps li.is-active { color: var(--ink); }
.booking__steps li.is-active::before { background: var(--red); }
.booking__steps li.is-done::before { content: "✓"; background: var(--red); }

.booking__form { padding: clamp(1.4rem, 4vw, 2.4rem); }
.booking__panel { display: none; animation: fade .25s ease; }
.booking__panel.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.booking__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.booking__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.6rem; gap: 1rem; }

.field { display: block; margin-bottom: 1.1rem; border: 0; padding: 0; }
.field legend, .field__label { font-family: var(--ff-head); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .5rem; display: block; }
.field__label em { color: var(--red); font-style: normal; }
.input { width: 100%; font-family: var(--ff-body); font-size: 1rem; padding: .75em .9em; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--text); transition: border-color .2s ease; }
.input:focus { outline: none; border-color: var(--red); }
.input.is-invalid { border-color: var(--red); background: #fff5f5; }
textarea.input { resize: vertical; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__body { display: flex; flex-direction: column; gap: .15rem; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem; transition: border-color .15s ease, background .15s ease; }
.choice__body strong { font-family: var(--ff-head); }
.choice__body small { color: var(--muted); font-size: .82rem; }
.choice input:checked + .choice__body { border-color: var(--red); background: #fff5f5; }
.choice input:focus-visible + .choice__body { box-shadow: 0 0 0 3px rgba(225,20,20,.25); }

/* Small helper text under fields */
.field__hint { color: var(--muted); font-size: .85rem; margin: -.2rem 0 .9rem; }
.field__hint strong { color: var(--ink); }
.field__hint.is-err { color: var(--red); min-height: 1.1em; margin-top: .2rem; }

/* Service checkboxes (multiple choice) */
.schoice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.schoice { position: relative; cursor: pointer; display: block; }
.schoice input { position: absolute; opacity: 0; pointer-events: none; }
.schoice__body {
  display: flex; align-items: center; border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: .7rem .9rem; font-family: var(--ff-head); font-weight: 600; font-size: .92rem; color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.schoice__body::before {
  content: ""; flex: 0 0 auto; width: 1.15em; height: 1.15em; margin-right: .6em;
  border: 2px solid #c7ccd4; border-radius: 5px; background: #fff;
  transition: background .15s ease, border-color .15s ease;
}
.schoice input:checked + .schoice__body { border-color: var(--red); background: #fff5f5; }
.schoice input:checked + .schoice__body::before {
  border-color: var(--red);
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4.5 4.5L19 7'/%3E%3C/svg%3E") center / .82em no-repeat;
}
.schoice input:focus-visible + .schoice__body { box-shadow: 0 0 0 3px rgba(225,20,20,.25); }

/* Calendar */
.calendar { border: 2px solid var(--line); border-radius: var(--radius-sm); padding: .9rem; }
.calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.calendar__title { font-family: var(--ff-head); font-weight: 600; text-transform: capitalize; }
.calendar__nav { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); }
.calendar__nav:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.calendar__nav:disabled { opacity: .35; cursor: not-allowed; }
.calendar__weekdays, .calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar__weekdays span { text-align: center; font-size: .72rem; font-weight: 600; color: var(--muted); padding: .3rem 0; }
.calendar__day { aspect-ratio: 1; border: 0; background: var(--bg-alt); border-radius: 8px; font-family: var(--ff-body); font-size: .9rem; cursor: pointer; color: var(--text); transition: background .15s ease, color .15s ease; }
.calendar__day:hover:not(:disabled) { background: #ffe2e2; color: var(--red); }
.calendar__day.is-selected { background: var(--red); color: #fff; font-weight: 700; }
.calendar__day:disabled { color: #c2c7d0; cursor: not-allowed; background: transparent; }
.calendar__day.is-empty { background: transparent; cursor: default; }

/* Time slots */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; }
.slots__hint { color: var(--muted); font-size: .9rem; margin: 0 0 .6rem; }
.slot { border: 2px solid var(--line); background: #fff; border-radius: 8px; padding: .6em 0; font-family: var(--ff-head); font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--ink); transition: border-color .15s ease, background .15s ease, color .15s ease; }
.slot:hover { border-color: var(--red); color: var(--red); }
.slot.is-selected { background: var(--red); border-color: var(--red); color: #fff; }

/* Booking summary */
.booking__summary { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin-bottom: 1rem; }
.booking__summary dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; margin: 0; }
.booking__summary dt { font-family: var(--ff-head); font-weight: 600; color: var(--muted); font-size: .9rem; }
.booking__summary dd { margin: 0; font-weight: 500; }
.booking__disclaimer { color: var(--muted); font-size: .88rem; }
.booking__submit { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.booking .field__label, .booking legend { color: var(--ink); }

/* Booking maintenance notice (shown when mentenanță is active in setari.js) */
.booking__notice { text-align: center; padding: clamp(2rem, 5vw, 3rem); }
.booking__notice h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.booking__notice p { color: var(--muted); max-width: 460px; margin: 0 auto 1.5rem; }
.booking__notice-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Time-slot already reserved (server-side) */
.slot--taken { background: var(--bg-alt); color: #b6bcc6; border-color: var(--line); text-decoration: line-through; cursor: not-allowed; }
.slot--taken:hover { border-color: var(--line); color: #b6bcc6; }

/* Confirmation / conflict result on step 4 */
.booking__result-box { border-radius: var(--radius-sm); padding: 1.4rem; text-align: center; }
.booking__result-box.is-ok { background: #f0fbf4; border: 1px solid #bce8cd; }
.booking__result-box.is-conflict { background: #fff5f5; border: 1px solid #f3c2c2; }
.booking__result-box h3 { margin-bottom: .5rem; }
.booking__result-box p { color: var(--muted); margin: 0 auto 1rem; max-width: 460px; }
.booking__cancel-hint { font-size: .85rem; margin-top: 1rem !important; }

/* My reservations / cancel list */
.booking__mine { border-top: 1px solid var(--line); padding: 1.4rem clamp(1.4rem, 4vw, 2.4rem); }
.booking__mine h3 { font-size: 1.1rem; margin-bottom: .8rem; }
.mine-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .6rem; }
.mine-item__info { display: flex; flex-direction: column; }
.mine-item__info small { color: var(--muted); }

/* ---------- Locations ---------- */
.locations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.location { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; border-top: 4px solid var(--red); }
.location h3 { font-size: 1.15rem; margin-bottom: .3em; }
.location__addr { color: var(--muted); font-size: .92rem; min-height: 2.6em; }
.location__actions { display: flex; gap: .6rem; margin-top: .8rem; }
.location__map { aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); margin-bottom: 1rem; }
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin: 0; box-shadow: var(--shadow); }
.review__stars { color: #f5a623; font-size: 1.1rem; letter-spacing: .1em; margin-bottom: .8rem; }
.review blockquote { margin: 0 0 1rem; font-size: 1rem; }
.review figcaption { font-family: var(--ff-head); font-weight: 600; color: var(--ink); }
.review__loc { color: var(--muted); font-weight: 500; }

/* Reviews marquee (auto-scroll when there are many; pause on hover) */
.reviews-viewport { overflow: hidden; position: relative; }
.reviews-viewport::before, .reviews-viewport::after { content: ""; position: absolute; top: 0; bottom: 0; width: 56px; z-index: 2; pointer-events: none; }
.reviews-viewport::before { left: 0; background: linear-gradient(90deg, var(--bg-alt), transparent); }
.reviews-viewport::after { right: 0; background: linear-gradient(270deg, var(--bg-alt), transparent); }
.reviews-track { display: flex; width: max-content; animation: review-scroll 40s linear infinite; }
.reviews-track .review { flex: 0 0 340px; width: 340px; margin: 0 1.2rem 0 0; }
.reviews-viewport:hover .reviews-track { animation-play-state: paused; }
@keyframes review-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 480px) { .reviews-track .review { flex-basis: 280px; width: 280px; } }

/* ---------- Brands ---------- */
.brands { padding: 2.6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands__title { text-align: center; color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1.4rem; }
.brands__row { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 6vw, 4rem); flex-wrap: wrap; }
.brands__row img { height: 34px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s ease, opacity .2s ease; }
.brands__row img:hover { filter: none; opacity: 1; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info h2 { font-size: clamp(1.4rem, 5vw, 2.3rem); }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 1.6rem 0; }
.contact__list li { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.contact__k { display: block; font-family: var(--ff-head); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .2rem; }
.contact__list a:hover { color: var(--red); }
.contact__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2rem); box-shadow: var(--shadow); }
.contact__form h3 { margin-bottom: 1.2rem; }
.form__feedback { margin: .8rem 0 0; font-size: .9rem; min-height: 1.2em; }
.form__feedback.is-ok { color: var(--wa-dark); }
.form__feedback.is-err { color: var(--red); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #aeb4bf; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2rem; padding: 3rem 0 2rem; }
.footer__brand p { font-size: .92rem; max-width: 320px; margin-top: 1rem; }
.brand--footer .brand__text strong { color: #fff; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__col a { display: block; padding: .35rem 0; color: #aeb4bf; font-size: .92rem; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; font-size: .85rem; }

/* ---------- Mobile nav backdrop ---------- */
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(15, 17, 21, .45); z-index: 95;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* ---------- Floating action buttons ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: none; flex-direction: column; gap: .7rem; }
.fab__btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); }
.fab__btn--whatsapp { background: var(--wa); }
.fab__btn--call { background: var(--red); }

/* ---------- "Sună acum" modal (every location's number) ---------- */
.call-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; background: rgba(15,17,21,.55); }
.call-modal[hidden] { display: none; }
.call-modal__box { position: relative; background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-width: 420px; padding: 1.6rem 1.6rem 1.3rem; animation: fade .2s ease; }
.call-modal__close { position: absolute; top: .7rem; right: .7rem; width: 2rem; height: 2rem; border: 0; background: var(--bg-alt); border-radius: 50%; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); }
.call-modal__close:hover { background: #ffe2e2; color: var(--red); }
.call-modal__title { margin-bottom: .15rem; }
.call-modal__sub { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }
.call-modal__list { display: grid; gap: .5rem; }
.call-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .9rem; transition: border-color .15s ease, background .15s ease; }
.call-row:hover { border-color: var(--red); background: #fff5f5; }
.call-row__name { display: flex; flex-direction: column; font-family: var(--ff-head); font-weight: 600; }
.call-row__name small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.call-row__num { font-family: var(--ff-head); font-weight: 700; color: var(--red); white-space: nowrap; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .services, .pricing, .locations { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; margin: 0 auto; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 20px 1.4rem; gap: .2rem;
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { margin: .8rem 0 0; }
  .nav-toggle { display: flex; }
  .fab { display: flex; }
  .topbar__inner { font-size: .76rem; }
  .booking__steps li { font-size: 0; padding: .9rem .3rem; }
  .booking__steps li::before { margin: 0; font-size: .9rem; }
  .booking__cols { grid-template-columns: 1fr; }
  .choice-grid, .schoice-grid { grid-template-columns: 1fr; }
  .pricing__cta, .contact__actions, .booking__submit { flex-direction: column; }
  .pricing__cta .btn, .booking__submit .btn { width: 100%; }
  /* Larger touch targets for the booking calendar on phones */
  .calendar__nav { width: 44px; height: 44px; }
  .calendar__day { min-height: 40px; }
  .slot { padding: .8em 0; min-height: 44px; }
}

@media (max-width: 480px) {
  .services, .pricing, .locations, .trust__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .about__certs { right: 10px; }
}

/* Very narrow phones — Samsung Z Fold cover screens (~280–360px) and similar */
@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .topbar__inner { font-size: .72rem; gap: .25em .5em; }
  .brand__word { font-size: 1rem; }
  .brand__logo { height: 36px; }
  .hero__inner { padding: 2.4rem 0; }
  .hero__eyebrow { font-size: .64rem; letter-spacing: .05em; padding: .35em .7em; margin-bottom: .9rem; }
  .hero__lead { font-size: 1rem; margin-bottom: 1.4rem; }
  .hero__badges { gap: .7rem 1.2rem; }
  .hero__badges li { font-size: .9rem; }
  .btn--lg { font-size: .98rem; padding: .8em 1.2em; }
  .section__sub { font-size: .98rem; }
  .price-card__value { font-size: 2rem; }
  .booking__form { padding: 1.1rem; }
  .field__label, .field legend { font-size: .85rem; }
  .pricing__note, .booking__disclaimer { font-size: .88rem; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .reviews-track { animation: none; }
  .reviews-viewport { overflow-x: auto; }
}
