:root {
  --navy: #0b1f33;
  --navy-2: #12304d;
  --blue: #1590c9;
  --blue-light: #e7f5fc;
  --orange: #f07b1c;
  --orange-dark: #d0640c;
  --green: #18a058;
  --green-bg: #e6f6ed;
  --red: #d64545;
  --red-bg: #fbeaea;
  --text: #1b2733;
  --muted: #5b6b7b;
  --line: #dfe6ec;
  --bg: #f5f8fa;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 31, 51, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section.alt { background: var(--card); }
.eyebrow { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .4em; }
.lead { color: var(--muted); max-width: 640px; margin: 0 0 32px; }

/* Butoane */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; text-decoration: none; transition: transform .1s, background .15s;
  min-height: 48px;
}
.btn:active { transform: scale(.97); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-ghost { background: var(--blue-light); color: var(--navy); }
.btn-green { background: #25d366; color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Antet */
.topbar {
  position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.brand-logo { width: 38px; height: 38px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; }
.brand small { display: block; font-weight: 500; font-size: .72rem; opacity: .7; letter-spacing: 0; }
.nav { display: flex; gap: 22px; }
.nav a { color: #fff; text-decoration: none; opacity: .85; font-weight: 600; font-size: .95rem; }
.nav a:hover { opacity: 1; }
.top-call { padding: 10px 16px; min-height: 40px; font-size: .9rem; }
@media (max-width: 860px) { .nav { display: none; } }
@media (max-width: 480px) { a.top-call .num { display: none; } a.top-call::after { content: "Sună"; } }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(21,144,201,.45), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 56px 0 72px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 320px; height: 320px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='3'%3E%3Cpath d='M10 20h30l10 10h40M10 50h50l10-10h20M10 80h20l10-10h50'/%3E%3Ccircle cx='10' cy='20' r='4'/%3E%3Ccircle cx='10' cy='50' r='4'/%3E%3Ccircle cx='10' cy='80' r='4'/%3E%3C/svg%3E") no-repeat center / contain;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.3rem); font-weight: 900; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 1.1rem; opacity: .9; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 6px 12px; border-radius: 999px; font-size: .85rem; }
.open-now { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.open-now i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); display: inline-block; }
.open-now.is-open i { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.25); }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius);
  padding: 24px; backdrop-filter: blur(4px);
}
.hero-card h3 { font-size: 1.1rem; }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; }
.hero-card li svg { width: 22px; height: 22px; flex: none; color: var(--orange); margin-top: 2px; }
.hero-card a { color: #fff; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Servicii */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow);
}
.card .ico { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); margin: 0 0 12px; font-size: .95rem; }
.card .link { font-weight: 700; color: var(--orange-dark); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }

/* De ce noi */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.why div { text-align: center; padding: 18px; }
.why strong { display: block; font-size: 2.2rem; color: var(--orange); font-weight: 900; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.gallery button { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 3/4; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 10px 12px; font-weight: 700; font-size: .92rem; }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figcaption { font-size: .8rem; padding: 8px; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,15,25,.92); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.lightbox figure { margin: 0; text-align: center; color: #fff; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; margin: 0 auto; }
.lightbox figcaption { margin-top: 10px; font-weight: 700; }
.lightbox button { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.2rem; cursor: pointer; }

/* Programare */
.booking { display: grid; gap: 22px; }
.booking > * { min-width: 0; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.step h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.step h3 b { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 16px; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--text); min-height: 44px;
}
@media (max-width: 600px) {
  .chips { display: grid; grid-template-columns: 1fr 1fr; }
  .chip { padding: 10px 8px; font-size: .88rem; border-radius: 12px; }
}
.chip[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.day {
  flex: none; width: 76px; border: 2px solid var(--line); border-radius: 12px; background: #fff; padding: 8px 4px;
  text-align: center; cursor: pointer; font: inherit; scroll-snap-align: start; color: var(--text);
}
.day small { display: block; color: var(--muted); font-size: .75rem; text-transform: capitalize; }
.day strong { display: block; font-size: 1.3rem; }
.day .dot { display: block; font-size: .72rem; font-weight: 700; margin-top: 2px; }
.day.has-free .dot { color: var(--green); }
.day.full .dot, .day.closed .dot { color: var(--red); }
.day.closed { opacity: .5; cursor: not-allowed; }
.day[aria-pressed="true"] { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,31,51,.12); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 14px; }
.time {
  border-radius: 10px; padding: 12px 6px; font: inherit; font-weight: 700; cursor: pointer; border: 2px solid transparent; min-height: 48px;
}
.time.free { background: var(--green-bg); color: var(--green); border-color: #b9e5cc; }
.time.free:hover { background: #d3f0df; }
.time.busy { background: var(--red-bg); color: var(--red); border-color: #f1c4c4; cursor: not-allowed; text-decoration: line-through; }
.time.past { background: #f0f2f4; color: #a8b2bc; cursor: not-allowed; }
.time[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.summary { background: var(--blue-light); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; font-weight: 600; }

/* Formulare */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: .92rem; display: grid; gap: 6px; }
input, textarea, select {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); width: 100%;
}
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(21,144,201,.25); border-color: var(--blue); }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.note { font-size: .82rem; color: var(--muted); }
.alert { padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.alert.ok { background: var(--green-bg); color: #0f6b3a; }
.alert.err { background: var(--red-bg); color: #9b2c2c; }

/* Contact & hartă */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; }
.info-list svg { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: 2px; }
.addr-btn {
  display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; background: var(--navy); color: #fff;
  border-radius: var(--radius); padding: 18px; text-decoration: none; margin-bottom: 12px;
}
.addr-btn svg { width: 36px; height: 36px; color: var(--orange); flex: none; }
.addr-btn small { display: block; opacity: .75; }
.nav-apps { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.map-box { border-radius: var(--radius); overflow: hidden; background: var(--line); aspect-ratio: 16/10; display: grid; place-items: center; text-align: center; padding: 16px; }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.today td { color: var(--orange-dark); font-weight: 800; }

/* Întrebări frecvente */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Subsol */
footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 36px 0 100px; font-size: .92rem; }
footer a { color: #fff; }
.foot { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.credit { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; opacity: .7; text-align: center; }

/* Bară fixă pe telefon */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.mobile-bar .btn { flex: 1; padding: 12px 8px; font-size: .9rem; }
@media (max-width: 860px) { .mobile-bar { display: flex; } }
@media (min-width: 861px) { footer { padding-bottom: 36px; } }

.hidden { display: none !important; }
