:root {
  --navy: #06275f;
  --navy-deep: #03173c;
  --teal: #00a99d;
  --teal-dark: #008c86;
  --ink: #122033;
  --muted: #5a687a;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --line: #dce7ef;
  --shadow: 0 18px 48px rgba(6, 39, 95, 0.12);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 58%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.7rem 1rem;
  color: #ffffff;
  background: var(--navy);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 231, 239, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(var(--max-width), calc(100% - 2rem));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: auto;
}

.brand img {
  width: auto;
  height: 56px;
  max-width: 180px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-menu a {
  color: var(--navy-deep);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--teal-dark);
}

.language-toggle,
.button,
.legal-button,
.value-card,
.legal-product-card {
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.language-toggle {
  min-width: 48px;
  min-height: 42px;
  color: #ffffff;
  background: var(--navy);
  border: 0;
  cursor: pointer;
}

.language-toggle:hover,
.button:hover,
.legal-button:hover,
.value-card:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.section {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 3rem;
  padding-top: 56px;
}

.eyebrow,
.section-label,
.status {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.75rem;
  color: var(--navy-deep);
  font-size: 6.1rem;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  color: var(--navy-deep);
  font-size: 3.2rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.8rem;
  color: var(--navy-deep);
  font-size: 1.65rem;
  line-height: 1.15;
}

.subtitle {
  margin-bottom: 1rem;
  color: var(--teal-dark);
  font-size: 2rem;
  font-weight: 900;
}

.hero-text,
.section-content p,
.product-card p,
.value-card p,
.section-heading p,
.legal-product-card p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.15rem;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  box-shadow: 0 14px 30px rgba(0, 169, 157, 0.22);
}

.button.secondary {
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--line);
}

.hero-visual {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mission,
.about {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
}

.section-content.wide {
  max-width: 850px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.value-grid,
.legal-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.value-card,
.legal-product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(6, 39, 95, 0.08);
}

.value-card {
  padding: 1.35rem;
}

.value-card h3,
.legal-product-card h3 {
  font-size: 1.35rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-card {
  display: grid;
  grid-template-rows: 230px 1fr;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-logo {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.product-logo img {
  width: min(100%, 340px);
  max-height: 190px;
  object-fit: contain;
}

.prehos-logo {
  background: #f7fbfd;
}

.guide-logo {
  background: #ffffff;
}

.product-copy {
  padding: 1.4rem;
}

.status {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.55rem;
  color: var(--navy);
  background: rgba(0, 169, 157, 0.12);
  border: 1px solid rgba(0, 169, 157, 0.28);
  border-radius: 999px;
}

.legal-links {
  display: grid;
  gap: 0.75rem;
}

.legal-product-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: stretch;
}

.legal-product-card {
  padding: 1.35rem;
}

.legal-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.muted-card {
  background: #f9fbfd;
}

.legal-button {
  min-height: 58px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(6, 39, 95, 0.08);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, var(--teal-dark) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-panel h2,
.contact-panel p,
.contact-panel .section-label {
  color: #ffffff;
}

.email-link {
  padding: 0.95rem 1rem;
  color: var(--navy);
  background: #ffffff;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
}

.footer {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-grid div {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer h2 {
  margin-bottom: 0.35rem;
  color: var(--navy-deep);
  font-size: 0.9rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--teal-dark);
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(0, 169, 157, 0.55);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 76px;
    display: none;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: grid;
  }

  .hero,
  .mission,
  .about,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  h1 {
    font-size: 4.25rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .subtitle {
    font-size: 1.65rem;
  }

  .hero-visual {
    order: -1;
    max-width: 440px;
  }

  .product-grid,
  .value-grid,
  .legal-product-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    display: grid;
  }
}

@media (max-width: 560px) {
  .brand img {
    height: 44px;
    max-width: 142px;
  }

  .section {
    padding: 72px 0;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .subtitle {
    font-size: 1.35rem;
  }

  .product-card {
    grid-template-rows: 190px 1fr;
  }

  .actions,
  .button,
  .email-link {
    width: 100%;
  }

  .email-link {
    overflow-wrap: anywhere;
    text-align: center;
  }
}
