/* =========================================================
   ZÁKLADNÉ NASTAVENIA
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Pri kliknutí na odkaz v menu nezalezie nadpis sekcie pod lištu. */
  scroll-padding-top: 70px;
}

body {
  margin: 0;
  background: #FAF3E6;
  color: #1F2528;
  font-family: "Barlow", Arial, sans-serif;
  font-size: 16px;
}

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


/* =========================================================
   HLAVIČKA A NAVIGÁCIA
   ========================================================= */

/* Lišta s menom a menu je stále hore (aj pri scrollovaní). */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 70px;
  padding: 0 4.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

/* Keď sa odscrolluje z banneru, lišta dostane krémové pozadie
   (triedu pridáva script.js). */
.site-header.is-scrolled {
  background: rgba(250, 243, 230, 0.94);
  box-shadow: 0 1px 0 rgba(31, 37, 40, 0.12);
}

/* Keď je otvorené veľké menu, lišta je znova priehľadná. */
.site-header.menu-open {
  background: transparent;
  box-shadow: none;
}

.brand {
  font-size: 15.6px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transform: scaleX(0.75);
  transform-origin: left center;
}

.desktop-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  margin-right: 24px;
  font-size: 12px;
  font-weight: 500;
}

.desktop-nav a:hover {
  text-decoration: underline;
}

/* Prepínač jazyka (SK / DE) vedľa tlačidla menu */
.lang-switch {
  margin-right: 14px;
  padding: 6px 10px;
  border: 1px solid #1F2528;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
}

.lang-switch:hover {
  background: #1F2528;
  color: #FAF3E6;
}

