@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Oswald:wght@400;500;600;700&display=swap");

/* Eliška Šperková — Industrial Design System */
:root {
  --color-bg-page: #ffffff;
  --color-bg: #000000;
  --color-bg-light: #111111;
  --color-bg-muted: #0a0a0a;
  --color-bg-shape: #000000;
  --color-bg-dark: #000000;
  --color-text-page: #1a1a1a;
  --color-text-muted-page: #555555;
  --color-text: #ececec;
  --color-text-muted: #9a9a9a;
  --color-petrol: #006272;
  --color-accent: #006272;
  --color-accent-hot: #008596;
  --color-warm: #b8734a;
  --color-warm-soft: #f5ebe3;
  --color-mint: #e8f4f5;
  --color-sky: #d4ecef;
  --color-cream: #faf7f2;
  --color-line: var(--color-accent);
  --color-border: #3d3d3d;
  --color-emerald: var(--color-accent);
  --color-teal: #14a3b8;
  --color-teal-light: #6b7280;
  --font-simple: "DM Sans", system-ui, sans-serif;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-crazy: var(--font-display);
  --max-width: 900px;
  --nav-radius: 0;
  --transition: 0.2s ease;
  --line-accent: none;
  --site-max-width: 1100px;
  --header-height: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: var(--color-bg-page);
}

body {
  font-family: var(--font-simple);
  background: var(--color-bg-page);
  color: var(--color-text-page);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top bar — logo left, compact nav right */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: var(--header-height);
  margin: 0;
  padding: 0.75rem clamp(1rem, calc((100% - var(--site-max-width)) / 2 + 1rem), 1.25rem);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  color: var(--color-text-page);
  border-bottom: none;
  box-shadow: none;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  z-index: 1;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.8vw, 1.15rem);
  font-weight: 600;
  line-height: 0.95;
  color: var(--color-text-page);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-left: 0;
}

.logo-text__first,
.logo-text__last {
  display: block;
}

.logo-img {
  display: block;
  width: min(820px, 94vw);
  height: auto;
  object-fit: contain;
}

.logo-img--compact {
  width: min(160px, 36vw);
  height: auto;
}

.corner-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.15rem 0.65rem;
  flex-shrink: 1;
  min-width: 0;
}

.nav-link {
  display: inline-block;
  position: relative;
  isolation: isolate;
  padding: 0.45rem 0.5rem;
  text-decoration: none;
  color: var(--color-text-page);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  background: transparent;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-link::after {
  display: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-accent);
  outline: none;
}

.nav-link.active {
  color: var(--color-accent);
}

/* Hero — homepage */
.hero {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  text-align: center;
}

.hero-tagline {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-tagline em {
  font-family: var(--font-simple);
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  color: var(--color-text);
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero h1 .accent,
.page-headline .accent {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: none;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.service-image {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(80, 80, 80, 0.55), transparent 60%);
  pointer-events: none;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 1rem 1.1rem 1.15rem;
  background: var(--color-bg);
}

.service-content h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.service-content p {
  font-size: 0.8rem;
  color: #4b5563;
  line-height: 1.45;
}

/* Subpage layout */
.subpage {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.page-headline {
  text-align: center;
  margin-bottom: 2rem;
}

.page-headline h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--color-text-page);
}

.page-headline p {
  color: var(--color-text-muted-page);
  font-size: 1.05rem;
}

.atmosphere-photo {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--color-border);
}

.atmosphere-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-photo--compact {
  max-width: min(100%, 300px);
  margin: 0 auto 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #3d3d3d;
  box-shadow: 0 10px 28px rgba(0, 98, 114, 0.1);
}

.service-photo--compact img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.service-intro {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
}

.service-intro__row {
  display: grid;
  grid-template-columns: min(280px, 38%) 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.service-intro__row .service-photo--compact {
  margin: 0;
  max-width: 100%;
  width: 100%;
}

.service-intro .service-article--lead,
.service-intro .service-benefits {
  margin-bottom: 0;
}

.service-intro .service-benefits {
  width: 100%;
}

@media (max-width: 768px) {
  .service-intro__row {
    grid-template-columns: 1fr;
  }

  .service-intro__row .service-photo--compact {
    max-width: min(100%, 300px);
    margin: 0 auto;
  }
}

.service-article {
  margin-bottom: 3rem;
}

.service-article:has(+ .offer-section) {
  margin-bottom: 2.75rem;
}

.service-article:has(+ .offer-section) > p:last-child {
  margin-bottom: 0;
}

.offer-section .section-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.offer-section + .gallery-section {
  margin-top: 2.75rem;
}

.service-article h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-page);
  padding-bottom: 0.35rem;
  border-bottom: var(--line-accent);
  display: inline-block;
}

.service-article p {
  color: var(--color-text-muted-page);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.service-article h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-page);
  margin: 1.25rem 0 0.5rem;
}

.service-article h2 + h3 {
  margin-top: 1rem;
}

.service-article .accent {
  color: var(--color-accent);
  font-weight: 600;
}

.service-article--center {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.service-article--center .service-article__vic-row {
  justify-content: center;
}

.service-article__intro p {
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

.service-article__intro p:last-child {
  margin-bottom: 1rem;
}

.service-article__vic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: var(--line-accent);
  display: inline-block;
  color: var(--color-text-page);
}

/* Aktuální nabídka */
.offer-package {
  margin-bottom: 0;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  border-top: var(--line-accent);
}

.offer-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  margin-bottom: 0;
  background: var(--color-bg-muted);
  border: none;
  border-radius: 0;
}

.offer-photo {
  border-radius: 12px;
  overflow: visible;
}

.offer-photo img,
.offer-photo .gallery-slide__frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px solid rgba(0, 98, 114, 0.35);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 98, 114, 0.1);
}

.offer-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
}

.offer-photo .offer-carousel {
  width: 100%;
}

.offer-photo .gallery-caption {
  display: none;
}

.offer-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.offer-content .offer-intro {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.offer-content .offer-date {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.offer-content .offer-place {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.5rem;
}

.offer-content .offer-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.offer-details {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.offer-details li {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.offer-details__label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.offer-details__promo {
  font-size: 0.88em;
  color: var(--color-sky);
}

.offer-features {
  background: var(--color-bg);
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 4vw, 2rem);
}

.offer-features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2.5rem;
  max-width: 52rem;
  margin: 0 auto;
}

.offer-features__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer-features__list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.offer-features__list li::before {
  content: "♥";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.75rem;
  line-height: 1;
  color: var(--color-accent);
}

.offer-features--backpack .offer-features__list li {
  padding-left: 1.5rem;
}

.offer-features--backpack .offer-features__list li::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  top: 0.12em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23006272'%3E%3Cpath d='M8 6V5a4 4 0 1 1 8 0v1h2a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2zm2-1a2 2 0 1 0 4 0v1h-4V5zm-1 10h2v-2h-2v2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.offer-features__list li:last-child {
  margin-bottom: 0;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--color-accent);
  border-radius: var(--nav-radius);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--color-accent);
  box-shadow: none;
}

/* Photo gallery — Proběhlé akce */
.gallery-section {
  margin-bottom: 2rem;
}

.gallery-section > .section-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.photo-gallery {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.gallery-viewport {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  transition: transform 0.4s ease;
}

.gallery-slide {
  position: relative;
  min-width: 100%;
  aspect-ratio: 16 / 10;
}

.gallery-slide__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);
}

.gallery-slide--stacked {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.gallery-slide--stacked .gallery-slide__media {
  aspect-ratio: 4 / 3;
  width: 100%;
  flex-shrink: 0;
}

.gallery-slide--stacked .gallery-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-slide--stacked .gallery-slide__caption {
  position: static;
  background: transparent;
  border: none;
  box-shadow: none;
  font-family: var(--font-simple);
  font-weight: 400;
  color: #4a4a4a;
  text-align: left;
  padding: 0.5rem 0 0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Pro rodiny / Pro jednotlivce — photo carousel + title below */
.gallery-carousel {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: visible;
}

.gallery-carousel .gallery-viewport {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: transparent;
}

.gallery-carousel .gallery-slide {
  min-width: 100%;
  aspect-ratio: auto;
}

.gallery-carousel .gallery-slide__frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px solid rgba(0, 98, 114, 0.35);
  overflow: hidden;
  background: #ffffff;
}

.gallery-carousel .gallery-slide__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-carousel .gallery-caption {
  display: block;
  margin: 0.75rem 0 0;
  padding: 0;
  font-family: var(--font-simple);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #4a4a4a;
  text-align: left;
  background: transparent;
  border: none;
}

.gallery-carousel .gallery-viewport .gallery-arrow {
  top: 50%;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #ffffff;
  transform: translateY(-50%);
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.gallery-carousel .gallery-viewport .gallery-arrow svg {
  width: 1.85rem;
  height: 1.85rem;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.5));
}

.gallery-carousel .gallery-viewport .gallery-arrow:hover,
.gallery-carousel .gallery-viewport .gallery-arrow:focus-visible {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--color-accent);
  outline: none;
  transform: translateY(-50%) scale(1.1);
}

