/* ========================================================================
   Manikura HK – styles.css
   1:1 replika nicepage designu, mobile-first, optimalizováno pro iPhone 13 mini
   Fonty: Roboto + Open Sans, paleta: růžová #c24f78, hnědá #6f5955
   ======================================================================== */

:root {
  --pink: #c24f78;
  --pink-dark: #a23e62;
  --brown: #6f5955;
  --brown-soft: #8c7873;
  --line: #e8dad5;
  --bg: #ffffff;
  --shadow: 0 4px 24px rgba(111, 89, 85, .10);
  --radius: 8px;
  --font-body: "Open Sans", "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Roboto", "Open Sans", system-ui, sans-serif;
  --container: 1140px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--brown);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; }
a:hover, a:focus { color: var(--pink-dark); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pink);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 2px 10px rgba(111, 89, 85, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--brown);
  min-height: 44px;
}
.brand img {
  height: 44px;
  width: auto;
  display: block;
}

.tagline {
  font-style: italic;
  font-size: 14px;
  color: var(--brown-soft);
  line-height: 1.25;
  max-width: 240px;
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
  align-self: center;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--brown);
  margin: 0 auto;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.primary-nav.is-open { max-height: 480px; }

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 12px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.primary-nav a {
  display: block;
  padding: 14px 8px;
  color: var(--brown);
  font-weight: 700;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
  text-transform: none;
}
.primary-nav a:hover,
.primary-nav a:focus { color: var(--pink); }

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg);
  align-items: stretch;
}

.hero-image {
  min-height: 260px;
  background: url('images/Snmekobrazovky2025-01-05170528.png') center/cover no-repeat;
}

.hero-content {
  padding: 40px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 7.5vw, 40px);
  color: var(--pink);
  line-height: 1.2;
  margin: 0;
}
.hero-sub {
  margin: 0;
  font-size: clamp(17px, 4.6vw, 20px);
  color: var(--brown);
  font-weight: 400;
}
.hero-phone {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.1;
  color: var(--pink);
}
.hero-phone a {
  color: var(--pink);
  text-decoration: none;
  white-space: nowrap;
}
.hero-phone a:hover { color: var(--pink-dark); }
.hero-quote {
  margin: 8px 0 0;
  font-style: italic;
  font-size: clamp(17px, 4.6vw, 22px);
  color: var(--brown);
  line-height: 1.45;
  max-width: 520px;
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; background: var(--bg); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 60px);
  font-weight: 400;
  color: var(--pink);
  margin: 0 0 6px;
  line-height: 1.1;
  letter-spacing: -.5px;
}
.section-title.centered { text-align: center; }
.section-subtitle {
  color: var(--brown);
  margin: 0 0 36px;
  font-size: 17px;
}
.section-subtitle.centered { text-align: center; }

/* ---------- Ceník ---------- */
.price-group { margin-top: 40px; }
.price-group:first-of-type { margin-top: 30px; }

.price-group-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 5.5vw, 30px);
  color: var(--brown);
  font-weight: 400;
  margin: 0 0 18px;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.price-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: baseline;
}
.price-list dt {
  font-family: var(--font-display);
  font-size: clamp(15px, 4vw, 18px);
  color: var(--brown);
  font-weight: 400;
  padding: 10px 0 2px;
  padding-right: 12px;
}
.price-list dd.price {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(15px, 4vw, 18px);
  color: var(--brown);
  font-weight: 400;
  padding: 10px 0 2px;
  white-space: nowrap;
  text-align: right;
}
.price-list dd.desc {
  grid-column: 1 / -1;
  margin: -2px 0 6px;
  font-size: 14px;
  color: var(--brown-soft);
  line-height: 1.5;
}

/* ---------- Co je vhodné (stack) ---------- */
.section-info { background: var(--bg); }

.info-stack {
  max-width: 920px;
  margin: 28px auto 0;
}
.info-stack h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 5vw, 24px);
  color: var(--brown);
  margin: 26px 0 10px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.info-stack h3:first-child { margin-top: 0; }
.info-stack p {
  margin: 0;
  text-align: justify;
  hyphens: auto;
  font-size: 16px;
  color: var(--brown);
  line-height: 1.7;
}

/* ---------- Kontakt ---------- */
.section-contact { background: var(--bg); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.contact-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}
.contact-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-info .section-title {
  text-align: center;
  margin-bottom: 18px;
  font-size: clamp(36px, 9vw, 60px);
}
.contact-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 32px);
  color: var(--brown-soft);
  margin: 0 0 6px;
  font-weight: 700;
}
.contact-ico {
  color: var(--brown);
  margin: 0 0 18px;
  font-size: 18px;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pink);
  background: transparent;
  padding: 6px 10px;
  font-family: var(--font-display);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
}
.contact-phone:hover,
.contact-phone:focus { color: var(--pink-dark); }
.contact-phone svg { flex-shrink: 0; }

