/* VISEST – responsive landing page
   A mellékelt grafikai elemek önálló képfájlként maradnak, a szövegek HTML-ben szerkeszthetők. */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600&display=swap');

:root {
  --bg: #00232d;
  --bg-dark: #001c24;
  --cyan: #00b9e8;
  --blue: #0079e5;
  --white: #f2f6f8;
  --content-width: 86%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background: var(--bg);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }
.header {
  height: clamp(66px, 6.55vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3%;
  background: #001f28;
  position: relative;
  z-index: 5;
}
.header-logo img { display: block; width: clamp(170px, 18vw, 250px); height: auto; }
.menu-toggle, .mobile-nav { display: none; }

.hero {
  height: clamp(380px, 37.4vw, 515px);
  position: relative;
  background: url("assets/head_pic.png") center center / cover no-repeat;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 7.2%;
  border-bottom: 0;
}
.hero-copy {
  width: 43%;
  max-width: 540px;
  margin-top: -5px;
  position: relative;
  z-index: 1;
}
.hero-logo {
  display: block;
  width: clamp(90px, 13vw, 150px);
  height: auto;
  max-height: 115px;
  object-fit: contain;
  margin: 0 auto 10px;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(16px, 1.65vw, 22px);
  line-height: 1.3;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}
.hero-copy p {
  margin: 0;
  font-size: clamp(12px, 1.05vw, 15px);
  line-height: 1.42;
  text-align: justify;
}
.hero-button {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -17px;
  transform: translateX(-50%);
  width: clamp(150px, 15vw, 205px);
  height: auto;
  aspect-ratio: 286 / 58;
  background: url("assets/big_button.png") center / 100% 100% no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: clamp(12px, 1.2vw, 16px);
  text-align: center;
}
.hero-button:hover { filter: brightness(1.12); }
.hero-button span { position: relative; }
.hero-divider { display: none; }

.modules {
  width: var(--content-width);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(90px, 9.5vw, 130px) 0 clamp(65px, 6.2vw, 85px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 12%;
  row-gap: clamp(34px, 3.3vw, 46px);
}
.module { min-width: 0; }
.module-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 48px;
}
.module-title h2 {
  margin: 0;
  color: var(--cyan);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.35;
  font-weight: 400;
}
.module-title img {
  width: auto;
  max-width: 65px;
  max-height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}
.separator {
  display: block;
  width: 100%;
  height: auto;
  margin: 8px 0 17px;
}
.module > p {
  margin: 0 0 17px;
  font-size: clamp(13px, 1.12vw, 15px);
  line-height: 1.45;
}
.more summary {
  width: 149px;
  height: 43px;
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 17px;
  color: #fff;
  font-size: 11px;
}
.more summary::-webkit-details-marker { display: none; }
.more summary img { display: block; position: absolute; inset: 0; width: 149px; height: 43px; }
.more summary span { position: relative; z-index: 1; pointer-events: none; }
.more-content {
  padding: 15px 0 4px;
  color: #dce7eb;
  font-size: 14px;
  line-height: 1.55;
}
.more-content p { margin: 0 0 12px; }
.more-content h3 {
  color: var(--cyan);
  font-size: 16px;
  font-weight: 500;
  margin: 18px 0 8px;
}

.project {
  min-height: clamp(300px, 30.5vw, 420px);
  padding: 55px 7.5%;
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  align-items: center;
  gap: 5%;
  position: relative;
  overflow: hidden;
  background: rgba(0, 16, 22, .65);
}
.project::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(46vw, 600px);
  aspect-ratio: 886 / 984;
  right: 2%;
  top: -7%;
  background: url("assets/bg_motive.png") center / contain no-repeat;
  opacity: .34;
  pointer-events: none;
}
.project-text, .project-actions { position: relative; z-index: 1; }
.project-text p {
  margin: 0 0 14px;
  font-size: clamp(13px, 1.12vw, 15px);
  line-height: 2.0;
}
.project-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.action-button { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.action-button img { display: block; width: clamp(145px, 14.2vw, 195px); height: auto; }
.action-button span { position: absolute; color: #fff; font-size: 14px; }
.action-button:last-child span { color: #193b48; }
.action-button:hover { filter: brightness(1.12); }

.footer {
  min-height: clamp(180px, 19.2vw, 263px);
  padding: 35px 7%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  background: var(--bg);
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  white-space: nowrap;
}
.footer-nav a {
  color: var(--cyan);
  font-size: clamp(10px, 1vw, 13px);
}
.footer-nav span { color: #fff; font-size: 12px; }
.footer-logo img {
  display: block;
  width: clamp(90px, 10vw, 140px);
  height: auto;
}
.footer-right { justify-content: center; }

@media (max-width: 900px) {
  :root { --content-width: 88%; }
  .hero { height: 460px; padding: 0 5%; background-position: 42% center; }
  .hero-copy { width: 48%; }
  .modules { column-gap: 7%; }
  .project { grid-template-columns: 1.2fr .8fr; padding-left: 6%; padding-right: 6%; }
  .footer { padding-left: 4%; padding-right: 4%; }
  .footer-nav { gap: 12px; }
}

@media (max-width: 650px) {
  body { font-size: 14px; }
  .header { height: 66px; padding: 0 18px; }
  .header-logo img { width: 170px; }
  .menu-toggle {
    display: block;
    border: 0;
    padding: 4px;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle img { display: block; width: 38px; height: auto; }
  .mobile-nav {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    padding: 15px 22px 20px;
    background: #001f28;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid rgba(0,185,232,.35);
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { color: var(--cyan); font-size: 14px; }

  .hero {
    min-height: 590px;
    height: auto;
    padding: 280px 18px 55px;
    align-items: flex-end;
    background-position: 28% top;
    background-size: auto 340px;
    background-color: var(--bg);
    background-repeat: no-repeat;
  }
  .hero-copy {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 20px 18px 24px;
    background: rgba(0, 26, 35, .92);
  }
  .hero-logo { width: 85px; max-height: 75px; margin-bottom: 7px; }
  .hero h1 { white-space: normal; font-size: 16px; margin-bottom: 12px; }
  .hero-copy p { font-size: 13px; line-height: 1.5; }
  .hero-button { bottom: -16px; width: 165px; height: 34px; font-size: 13px; }

  .modules {
    grid-template-columns: 1fr;
    row-gap: 34px;
    padding: 78px 0 55px;
  }
  .module-title { min-height: 45px; }
  .module-title h2 { font-size: 16px; }
  .module-title img { max-height: 42px; max-width: 55px; }
  .separator { margin: 7px 0 14px; }
  .module > p { font-size: 14px; line-height: 1.5; }
  .more-content { font-size: 13px; }

  .project {
    display: block;
    min-height: 0;
    padding: 40px 7% 48px;
  }
  .project::before {
    width: 82vw;
    right: -20%;
    top: 15%;
    opacity: .22;
  }
  .project-text p { font-size: 13px; line-height: 1.75; margin-bottom: 15px; }
  .project-actions { justify-content: flex-start; margin-top: 25px; gap: 12px; }
  .action-button img { width: min(39vw, 175px); }

  .footer {
    min-height: 0;
    padding: 35px 18px 42px;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .footer-logo { order: -1; }
  .footer-logo img { width: 100px; }
  .footer-nav { width: 100%; flex-wrap: wrap; white-space: normal; gap: 12px; }
  .footer-nav a { font-size: 11px; }
}


/* Header language selector and footer legal notice */
.header-tools {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}
.language-label {
  color: var(--cyan);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
#language-select {
  appearance: none;
  border: 1px solid rgba(0,185,232,.75);
  border-radius: 20px;
  color: #fff;
  background: #00313d;
  padding: 7px 25px 7px 12px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%2300b9e8' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
}
#language-select option { color: #fff; background: #00232d; }
.footer {
  grid-template-areas:
    "left logo right"
    "legal legal legal";
  grid-template-columns: 1fr auto 1fr;
  row-gap: 25px;
}
.footer-left { grid-area: left; }
.footer-logo { grid-area: logo; }
.footer-right-space { grid-area: right; }
.copyright {
  grid-area: legal;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgba(0,185,232,.2);
  text-align: center;
  color: rgba(225,237,241,.72);
  font-size: 11px;
  line-height: 1.55;
}
.copyright p { margin: 2px 0; }
@media (max-width: 650px) {
  .header-tools { gap: 12px; }
  .language-label { display: none; }
  .footer {
    display: grid;
    grid-template-areas: "logo" "left" "right" "legal";
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 20px;
  }
  .footer-right-space { display: none; }
  .copyright { font-size: 10px; padding-top: 13px; }
}