.menu-button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #1F2528;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.menu-button span {
  display: block;
  width: 13px;
  height: 1px;
  background: #FAF3E6;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 15;
  width: 100%;
  height: 100%;
  padding: 110px 30px 40px;
  background: #FC4826;
  overflow-y: auto;
  /* Zatvorené menu je aj skryté, inak na nízkej obrazovke
     (mobil naležato) vytŕča jeho spodok zhora do stránky. */
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform 0.3s ease, visibility 0.3s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu.is-open {
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu a {
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 0.95;
}


/* =========================================================
   HERO BANNER
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 2560 / 1171;
  min-height: 650px;
  overflow: hidden;
  background: #FAF3E6;
  border-bottom: 32px solid #1F2528;
}

.hero-text {
  position: absolute;
  top: 16%;
  left: 4.5%;
  z-index: 5;
  width: 52%;
}

.hero h1 {
  margin: 0;
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-size: clamp(88px, 9.4vw, 240px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -4px;
}

.handwriting {
  margin: 46px 0 0;
  font-family: "Playwrite AU NSW", "Caveat", cursive;
  font-size: clamp(36.6px, 2.92vw, 75.1px);
  font-weight: 400;
  line-height: 1;
  transform: rotate(-10deg);
}

.hero-buttons {
  margin-top: 34px;
  margin-left: 48%;
  display: flex;
  gap: 12px;
}

.button {
  min-width: 132px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid #1F2528;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button span {
  margin-left: 12px;
  font-size: 20px;
  font-weight: 400;
}

.button-red {
  border-color: #FC4826;
  background: #FC4826;
  color: white;
}

.button-light {
  background: #FAF3E6;
}

.hero-photo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.hero-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-photo::after {
  display: none;
}

/* =========================================================
   O MNE
   ========================================================= */

.about {
  min-height: clamp(560px, 32vw, 820px);
  display: grid;
  grid-template-columns: 36% 64%;
  background: #A1C8CD;
  border-bottom: 32px solid #1F2528;
  overflow: hidden;
}

.about-heading {
  align-self: center;
  padding: 5% 0 5% 12%;
}

.about-label {
  margin: 0 0 28px;
  font-family: "Playwrite AU NSW", "Caveat", cursive;
  font-size: clamp(42px, 3vw, 76px);
  line-height: 1;
  transform: rotate(-10deg);
  transform-origin: left center;
}

.about h2 {
  width: 133.34%;
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(71.7px, 5.43vw, 138.9px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -4px;
  transform: scaleX(0.75);
  transform-origin: left top;
}

.about h2 span {
  display: block;
  white-space: nowrap;
}

.about-copy {
  align-self: center;
  padding: 8% 11% 8% 2%;
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.about-copy p {
  margin: 0;
}

.about-lead,
.about-detail {
  font-size: clamp(19px, 1.35vw, 34px);
  font-weight: 400;
  line-height: 1.4;
}

.about-detail {
  margin-top: 42px !important;
}


/* =========================================================
   ČO ROBÍM
   ========================================================= */

.services {
  min-height: clamp(560px, 32.9vw, 842px);
  padding: clamp(44px, 3.2vw, 82px) 4.5%;
  display: grid;
  grid-template-columns: 36% 64%;
  align-items: center;
  background-color: #FC4826;
  background-image: url("images/services-bg.jpg");
  background-position: left bottom;
  background-size: cover;
  border-bottom: 32px solid #1F2528;
  overflow: hidden;
}

.services-intro h2 {
  width: 133.34%;
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(112px, 8.4vw, 215px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -4px;
  transform: scaleX(0.75);
  transform-origin: left top;
}

.services-intro p {
  margin: 40px 0 0 18%;
  font-family: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(18px, 1.35vw, 34px);
  line-height: 1.25;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 0.8vw, 20px);
}

.service-card {
  position: relative;
  width: 100%;
  justify-self: center;
  aspect-ratio: 329 / 706;
  overflow: hidden;
  border-radius: 18px;
  background: #FC4826;
  box-shadow: 0 10px 26px rgba(31, 37, 40, 0.16);
}

.service-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 28%;
  padding: 12% 10% 9%;
  color: #1F2528;
}

.service-card-copy h3 {
  margin: 0;
  font-family: "Barlow Semi Condensed", "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(18.4px, 1.2vw, 31px);
  font-weight: 700;
  line-height: 1.05;
}

.service-card-copy p {
  margin: 12px 0 0;
  font-size: clamp(13.8px, 0.83vw, 20.7px);
  line-height: 1.25;
}


/* =========================================================
   VYBRANÉ PROJEKTY
   ========================================================= */

.portfolio {
  min-height: clamp(600px, 34vw, 870px);
  display: grid;
  grid-template-columns: 28% 46% 26%;
  background: #FAF3E6;
  border-bottom: 32px solid #1F2528;
  overflow: hidden;
}

.portfolio-intro {
  padding: 12% 8% 10% 16%;
}

.portfolio-intro h2 {
  width: 133.34%;
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(92px, 7.1vw, 182px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -4px;
  transform: scaleX(0.75);
  transform-origin: left top;
}

.portfolio-intro p {
  margin: clamp(52px, 4vw, 102px) 0 0 18%;
  font-family: "Playwrite AU NSW", "Caveat", cursive;
  font-size: clamp(48px, 3.7vw, 95px);
  line-height: 1.15;
  transform: rotate(-10deg);
  transform-origin: left center;
}

.portfolio-gallery {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

.portfolio-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}

.portfolio-slide.is-active {
  position: absolute;
  inset: 0;
  opacity: 1;
  visibility: visible;
}

.portfolio-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.portfolio-info {
  padding: 15% 13% 11%;
  display: flex;
  flex-direction: column;
  background: #1F2528;
  color: #FAF3E6;
}

.portfolio-info p,
.portfolio-info h3 {
  margin-left: 0;
  margin-right: 0;
}

.portfolio-number {
  margin-top: 0;
  margin-bottom: 28px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(24px, 1.55vw, 40px);
  font-weight: 700;
}

.portfolio-info h3 {
  margin-top: 0;
  margin-bottom: 28px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(35px, 2.55vw, 65px);
  font-weight: 700;
  line-height: 0.95;
}

.portfolio-info.has-subtitle h3 {
  margin-bottom: 8px;
}

.portfolio-subtitle {
  margin-top: 0;
  margin-bottom: clamp(18px, 1.4vw, 28px);
  font-size: clamp(17px, 1vw, 25px);
  line-height: 1.3;
}

.portfolio-description {
  margin-top: 0;
  margin-bottom: 28px;
  font-size: clamp(16px, 0.9vw, 23px);
  line-height: 1.45;
}

.portfolio-meta {
  margin-top: 0;
  margin-bottom: 0;
  font-size: clamp(14px, 0.75vw, 19px);
  line-height: 1.35;
}

.portfolio-project-controls {
  margin-top: auto;
  padding-top: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.portfolio-project-count {
  margin-right: auto;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.portfolio-project-controls .portfolio-arrow {
  width: 44px;
  height: 44px;
}

.portfolio-controls {
  margin-top: 0;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.portfolio-count {
  margin-right: auto;
  font-size: 15px;
  font-weight: 600;
}

.portfolio-arrow {
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(250, 243, 230, 0.65);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.portfolio-arrow img {
  display: block;
  width: 100%;
  height: 100%;
}

.portfolio-arrow:hover {
  border-color: #FAF3E6;
}

.portfolio-image-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
}

.portfolio-image-arrow:hover {
  border: 0;
  opacity: 0.75;
}

.portfolio-image-arrow.portfolio-prev {
  left: 22px;
}

.portfolio-image-arrow.portfolio-next {
  right: 22px;
}

/* Pás s náhľadmi pod celou sekciou (2. riadok, cez všetky 3 stĺpce).
   Ak je náhľadov veľa, dá sa v páse posúvať do strany. */
.portfolio-thumbs {
  position: relative;
  grid-row: 2;
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  padding: 22px 4.5%;
  overflow-x: auto;
  background: #1F2528;
  scrollbar-width: none;
}

.portfolio-thumbs::-webkit-scrollbar {
  display: none;
}

.portfolio-thumb {
  flex: 0 0 auto;
  width: 96px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: none;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.portfolio-thumb:hover {
  opacity: 0.85;
}

/* Náhľady sú vycentrované; keď sa nezmestia, pás začína zľava
   a dá sa v ňom posúvať (auto okraje nič neodrežú). */
.portfolio-thumb:first-child {
  margin-left: auto;
}

.portfolio-thumb:last-child {
  margin-right: auto;
}

/* Náhľad práve zobrazeného obrázka: plná farba a červený rámik. */
.portfolio-thumb.is-active {
  opacity: 1;
  border-color: #FC4826;
}

.portfolio-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =========================================================
   AKO TO FUNGUJE
   ========================================================= */

.process {
  min-height: clamp(520px, 28vw, 720px);
  padding: clamp(56px, 4.2vw, 108px) 4.5%;
  display: grid;
  grid-template-columns: 27% 73%;
  background: #FAF3E6;
  border-bottom: 32px solid #1F2528;
}

.process-intro {
  padding-right: 16%;
}

.process-intro h2 {
  width: 133.34%;
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(88px, 6.7vw, 172px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -4px;
  transform: scaleX(0.75);
  transform-origin: left top;
}

.process-intro > p {
  max-width: 440px;
  margin: clamp(38px, 3vw, 76px) 0 0;
  font-size: clamp(18px, 1.1vw, 28px);
  line-height: 1.4;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 2.2vw, 56px);
}

.process-step {
  position: relative;
  padding-right: 4%;
  display: flex;
  flex-direction: column;
}

.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 29%;
  right: calc(clamp(24px, 2.2vw, 56px) / -1.45);
  font-size: clamp(30px, 2vw, 50px);
  font-weight: 300;
}

.process-number {
  margin: 0 0 26px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(25px, 1.55vw, 40px);
  font-weight: 700;
}

.process-step h3 {
  min-height: 2.7em;
  margin: 0 0 26px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(29px, 1.9vw, 49px);
  font-weight: 700;
  line-height: 1.05;
}

.process-step > p:not(.process-number) {
  margin: 0 0 18px;
  font-size: clamp(16px, 0.9vw, 23px);
  line-height: 1.4;
}

.process-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin-top: auto;
  object-fit: cover;
}


/* =========================================================
   REFERENCIE
   ========================================================= */

.testimonials {
  background: #A1C8CD;
  border-bottom: 32px solid #1F2528;
}

.testimonial-slide {
  min-height: clamp(520px, 28vw, 720px);
  padding: clamp(56px, 4.2vw, 108px) 4.5%;
  display: grid;
  grid-template-columns: 35% 25% 40%;
  align-items: center;
}

.testimonial-highlight {
  padding-right: 14%;
}

.testimonial-highlight blockquote {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(45px, 3.7vw, 95px);
  font-weight: 700;
  line-height: 0.96;
}

.testimonial-author {
  margin: clamp(32px, 2.6vw, 66px) 0 0;
  font-size: clamp(15px, 0.9vw, 23px);
  line-height: 1.4;
}

.testimonial-navigation {
  align-self: stretch;
  padding: 7% 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.testimonial-navigation > p {
  margin: 0;
  font-family: "Playwrite AU NSW", "Caveat", cursive;
  font-size: clamp(32px, 2.4vw, 61.3px);
  line-height: 1;
  transform: rotate(-10deg);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial-controls button {
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(31, 37, 40, 0.65);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.testimonial-controls button img {
  display: block;
  width: 100%;
  height: 100%;
}

.testimonial-controls span {
  font-size: 15px;
  font-weight: 600;
}

.testimonial-copy {
  padding-left: 12%;
}

.testimonial-copy p {
  margin: 0;
  font-size: clamp(20px, 1.35vw, 35px);
  line-height: 1.42;
}


/* =========================================================
   KONTAKT
   ========================================================= */

.contact {
  min-height: clamp(480px, 27vw, 690px);
  display: grid;
  grid-template-columns: 66% 34%;
  background: #1F2528;
  color: #FAF3E6;
}

.contact-copy {
  position: relative;
  padding: clamp(52px, 4vw, 102px) 7%;
  display: grid;
  grid-template-columns: 46% 42% 12%;
  align-items: center;
}

.contact-heading h2 {
  width: 133.34%;
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(88px, 6.8vw, 174px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -4px;
  transform: scaleX(0.75);
  transform-origin: left top;
}

.contact-heading p {
  margin: clamp(34px, 2.6vw, 66px) 0 0 16%;
  font-family: "Playwrite AU NSW", "Caveat", cursive;
  font-size: clamp(48px, 3.7vw, 95px);
  line-height: 1;
  transform: rotate(-10deg);
  transform-origin: left center;
}

.contact-details {
  padding-left: 10%;
  font-size: clamp(18px, 1.2vw, 31px);
  line-height: 1.45;
}

.contact-details p {
  margin: 0;
}

.contact-details p + p {
  margin-top: clamp(34px, 2.6vw, 66px);
}

.contact-details a {
  color: inherit;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: clamp(20px, 1.5vw, 36px);
}

.contact-links a {
  font-weight: 500;
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-arrow {
  width: clamp(54px, 4vw, 102px);
  height: clamp(54px, 4vw, 102px);
  border: 1px solid rgba(250, 243, 230, 0.72);
  border-radius: 50%;
  color: #FAF3E6;
  font-size: clamp(30px, 2.1vw, 54px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-arrow:hover {
  border-color: #FAF3E6;
}

.contact-photo {
  min-width: 0;
  overflow: hidden;
}

.contact-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Pri zužovaní sa fotka orezáva sprava, ľavá strana (tvár) ostáva. */
  object-position: left center;
}


/* =====================================================
   PÄTIČKA
   ===================================================== */

.site-footer {
  padding: clamp(24px, 2vw, 40px) 4.5%;
  color: #FAF3E6;
  background: #1F2528;
  border-top: 1px solid rgba(250, 243, 230, 0.3);
}

.footer-info a {
  color: inherit;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-info {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 32px clamp(36px, 5vw, 96px);
  font-size: clamp(14px, 0.9vw, 19px);
  line-height: 1.5;
}

.footer-info p {
  margin: 0;
}


/* =========================================================
   VEĽKOSTI TYPOGRAFIE NA DESKTOPE
   ========================================================= */

@media screen and (min-width: 801px) {

  .brand {
    font-size: 31.2px;
  }

  .hero h1 {
    width: 133.34%;
    font-size: clamp(123px, 13.16vw, 336px);
    transform: scaleX(0.75);
    transform-origin: left top;
  }

  /* Text sa natiahne až k spodku banneru (6 % nad spodnou hranou),
     aby sa tlačidlá dali prilepiť dole a nikdy sa neodrezali. */
  .hero-text {
    bottom: 6%;
  }

  /* Tlačidlá sú prilepené k spodku banneru a vycentrované na celú šírku. */
  .hero-buttons {
    position: absolute;
    bottom: 0;
    left: -4.5vw;
    width: 100vw;
    margin: 0;
    justify-content: center;
    gap: 14px;
  }

  .button {
    min-width: 158px;
    height: 50px;
    padding: 0 22px;
    border-radius: 36px;
    font-size: 16px;
  }

  .button span {
    margin-left: 14px;
    font-size: 24px;
  }
}


/* =========================================================
   TABLET A MALÉ NOTEBOOKY (801–1099 px)
   Desktopové rozloženie je tu príliš úzke, preto sa niektoré
   sekcie poskladajú pod seba (nadpis hore, obsah pod ním).
   ========================================================= */

@media screen and (min-width: 801px) and (max-width: 1099px) {

  /* O MNE: nadpis hore, text pod ním */
  .about {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .about-heading {
    padding: 72px 4.5% 0 7%;
  }

  .about-copy {
    padding: 48px 7% 72px;
  }

  /* ČO ROBÍM: nadpis hore, 4 karty na celú šírku pod ním */
  .services {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  /* menší vnútorný okraj kariet, aby sa dlhší nadpis zmestil do svetlého pásu */
  .service-card-copy {
    padding: 8% 10% 6%;
  }

  /* VYBRANÉ PROJEKTY: nadpis hore, pod ním obrázok a text vedľa seba */
  .portfolio {
    min-height: 0;
    grid-template-columns: 58% 42%;
  }

  .portfolio-intro {
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 72px 4.5% 56px 7%;
  }

  .portfolio-gallery {
    grid-column: 1;
    grid-row: 2;
  }

  .portfolio-info {
    grid-column: 2;
    grid-row: 2;
    padding: 48px 9% 40px;
  }

  .portfolio-thumbs {
    grid-row: 3;
  }

  /* AKO TO FUNGUJE: nadpis hore, kroky 2 × 2 pod ním */
  .process {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-intro {
    padding-right: 0;
  }

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

  .process-step:not(:last-child)::after {
    display: none;
  }

  .process-step h3 {
    min-height: 0;
  }

  .process-image {
    aspect-ratio: 16 / 9;
  }

  /* REFERENCIE: citát a text vedľa seba, šípky pod nimi */
  .testimonial-slide {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .testimonial-highlight {
    grid-column: 1;
    grid-row: 1;
  }

  .testimonial-copy {
    grid-column: 2;
    grid-row: 1;
    padding-left: 8%;
  }

  .testimonial-navigation {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 0;
    flex-direction: row;
    align-items: center;
  }

  /* KONTAKT: nadpis na celú šírku, pod ním údaje a šípka */
  .contact-copy {
    grid-template-columns: 1fr auto;
    row-gap: 56px;
  }

  .contact-heading {
    grid-column: 1 / -1;
  }

  .contact-details {
    padding-left: 0;
  }
}


/* =========================================================
   STREDNÉ NOTEBOOKY (1100–1439 px)
   Karty v „Čo robím“ sú tu užšie, preto dostanú viac miesta
   a menší vnútorný okraj, aby sa dvojriadkový nadpis
   („Sociálne siete a promo“) zmestil do svetlého pásu karty.
   ========================================================= */

@media screen and (min-width: 1100px) and (max-width: 1439px) {

  .services {
    grid-template-columns: 28% 72%;
  }

  .service-card-copy {
    padding: 8% 10% 6%;
  }
}


/* =========================================================
   MOBILNÁ VERZIA
   ========================================================= */

@media screen and (max-width: 800px) {

  .site-header {
    height: 64px;
    padding: 0 20px;
  }

  .desktop-nav {
    display: none;
  }

  /* Bez desktopového menu sa prepínač jazyka posunie doprava k tlačidlu. */
  .lang-switch {
    margin-left: auto;
  }

  .hero {
    height: 860px;
    min-height: 860px;
    background: #f7e4d3;
  }

  .hero-text {
    top: 76px;
    left: 20px;
    width: calc(100% - 40px);
  }

  .hero h1 {
    font-size: 22vw;
    line-height: 0.84;
    letter-spacing: -2px;
  }

  .handwriting {
    margin-top: 32px;
    font-size: 36.6px;
  }

  .hero-buttons {
    margin-top: 70px;
    margin-left: 0;
    gap: 10px;
  }

  .button {
    min-width: 130px;
    height: 42px;
    padding: 0 14px;
  }

  .hero-photo {
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
  }

  .hero-photo img {
    object-position: center center;
  }

  .hero-photo::after {
    display: none;
  }

  .about {
    min-height: 0;
    display: block;
  }

  .about-heading {
    padding: 58px 20px 38px;
  }

  .about-label {
    margin-bottom: 22px;
    font-size: 48px;
  }

  .about h2 {
    width: 133.34%;
    font-size: 11.76vw;
    line-height: 0.96;
    letter-spacing: -2px;
  }

  .about-copy {
    padding: 0 20px 52px;
  }

  .about-lead {
    font-size: 18px;
    line-height: 1.45;
  }

  .about-detail {
    margin-top: 30px !important;
    font-size: 18px;
    line-height: 1.45;
  }

  .services {
    min-height: 0;
    padding: 58px 0 64px;
    display: block;
    background-position: left bottom;
  }

  .services-intro {
    padding: 0 20px;
  }

  .services-intro h2 {
    font-size: 25vw;
    line-height: 0.8;
    letter-spacing: -2px;
  }

  .services-intro p {
    margin: 28px 0 42px 28%;
    font-size: 19px;
    line-height: 1.3;
  }

  .services-list {
    padding: 0 20px 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .service-card {
    width: 100%;
  }

  .service-card-copy {
    min-height: 36%;
    padding: 10% 8% 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #FAF3E6;
  }

  .service-card-copy h3 {
    font-size: clamp(18px, 5.3vw, 23px);
  }

  .service-card-copy p {
    font-size: clamp(13px, 3.8vw, 16px);
  }

  .portfolio {
    min-height: 0;
    display: block;
  }

  .portfolio-intro {
    padding: 58px 20px 34px;
  }

  .portfolio-intro h2 {
    font-size: 18vw;
    line-height: 0.86;
    letter-spacing: -2px;
  }

  .portfolio-intro p {
    margin: 42px 0 0 18%;
    font-size: 42px;
  }

  .portfolio-gallery {
    height: 75vw;
    max-height: 420px;
    padding: 0;
  }

  .portfolio-slide {
    width: 100%;
    height: 100%;
  }

  .portfolio-slide.is-active {
    width: 100%;
  }

  .portfolio-info {
    min-height: 560px;
    padding: 48px 20px 40px;
  }

  .portfolio-number {
    margin-bottom: 22px;
    font-size: 28px;
  }

  .portfolio-info h3 {
    font-size: 44px;
  }

  .portfolio-subtitle {
    margin-bottom: 24px;
    font-size: 18px;
  }

  .portfolio-description {
    font-size: 17px;
  }

  .portfolio-meta {
    font-size: 14px;
  }

  .portfolio-controls {
    padding-top: 38px;
  }

  .portfolio-arrow {
    width: 50px;
    height: 50px;
  }

  .portfolio-image-arrow.portfolio-prev {
    left: 14px;
  }

  .portfolio-image-arrow.portfolio-next {
    right: 14px;
  }

  /* Na mobile je pás hneď pod veľkým obrázkom. */
  .portfolio-thumbs {
    gap: 8px;
    padding: 14px 20px;
  }

  .portfolio-thumb {
    width: 78px;
    height: 52px;
  }

  .process {
    min-height: 0;
    padding: 58px 20px 64px;
    display: block;
  }

  .process-intro {
    padding-right: 0;
  }

  .process-intro h2 {
    font-size: 18vw;
    line-height: 0.86;
    letter-spacing: -2px;
  }

  .process-intro > p {
    margin-top: 34px;
    font-size: 19px;
  }

  .process-steps {
    margin-top: 58px;
    display: block;
  }

  .process-step {
    padding: 0 0 42px;
    border-top: 1px solid rgba(31, 37, 40, 0.32);
  }

  .process-step + .process-step {
    padding-top: 36px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .process-number {
    margin: 22px 0 18px;
    font-size: 26px;
  }

  .process-step h3 {
    min-height: 0;
    margin-bottom: 22px;
    font-size: 40px;
    line-height: 1.05;
  }

  .process-step > p:not(.process-number) {
    font-size: 17px;
  }

  .process-image {
    width: min(100%, 280px);
    margin-top: 28px;
  }

  .testimonial-slide {
    min-height: 0;
    padding: 58px 20px 64px;
    display: block;
  }

  .testimonial-highlight {
    padding-right: 0;
  }

  .testimonial-highlight blockquote {
    font-size: 48px;
    line-height: 1;
  }

  .testimonial-author {
    margin-top: 30px;
    font-size: 16px;
  }

  .testimonial-navigation {
    min-height: 260px;
    margin: 58px 0;
    padding: 0;
  }

  .testimonial-navigation > p {
    font-size: 30px;
  }

  .testimonial-controls button {
    width: 50px;
    height: 50px;
  }

  .testimonial-copy {
    padding-left: 0;
  }

  .testimonial-copy p {
    font-size: 20px;
  }

  .contact {
    min-height: 0;
    display: block;
  }

  .contact-copy {
    padding: 58px 20px 64px;
    display: block;
  }

  .contact-heading h2 {
    font-size: 20vw;
    line-height: 0.84;
    letter-spacing: -2px;
  }

  .contact-heading p {
    margin: 38px 0 0 12%;
    font-size: 44px;
  }

  .contact-details {
    margin-top: 68px;
    padding-left: 0;
    font-size: 20px;
  }

  .contact-details p + p {
    margin-top: 34px;
  }

  .contact-arrow {
    width: 58px;
    height: 58px;
    margin: 48px 0 0 auto;
    font-size: 32px;
  }

  .contact-photo {
    height: 105vw;
    max-height: 620px;
  }

  .site-footer {
    padding: 28px 20px 32px;
  }

  .footer-info {
    display: block;
    font-size: 15px;
  }

  .footer-info p + p {
    margin-top: 26px;
  }

}


@media screen and (max-width: 420px) {

  .brand {
    font-size: 13.2px;
  }

  .handwriting {
    font-size: 31.6px;
  }

  .hero-buttons {
    flex-wrap: wrap;
  }
}


/* =========================================================
   ÚPRAVY LEN PRE NEMECKÚ VERZIU (html lang="de")
   Slovenskej verzie sa nič z tohto netýka.
   ========================================================= */

/* Väčší riadkový odstup, aby sa diakritika (Ü, Ä) neprekrývala
   s riadkom nad ňou. */
:lang(de) .hero h1 {
  line-height: 0.92;
}

:lang(de) .process-intro h2 {
  line-height: 0.95;
}

:lang(de) .contact-heading p {
  line-height: 1.3;
}

@media screen and (min-width: 1100px) {

  /* „Blättern & entdecken“ menšie, aby sa zmestilo do 2 riadkov */
  :lang(de) .portfolio-intro p {
    margin-left: 8%;
    font-size: clamp(30px, 2.9vw, 76px);
  }

  /* „Was Kunden sagen“ presne vo vertikálnom strede,
     šípky zostávajú dole */
  :lang(de) .testimonial-navigation {
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    justify-items: center;
  }

  :lang(de) .testimonial-navigation > p {
    grid-row: 2;
  }

  :lang(de) .testimonial-controls {
    grid-row: 3;
    align-self: end;
  }
}
