/* =========================================================
   1. ZÁKLADNÉ NASTAVENIA A FARBY
   ========================================================= */

:root {
  --navy: #0b2745;
  --navy-light: #10385f;
  --orange: #f36b21;
  --green: #31a66a;
  --cream: #f7f4ed;
  --white: #fffdf8;
  --text: #102235;
  --grey: #65717d;
  --line: #d9ddd9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

/* =========================================================
   2. NAVIGÁCIA A LOGO
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 86px;
  padding: 0 clamp(22px, 5vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(11, 39, 69, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand > span:last-child {
  display: flex;
  flex-wrap: wrap;
  max-width: 150px;
  line-height: 1;
}

.brand > span > span {
  color: var(--orange);
}

.brand small {
  display: block;
  width: 100%;
  margin-top: 5px;
  color: #718091;
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font: 800 19px Georgia, serif;
  letter-spacing: 0;
}

.site-header nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 38px);
  font-size: 13px;
  font-weight: 700;
}

.site-header nav a:hover {
  color: var(--orange);
}

/* =========================================================
   3. TLAČIDLÁ A ODKAZY
   ========================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: 3px;
  background: var(--orange);
  color: white;
  box-shadow: 0 8px 24px rgba(243, 107, 33, 0.22);
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-2px);
  background: #dc5712;
}

.button-small {
  padding: 12px 17px;
  font-size: 12px;
}

.email-choice-button {
  width: 100%;
  margin: 18px 0;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.text-link {
  padding: 8px 0;
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

/* =========================================================
   4. HERO SEKCIA
   ========================================================= */

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  border-bottom: 3px solid var(--orange);
}

/* Ľavá strana hero sekcie */
.hero-copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(65px, 8vw, 115px) clamp(28px, 6vw, 92px);
  padding-right: clamp(28px, 4vw, 64px);
}

/* Panorama Zürichu pod textom */
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  filter: brightness(1.04);
  background:
    linear-gradient(
      90deg,
      rgba(255, 253, 248, 0.92) 22%,
      rgba(255, 253, 248, 0.78) 48%,
      rgba(255, 253, 248, 0.28) 76%,
      rgba(255, 253, 248, 0) 100%
    ),
    url("images/zurich-panorama.jpg") center bottom / cover no-repeat;
}

.hero-copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 145px;
  background: linear-gradient(
    0deg,
    rgba(11, 39, 69, 0.08),
    transparent
  );
  pointer-events: none;
}

.eyebrow,
.section-label {
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--orange);
}

h1 {
  max-width: 750px;
  margin: 24px 0;
  color: var(--navy);
  font: 500 clamp(43px, 5.2vw, 76px) / 1.03 Georgia, serif;
  letter-spacing: -0.035em;
}

h1 em,
h2 em {
  color: var(--green);
  font-style: italic;
}

.hero-lead {
  max-width: 640px;
  color: #4f5f6f;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.7;
}

.hero-lead strong {
  color: var(--navy);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero-trust {
  margin-top: 58px;
  padding-top: 26px;
  display: flex;
  gap: clamp(18px, 3vw, 45px);
  border-top: 1px solid var(--line);
}

.hero-trust div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-trust strong {
  color: var(--navy);
  font: 700 23px Georgia, serif;
}

.hero-trust span {
  max-width: 120px;
  color: var(--grey);
  font-size: 10px;
  line-height: 1.35;
}

/* Pravá strana hero sekcie */
.hero-visual {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: var(--navy);
}

.hero-photo > img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 48% center;
}

.hero-photo::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(11, 39, 69, 0.16),
      transparent 48%
    ),
    linear-gradient(
      0deg,
      rgba(11, 39, 69, 0.38),
      transparent 48%
    );
  pointer-events: none;
}

.result-card {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 28px;
  width: 235px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 18px 42px rgba(11, 39, 69, 0.22);
}

