/* ==========================================================================
   valdman.sk — Ambulancia plastickej a estetickej chirurgie
   Modern, responsive, dependency-free stylesheet.
   ========================================================================== */

:root {
  --ink:        #17324a;   /* body text            */
  --ink-soft:   #4a6076;   /* muted text           */
  --brand:      #0f5c8c;   /* primary blue         */
  --brand-dark: #0a3f61;   /* hover / headers      */
  --accent:     #c1962f;   /* warm gold — CTAs     */
  --accent-dark:#a67d20;
  --bg:         #ffffff;
  --bg-soft:    #f2f6fa;   /* alt section bg       */
  --bg-tint:    #e8f0f7;
  --line:       #dbe4ee;
  --ok:         #2e7d54;
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 6px 24px rgba(15, 60, 107, .08);
  --shadow-lg:  0 14px 40px rgba(15, 60, 107, .14);
  --maxw:       1120px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }

h1, h2, h3 { font-family: var(--serif); color: var(--brand-dark); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 2.2rem 0 .8rem; }
h3 { font-size: 1.2rem; margin: 1.6rem 0 .4rem; color: var(--brand); }

p { margin: 0 0 1.1rem; }
ul { margin: 0 0 1.1rem; padding-left: 1.3rem; }
li { margin: .35rem 0; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

/* Skip link for accessibility ------------------------------------------- */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand-dark); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

/* ============================ Header / Nav ============================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .6rem;
}
.brand { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand strong { font-family: var(--serif); font-size: 1.25rem; color: var(--brand-dark); letter-spacing: .2px; }
.brand span { font-size: .74rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 1px; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  color: var(--ink); font-size: .95rem; font-weight: 600;
  padding: .5rem .7rem; border-radius: var(--radius-sm);
}
.nav a:hover { background: var(--bg-tint); text-decoration: none; color: var(--brand-dark); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--bg-tint); }

.nav-cta {
  margin-left: .4rem; background: var(--accent) !important; color: #fff !important;
  padding: .55rem 1rem !important; border-radius: 999px;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .4rem;
  color: var(--brand-dark);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(300px, 84vw);
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; box-shadow: var(--shadow-lg);
    padding: 5rem 1.1rem 2rem; transform: translateX(100%);
    transition: transform .25s ease; overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateX(0); }
  .nav a { padding: .8rem .7rem; font-size: 1.05rem; }
  .nav-cta { margin: .6rem 0 0; text-align: center; }
  body.nav-open { overflow: hidden; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(10,30,50,.4); z-index: 90;
    opacity: 0; visibility: hidden; transition: opacity .25s;
  }
  .nav-backdrop[data-open="true"] { opacity: 1; visibility: visible; }
}

/* ============================== Hero =================================== */
.hero { background: linear-gradient(160deg, var(--bg-tint), #fff 70%); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem;
  align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero h1 { color: var(--brand-dark); }
.hero .lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.hero-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.6rem; }
.badge {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .3rem .8rem; font-size: .82rem; font-weight: 600; color: var(--brand-dark);
}
@media (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-photo { order: -1; max-width: 320px; margin-inline: auto; }
}

/* ============================== Buttons ================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1rem; padding: .8rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .08s ease, background .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: var(--shadow); }
.btn-outline { background: #fff; color: var(--brand-dark); border-color: var(--brand); }
.btn-outline:hover { background: var(--bg-tint); color: var(--brand-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ============================== Sections ============================== */
section { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section-soft { background: var(--bg-soft); }
.page { padding-block: clamp(1.8rem, 4vw, 3rem); }
.prose { max-width: 74ch; }
.prose p, .prose li { color: var(--ink); }
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .78rem; font-weight: 700; color: var(--accent-dark); margin: 0 0 .4rem; }

/* Breadcrumb */
.crumbs { font-size: .85rem; color: var(--ink-soft); padding-top: 1.2rem; }
.crumbs a { color: var(--ink-soft); }

/* Card grid (services / features) */
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: .8rem;
  background: var(--bg-tint); color: var(--brand); display: grid; place-items: center;
}
.card-icon svg { width: 26px; height: 26px; }

/* Service list (ponuka) */
.svc-list { columns: 2; column-gap: 2.5rem; list-style: none; padding: 0; }
.svc-list li {
  break-inside: avoid; padding: .55rem 0 .55rem 1.9rem; position: relative;
  border-bottom: 1px solid var(--line);
}
.svc-list li::before {
  content: ""; position: absolute; left: 0; top: .95rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f5c8c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
@media (max-width: 620px) { .svc-list { columns: 1; } }

/* Staff */
.staff { display: grid; grid-template-columns: 160px 1fr; gap: 1.4rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow); margin-bottom: 1.4rem; }
.staff img { border-radius: var(--radius-sm); width: 100%; }
.staff h3 { margin-top: 0; }
.staff .role { color: var(--accent-dark); font-weight: 600; font-size: .9rem; margin: -.3rem 0 .6rem; }
@media (max-width: 560px) {
  .staff { grid-template-columns: 1fr; }
  .staff img { max-width: 180px; }
}

/* Callout / note */
.note {
  background: var(--bg-tint); border-left: 4px solid var(--brand);
  padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin: 1.4rem 0;
}
.note strong { color: var(--brand-dark); }

/* ============================ Price table ============================= */
.price-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1rem 0 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius); }
table.price { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
table.price caption { text-align: left; font-weight: 700; color: var(--brand-dark);
  font-family: var(--serif); font-size: 1.15rem; padding: 1rem 1rem .2rem; }
table.price th, table.price td { padding: .6rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
table.price thead th { background: var(--brand); color: #fff; position: sticky; top: 0; }
table.price tbody tr:nth-child(even) { background: var(--bg-soft); }
table.price td.num, table.price th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.price .subrow td:first-child { color: var(--ink-soft); padding-left: 1.8rem; }
table.price .cat td { background: var(--bg-tint); font-weight: 700; color: var(--brand-dark); }

/* ============================== Contact =============================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.info-list .ic { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--bg-tint);
  color: var(--brand); display: grid; place-items: center; }
.info-list .ic svg { width: 19px; height: 19px; }
.info-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); font-weight: 700; }
.info-list a { font-size: 1.05rem; }
.map-embed { border: 0; width: 100%; height: 420px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ============================== CTA band ============================= */
.cta-band { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7e7f4; }
.cta-band .container { text-align: center; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.cta-band .btn-row { justify-content: center; }

/* ============================== Footer =============================== */
.site-footer { background: #0c2438; color: #c4d4e2; padding-block: 2.5rem 1.5rem; margin-top: 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-family: var(--serif); margin: 0 0 .7rem; font-size: 1.05rem; }
.site-footer a { color: #c4d4e2; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .3rem 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.8rem; padding-top: 1.2rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; color: #8ea6bd; font-size: .85rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; } }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.hours-table { border-collapse: collapse; }
.hours-table td { padding: .2rem .8rem .2rem 0; }
.hours-table td:last-child { font-variant-numeric: tabular-nums; }