.gallery-carousel .gallery-viewport .gallery-arrow:hover svg,
.gallery-carousel .gallery-viewport .gallery-arrow:focus-visible svg {
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35));
}

.gallery-section .gallery-duo__caption {
  margin: 0.5rem 0 0;
  padding: 0;
  font-family: var(--font-simple);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #4a4a4a;
  text-align: left;
  background: transparent;
  border: none;
}

/* Proběhlé akce — two photos side by side */
.gallery-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.gallery-duo__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gallery-duo__photo {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
  background: var(--color-bg-muted);
}

.gallery-duo__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-duo__caption {
  margin: 0.5rem 0 0;
  padding: 0;
}

@media (max-width: 640px) {
  .gallery-duo {
    grid-template-columns: 1fr;
  }
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--color-accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.gallery-arrow svg {
  width: 1.85rem;
  height: 1.85rem;
  display: block;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--color-accent-hot);
  outline: none;
  transform: translateY(-50%) scale(1.1);
}

.gallery-arrow--prev {
  left: 1rem;
}

.gallery-arrow--next {
  right: 1rem;
}

/* Sign-up section — homepage */
.signup-section {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
  text-align: center;
}

.signup-heading {
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.35;
}

.signup-form {
  text-align: left;
}

.signup-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.signup-submit {
  width: 100%;
  margin-top: 0.25rem;
}

@media (min-width: 520px) {
  .signup-fields {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
  }

  .signup-fields .form-group {
    flex: 1;
    min-width: 140px;
  }

  .signup-submit {
    width: auto;
    flex-shrink: 0;
  }
}

/* Contact form */
.contact-section {
  margin-top: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--nav-radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-bg-light);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-petrol);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-success {
  padding: 1rem;
  background: var(--color-bg-muted);
  border: var(--line-accent);
  border-radius: var(--nav-radius);
  color: var(--color-text);
  font-size: 0.95rem;
}

.booking-return-notice {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 98, 114, 0.08);
  border: 1.5px solid rgba(0, 98, 114, 0.18);
  border-radius: var(--nav-radius);
  color: var(--color-text-page);
  font-size: 0.98rem;
  line-height: 1.5;
}

.booking-return-notice--cancel {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.2);
}

.form-error {
  padding: 1rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid #ef4444;
  border-radius: var(--nav-radius);
  color: #b91c1c;
  font-size: 0.95rem;
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Modal — SimpleShop */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  color: var(--color-petrol);
  border-radius: 16px;
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--color-mint);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  color: var(--color-petrol);
  transition: background var(--transition), color var(--transition);
}

.modal-close:hover {
  background: var(--color-sky);
  color: var(--color-petrol);
}

.modal-dialog h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-right: 2rem;
  color: var(--color-petrol);
}

.simpleshop-form p {
  color: var(--color-petrol);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.simpleshop-form .form-group {
  margin-bottom: 0.25rem;
}

.simpleshop-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-petrol);
  opacity: 0.75;
}

/* Booking modal — Pro rodiny */
.booking-modal .modal-dialog--booking {
  max-width: 520px;
  padding: 2rem 1.75rem 1.75rem;
  background: #ffffff;
  color: var(--color-petrol);
  border: none;
  border-radius: 20px;
  box-shadow:
    0 4px 6px rgba(0, 98, 114, 0.06),
    0 24px 48px rgba(0, 40, 48, 0.18);
}

.booking-modal__close {
  background: var(--color-mint);
  color: var(--color-accent);
  border: none;
  border-radius: 50%;
  font-size: 1.35rem;
}

.booking-modal__close:hover {
  background: var(--color-sky);
  color: var(--color-accent);
}

.booking-modal__eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.booking-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-petrol);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}

.booking-modal__lead {
  font-size: 0.95rem;
  color: var(--color-petrol);
  line-height: 1.5;
  margin-bottom: 1.35rem;
}

.booking-form {
  display: grid;
  gap: 0.15rem;
}

.booking-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 420px) {
  .booking-form__row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

.booking-form .form-group label {
  color: var(--color-petrol);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.booking-form .form-group input,
.booking-form .form-group select,
.booking-form .form-group textarea {
  width: 100%;
  background: #f8fbfc;
  color: var(--color-petrol);
  border: 1.5px solid rgba(0, 98, 114, 0.22);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.booking-form .form-group textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.booking-form .form-group input::placeholder,
.booking-form .form-group textarea::placeholder {
  color: rgba(0, 98, 114, 0.45);
}

.booking-form .form-group input:focus,
.booking-form .form-group select:focus,
.booking-form .form-group textarea:focus {
  background: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 98, 114, 0.12);
  outline: none;
}

.booking-form__error {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  border-radius: 10px;
}

.booking-form__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, var(--color-mint) 0%, #ffffff 100%);
  border: 1.5px solid rgba(0, 98, 114, 0.18);
  border-radius: 12px;
}

.booking-form__total-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.booking-form__total-hint {
  font-size: 0.78rem;
  color: var(--color-petrol);
  opacity: 0.75;
}

.booking-form__total-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-petrol);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.booking-form__total-value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  white-space: nowrap;
}

.btn-primary--booking {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.95rem 1.25rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-display);
  border-radius: 10px;
  background: var(--color-accent);
}

.btn-primary--booking:hover {
  background: var(--color-accent-hot);
}

.booking-form__legal {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-petrol);
  opacity: 0.8;
  text-align: center;
}

.booking-form__legal a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.booking-form__legal a:hover {
  color: var(--color-accent-hot);
}

.form-group--choice {
  margin-top: 0.25rem;
}

.booking-form__choice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.booking-form__choice-label {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--color-petrol);
}

.booking-choice {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  flex-shrink: 0;
  padding: 0.2rem;
  background: rgba(0, 98, 114, 0.08);
  border: 1.5px solid rgba(0, 98, 114, 0.16);
  border-radius: 999px;
  overflow: hidden;
}

.booking-choice--compact {
  width: 5.5rem;
}

.booking-choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.booking-choice label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: 0.2rem 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-petrol);
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}

.booking-choice__slider {
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: calc(50% - 0.2rem);
  height: calc(100% - 0.4rem);
  background: var(--color-accent);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 98, 114, 0.25);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

@media (max-width: 420px) {
  .booking-form__choice-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .booking-form__choice-label {
    flex: 1 1 100%;
  }

  .booking-choice--compact {
    margin-left: auto;
  }
}

.booking-choice:has(#photo-consent-no:checked) .booking-choice__slider {
  transform: translateX(100%);
}

.booking-choice:has(#photo-consent-yes:checked) label[for="photo-consent-yes"],
.booking-choice:has(#photo-consent-no:checked) label[for="photo-consent-no"] {
  color: #ffffff;
}

.booking-choice label:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 8px;
}

.booking-modal__panel--success {
  padding: 1.5rem 0.5rem 0.75rem;
  text-align: center;
}

.booking-success__ring {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
}

.booking-success__check {
  width: 100%;
  height: 100%;
}

.booking-success__circle {
  stroke: rgba(0, 98, 114, 0.2);
  stroke-width: 3;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  transform-origin: center;
}

.booking-success__tick {
  stroke: var(--color-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.booking-modal__panel--success.is-replay .booking-success__circle {
  animation: bookingCircleDraw 0.55s ease forwards;
}

.booking-modal__panel--success.is-replay .booking-success__tick {
  animation: bookingTickDraw 0.4s 0.45s ease forwards;
}

.booking-success__message {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-petrol);
  line-height: 1.45;
  max-width: 22rem;
  margin: 0 auto 0.5rem;
  opacity: 0;
  transform: translateY(10px);
}

.booking-modal__panel--success.is-replay .booking-success__message {
  animation: bookingMessageIn 0.5s 0.7s ease forwards;
}

.booking-success__hint {
  font-size: 0.88rem;
  color: var(--color-petrol);
  opacity: 0;
}

.booking-modal__panel--success.is-replay .booking-success__hint {
  animation: bookingMessageIn 0.45s 0.95s ease forwards;
}

.booking-success__progress {
  margin: 1.35rem auto 0;
  height: 4px;
  max-width: 12rem;
  background: rgba(0, 98, 114, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.booking-success__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-teal));
  border-radius: inherit;
}

.booking-modal__panel--success.is-replay .booking-success__progress span {
  animation: bookingProgress var(--booking-redirect-ms, 3s) linear forwards;
}

