/* =========================================================
   Avecdent — zubná ambulancia, Vranov nad Topľou
   Spoločný štýl pre celú stránku
   ========================================================= */

:root{
  --brown: #4c3425;
  --brown-dark: #35241a;
  --brown-soft: #7a5c48;
  --blue: #9adbf8;
  --blue-dark: #6cc2e8;
  --cream: #fbf7f3;
  --cream-2: #f3ece5;
  --white: #ffffff;
  --text: #3a2e27;
  --text-muted: #7c6d63;
  --border: #e7ddd3;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(76,52,37,0.10);
  --shadow-sm: 0 4px 14px rgba(76,52,37,0.08);
  --max: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4{
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--brown);
  line-height: 1.2;
  margin: 0 0 0.5em 0;
  font-weight: 600;
}
h1{ font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2{ font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3{ font-size: 1.2rem; }
p{ margin: 0 0 1em 0; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }
ul{ padding-left: 1.1em; }
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
section{ padding: 72px 0; }
.section-alt{ background: var(--cream); }
.eyebrow{
  display:inline-block;
  color: var(--brown-soft);
  background: var(--cream-2);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head{
  max-width: 720px;
  margin: 0 auto 44px auto;
  text-align: center;
}
.section-head p{ color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--brown); color: var(--white); }
.btn-primary:hover{ background: var(--brown-dark); box-shadow: var(--shadow-sm); }
.btn-accent{ background: var(--blue); color: var(--brown-dark); }
.btn-accent:hover{ background: var(--blue-dark); box-shadow: var(--shadow-sm); }
.btn-outline{ background: transparent; border-color: var(--brown); color: var(--brown); }
.btn-outline:hover{ background: var(--brown); color: var(--white); }
.btn-sm{ padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height: 42px; width:auto; }
.nav-links{
  display:flex;
  align-items:center;
  gap: 6px;
  list-style:none;
  margin:0; padding:0;
}
.nav-links a{
  display:block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--brown);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover{ background: var(--cream-2); }
.nav-links a.active{ background: var(--brown); color: var(--white); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-phone{
  display:flex; align-items:center; gap:8px;
  font-weight: 600; color: var(--brown);
}
.nav-phone svg{ width:18px; height:18px; flex:none; }
.nav-toggle{
  display:none;
  background:none; border:none; cursor:pointer;
  width:44px; height:44px;
  align-items:center; justify-content:center;
  border-radius: 10px;
}
.nav-toggle:hover{ background: var(--cream-2); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:"";
  display:block;
  width:22px; height:2px;
  background: var(--brown);
  position: relative;
  transition: all .2s ease;
}
.nav-toggle span::before{ position:absolute; top:-7px; }
.nav-toggle span::after{ position:absolute; top:7px; }
.nav-toggle.open span{ background: transparent; }
.nav-toggle.open span::before{ top:0; transform: rotate(45deg); background: var(--brown); }
.nav-toggle.open span::after{ top:0; transform: rotate(-45deg); background: var(--brown); }

@media (max-width: 900px){
  .nav-links{
    position: fixed;
    top: 73px; left:0; right:0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform .25s ease, opacity .2s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open{ transform: translateY(0); opacity: 1; }
  .nav-links a{ padding: 14px 10px; border-radius: 10px; }
  .nav-phone span{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ---------- Hero ---------- */
.hero{
  padding: 64px 0 80px;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(154,219,248,0.35) 0%, rgba(154,219,248,0) 70%),
    var(--white);
  overflow: hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items:center;
}
.hero h1{ margin-bottom: 20px; }
.hero p.lead{ font-size: 1.1rem; color: var(--text-muted); max-width: 520px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top: 28px; }
.hero-stats{
  display:flex; gap: 28px; margin-top: 40px; flex-wrap:wrap;
}
.hero-stats div strong{ display:block; font-size:1.6rem; color:var(--brown); font-family:'Poppins',sans-serif; }
.hero-stats div span{ color: var(--text-muted); font-size: 0.9rem; }
.hero-art{
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 32px;
  background: linear-gradient(155deg, var(--blue) 0%, #cdeefc 100%);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow);
}
.hero-art svg{ width: 62%; height: 62%; }
.hero-art .badge{
  position:absolute;
  bottom: 22px; left: 22px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  display:flex; align-items:center; gap:12px;
  font-size: 0.85rem;
}
.hero-art .badge strong{ display:block; color:var(--brown); font-size:0.95rem; }

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-art{ max-width: 380px; margin: 0 auto; }
}

/* ---------- Cards / grids ---------- */
.grid{ display:grid; gap: 26px; }
.grid-2{ grid-template-columns: repeat(2,1fr); }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px){
  .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
}

.card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon{
  width: 52px; height:52px;
  border-radius: 14px;
  background: var(--cream-2);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
}
.card .icon svg{ width:26px; height:26px; }
.card h3{ margin-bottom: 8px; }
.card p{ color: var(--text-muted); margin-bottom: 0; font-size: 0.96rem; }
.card a.more{
  display:inline-flex; align-items:center; gap:6px;
  margin-top: 14px; font-weight:600; color: var(--brown);
  font-size: 0.92rem;
}

/* ---------- Team ---------- */
.team-card{ text-align:center; }
.avatar{
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px auto;
  display:flex; align-items:center; justify-content:center;
  font-family:'Poppins',sans-serif;
  font-weight:600; font-size: 1.4rem;
  color: var(--brown-dark);
  background: linear-gradient(155deg, var(--blue) 0%, #e4f6fd 100%);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.team-card h3{ margin-bottom: 2px; }
.team-role{ color: var(--brown-soft); font-weight:600; font-size:0.9rem; margin-bottom: 10px; }
.team-card p{ color: var(--text-muted); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--brown);
  color: var(--white);
  border-radius: 28px;
  padding: 56px 48px;
  display:flex; align-items:center; justify-content:space-between; gap:30px;
  flex-wrap: wrap;
}
.cta-band h2{ color: var(--white); margin-bottom: 8px; }
.cta-band p{ color: #d9c9bd; margin:0; }
.cta-band .btn-accent{ flex:none; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--brown-dark); color: #d9c9bd; padding: 60px 0 24px; }
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-grid h4{ color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-grid p, .footer-grid li{ color: #c9b8ab; font-size: 0.92rem; }
.footer-grid ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.footer-grid a:hover{ color: var(--blue); }
.footer-brand-mark{ display:flex; align-items:center; gap:10px; margin-bottom: 14px; }
.footer-brand-mark img{ height: 34px; width:34px; border-radius:9px; }
.footer-brand-mark span{ font-family:'Poppins',sans-serif; font-weight:600; font-size:1.15rem; color: var(--white); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size: 0.82rem; color: #a9998d;
}
@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
  .cta-band{ padding: 40px 26px; text-align:center; justify-content:center; }
}

/* ---------- Page header (subpages) ---------- */
.page-hero{
  padding: 56px 0 48px;
  background: var(--cream);
  text-align:center;
}
.page-hero .eyebrow{ background: var(--white); }
.breadcrumb{ color: var(--text-muted); font-size: 0.88rem; margin-bottom: 14px; }
.breadcrumb a:hover{ color: var(--brown); }

/* ---------- Pricing ---------- */
.price-note{
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 40px;
  font-size: 0.95rem;
  color: var(--text);
}
.price-note strong{ color: var(--brown); }
.price-group{ margin-bottom: 48px; }
.price-group > h3{
  display:flex; align-items:center; gap:12px;
  margin-bottom: 18px;
}
.price-group > h3::after{
  content:""; flex:1; height:1px; background: var(--border);
}
.price-table{
  width:100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
}
.price-table th, .price-table td{
  padding: 13px 18px;
  text-align:left;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}
.price-table th{
  background: var(--cream);
  color: var(--brown);
  font-family:'Poppins',sans-serif;
  font-weight:600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.price-table td.num{ text-align:right; white-space:nowrap; font-weight:600; color: var(--brown-dark); }
.price-table tr:last-child td{ border-bottom:none; }
.price-table tr:hover td{ background: var(--cream-2); }
.price-scroll{ overflow-x:auto; border-radius: var(--radius); }
.price-legend{
  display:flex; gap:22px; flex-wrap:wrap;
  font-size: 0.85rem; color: var(--text-muted); margin-top: 14px;
}
.price-legend span{ display:flex; align-items:center; gap:6px; }
.price-legend i{ width:10px; height:10px; border-radius:3px; display:inline-block; background:var(--blue); }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items:start; }
.info-list{ list-style:none; padding:0; margin: 0 0 28px 0; display:flex; flex-direction:column; gap: 18px; }
.info-list li{ display:flex; gap:16px; align-items:flex-start; }
.info-list .icon{
  width:44px; height:44px; flex:none; border-radius:12px;
  background: var(--cream-2); display:flex; align-items:center; justify-content:center;
}
.info-list .icon svg{ width:20px; height:20px; }
.info-list strong{ display:block; color: var(--brown); margin-bottom:2px; }
.map-frame{
  border-radius: var(--radius);
  overflow:hidden; border:1px solid var(--border);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}
.map-frame iframe{ width:100%; height:100%; border:0; }
.form-card{
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.form-row{ margin-bottom: 18px; }
.form-row label{ display:block; font-weight:600; color:var(--brown); margin-bottom:6px; font-size:0.92rem; }
.form-row input, .form-row textarea{
  width:100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.96rem;
  background: var(--white);
}
.form-row input:focus, .form-row textarea:focus{ outline: 2px solid var(--blue); border-color: var(--blue); }
.form-note{ font-size: 0.82rem; color: var(--text-muted); margin-top: 10px; }
.form-status{ margin-top: 14px; font-size: 0.9rem; font-weight:600; display:none; }
.form-status.show{ display:block; }
.form-status.ok{ color: #2f7a4d; }
.form-status.err{ color: #b34a3c; }

@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; }
}

/* ---------- Hours table ---------- */
.hours-table{ width:100%; border-collapse:collapse; }
.hours-table td{ padding: 8px 0; border-bottom: 1px dashed var(--border); font-size:0.95rem; }
.hours-table td:last-child{ text-align:right; font-weight:600; color:var(--brown); }

/* ---------- Values (O nás) ---------- */
.value-row{ display:flex; gap:18px; align-items:flex-start; margin-bottom: 26px; }
.value-row .num{
  font-family:'Poppins',sans-serif; font-weight:700; font-size:1.3rem;
  color: var(--blue-dark);
  background: var(--brown);
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  flex:none; color:var(--white);
}
.value-row h3{ margin-bottom:6px; }
.value-row p{ color:var(--text-muted); margin:0; }

.about-media{
  border-radius: 28px;
  background: linear-gradient(155deg, var(--cream-2), var(--white));
  border: 1px solid var(--border);
  aspect-ratio: 1/1;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-sm);
}
.about-media svg{ width:56%; height:56%; }

/* ---------- Utilities ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.tag{
  display:inline-block; background:var(--cream-2); color:var(--brown-soft);
  border-radius:999px; padding:4px 12px; font-size:0.78rem; font-weight:600; margin: 2px 4px 2px 0;
}
.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--brown); color:var(--white); padding:10px 16px; border-radius:8px;
}
.skip-link:focus{ left:16px; top:16px; z-index:200; }