.result-card small {
  color: var(--orange);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.result-card strong {
  color: var(--navy);
  font: 700 25px Georgia, serif;
}

.result-card span {
  color: var(--grey);
  font-size: 11px;
}

/* =========================================================
   5. SPOLOČNÉ NASTAVENIA SEKCIÍ
   ========================================================= */

.section {
  padding: clamp(80px, 10vw, 140px) clamp(24px, 7vw, 105px);
}

h2 {
  margin: 0;
  color: var(--navy);
  font: 500 clamp(37px, 4.5vw, 62px) / 1.08 Georgia, serif;
  letter-spacing: -0.025em;
}

/* =========================================================
   6. METÓDA A TRI HLAVNÉ PÁKY
   ========================================================= */

.intro {
  background: var(--white);
}

.intro-grid {
  margin: 30px 0 75px;
  display: grid;
  grid-template-columns: 1.05fr 0.7fr;
  gap: clamp(50px, 9vw, 150px);
}

.intro-grid p {
  color: var(--grey);
  font-size: 15px;
  line-height: 1.75;
}

.intro-grid .large-copy {
  margin-top: 5px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.55;
}

.lever-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lever-grid article {
  position: relative;
  min-height: 300px;
  padding: 38px 38px 34px 0;
}

.lever-grid article + article {
  padding-left: 38px;
  border-left: 1px solid var(--line);
}

.lever-grid .icon {
  width: 47px;
  height: 47px;
  margin-bottom: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #bfc8c4;
  border-radius: 50%;
  color: var(--green);
  font-size: 23px;
}

.lever-grid small,
.steps small {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.lever-grid h3,
.steps h3 {
  margin: 13px 0;
  color: var(--navy);
  font: 600 25px Georgia, serif;
}

.lever-grid p,
.steps p {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.7;
}

/* =========================================================
   7. TMAVOMODRÁ SEKCIA – VÝHODY
   ========================================================= */

.dark-section {
  background: var(--navy);
  color: white;
}

.section-label.light,
.eyebrow.light {
  color: #ffa06c;
}

.dark-head {
  display: grid;
  grid-template-columns: 1.2fr 0.65fr;
  align-items: end;
  gap: 100px;
}

.dark-head h2 {
  max-width: 720px;
  margin-top: 26px;
  color: white;
}

.dark-head > p {
  color: #b8c5d1;
  font-size: 16px;
  line-height: 1.75;
}

.benefit-list {
  margin-top: 75px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.benefit-list > div {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 80px 1fr 0.75fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.benefit-list span {
  color: #70c893;
  font: italic 18px Georgia, serif;
}

.benefit-list h3 {
  margin: 0;
  font: 500 clamp(21px, 2vw, 29px) Georgia, serif;
}

.benefit-list p {
  color: #aebdca;
  font-size: 13px;
  line-height: 1.6;
}

/* =========================================================
   8. TROJKROKOVÝ PROCES
   ========================================================= */

.process {
  background: var(--cream);
}

.process-head {
  margin: 28px 0 72px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.process-head h2 {
  max-width: 800px;
}

.process-head p {
  color: var(--grey);
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.steps article {
  min-height: 370px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid #e1dfd8;
}

.steps b {
  color: #cbd0cd;
  font: italic 52px Georgia, serif;
}

/* =========================================================
   9. ÚSPEŠNÉ PRÍBEHY
   ========================================================= */

.stories {
  background: var(--white);
}

.stories-head {
  margin: 28px 0 55px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.stories-head p {
  max-width: 430px;
  color: var(--grey);
  line-height: 1.6;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 20px;
}

.story-grid article {
  min-height: 280px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
}

.story-grid .story-feature {
  justify-content: space-between;
  background: var(--navy);
  color: white;
}

.story-grid small {
  color: #ffa06c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.story-grid h3 {
  margin: 16px 0 10px;
  font: 600 23px Georgia, serif;
}

.story-grid p {
  color: var(--grey);
  font-size: 13px;
  line-height: 1.6;
}

.story-feature p {
  color: #b8c5d1;
}

.story-feature span {
  color: #75cd98;
  font-size: 12px;
}

.story-grid b {
  color: var(--green);
  font: 600 46px Georgia, serif;
}

/* =========================================================
   10. CENNÍK
   ========================================================= */

.pricing {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: center;
  gap: clamp(60px, 10vw, 150px);
  background: var(--cream);
}

.pricing-copy h2 {
  margin: 26px 0;
}

.pricing-copy > p {
  max-width: 580px;
  color: var(--grey);
  line-height: 1.7;
}

.pricing ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.pricing li {
  margin: 14px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 11px;
}

.price-card {
  padding: clamp(32px, 4vw, 58px);
  background: var(--navy);
  color: white;
  box-shadow: 18px 18px 0 var(--orange);
}

.price-card > small {
  color: #aebdca;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.price-card > div {
  margin: 20px 0 28px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-card div strong {
  font: 600 clamp(52px, 6vw, 82px) Georgia, serif;
}

.price-card div span {
  color: #c1ccd6;
  font-size: 12px;
}

.price-card hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.price-card p {
  color: #d4dce4;
  line-height: 1.6;
}

.price-card .button {
  width: 100%;
  margin: 20px 0;
}

.price-card .fine {
  display: block;
  color: #8294a4;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

/* =========================================================
   11. KONTAKTNÁ VÝZVA
   ========================================================= */

.cta {
  padding: clamp(75px, 10vw, 130px) clamp(24px, 7vw, 105px);
  display: grid;
  grid-template-columns: 1.15fr 0.65fr;
  align-items: center;
  gap: clamp(60px, 10vw, 150px);
  background: var(--navy-light);
  color: white;
}

.cta h2 {
  margin: 25px 0;
  color: white;
}

.cta > div > p {
  max-width: 700px;
  color: #c1cfdb;
  line-height: 1.7;
}

.contact-card {
  padding: 35px;
  background: var(--white);
  color: var(--text);
}

.contact-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font: 600 27px Georgia, serif;
}

.contact-card p {
  color: var(--grey) !important;
  font-size: 13px;
}

.contact-card .button {
  width: 100%;
  margin: 18px 0;
}

.contact-link {
  display: block;
  padding: 10px;
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

.contact-card small {
  display: block;
  margin-top: 8px;
  color: var(--grey);
  font-size: 10px;
  text-align: center;
}

/* Výber e-mailovej aplikácie */
.email-modal[hidden] {
  display: none;
}

.email-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.email-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 27, 47, 0.78);
  backdrop-filter: blur(7px);
}

.email-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  padding: clamp(30px, 5vw, 52px);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(7, 27, 47, 0.35);
}

.email-modal-card h2 {
  margin: 18px 0 14px;
  font-size: clamp(30px, 4vw, 44px);
}

.email-modal-card > p {
  margin: 0;
  color: var(--grey);
  line-height: 1.65;
}

.email-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
}

.email-options {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

.email-option {
  padding: 17px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  color: var(--navy);
  transition: border-color 0.2s, transform 0.2s;
}

.email-option:hover {
  transform: translateX(4px);
  border-color: var(--orange);
}

.email-option strong {
  font-size: 15px;
}

.email-option span {
  color: var(--grey);
  font-size: 12px;
}

body.modal-open {
  overflow: hidden;
}

/* =========================================================
   12. PÄTIČKA A IMPRESSUM
   ========================================================= */

footer {
  padding: 70px clamp(24px, 7vw, 105px) 25px;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.5fr;
  gap: 65px;
  background: #071b2f;
  color: #b9c5d0;
  font-size: 12px;
  line-height: 1.7;
}

.brand-light {
  color: white;
}

.brand-light .brand-mark {
  background: var(--orange);
}

.footer-brand p {
  max-width: 380px;
  margin-top: 22px;
}

footer h4 {
  margin: 0 0 15px;
  color: white;
  font-size: 12px;
}

footer a {
  display: block;
  margin: 4px 0;
}

footer a:hover {
  color: white;
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #708293;
}

.impressum {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  overflow: auto;
  padding: clamp(55px, 10vw, 130px) max(24px, 15vw);
  background: rgba(7, 27, 47, 0.98);
  color: white;
}

.impressum:target {
  display: block;
}

.impressum h2 {
  margin-bottom: 35px;
  color: white;
}

.impressum p {
  color: #c7d2dc;
  line-height: 1.8;
}

.impressum a {
  color: #ffa06c;
}

.close-link {
  position: absolute;
  top: 35px;
  right: 45px;
}

/* =========================================================
   13. TABLET – OBRAZOVKY DO 980 PX
   ========================================================= */

@media (max-width: 980px) {
  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 540px;
  }

  .intro-grid,
  .dark-head,
  .pricing,
  .cta {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .lever-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .lever-grid article {
    min-height: auto;
  }

  .lever-grid article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-feature {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   14. MOBIL – OBRAZOVKY DO 680 PX
   ========================================================= */

@media (max-width: 680px) {
  .site-header {
    height: 74px;
  }

  .site-header .button {
    display: none;
  }

  .hero {
    border-bottom-width: 2px;
  }

  .hero-copy {
    padding-top: 58px;
  }

  .hero-copy::before {
    background:
      linear-gradient(
        90deg,
        rgba(255, 253, 248, 0.88),
        rgba(255, 253, 248, 0.48)
      ),
      url("images/zurich-panorama.jpg") 58% bottom / cover no-repeat;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .hero-visual {
    min-height: 480px;
  }

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

  .result-card {
    bottom: 18px;
    left: 18px;
  }

  .process-head,
  .stories-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-feature {
    grid-column: auto;
  }

  .benefit-list > div {
    grid-template-columns: 45px 1fr;
  }

  .benefit-list p {
    grid-column: 2;
    margin-top: 0;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    grid-column: auto;
  }
}