@keyframes bookingCircleDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes bookingTickDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes bookingMessageIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bookingProgress {
  to {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-modal__panel--success.is-replay .booking-success__circle,
  .booking-modal__panel--success.is-replay .booking-success__tick,
  .booking-modal__panel--success.is-replay .booking-success__message,
  .booking-modal__panel--success.is-replay .booking-success__hint,
  .booking-modal__panel--success.is-replay .booking-success__progress span {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
    transform: none;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .booking-modal .modal-dialog--booking {
    padding: 1.5rem 1.15rem 1.25rem;
    border-radius: 16px;
  }
}

/* O mně */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.about-photos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-photo--secondary {
  aspect-ratio: 3 / 4;
}

.about-photo {
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.about-intro .role {
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-intro p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.work-showcase {
  margin-bottom: 2rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.work-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.work-item:hover img {
  transform: scale(1.05);
}

.work-item figcaption {
  display: none;
}

/* Footer */
.site-footer {
  margin-top: auto;
  text-align: center;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: #6b7280;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

.footer-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-link:hover,
.footer-link:focus-visible,
.footer-link.active {
  color: var(--color-text-muted);
  outline: none;
}

/* Legal pages */
.legal-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin: 2rem 0 0.75rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin: 1.5rem 0 0.65rem;
}

.legal-content__effective {
  margin-top: 2rem;
  font-weight: 600;
}

.legal-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: none;
  margin: 0 0 1rem;
}

.legal-content li {
  padding: 0.65rem 1rem;
  margin-bottom: 0.5rem;
  border-left: 4px solid var(--color-emerald);
  background: #f9fafb;
  border-radius: 0 10px 10px 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.legal-content a {
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .home-about .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-about .about-photo {
    max-width: 320px;
    margin: 0 auto;
  }

  .site-header {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: auto;
    padding: 0.65rem 1rem;
  }

  .nav-link {
    font-size: 0.58rem;
    padding: 0.35rem 0.3rem;
    letter-spacing: 0.07em;
  }

  .logo-text {
    font-size: 0.82rem;
  }

  .offer-card {
    grid-template-columns: 1fr;
  }

  .offer-features__grid {
    grid-template-columns: 1fr;
    gap: 0.25rem 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photos {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }

  .about-photo {
    max-width: none;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .atmosphere-photo {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 520px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    aspect-ratio: auto;
  }

  .service-image {
    aspect-ratio: 16 / 10;
  }

  .nav-link {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }

  .gallery-arrow {
    width: 2.25rem;
    height: 2.25rem;
  }

  .gallery-arrow svg,
  .gallery-carousel .gallery-viewport .gallery-arrow svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .gallery-arrow--prev {
    left: 0.5rem;
  }

  .gallery-arrow--next {
    right: 0.5rem;
  }
}

/* ============================================================
   Direction B — Photo-led homepage (index.html only)
   ============================================================ */

.homepage-b .site-header {
  position: sticky;
  top: 0;
}

/* Homepage name headline + portrait */
.home-headline {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: auto;
  padding: 3rem max(1rem, 4vw) 1.5rem;
  overflow: hidden;
  text-align: center;
}

.home-about {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 max(1rem, 4vw) 3rem;
}

.home-about__inner {
  margin-bottom: 0;
}

.home-about .about-photo {
  border-radius: 0;
  border: 2px solid var(--color-border);
}

.home-about .about-intro h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-page);
}

.home-about .about-intro .role {
  color: var(--color-accent);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.home-about .about-intro p {
  color: var(--color-text-muted-page);
  line-height: 1.65;
}

.home-headline__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 1100px);
  min-height: auto;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.home-headline__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.home-headline__name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.2em;
  font-family: var(--font-display);
  font-size: clamp(calc(3rem + 20px), calc(11vw + 20px), calc(5.75rem + 20px));
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
  flex: 1;
  min-width: 0;
  color: #4a4a4a;
}

.home-headline__first,
.home-headline__last {
  display: block;
  width: auto;
  border-bottom: none;
  color: #4a4a4a;
}

.home-headline__tagline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em;
  margin-top: 1rem;
  font-family: var(--font-simple);
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-muted-page);
  max-width: 28rem;
  text-align: center;
}

.home-headline__word {
  display: inline-block;
  padding: 0.1em 0.05em;
  color: #4a4a4a;
  opacity: 0;
  transform: translateY(0.5em);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-headline__word.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-headline__word.is-light {
  color: #d4d4d4;
}

.home-headline__tagline.is-ready .home-headline__word:hover:not(.is-light) {
  color: var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {
  .home-headline__word {
    opacity: 1;
    transform: none;
    transition: color 0.25s ease;
  }

  .home-headline__word.is-light {
    color: #d4d4d4;
  }

  .home-headline__first,
  .home-headline__last {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #16c787;
  }
}

@media (max-width: 640px) {
  .home-headline__name {
    font-size: clamp(calc(2.5rem + 20px), calc(12vw + 20px), calc(4rem + 20px));
  }
}

.homepage-b .header-c {
  text-align: center;
  padding: 2rem 1.25rem 1.25rem;
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-bg);
}

.homepage-b .site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-width: none;
  border-bottom: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent);
  backdrop-filter: none;
}

.homepage-b .logo--light .logo-img {
  filter: brightness(0) invert(1);
}

.homepage-b .nav-link--light::after {
  filter: brightness(1.15);
}

/* Hero with photo — compact contained version */
.hero-b {
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-b--compact {
  max-width: 900px;
  width: calc(100% - 2.5rem);
  min-height: clamp(220px, 32vh, 340px);
  margin: 0.5rem auto 0;
  border-radius: 0;
  box-shadow: inset 0 0 0 2px var(--color-border);
}

.hero-b--compact .hero-b__inner {
  padding: 2.5rem 1.5rem 2rem;
}

.hero-b--compact .hero-b__title {
  font-size: clamp(1.6rem, 4.5vw, 2.5rem);
}

.hero-b__media {
  position: absolute;
  inset: 0;
}

.hero-b__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.hero-b__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.72) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(16, 185, 129, 0.45) 100%
  );
}

.hero-b__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
  max-width: 720px;
}

.hero-b__tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-b__tagline em {
  font-family: var(--font-crazy);
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.05rem;
  color: #6ee7b7;
}

.hero-b__title {
  position: relative;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero-b__brush {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(90%, 480px);
  height: 3.2em;
  transform: translate(-50%, -50%);
  background: url("../images/brush-hero.svg") center / 100% 100% no-repeat;
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}

.hero-b__title .accent {
  font-family: var(--font-crazy);
  color: #6ee7b7;
  font-weight: 400;
}

.hero-b__desc {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Photo service cards */
.services-b {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.services-b__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.services-b__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .services-b__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .services-b {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 400px) {
  .services-b__grid {
    gap: 0.65rem;
  }

  .photo-card__text {
    padding: 0.3rem 0.55rem 0.3rem;
    transform: translateY(0.3rem);
    grid-template-rows: 2.4em 3em;
  }

  .photo-card__text h2 {
    font-size: 0.65rem;
  }

  .photo-card__text p {
    font-size: 0.6rem;
    min-height: 3em;
    -webkit-line-clamp: 2;
  }
}

.photo-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.1);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  animation: cardFadeIn 0.7s ease both;
}

.photo-card:nth-child(1) { animation-delay: 0.05s; }
.photo-card:nth-child(2) { animation-delay: 0.15s; }
.photo-card:nth-child(3) { animation-delay: 0.25s; }
.photo-card:nth-child(4) { animation-delay: 0.35s; }

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.photo-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 50px rgba(15, 118, 110, 0.28);
}

.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s ease;
}

.photo-card--konference img {
  object-position: 58% 42%;
}

.photo-card--teambuilding img {
  object-position: center 40%;
}

.photo-card--rodina img {
  object-position: 52% 38%;
}

.photo-card--jednotlivci img {
  object-position: 50% 42%;
}

.photo-card:hover img {
  transform: scale(1.1);
}

.photo-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 118, 110, 0.92) 0%,
    rgba(15, 118, 110, 0.55) 35%,
    rgba(0, 0, 0, 0.1) 70%,
    transparent 100%
  );
  transition: opacity 0.4s ease;
}

