﻿:root {
  --bg-main: rgba(85, 109, 125, 0.99);
  --bg-contact: rgba(77, 98, 113, 1);
  --bg-footer: rgba(60, 77, 88, 1);
  --font-accent: rgba(156, 199, 228, 1);
  --text-main: #ffffff;
  --hero-text: #1d255c;
  --hero-accent: rgba(224, 0, 57, 1);
  --hero-muted: #6f8597;
  --hero-border: #dbe7f0;
  --hero-shadow: 0 18px 40px rgba(27, 54, 76, 0.12);
  --outer-padding-x: clamp(16px, 3vw, 36px);
  --header-height: 15svh;
  --footer-height: 15svh;
  --logo-width: 57.5%;
  --logo-width-tablet: 68%;
  --logo-width-mobile: 80.5%;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

body {
  min-height: 100vh;
  min-height: 100svh;
}

.kiosk {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 var(--outer-padding-x);
}

.header {
  flex: 0 0 var(--header-height);
  margin: 0 calc(var(--outer-padding-x) * -1);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--outer-padding-x);
}

.logo-image {
  display: block;
  flex: 0 0 var(--logo-width-mobile);
  width: var(--logo-width-mobile);
  max-width: none;
  height: auto;
}

.hero {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  justify-content: center;
  margin: 0 calc(var(--outer-padding-x) * -1);
  background: #ffffff;
}

.hero-inner {
  width: min(1800px, 92%);
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vh, 40px) var(--outer-padding-x);
  background: #ffffff;
}

.hero-content {
  width: 100%;
  display: grid;
  gap: clamp(20px, 2.4vh, 34px);
}

.hero-copy {
  display: grid;
  gap: 24px;
  text-align: center;
}

.hero-title {
  margin: 0;
  color: var(--font-accent);
  font-size: clamp(1.45rem, 5.2vw, 3.1rem);
  line-height: 1.15;
  font-weight: 800;
}

.tiles-grid {
  display: grid;
  gap: clamp(16px, 1.8vw, 28px);
}

.tiles-grid-cards {
  grid-template-columns: 1fr;
}

.tile {
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.tile-card {
  min-height: clamp(190px, 20vh, 260px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4.8vw, 42px);
  border: 1px solid var(--hero-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--hero-shadow);
  text-align: center;
}

.tile-card-link {
  position: relative;
  cursor: pointer;
}

.tile-card-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.tile-title {
  margin: 0 0 18px;
  color: var(--hero-accent);
  font-size: clamp(1.15rem, 4.8vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
}

.tile-description {
  margin: 0;
  color: var(--hero-muted);
  font-size: clamp(1rem, 4.2vw, 1.7rem);
  line-height: 1.35;
}

/* przyciski */
.tile-cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: auto;
  min-width: min(100%, 400px);
  padding: 20px 35px;
  border-radius: 21px;
  border: 2px solid rgba(224, 0, 57, 1);
  font: inherit;
  font-size: clamp(1.45rem, 6vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    color 0.2s ease;
}

.tile-cta:hover,
.tile-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(27, 54, 76, 0.16);
}

.tile-cta-outline {
  background: #ffffff;
  color: rgba(224, 0, 57, 1);
}

.tile-cta-solid {
  background: rgba(224, 0, 57, 1);
  color: #ffffff;
}
.tile.is-highlight {
  transform: translateY(-4px);
  border-color: rgba(141, 182, 216, 0.85);
  box-shadow: 0 24px 52px rgba(27, 54, 76, 0.18);
}

.font-accent {
  color: var(--font-accent);
}

.footer {
  flex: 0 0 var(--footer-height);
  display: flex;
  flex-direction: column;
  margin: 0 calc(var(--outer-padding-x) * -1);
}

.footer-contact {
  flex: 0 0 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-contact);
  padding: 8px 18px;
  text-align: center;
}

.contact-line {
  margin: 0;
  font-size: clamp(1.1rem, 4.3vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
}

.footer-empty {
  flex: 1 1 30%;
  min-height: 0;
  background: var(--bg-footer);
}

@media (min-width: 700px) {
  .hero-title {
    font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  }

  .tile-card {
    min-height: clamp(220px, 18vh, 300px);
    padding: clamp(30px, 3.4vw, 46px);
  }


.tile-title {
    font-size: clamp(1.3rem, 2.4vw, 2rem);
  }

  .tile-description {
    font-size: clamp(1.08rem, 2vw, 1.7rem);
  }
}

@media (min-width: 900px) {
  .logo-image {
    flex: 0 0 var(--logo-width-tablet);
    width: var(--logo-width-tablet);
  }

  .hero-inner {
    width: min(1600px, 88%);
  }

  .hero-content {
    gap: clamp(24px, 2.8vh, 38px);
  }

  .tiles-grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile-card {
    min-height: clamp(240px, 18vh, 340px);
    padding: clamp(34px, 2.6vw, 54px);
  }


.tile-title {
    font-size: clamp(1.4rem, 1.5vw, 2.1rem);
  }

  .tile-description {
    font-size: clamp(1.15rem, 1.2vw, 1.75rem);
  }

  .contact-line {
    font-size: clamp(1.5rem, 2.2vw, 3rem);
  }
}

@media (min-width: 1280px) {
  .logo-image {
    flex: 0 0 var(--logo-width);
    width: var(--logo-width);
  }

  .hero-inner {
    width: min(1800px, 86%);
  }

  .tile-card {
    min-height: clamp(260px, 20vh, 380px);
    padding: clamp(38px, 2.8vw, 60px);
  }
}

@media (min-width: 2000px) and (orientation: landscape) {
  .hero-inner {
    width: min(2500px, 92%);
  }

  .hero-content {
    gap: clamp(30px, 3vh, 46px);
  }

  .tile-card {
    min-height: clamp(320px, 22vh, 480px);
    padding: clamp(44px, 3vw, 72px);
  }


.tile-title {
    font-size: clamp(1.9rem, 2.1vw, 3rem);
  }

  .tile-description {
    font-size: clamp(1.5rem, 1.7vw, 2.4rem);
  }
}

@media (max-width: 900px) {
  .footer-contact {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (orientation: portrait) and (min-width: 1400px) {
  .hero-inner {
    width: min(1800px, 92%);
  }

  .hero-content {
    gap: clamp(32px, 3.2vh, 44px);
  }

  .tiles-grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 2.4vw, 40px);
  }

  .tile-card {
    min-height: clamp(520px, 28vh, 760px);
    padding: clamp(72px, 5vw, 108px);
  }


.tile-title {
    font-size: clamp(1.9rem, 3vw, 3rem);
  }

  .tile-description {
    font-size: clamp(1.9rem, 3vw, 3rem);
  }
}











