/* WEB pro Salony — mobile first, performance-oriented */

:root {
  --bg: #F5EBE0;
  --bg-alt: #E3D5CA;
  --accent: #2D4739;
  --accent-hover: #24382d;
  --text: #2a2520;
  --text-muted: #5c534a;
  --white: #fffefc;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 12px 40px rgba(45, 71, 57, 0.08);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: var(--space-sm) var(--space-md);
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: var(--space-sm);
  top: var(--space-sm);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 8%, transparent);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  padding-block: var(--space-xs);
}

.logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.logo--footer {
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

/* Zabránit výchozí modré / fialové u odkazů-tlačítek */
.btn:link,
.btn:visited {
  text-decoration: none;
}

.btn--primary:link,
.btn--primary:visited {
  color: var(--white);
}

.btn--ghost:link,
.btn--ghost:visited {
  color: var(--accent);
}

.btn:active {
  transform: scale(0.98);
}

.btn--small {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent-hover);
  outline: none;
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-color: var(--accent);
  outline: none;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-sm);
  width: 100%;
}

@media (min-width: 520px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero__actions .btn {
    width: auto;
    text-align: center;
  }
}

.btn--block {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding-block: var(--space-lg) var(--space-xl);
  background: linear-gradient(165deg, var(--bg) 0%, var(--bg-alt) 45%, var(--bg) 100%);
}

.hero__grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

.hero__content {
  order: 2;
}

.hero__figure {
  order: 1;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-sm);
}

.hero h1,
.section h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--accent);
  margin: 0 0 var(--space-md);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
  max-width: 36ch;
}

.hero__price {
  font-size: 1.25rem;
  margin: 0 0 var(--space-md);
  color: var(--text);
}

.hero__price strong {
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--accent);
}

.hero__price-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Sections */
.section {
  padding-block: var(--space-xl);
}

.section h2 {
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  text-align: center;
}

.section__intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 42ch;
  margin: -0.5rem auto var(--space-lg);
}

.section--why {
  background: var(--white);
}

.section--features {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.section--pricing {
  background: var(--white);
}

.section--contact {
  padding-bottom: calc(var(--space-xl) + var(--space-md));
}

/* Odkaz na hlavní hub služeb */
.section--hub {
  background: var(--white);
  border-top: 1px solid color-mix(in srgb, var(--accent) 12%, transparent);
  padding-block: var(--space-xl);
}

.hub {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.section--hub h2 {
  margin-bottom: var(--space-md);
}

.hub__lead {
  margin: 0 0 var(--space-md);
  color: var(--text-muted);
  line-height: 1.65;
}

.hub__cta {
  margin-bottom: var(--space-sm);
}

.hub__note {
  margin: var(--space-md) 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Cards */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-md);
}

.card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: var(--space-md);
  border: 1px solid color-mix(in srgb, var(--accent) 10%, transparent);
}

.card__icon {
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 var(--space-xs);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Features checklist */
.features__text {
  margin-bottom: var(--space-md);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 36rem;
  margin-inline: auto;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 4px;
  background: var(--accent);
  mask: 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'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat;
  -webkit-mask: 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'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Pricing */
.pricing-box {
  max-width: 32rem;
  margin-inline: auto;
  text-align: center;
  background: linear-gradient(145deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 5vw, 2.75rem);
  border: 1px solid color-mix(in srgb, var(--accent) 12%, transparent);
  box-shadow: var(--shadow);
}

.pricing-box h2 {
  margin-bottom: var(--space-sm);
}

.pricing-box__price {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 var(--space-sm);
  line-height: 1;
}

.pricing-box__detail {
  margin: 0 0 var(--space-sm);
  font-weight: 500;
}

.pricing-box__footnote {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-lg);
  line-height: 1.55;
}

/* Contact */
.contact {
  display: grid;
  gap: var(--space-lg);
}

.contact__intro h2 {
  text-align: left;
  margin-bottom: var(--space-sm);
}

.contact__intro p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36ch;
}

.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid color-mix(in srgb, var(--accent) 8%, transparent);
  box-shadow: var(--shadow);
  max-width: 26rem;
}

.form__row {
  margin-bottom: var(--space-md);
}

.form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.form input,
.form select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid color-mix(in srgb, var(--text) 18%, transparent);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
}

.form input:focus-visible,
.form select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: var(--accent);
  color: color-mix(in srgb, var(--white) 88%, transparent);
  padding-block: var(--space-lg);
}

.site-footer__inner {
  text-align: center;
}

.site-footer__copy {
  margin: var(--space-sm) 0 0;
  font-size: 0.85rem;
}

/* Tablet+ */
@media (min-width: 640px) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .features {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--space-lg);
  }

  .features__text {
    margin-bottom: 0;
  }

  .features__text h2,
  .features__text .section__intro {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .features__text .section__intro {
    max-width: none;
  }

  .checklist {
    margin-inline: 0;
  }

  .contact {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 0.95fr;
    gap: var(--space-xl);
  }

  .hero__content {
    order: 1;
  }

  .hero__figure {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