.photo-card:hover .photo-card__gradient {
  background: linear-gradient(
    to top,
    rgba(15, 118, 110, 0.96) 0%,
    rgba(16, 185, 129, 0.6) 40%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.photo-card__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-rows: 2.4em 3em;
  gap: 0.25rem;
  align-content: end;
  padding: 0.35rem 0.75rem 0.35rem;
  transform: translateY(0.35rem);
  z-index: 1;
}

.photo-card__text h2 {
  min-height: 2.4em;
  font-size: clamp(0.7rem, 1.6vw, 0.85rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

.photo-card__text p {
  min-height: 3em;
  font-size: 0.68rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* Sign-up band */
.homepage-b .reviews {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3.5rem;
  text-align: center;
}

.reviews__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.reviews__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  color: var(--color-text-page);
}

.reviews__grid,
.reviews-carousel__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: left;
}

.reviews-carousel {
  text-align: center;
}

.reviews-carousel__shell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.reviews-carousel__viewport {
  flex: 1;
  overflow: hidden;
}

.reviews-carousel__track {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  transition: transform 0.35s ease;
  will-change: transform;
}

.reviews-carousel .review-card {
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 0;
  min-height: 15.5rem;
}

.reviews-carousel__arrow {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(0, 98, 114, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.reviews-carousel__arrow svg {
  width: 1.35rem;
  height: 1.35rem;
}

.reviews-carousel__arrow:hover:not(:disabled),
.reviews-carousel__arrow:focus-visible:not(:disabled) {
  color: var(--color-accent-hot);
  transform: scale(1.06);
  outline: none;
}

.reviews-carousel__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.reviews__add {
  display: inline-block;
  margin: 1.5rem auto 0;
  padding: 0.5rem 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.review-modal .modal-dialog--review {
  max-width: 520px;
  background: #ffffff;
  color: var(--color-petrol);
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow:
    0 4px 6px rgba(0, 98, 114, 0.06),
    0 24px 48px rgba(0, 40, 48, 0.18);
}

.review-modal__close {
  background: var(--color-mint);
  color: var(--color-accent);
}

.review-modal__close:hover {
  background: var(--color-sky);
}

.review-modal__eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.review-modal__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-petrol);
  margin-bottom: 0.5rem;
}

.review-modal__lead {
  color: var(--color-petrol);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.35rem;
}

.review-modal__panel--success,
.signup-modal__panel--success,
.firmy-modal__panel--success,
.payment-success-modal__panel--success {
  padding: 2.5rem 1rem 2rem;
  text-align: center;
}

.firmy-modal .modal-dialog--firmy {
  max-width: 480px;
  background: #ffffff;
  color: var(--color-petrol);
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow:
    0 4px 6px rgba(0, 98, 114, 0.06),
    0 24px 48px rgba(0, 40, 48, 0.18);
}

.firmy-modal__close {
  background: var(--color-mint);
  color: var(--color-petrol);
}

.firmy-modal__close:hover {
  background: var(--color-sky);
  color: var(--color-petrol);
}

.firmy-modal .modal-success__message {
  max-width: 26rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.signup-modal .modal-dialog--signup {
  max-width: 420px;
  background: #ffffff;
  color: var(--color-petrol);
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow:
    0 4px 6px rgba(0, 98, 114, 0.06),
    0 24px 48px rgba(0, 40, 48, 0.18);
}

.signup-modal__close {
  background: var(--color-mint);
  color: var(--color-petrol);
}

.signup-modal__close:hover {
  background: var(--color-sky);
  color: var(--color-petrol);
}

.signup-modal .modal-success__message {
  max-width: 22rem;
}

.payment-success-modal .modal-dialog--payment-success {
  max-width: 420px;
  background: #ffffff;
  color: var(--color-petrol);
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow:
    0 4px 6px rgba(0, 98, 114, 0.06),
    0 24px 48px rgba(0, 40, 48, 0.18);
}

.payment-success-modal__close {
  background: var(--color-mint);
  color: var(--color-petrol);
}

.payment-success-modal__close:hover {
  background: var(--color-sky);
  color: var(--color-petrol);
}

.payment-success-modal .modal-success__message {
  max-width: 22rem;
}

.modal-success__ring {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
}

.modal-success__check {
  width: 100%;
  height: 100%;
}

.modal-success__circle {
  stroke: rgba(0, 98, 114, 0.18);
  stroke-width: 2.5;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  transform-origin: center;
}

.modal-success__tick {
  stroke: var(--color-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.modal-success__message {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-petrol);
  line-height: 1.5;
  max-width: 18rem;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(12px);
}

.review-modal__panel--success.is-replay .modal-success__circle,
.signup-modal__panel--success.is-replay .modal-success__circle,
.firmy-modal__panel--success.is-replay .modal-success__circle,
.payment-success-modal__panel--success.is-replay .modal-success__circle {
  animation: bookingCircleDraw 0.55s ease forwards;
}

.review-modal__panel--success.is-replay .modal-success__tick,
.signup-modal__panel--success.is-replay .modal-success__tick,
.firmy-modal__panel--success.is-replay .modal-success__tick,
.payment-success-modal__panel--success.is-replay .modal-success__tick {
  animation: bookingTickDraw 0.4s 0.45s ease forwards;
}

.review-modal__panel--success.is-replay .modal-success__message,
.signup-modal__panel--success.is-replay .modal-success__message,
.firmy-modal__panel--success.is-replay .modal-success__message,
.payment-success-modal__panel--success.is-replay .modal-success__message {
  animation: bookingMessageIn 0.5s 0.75s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
  .review-modal__panel--success.is-replay .modal-success__circle,
  .review-modal__panel--success.is-replay .modal-success__tick,
  .review-modal__panel--success.is-replay .modal-success__message,
  .signup-modal__panel--success.is-replay .modal-success__circle,
  .signup-modal__panel--success.is-replay .modal-success__tick,
  .signup-modal__panel--success.is-replay .modal-success__message,
  .firmy-modal__panel--success.is-replay .modal-success__circle,
  .firmy-modal__panel--success.is-replay .modal-success__tick,
  .firmy-modal__panel--success.is-replay .modal-success__message,
  .payment-success-modal__panel--success.is-replay .modal-success__circle,
  .payment-success-modal__panel--success.is-replay .modal-success__tick,
  .payment-success-modal__panel--success.is-replay .modal-success__message {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
    transform: none;
  }
}

.review-form .form-group {
  margin-bottom: 1rem;
}

.review-form .form-group label,
.review-form .form-group__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-petrol);
  margin-bottom: 0.45rem;
}

.review-form .form-group input,
.review-form .form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 2px solid rgba(0, 98, 114, 0.18);
  border-radius: 8px;
  font: inherit;
  color: var(--color-petrol);
  background: #ffffff;
}

.review-form .form-group input:focus,
.review-form .form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-petrol);
  opacity: 0.75;
}

.review-stars-picker {
  display: flex;
  gap: 0.2rem;
}

.review-stars-picker__star {
  border: none;
  background: none;
  padding: 0.1rem;
  font-size: 1.65rem;
  line-height: 1;
  color: rgba(0, 98, 114, 0.25);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.review-stars-picker__star.is-active,
.review-stars-picker__star:hover,
.review-stars-picker__star:focus-visible {
  color: var(--color-accent);
  transform: scale(1.05);
  outline: none;
}

.review-form__submit {
  width: 100%;
  margin-top: 0.35rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 1.5rem 1.35rem;
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 0;
  box-shadow: none;
  transition: transform var(--transition), border-color var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 118, 110, 0.12);
}

.review-card__stars {
  color: var(--color-emerald);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
}

.review-card__text {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-card__author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(16, 185, 129, 0.25);
}

.review-card__author strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
}

.review-card__author span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.homepage-b .signup-section--b {
  max-width: none;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(15, 118, 110, 0.12));
  border-top: 1px solid rgba(15, 118, 110, 0.15);
  padding: 3.5rem 1.25rem 4rem;
}

.homepage-b .signup-section__inner {
  max-width: 560px;
  margin: 0 auto;
}

.homepage-b .signup-section--b .form-group input {
  background: #fff;
  border-color: rgba(15, 118, 110, 0.25);
}

