/* Ustawienia wspólne */
:root {
  --ink: #07152d;
  --blue: #006af5;
  --blue-dark: #0053c4;
  --line: #dbe5f0;
  --soft: #f3f7fc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

/* Przyciski */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.button-primary {
  color: #fff;
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-outline {
  border-color: #fff;
  color: #fff;
  background: rgb(7 21 45 / 65%);
}

.button-outline:hover {
  background: rgb(7 21 45 / 78%);
}

/* Panorama Mekongu */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 36vw, 560px);
  padding-block: var(--header-offset) 24px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #12263d;
  text-align: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 108px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  text-shadow: 0 3px 16px rgb(0 0 0 / 70%);
}

.hero-name-accent {
  color: #22bcff;
}

.hero-description {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  margin: 18px auto 26px;
  font-size: clamp(16px, 2vw, 25px);
  font-weight: 700;
  text-shadow:
    0 2px 8px #000,
    0 0 16px #000;
}

.hero-description span + span::before {
  content: "•";
  margin-right: 12px;
  color: #25c6ff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Pasek usług */
.services {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-block: 0;
  padding: 16px 0;
  list-style: none;
}

.service-item {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 4px 12px;
  text-align: center;
}

.service-item + .service-item {
  border-left: 1px solid var(--line);
}

.service-item span {
  color: #45566c;
  font-size: 0.85rem;
}

/* Przykładowe szablony */
.templates {
  padding-block: 24px 44px;
}

.templates h2 {
  margin: 0 0 24px;
  font-size: clamp(23px, 3vw, 36px);
  line-height: 1.15;
  text-align: center;
}

.templates h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: var(--blue);
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.template-card {
  display: flex;
  align-items: flex-end;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, #1e5184, #08162b);
  box-shadow: 0 4px 14px rgb(7 21 45 / 10%);
}

.template-card-body {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 16px;
  color: #fff;
  background: rgb(7 21 45 / 85%);
}

.template-card h3 {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 20px);
  overflow-wrap: anywhere;
}

.template-status {
  color: #d8e5f6;
  font-size: 0.85rem;
}

/* Stopka */
.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  font-size: 0.9rem;
}

.footer-inner a {
  color: var(--blue-dark);
  text-decoration: underline;
}

/* Telefon */
@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero {
    min-height: 360px;
    padding-block: var(--header-offset) 32px;
  }

  .hero h1 {
    font-size: clamp(30px, 9.3vw, 64px);
  }

  .hero-description {
    max-width: 420px;
    gap: 4px 8px;
    margin-block: 14px 24px;
    font-size: clamp(15px, 4vw, 20px);
  }

  .hero-description span + span::before {
    margin-right: 8px;
  }

  .hero-description span:last-child {
    flex-basis: 100%;
  }

  .hero-description span:last-child::before {
    content: none;
  }

  .hero-actions {
    flex-direction: column;
    width: min(100%, 235px);
    margin: 30px auto 0;
    gap: 8px;
  }

  .hero-actions .button {
    font-size: 14px;
    padding-inline: 14px;
  }

  .services-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-block: 12px;
  }

  .service-item {
    padding-inline: 4px;
    font-size: clamp(11px, 3vw, 14px);
    overflow-wrap: anywhere;
  }

  .service-item span,
  .service-support {
    display: none;
  }

  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .template-card {
    min-height: 170px;
  }

  .template-card-body {
    padding: 10px;
  }
}

.hero-emblem {
  display: none;
}

@media (min-width: 761px) {
  .hero-emblem {
    display: block;
    width: clamp(260px, 40vw, 520px);
    height: auto;
    max-height: 225px;
    object-fit: contain;
    margin: 0 auto 4px;
  }
}
.studio-icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
}

.service-icon {
  width: 22px;
  height: 22px;
  margin-right: 5px;
  vertical-align: middle;
  color: #006bd6;
}

@media (max-width: 760px) {
  .service-icon {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 auto 4px;
  }
}
.template-card.template-restaurant {
  position: relative;
  container-type: size;
  background: #fff;
}

/* The localized text sits over the same photograph as the restaurant demo. */
.restaurant-preview {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(100%, calc(100cqh * 323 / 264));
  aspect-ratio: 323 / 264;
  align-self: center;
  container-type: inline-size;
  color: #171717;
}

.restaurant-preview-hero {
  position: absolute;
  inset: 0 0 41%;
  clip-path: polygon(
    0 0, 100% 0, 100% 89%, 94% 90%, 88% 93%, 82% 89%, 76% 96%,
    70% 93%, 65% 90%, 59% 87%, 53% 94%, 48% 96%, 42% 93%, 37% 91%,
    32% 96%, 26% 100%, 21% 93%, 16% 96%, 12% 89%, 8% 95%, 4% 92%, 0 89%
  );
}

.restaurant-preview-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-preview-logo {
  position: absolute;
  top: 1%;
  left: 5%;
  width: 34%;
}

.restaurant-preview-logo img {
  width: 100%;
  height: auto;
}

.restaurant-preview :is(.restaurant-preview-menu, .restaurant-preview-title, .restaurant-preview-subtitle) {
  position: absolute;
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 3px #000, 0 1px 6px #000;
}

.restaurant-preview-menu {
  top: 7%;
  right: 8%;
  font-size: 5.5cqw;
}

.restaurant-preview-title,
.restaurant-preview-subtitle {
  inset-inline: 4%;
  text-align: center;
}

.restaurant-preview-title {
  top: 26%;
  font-size: 7.4cqw;
}

.restaurant-preview-subtitle {
  top: 39%;
  font-size: 4.3cqw;
}

.restaurant-preview-country {
  position: absolute;
  top: 66%;
  left: 10%;
  display: flex;
  align-items: center;
  gap: 4cqw;
  font-size: 11cqw;
  font-weight: 900;
  line-height: 1.25;
  font-family: Impact, "Arial Black", sans-serif;
}

html[lang="lo"] .restaurant-preview-country {
  font-family: inherit;
}

.restaurant-preview-flag {
  width: 19.5cqw;
  aspect-ratio: 3 / 2;
  border-radius: 1.5cqw;
  background:
    radial-gradient(circle, #fff 0 24%, transparent 25%),
    linear-gradient(#ce1126 25%, #002868 25% 75%, #ce1126 75%);
  box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
}

.restaurant-preview-caption {
  position: absolute;
  inset: 90% 5% auto 10%;
  font-size: 5cqw;
  font-weight: 800;
  line-height: 1.2;
}