/* ---------- Provozovna ---------- */
.section-location { background: var(--bg); padding-top: 30px; }
.location-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.location-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.location-text .section-title { text-align: center; }
.studio-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--brown);
  margin: 16px 0 6px;
  font-weight: 700;
}
.studio-address {
  font-style: normal;
  font-size: 17px;
  color: var(--brown);
  margin: 0 0 16px;
  line-height: 1.6;
}
.map-link {
  display: inline-block;
  border: 1px solid var(--pink);
  color: var(--pink);
  padding: 10px 22px;
  border-radius: 0;
  font-weight: 600;
  font-size: 14px;
  min-height: 44px;
  line-height: 22px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.map-link:hover,
.map-link:focus { background: var(--pink); color: #fff; text-decoration: none; }

.location-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown);
  color: #f7eeec;
  padding: 26px 0;
  font-size: 14px;
  text-align: center;
}
.site-footer a { color: #fff; font-weight: 600; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-inner p { margin: 4px 0; }

/* ========================================================================
   Tablet ≥ 700px
   ======================================================================== */
@media (min-width: 700px) {
  .container { padding: 0 28px; }
  .tagline { display: block; }
  .section { padding: 72px 0; }

  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 460px;
  }
  .hero-image { min-height: 460px; }
  .hero-content { padding: 56px 40px; }

  .price-list { gap: 6px 24px; }
  .price-group { padding: 0 30px; }

  .contact-inner {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
  }
  .contact-image img {
    max-width: 380px;
  }
  .contact-info {
    align-items: center;
    text-align: center;
  }
  .contact-info .section-title { text-align: center; }

  .location-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .location-text {
    text-align: center;
    align-items: center;
    justify-content: center;
  }
  .location-text .section-title { text-align: center; }
  .location-map { aspect-ratio: 4 / 3; }

  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    text-align: left;
  }
  .footer-inner p { margin: 0; }
}

/* ========================================================================
   Desktop ≥ 940px – plné horizontální menu
   ======================================================================== */
@media (min-width: 940px) {
  html { scroll-padding-top: 110px; }

  .header-inner {
    min-height: 84px;
    padding-top: 12px;
    padding-bottom: 12px;
    align-items: center;
  }

  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    background: transparent;
    border-bottom: 0;
    max-height: none;
    overflow: visible;
  }
  .primary-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
  }
  .primary-nav a {
    border-bottom: 0;
    padding: 8px 0;
    font-size: 15px;
    text-transform: none;
    line-height: 1.4;
  }

  .brand { align-items: center; }
  .brand img { height: 56px; }
  .tagline {
    font-size: 15px;
    max-width: 260px;
    line-height: 1.3;
  }

  .price-group { padding: 0 80px; }

  /* Hero – stejné výšky obou sloupců, vyšší pro vyvážený dojem */
  .hero { min-height: 520px; }
  .hero-image { min-height: 520px; }

  /* Kontakt – obrázek mírně větší, ale ne extrémně vysoký */
  .contact-image img { max-width: 420px; }
}

/* ========================================================================
   Velmi malé telefony (iPhone 13 mini ≤ 380px)
   ======================================================================== */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 8px; min-height: 60px; }
  .brand { gap: 10px; }
  .brand img { height: 40px; }
  .hero-content { padding: 28px 14px; }
  .hero-image { min-height: 220px; }
  .price-list { gap: 6px 12px; }
  .contact-image img { max-width: 280px; }
  .contact-phone { font-size: 22px; padding: 4px 6px; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1000;
  background: #fff;
  color: var(--brown);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
  border: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px;
}
.cookie-text p { margin: 0 0 6px; font-size: 14.5px; line-height: 1.55; }
.cookie-text p:last-child { margin-bottom: 0; }
.cookie-text a { color: var(--pink); font-weight: 600; }

.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--pink);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--pink-dark); border-color: var(--pink-dark); }
.btn-ghost { background: #fff; color: var(--pink); }
.btn-ghost:hover, .btn-ghost:focus { background: #fbeff3; }

@media (min-width: 700px) {
  .cookie-banner {
    left: 24px; right: 24px; bottom: 24px;
    max-width: 760px; margin-left: auto;
  }
  .cookie-inner { flex-direction: row; align-items: center; padding: 18px 22px; }
  .cookie-text { flex: 1 1 auto; }
  .cookie-actions { flex: 0 0 auto; }
  .btn { flex: 0 0 auto; }
}

.cookies-info { padding: 56px 0; background: #fafafa; }
.cookies-info h2 {
  font-family: var(--font-display);
  color: var(--pink);
  font-size: clamp(26px, 6vw, 40px);
  margin: 0 0 16px;
  font-weight: 400;
}
.cookies-info h3 {
  font-family: var(--font-display);
  color: var(--pink);
  font-size: 20px;
  margin: 24px 0 6px;
  font-weight: 700;
}
.cookies-info p { margin: 0 0 8px; }
.cookies-info code {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .92em;
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .primary-nav, .location-map, .hero-image, .site-footer, .cookie-banner { display: none; }
  body { color: #000; background: #fff; }
  .section { padding: 16px 0; page-break-inside: avoid; }
  a { color: #000; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