@media (max-width: 768px) {
  .reviews__grid,
  .reviews-carousel__track {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .reviews-carousel__shell {
    gap: 0.5rem;
  }


  .reviews-carousel__arrow {
    width: 2.15rem;
    height: 2.15rem;
  }

  .homepage-b .site-header--overlay {
    position: sticky;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
  }

  .homepage-b .nav-link--light {
    color: var(--color-text);
  }

  .hero-b--compact {
    width: calc(100% - 2rem);
    min-height: 200px;
  }

  .hero-b--compact .hero-b__inner {
    padding: 2rem 1.25rem 1.5rem;
  }

  .hero-b {
    min-height: 380px;
  }

  .hero-b__inner {
    padding-top: 2rem;
  }
}

/* ============================================================
   Direction C — Minimal + bold typography (index.html only)
   ============================================================ */

.homepage-c {
  background: var(--color-bg);
}

.homepage-c .site-header {
  display: none;
}

.header-c {
  text-align: center;
  padding: 2.5rem 1.25rem 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.logo-c {
  position: relative;
  display: inline-block;
  text-decoration: none;
  margin-bottom: 1.75rem;
}

.nav-c {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 1.25rem;
}

/* Hero — huge type */
.hero-c {
  text-align: center;
  padding: 2rem 1.25rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-c__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.hero-c__eyebrow em {
  font-family: var(--font-crazy);
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  color: var(--color-emerald);
}

.hero-c__title {
  font-size: clamp(2.75rem, 10vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero-c__title .accent {
  font-family: var(--font-crazy);
  font-weight: 400;
  color: var(--color-emerald);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85em;
}

.hero-c__desc {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #4b5563;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Brush section divider */
.brush-divider {
  width: min(90%, 520px);
  height: 48px;
  margin: 0 auto 2rem;
  background: url("../images/brush-hero.svg") center / contain no-repeat;
  opacity: 0.55;
}

.brush-divider--short {
  width: min(60%, 280px);
  height: 36px;
  margin: 1rem auto 2.5rem;
  opacity: 0.4;
}

/* Typographic service blocks */
.services-c {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.type-block {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 2rem;
  align-items: start;
  padding: 2rem 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f0f0f0;
  transition: padding-left 0.35s ease;
}

.type-block:first-child {
  border-top: 1px solid #f0f0f0;
}

.type-block__index {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  padding-top: 0.5rem;
}

.type-block__main h2 {
  font-size: clamp(1.35rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.type-block__main p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.55;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
}

.type-block__brush {
  position: absolute;
  left: 3.5rem;
  bottom: 1.6rem;
  width: min(70%, 360px);
  height: 2em;
  background: url("../images/brush-nav.svg") center / 100% 100% no-repeat;
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: left center;
  transition: opacity 0.35s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.type-block:hover,
.type-block:focus-visible {
  padding-left: 0.5rem;
  outline: none;
}

.type-block:hover .type-block__main h2,
.type-block:focus-visible .type-block__main h2 {
  color: var(--color-text-muted);
}

.type-block:hover .type-block__main p,
.type-block:focus-visible .type-block__main p {
  max-height: 120px;
  opacity: 1;
  margin-top: 0.75rem;
}

.type-block:hover .type-block__brush,
.type-block:focus-visible .type-block__brush {
  opacity: 1;
  transform: scaleX(1);
}

/* Minimal signup */
.signup-c {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  text-align: center;
}

.signup-c__heading {
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.signup-c__form {
  text-align: left;
}

.signup-c__row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group--minimal label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.form-group--minimal input {
  border: none;
  border-bottom: 2px solid #e5e7eb;
  border-radius: 0;
  padding: 0.6rem 0;
  background: transparent;
  transition: border-color 0.3s ease;
}

.form-group--minimal input:focus {
  border-bottom-color: var(--color-teal);
}

.btn-minimal {
  align-self: flex-start;
  padding: 0.75rem 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.btn-minimal::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.4rem;
  width: 100%;
  height: 0.55em;
  background: url("../images/brush-nav.svg") center / 100% 100% no-repeat;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.btn-minimal:hover {
  color: var(--color-text-muted);
}

.btn-minimal:hover::after {
  opacity: 0.85;
}

.homepage-c .site-footer--c {
  border-top: none;
  padding-top: 0;
  color: #9ca3af;
}

.homepage-c .site-footer--c .footer-link {
  color: #9ca3af;
}

.homepage-c .site-footer--c .footer-link:hover {
  color: var(--color-text-muted);
}

@media (min-width: 640px) {
  .signup-c__row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.25rem 2rem;
  }

  .signup-c__row .form-group--minimal {
    flex: 1;
    min-width: 160px;
  }
}

@media (max-width: 520px) {
  .type-block {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .type-block__index {
    padding-top: 0;
  }

  .type-block__brush {
    left: 0;
    bottom: 1.2rem;
  }

  .type-block__main p {
    max-height: none;
    opacity: 1;
    margin-top: 0.5rem;
  }

  .type-block__brush {
    opacity: 0.35;
    transform: scaleX(1);
  }
}

/* ============================================================
   Industrial theme (site-wide)
   ============================================================ */

.black-panel {
  background: var(--color-bg);
}

.site-footer {
  background: var(--color-bg);
  border-top: var(--line-accent);
  color: var(--color-text-muted);
}

.footer-link:hover,
.footer-link:focus-visible,
.footer-link.active {
  color: var(--color-accent);
  box-shadow: none;
}

.homepage-b {
  background: var(--color-bg-page);
}

.homepage-b main {
  position: relative;
}

.homepage-b main::before,
.homepage-b main::after {
  display: none;
}

.home-headline,
.home-about,
.services-b,
.homepage-b .reviews,
.homepage-b .signup-section--b {
  position: relative;
  z-index: 1;
}

.services-b__label,
.reviews__label {
  font-family: var(--font-display);
  color: var(--color-accent);
  letter-spacing: 0.2em;
}

.services-b__label::after,
.reviews__label::after {
  display: none;
}

.reviews__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-page);
}

.hero-b--compact {
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: inset 0 0 0 2px var(--color-border);
}

.hero-b__media img {
  filter: grayscale(100%) contrast(1.15);
  opacity: 0.22;
  animation: none;
  transform: none;
}

.hero-b__shade {
  background: rgba(0, 0, 0, 0.82);
}

.hero-b__tagline {
  font-family: var(--font-display);
  color: var(--color-accent);
  letter-spacing: 0.22em;
}

.hero-b__tagline em {
  font-family: var(--font-display);
  color: var(--color-text);
}

.hero-b__title {
  font-family: var(--font-display);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-b__brush {
  display: none;
}

.hero-b__title .accent {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 600;
  box-shadow: none;
}

.hero-b__desc {
  color: var(--color-text-muted);
}

.photo-card {
  border: 2px solid var(--color-border);
  box-shadow: none;
  border-radius: 0;
}

.photo-card img {
  filter: grayscale(100%) contrast(1.1);
}

.photo-card__gradient {
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(30, 30, 30, 0.65) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.photo-card:hover {
  border-color: var(--color-border);
  box-shadow: none;
}

.photo-card__text h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.review-card {
  background: var(--color-bg);
  color: var(--color-text);
  border: 2px solid var(--color-border);
  border-top: var(--line-accent);
  border-radius: 0;
  box-shadow: none;
}

.review-card:hover {
  border-color: var(--color-border);
  box-shadow: none;
}

.review-card__stars {
  color: var(--color-accent);
}

.review-card__author {
  border-top: 2px solid var(--color-border);
}

.review-card__author span {
  color: var(--color-text-muted);
}

.homepage-b .signup-section--b {
  background: var(--color-bg);
  color: var(--color-text);
  border-top: var(--line-accent);
}

.homepage-b .signup-section--b .form-group input {
  background: var(--color-bg-light);
  border-color: var(--color-border);
  color: var(--color-text);
}

.homepage-b .signup-section--b .form-group input:focus {
  border-color: var(--color-accent);
}

.signup-heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.atmosphere-photo {
  border-radius: 0;
  filter: grayscale(100%) contrast(1.1);
  border: 2px solid var(--color-border);
}

.offer-card,
.service-card {
  background: var(--color-bg);
  color: var(--color-text);
  border-radius: 0;
  border: 2px solid var(--color-border);
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
  background: var(--color-bg-light);
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
  border-color: var(--color-accent);
}

.service-article p,
.legal-content p {
  color: var(--color-text-muted-page);
}

.offer-content p,
.service-content p,
.review-card__text {
  color: var(--color-text-muted);
}

.legal-content blockquote,
.cta-box {
  border-left: var(--line-accent);
  background: var(--color-bg);
  color: var(--color-text);
  border-radius: 0;
}

.gallery-carousel .gallery-viewport .gallery-arrow {
  color: #ffffff;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.photo-gallery {
  border-radius: 0;
  border: 2px solid var(--color-border);
  background: var(--color-bg);
}

.service-card {
  border-radius: 0;
}

.service-content {
  background: var(--color-bg);
  color: var(--color-text);
}

.form-success {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--color-bg-light);
  color: var(--color-text);
}

.modal-dialog {
  background: #ffffff;
  border: none;
  border-radius: 20px;
  color: var(--color-petrol);
}

.modal-close {
  background: var(--color-mint);
  border: none;
  border-radius: 50%;
  color: var(--color-petrol);
}

.modal-close:hover {
  background: var(--color-sky);
  color: var(--color-petrol);
}

/* ============================================================
   Experience ring — Moje práce photo carousel
   ============================================================ */

.page-work {
  background-color: var(--color-bg-page);
}

.subpage--work {
  max-width: none;
  width: 100%;
  padding: 2rem clamp(1rem, 4vw, 2rem) 3rem;
  background-color: var(--color-bg-page);
}

/* Work timeline — Moje práce */
.work-timeline {
  --tl-dot-size: 14px;
  --tl-line-w: 2px;
  --tl-gap: clamp(0.65rem, 1.5vw, 1rem);
  position: relative;
  max-width: min(920px, 100%);
  margin: clamp(1.5rem, 4vw, 2.5rem) auto clamp(2rem, 5vw, 3.5rem);
  padding: 0.5rem clamp(0.25rem, 2vw, 1rem) 1rem;
}

.work-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(1.25rem + var(--tl-dot-size) / 2);
  width: var(--tl-line-w);
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    var(--color-accent) 0%,
    rgba(0, 98, 114, 0.22) 85%,
    transparent 100%
  );
  border-radius: 2px;
  pointer-events: none;
}

.work-timeline__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--tl-gap);
  margin: 0;
  padding: 0;
}

.work-timeline__item {
  position: relative;
  opacity: 0;
  transform: translateY(1.1rem);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--item-i, 0) * 70ms);
}

.work-timeline.is-ready .work-timeline__item {
  opacity: 1;
  transform: translateY(0);
}

.work-timeline__trigger {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0 1.15rem;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0.4rem 0.5rem 0.4rem 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-radius: 12px;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.work-timeline__trigger:hover,
.work-timeline__trigger:focus-visible {
  background: rgba(0, 98, 114, 0.06);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(0, 98, 114, 0.12);
}

.work-timeline__marker {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.work-timeline__dot {
  width: var(--tl-dot-size);
  height: var(--tl-dot-size);
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--color-accent);
  box-shadow: 0 0 0 4px rgba(0, 98, 114, 0.12);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.work-timeline__item.is-active .work-timeline__dot,
.work-timeline__trigger:hover .work-timeline__dot,
.work-timeline__trigger:focus-visible .work-timeline__dot {
  transform: scale(1.2);
  background: var(--color-accent);
  box-shadow: 0 0 0 6px rgba(0, 98, 114, 0.18);
}

.work-timeline__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.work-timeline__category {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.work-timeline__title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #1f1f1f;
}

.work-timeline__date {
  font-size: 0.82rem;
  color: var(--color-text-muted-page);
}

@media (min-width: 768px) {
  .work-timeline::before {
    left: 50%;
  }

  .work-timeline__trigger {
    grid-template-columns: 1fr 2.5rem 1fr;
    gap: 0 1.5rem;
    padding: 0.5rem 0.5rem;
  }

  .work-timeline__marker {
    grid-column: 2;
    grid-row: 1;
  }

  .work-timeline__body {
    grid-row: 1;
    max-width: min(320px, 42vw);
  }

  .work-timeline__item:nth-child(odd) .work-timeline__body {
    grid-column: 1;
    justify-self: end;
    text-align: right;
    align-items: flex-end;
  }

  .work-timeline__item:nth-child(even) .work-timeline__body {
    grid-column: 3;
    justify-self: start;
    text-align: left;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-timeline__item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .work-timeline__dot {
    transition: none;
  }
}

/* Timeline detail modal */
.timeline-modal {
  backdrop-filter: blur(4px);
}

.timeline-modal__dialog {
  max-width: min(560px, 100%);
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  color: var(--color-petrol);
  border: none;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  transform: scale(0.96) translateY(14px);
  opacity: 0;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-modal.is-open .timeline-modal__dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.timeline-modal__close {
  z-index: 2;
  background: var(--color-mint);
  border: none;
  color: var(--color-petrol);
}

.timeline-modal__close:hover {
  background: var(--color-sky);
  color: var(--color-petrol);
}

.timeline-modal__content {
  padding: 1.75rem 1.5rem 1.5rem;
}

.timeline-modal__category {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.timeline-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--color-petrol);
  margin-bottom: 0.4rem;
  padding-right: 2rem;
}

.timeline-modal__meta {
  font-size: 0.88rem;
  color: var(--color-petrol);
  opacity: 0.8;
  margin-bottom: 1rem;
}

.timeline-modal__media {
  margin: 0 0 1.1rem;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-mint);
  aspect-ratio: 3 / 2;
}

.timeline-modal__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-modal__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-petrol);
}

@media (prefers-reduced-motion: reduce) {
  .timeline-modal__dialog {
    transform: none;
    transition: opacity 0.2s ease;
  }
}

.exp-ring {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  outline: none;
}

.exp-ring__frame {
  position: relative;
  width: min(92vw, 680px);
  aspect-ratio: 1;
}

.exp-ring__photo-rotor {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform-origin: 50% 50%;
  will-change: transform;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.1);
}

.exp-ring__segment {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.exp-ring__segment img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 145%;
  height: 145%;
  margin: -72.5% 0 0 -72.5%;
  object-fit: cover;
  pointer-events: none;
  filter: saturate(0.92) contrast(1.04);
}

.exp-ring__inner-disc {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background-color: var(--color-bg-page);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.06),
    inset 0 0 40px rgba(0, 0, 0, 0.03);
  z-index: 2;
}

.exp-ring__center {
  position: absolute;
  inset: 26%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem 1rem 2rem;
}

.exp-ring__logo {
  width: clamp(2.6rem, 7vw, 3.4rem);
  height: clamp(2.6rem, 7vw, 3.4rem);
  margin-bottom: 0.75rem;
}

.exp-ring__logo-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(184, 115, 51, 0.25));
}

.exp-ring__event {
  max-width: 15.5rem;
  opacity: 0;
  transform: translateY(0.65rem);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.exp-ring__event.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.exp-ring__event.is-exiting {
  opacity: 0;
  transform: translateY(-0.5rem);
}

.exp-ring__event.is-entering {
  opacity: 0;
  transform: translateY(0.65rem);
}

.exp-ring__event-category {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.exp-ring__event-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #1f1f1f;
  margin-bottom: 0.4rem;
}

.exp-ring__event-meta {
  font-size: clamp(0.62rem, 1.5vw, 0.72rem);
  line-height: 1.45;
  color: #6b6560;
  margin-bottom: 0.55rem;
}

.exp-ring__event-sep {
  margin: 0 0.25rem;
}

.exp-ring__event-desc {
  font-size: clamp(0.68rem, 1.6vw, 0.78rem);
  line-height: 1.55;
  color: #55514c;
}

.exp-ring__control {
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.exp-ring__rotate-btn {
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1.5px solid #c8c2ba;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: #5c574f;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.exp-ring__rotate-btn svg {
  width: 1.55rem;
  height: 1.55rem;
}

.exp-ring__rotate-btn:hover,
.exp-ring__rotate-btn:focus-visible {
  color: var(--color-accent);
  border-color: var(--color-accent);
  outline: none;
  transform: rotate(90deg);
}

.exp-ring.is-ready .exp-ring__rotate-btn {
  animation: expRingPulse 2.8s ease-in-out infinite;
}

@keyframes expRingPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 98, 114, 0); }
  50% { box-shadow: 0 0 0 6px rgba(0, 98, 114, 0.1); }
}

.exp-ring__hint {
  font-family: var(--font-simple);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a847c;
  white-space: nowrap;
}

.service-article--compact {
  margin-bottom: 1rem;
}

.service-article--work {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.work-more-projects {
  --tl-dot-size: 14px;
  --more-projects-marker: 2.5rem;
  --more-projects-gap: 1.15rem;
  --more-projects-content: min(40rem, 100%);
  position: relative;
  max-width: min(920px, 100%);
  margin: 0 auto 2rem;
  padding: 0 clamp(0.25rem, 2vw, 1rem);
  text-align: left;
}

.work-more-projects__title {
  max-width: var(--more-projects-content);
  margin: 0 0 1.25rem;
  padding: 0 0 0 calc(var(--more-projects-marker) + var(--more-projects-gap));
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-page);
  line-height: 1.25;
}

.work-more-projects__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--more-projects-content);
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.5vw, 1rem);
}

.work-more-projects__item {
  display: flex;
  align-items: flex-start;
  gap: var(--more-projects-gap);
}

.work-more-projects__item .work-timeline__marker {
  flex: 0 0 var(--more-projects-marker);
  display: flex;
  justify-content: center;
  padding-top: 0.3em;
}

.work-more-projects__text {
  flex: 1;
  min-width: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--color-text-muted-page);
  text-align: left;
}

.work-contact-cta {
  max-width: 640px;
  margin: 0 auto 3rem;
  padding: 2rem 0.5rem 0;
  text-align: center;
  border-top: 2px solid rgba(0, 98, 114, 0.12);
}

.work-contact-cta__lead {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--color-text-page);
  margin-bottom: 1rem;
}

.work-contact-cta__heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-page);
  margin-bottom: 1rem;
}

.work-contact-cta__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.work-contact-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.work-contact-cta__link:hover,
.work-contact-cta__link:focus-visible {
  color: var(--color-accent-hot);
  outline: none;
  text-decoration: underline;
}

.work-contact-cta__icon {
  flex-shrink: 0;
  color: var(--color-accent);
}

@media (max-width: 640px) {
  .exp-ring__frame {
    width: min(94vw, 420px);
  }

  .exp-ring__inner-disc {
    inset: 20%;
  }

  .exp-ring__center {
    inset: 24%;
    padding-bottom: 2.5rem;
  }

  .exp-ring__event-desc {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .exp-ring__control {
    bottom: 5%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .exp-ring__photo-rotor,
  .exp-ring__event,
  .exp-ring__rotate-btn {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   Color accents — warmer, more vivid site (keeps black offers)
   ============================================================ */

body {
  background: var(--color-bg-page);
}

.site-header {
  border-bottom: 2px solid rgba(0, 98, 114, 0.15);
}

.logo-text__last {
  color: var(--color-accent);
}

.nav-link::after {
  display: block;
  content: "";
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  bottom: 0.15rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.home-headline {
  background: radial-gradient(
    ellipse 55% 45% at 50% 45%,
    var(--color-sky) 0%,
    var(--color-sky) 22%,
    var(--color-mint) 38%,
    #ffffff 72%
  );
  margin-bottom: 0.5rem;
}

.home-about {
  background: transparent;
  padding: clamp(2rem, 5vw, 2.75rem) max(1rem, 4vw) 3rem;
  border-radius: 0;
  box-shadow: none;
}

.home-about .about-photo {
  border-color: var(--color-accent);
  box-shadow: 0 12px 32px rgba(0, 98, 114, 0.12);
}

.home-about .about-intro h2 {
  color: var(--color-accent);
}

.services-b {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.services-b__label::after,
.reviews__label::after {
  display: block;
  content: "";
  width: 2.5rem;
  height: 3px;
  margin: 0.45rem auto 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-teal));
  border-radius: 2px;
}

.homepage-b .photo-card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 98, 114, 0.15);
}

.homepage-b .photo-card img {
  filter: saturate(1.12) contrast(1.04);
}

.homepage-b .photo-card:nth-child(1) .photo-card__gradient {
  background: linear-gradient(to top, rgba(0, 98, 114, 0.94) 0%, rgba(0, 133, 150, 0.55) 45%, transparent 100%);
}

.homepage-b .photo-card:nth-child(2) .photo-card__gradient {
  background: linear-gradient(to top, rgba(20, 163, 184, 0.92) 0%, rgba(0, 98, 114, 0.5) 45%, transparent 100%);
}

.homepage-b .photo-card:nth-child(3) .photo-card__gradient {
  background: linear-gradient(to top, rgba(0, 133, 150, 0.92) 0%, rgba(20, 163, 184, 0.5) 45%, transparent 100%);
}

.homepage-b .photo-card:nth-child(4) .photo-card__gradient {
  background: linear-gradient(to top, rgba(0, 70, 82, 0.94) 0%, rgba(20, 163, 184, 0.5) 45%, transparent 100%);
}

.homepage-b .photo-card:hover {
  box-shadow: 0 20px 44px rgba(0, 98, 114, 0.28);
}

.homepage-b .reviews {
  background: var(--color-mint);
  padding: 2.5rem 1.25rem 3.5rem;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  border-radius: 20px;
  max-width: min(1100px, calc(100% - 2rem));
}

.homepage-b .review-card {
  background: #ffffff;
  color: var(--color-text-page);
  border: 1px solid rgba(0, 98, 114, 0.14);
  border-top: 4px solid var(--color-accent);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 98, 114, 0.08);
}

.homepage-b .review-card:nth-child(2) {
  border-top-color: var(--color-accent-hot);
}

.homepage-b .review-card:nth-child(3) {
  border-top-color: var(--color-teal);
}

.homepage-b .review-card:hover {
  border-color: rgba(0, 98, 114, 0.28);
  box-shadow: 0 14px 32px rgba(0, 98, 114, 0.14);
}

.homepage-b .review-card__text {
  color: var(--color-text-muted-page);
}

.homepage-b .review-card__author {
  border-top-color: rgba(0, 98, 114, 0.15);
}

.homepage-b .review-card__author strong {
  color: var(--color-text-page);
}

.homepage-b .review-card__stars {
  color: var(--color-accent);
}

.homepage-b .signup-section--b {
  background: linear-gradient(135deg, var(--color-mint) 0%, var(--color-sky) 55%, rgba(0, 98, 114, 0.1) 100%);
  color: var(--color-text-page);
  border-top: 3px solid var(--color-accent);
}

.homepage-b .signup-section--b .signup-heading {
  color: var(--color-text-page);
}

.homepage-b .signup-section--b .form-group input {
  background: #ffffff;
  border-color: rgba(0, 98, 114, 0.25);
  color: var(--color-text-page);
}

.home-contacts {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
}

.home-contacts__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.home-contacts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.home-contacts__list li {
  color: var(--color-text-muted-page);
}

.home-contacts__label {
  font-weight: 600;
  color: var(--color-text-page);
  margin-right: 0.35rem;
}

.home-contacts__list a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.home-contacts__list a:hover,
.home-contacts__list a:focus-visible {
  color: var(--color-accent-hot);
  text-decoration: underline;
  outline: none;
}

.subpage .page-headline {
  padding: 1.75rem 1.25rem 2rem;
  margin-bottom: 2rem;
  background: transparent;
  border-radius: 0;
}

/* Service subpages — plain background without decorative ellipses */
body.page-pro-firmy,
body.page-pro-rodiny,
body.page-pro-jednotlivce {
  background: var(--color-bg-page);
}

.subpage .page-headline h1 {
  color: var(--color-text-page);
}

.subpage .section-title {
  border-bottom: 3px solid var(--color-accent);
  padding-bottom: 0.4rem;
}

.subpage .atmosphere-photo {
  border-color: var(--color-accent);
  box-shadow: 0 12px 36px rgba(0, 98, 114, 0.12);
}

.subpage .atmosphere-photo img {
  filter: saturate(1.08) contrast(1.03);
}

.gallery-section .section-title {
  border-bottom: 3px solid var(--color-accent);
}

.gallery-carousel .gallery-slide__frame {
  border-color: rgba(0, 98, 114, 0.35);
  box-shadow: 0 8px 24px rgba(0, 98, 114, 0.1);
}

.gallery-carousel .gallery-caption {
  color: var(--color-accent);
  font-weight: 500;
}

.site-footer {
  background: linear-gradient(180deg, var(--color-mint) 0%, var(--color-bg-page) 100%);
  border-top: 2px solid rgba(0, 98, 114, 0.2);
  color: var(--color-text-muted-page);
}

.footer-link:hover {
  color: var(--color-accent);
}

.page-work .exp-ring__event-category {
  color: var(--color-accent);
}

/* Pro firmy — contact form centered */
.subpage .contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 1rem;
}

.subpage .contact-section .section-title {
  text-align: center;
}

.subpage .contact-section .contact-form {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.subpage .contact-section .btn-primary {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.subpage .contact-section .form-success,
.subpage .contact-section .form-error {
  text-align: center;
}

/* Light subpages — white form fields */
.subpage .form-group label {
  color: var(--color-text-page);
}

.subpage .form-group input,
.subpage .form-group textarea,
.subpage .form-group select {
  background: #ffffff;
  color: var(--color-text-page);
  border: 2px solid #3d3d3d;
}

.subpage .form-group input::placeholder,
.subpage .form-group textarea::placeholder {
  color: #9ca3af;
}

.subpage .form-group input:focus,
.subpage .form-group textarea:focus,
.subpage .form-group select:focus {
  background: #ffffff;
  color: var(--color-text-page);
  border-color: #3d3d3d;
  outline: none;
}

.subpage .form-group select option {
  background: #ffffff;
  color: var(--color-text-page);
}

.subpage .form-success {
  background: var(--color-mint);
  color: var(--color-text-page);
  border: 2px solid rgba(0, 98, 114, 0.2);
}

.subpage .contact-section .btn-primary {
  background: #000000;
  color: #ffffff;
  border: 2px solid #3d3d3d;
}

.subpage .contact-section .btn-primary:hover,
.subpage .contact-section .btn-primary:focus-visible {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  outline: none;
}

/* Collapsible contact form — Pro firmy */
.contact-section--collapsible {
  gap: 0;
}

.contact-section--collapsible .contact-section__toggle {
  text-align: center;
  hyphens: manual;
}

.contact-section--collapsible .contact-section__toggle {
  min-width: min(100%, 22rem);
  padding: 0.9rem 2.25rem;
  font-family: var(--font-simple);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.contact-section--collapsible .contact-section__toggle:hover,
.contact-section--collapsible .contact-section__toggle:focus-visible {
  transform: translateY(-2px);
}

.contact-section__quiz {
  width: 100%;
  max-width: 560px;
  margin: 1.25rem auto 0;
  text-align: center;
}

.contact-section__quiz-question {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--color-text-muted-page);
  margin-bottom: 0.5rem;
}

.contact-section__quiz-link {
  margin: 0;
  font-size: 1rem;
}

.contact-section__quiz-link a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-section__quiz-link a:hover,
.contact-section__quiz-link a:focus-visible {
  color: var(--color-accent-hot);
  text-decoration: underline;
  outline: none;
}

.contact-section--collapsible .contact-section__panel {
  display: grid;
  grid-template-rows: 0fr;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-section--collapsible.is-open .contact-section__panel {
  grid-template-rows: 1fr;
  margin-top: 1.25rem;
}

.contact-section--collapsible .contact-section__panel-inner {
  position: relative;
  overflow: hidden;
  padding-top: 0.5rem;
}

.contact-section--collapsible.is-open .contact-section__panel-inner {
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
}

.contact-section--collapsible .section-title {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .contact-section--collapsible .contact-section__panel {
    transition: none;
  }

  .contact-section--collapsible .contact-section__toggle:hover {
    transform: none;
  }
}

/* ============================================================
   Site-wide mobile enhancements
   ============================================================ */

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

a,
button,
input,
select,
textarea,
[role="button"] {
  -webkit-tap-highlight-color: rgba(0, 98, 114, 0.15);
}

body {
  overflow-x: clip;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.nav-backdrop:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

body.has-nav-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 44px;
    min-height: 44px;
    margin-left: auto;
    padding: 0;
    border: 2px solid rgba(0, 98, 114, 0.22);
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-text-page);
    cursor: pointer;
    flex-shrink: 0;
    z-index: 202;
    transition:
      background 0.2s ease,
      border-color 0.2s ease;
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    background: var(--color-mint);
    border-color: var(--color-accent);
    outline: none;
  }

  .nav-toggle__bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 1.2rem;
    height: 1rem;
  }

  .nav-toggle__bars span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 1px;
    transition:
      transform 0.28s ease,
      opacity 0.2s ease;
  }

  .site-header.is-nav-open .nav-toggle__bars span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-nav-open .nav-toggle__bars span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-nav-open .nav-toggle__bars span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header {
    position: sticky;
    z-index: 201;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .corner-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(88vw, 18.5rem);
    height: 100dvh;
    height: 100vh;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-height) + 0.75rem) 1.25rem 2rem;
    background: #ffffff;
    box-shadow: -10px 0 36px rgba(0, 0, 0, 0.14);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 210;
  }

  body.has-nav-open .corner-nav {
    transform: translateX(0);
  }

  .corner-nav .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.75rem 0.35rem;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    white-space: normal;
    border-bottom: 1px solid rgba(0, 98, 114, 0.1);
  }

  .corner-nav .nav-link:last-child {
    border-bottom: none;
  }

  .subpage {
    padding: 1.5rem 1rem 2.5rem;
  }

  .subpage--work {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .subpage .page-headline {
    padding: 1.25rem 0.85rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
  }

  .page-headline h1 {
    overflow-wrap: anywhere;
  }

  .page-headline p {
    font-size: 1rem;
  }

  .atmosphere-photo {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

  .service-article h2,
  .section-title {
    font-size: 1.15rem;
    max-width: 100%;
  }

  .offer-card .btn-primary {
    width: 100%;
    min-height: 44px;
  }

  .btn-primary {
    min-height: 44px;
  }

  .gallery-arrow {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 44px;
    min-height: 44px;
  }

  .gallery-carousel .gallery-caption {
    font-size: 0.9rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .work-timeline {
    padding-left: 0;
    padding-right: 0.25rem;
  }

  .work-timeline__trigger {
    min-height: 44px;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .timeline-modal {
    padding: 0.65rem;
    align-items: center;
  }

  .timeline-modal__dialog {
    max-height: min(90dvh, 90vh);
    border-radius: 14px;
  }

  .timeline-modal__content {
    padding: 1.35rem 1.1rem 1.25rem;
  }

  .timeline-modal__title {
    font-size: 1.1rem;
    padding-right: 1.75rem;
  }

  .modal {
    padding: 0.75rem;
  }

  .modal-dialog {
    max-height: min(90dvh, 90vh);
  }

  .home-headline {
    padding: 2.25rem 1rem 1.25rem;
  }

  .home-headline__name {
    font-size: clamp(calc(2.5rem + 20px), calc(12vw + 20px), calc(4rem + 20px));
    overflow-wrap: anywhere;
  }

  .home-headline__tagline {
    font-size: clamp(0.95rem, 4vw, 1.15rem);
    padding: 0 0.25rem;
  }

  .home-about {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .homepage-b .reviews {
    margin-left: 1rem;
    margin-right: 1rem;
    max-width: none;
    width: auto;
    padding: 2rem 1rem 2.5rem;
    border-radius: 14px;
  }

  .reviews__grid {
    gap: 1rem;
  }

  .review-card {
    padding: 1.15rem;
  }

  .home-contacts {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-footer {
    padding: 1.75rem 1rem;
    font-size: 0.82rem;
  }

  .footer-nav {
    gap: 0.5rem 0.85rem;
  }

  .legal-content p,
  .legal-content li {
    font-size: 1rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  /* Pro firmy — intro, benefits, collapsible form */
  .service-intro {
    gap: 1.35rem;
    margin-bottom: 2rem;
  }

  .service-intro__row {
    gap: 1.25rem;
  }

  .service-intro .service-benefits h2,
  .service-intro .service-benefits h3 {
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  .service-article h3 {
    font-size: 1rem;
    margin-top: 1rem;
  }

  .subpage .form-group input,
  .subpage .form-group textarea,
  .subpage .form-group select {
    font-size: 16px;
    min-height: 44px;
  }

  .subpage .form-group textarea {
    min-height: 7rem;
  }

  .contact-section--collapsible {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .contact-section__quiz {
    max-width: 100%;
    margin-top: 1rem;
    padding: 0 0.25rem;
  }

  .contact-section--collapsible .contact-section__toggle {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
  }

  .contact-section--collapsible .contact-section__panel {
    max-width: 100%;
  }

  .subpage .contact-section .contact-form {
    max-width: 100%;
  }

  .subpage .contact-section .btn-primary#contact-submit,
  .contact-section--collapsible .contact-section__toggle {
    width: 100%;
    max-width: 100%;
  }

  .work-more-projects {
    padding-left: 0;
    padding-right: 0;
  }

  .work-more-projects__list {
    max-width: 100%;
  }

  .work-more-projects__title {
    font-size: 1rem;
  }

  .work-more-projects__text {
    font-size: 1rem;
  }

  .work-timeline__title {
    font-size: clamp(0.88rem, 3.5vw, 1.05rem);
    overflow-wrap: anywhere;
    line-height: 1.25;
  }

  .work-timeline__category,
  .work-timeline__date {
    font-size: 0.78rem;
  }

  .work-contact-cta {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 2rem;
  }

  .work-contact-cta__link {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    max-width: 100%;
  }

  .work-contact-cta__link span {
    overflow-wrap: anywhere;
  }

  .offer-card {
    padding: 1.15rem;
    gap: 1rem;
  }

  .offer-package {
    overflow: hidden;
  }

  .gallery-section {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }

  .about-grid {
    gap: 1.25rem;
  }
}

@media (max-width: 520px) {
  .services-b__grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin: 0 auto;
  }

  .photo-card {
    aspect-ratio: 4 / 3;
  }

  .photo-card__text {
    grid-template-rows: 2.6em 4.05em;
  }

  .photo-card__text h2 {
    font-size: 0.85rem;
    min-height: 2.6em;
  }

  .photo-card__text p {
    font-size: 0.72rem;
    min-height: 4.05em;
    -webkit-line-clamp: 3;
  }

  .signup-section,
  .homepage-b .signup-section--b {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero,
  .services-grid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .offer-features__list li {
    font-size: 0.92rem;
  }

  .work-timeline__trigger {
    gap: 0 0.85rem;
    padding-left: 0;
  }

  .work-timeline::before {
    left: calc(1rem + var(--tl-dot-size, 14px) / 2);
  }

  .work-more-projects__title {
    font-size: 0.92rem;
  }

  .contact-section--collapsible.is-open .contact-section__panel {
    margin-top: 1rem;
  }

  .page-headline h1 {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }
}

@supports (padding: max(0px)) {
  .site-footer {
    padding-bottom: max(1.75rem, env(safe-area-inset-bottom));
  }

  .corner-nav {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  .site-header {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

/* Block-aligned (justified) text — articles and body copy */
main p,
.service-article p,
.about-intro p,
.offer-content p,
.offer-intro,
.offer-features__list li,
.legal-content p,
.legal-content li,
.review-card p,
.timeline-modal__desc,
.gallery-slide--stacked .gallery-slide__caption,
.hero-desc,
.hero-b__desc {
  text-align: justify;
  hyphens: auto;
}

.page-headline,
.page-headline p,
.home-headline,
.home-headline__name,
.home-headline__tagline,
.home-headline__tagline .home-headline__word,
.services-b__label,
.reviews,
.reviews__label,
.reviews__title,
.signup-section,
.signup-heading,
.work-contact-cta,
.work-contact-cta p,
.work-contact-cta__link,
.contact-section__quiz,
.contact-section__quiz-question,
.contact-section__quiz-link,
.work-more-projects__title,
.work-more-projects__text,
.work-timeline__trigger,
.work-timeline__body,
.work-timeline__category,
.work-timeline__title,
.work-timeline__date,
.timeline-modal__category,
.timeline-modal__title,
.timeline-modal__meta,
.site-footer,
.site-footer p,
.gallery-caption,
.gallery-slide__caption:not(.gallery-slide--stacked .gallery-slide__caption),
.corner-nav,
.nav-link,
.service-article h2,
.service-article h3,
.service-article--center,
.service-article--center p,
.service-article--center .service-article__intro p,
.section-title,
.page-headline h1,
.form-group label,
.form-success,
.form-error,
.simpleshop-note {
  text-align: unset;
  hyphens: manual;
}

.page-headline,
.page-headline p {
  text-align: center;
}

.home-headline,
.home-headline__tagline {
  text-align: center;
}

.work-contact-cta,
.work-contact-cta p {
  text-align: center;
}

.contact-section__quiz,
.contact-section__quiz-question,
.contact-section__quiz-link {
  text-align: center;
}

.service-article--center,
.service-article--center p,
.service-article--center .service-article__intro p {
  text-align: center;
  hyphens: manual;
}

.work-more-projects,
.work-more-projects__title,
.work-more-projects__text {
  text-align: left;
  hyphens: manual;
}

.work-timeline__trigger,
.work-timeline__body {
  text-align: left;
}

.services-b__label,
.reviews,
.reviews__label,
.reviews__title {
  text-align: center;
  hyphens: manual;
}

.signup-section {
  text-align: center;
}

.site-footer {
  text-align: center;
}
