:root {
  --gold: #D4AF37;
  --gold-hover: #E0BF51;
  --dark-gold: #A98C2D;
  --deep-teal: #002B2E;
  --olive: #2A2F23;
  --charcoal: #101114;
  --graphite: #1A1C20;
  --surface: #22252A;
  --silver: #A8ADB4;
  --text: #ECECEA;
  --muted: #8D929A;
  --border: rgba(212, 175, 55, .20);
  --border-light: rgba(236, 236, 234, .10);
  --shadow-soft: 0 18px 52px rgba(0, 0, 0, .22);
  --shadow-strong: 0 30px 90px rgba(0, 0, 0, .42);
  --page-x: 18px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--charcoal);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(16, 17, 20, .18) 0%, rgba(16, 17, 20, .34) 52%, rgba(16, 17, 20, .56) 100%),
    url("../assets/backgrounds/carpatlas-bathymetry-page-bg.png");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}



.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid var(--border-light);
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1240px, 100%);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--page-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-logo {
  width: min(168px, 52vw);
  max-height: 50px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .55));
}

.desktop-nav,
.desktop-languages {
  display: none;
}

.menu-button {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: rgba(34, 37, 42, .84);
}

.menu-button span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
  transition: transform .24s ease;
}

.menu-button span:first-child {
  transform: translateY(-4px);
}

.menu-button span:last-child {
  transform: translateY(4px);
}

.menu-button.open span:first-child {
  transform: rotate(45deg);
}

.menu-button.open span:last-child {
  transform: rotate(-45deg);
}

.mobile-panel {
  display: block;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  background: rgba(0, 0, 0, .96);
  transition: max-height .28s ease, border-color .28s ease;
}

.mobile-panel.open {
  max-height: calc(100vh - var(--header-h));
  border-color: var(--border-light);
  overflow: auto;
}

.mobile-nav {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 16px var(--page-x) 8px;
  display: grid;
  gap: 8px;
}

.nav-link,
.language-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  padding: 10px 15px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.mobile-nav .nav-link {
  width: 100%;
  text-align: left;
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--text);
}

.nav-link:hover,
.language-button:hover {
  color: var(--text);
  background: rgba(34, 37, 42, .86);
}

.nav-link.active,
.language-button.active {
  background: var(--gold);
  color: var(--charcoal);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--border-light);
  background: rgba(34, 37, 42, .72);
  border-radius: 22px;
}

.language-button {
  padding: 8px 11px;
  font-size: 12px;
}

.mobile-languages {
  width: calc(100% - (var(--page-x) * 2));
  margin: 6px auto 22px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.page-shell {
  position: relative;
  padding-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
}

.section {
  position: relative;
  padding: 66px var(--page-x);
}



.container {
  width: min(1240px, 100%);
  margin: 0 auto;
}

/* Hero keeps splash background via .hero-media. Other pages use the CarpAtlas bathymetry background via .site-bg. */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: .46;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 42%, rgba(0,0,0,.96) 0%, rgba(0,0,0,.78) 34%, rgba(0,0,0,.44) 58%, rgba(0,0,0,.70) 100%),
    linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.78) 48%, rgba(0,0,0,.42) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(16,17,20,.96) 100%);
}

.hero-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 38px var(--page-x) 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-shadow: 0 3px 28px rgba(0, 0, 0, .78);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .20em;
}

.hero h1,
.page-header h1 {
  margin: 0;
  color: var(--text);
  font-weight: 720;
  line-height: .97;
  letter-spacing: -.062em;
}

.hero h1 {
  font-size: clamp(46px, 15.2vw, 72px);
  max-width: 820px;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(236, 236, 234, .82);
  font-size: 17px;
  line-height: 1.7;
}

.button-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.button {
  min-height: 52px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 850;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button.primary {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 22px 60px rgba(212, 175, 55, .20);
}

.button.primary:hover {
  transform: translateY(-1px);
  background: var(--gold-hover);
}

.button.secondary {
  border-color: rgba(236, 236, 234, .20);
  background: rgba(0, 0, 0, .46);
  color: var(--text);
  backdrop-filter: blur(18px);
}

.button.secondary:hover {
  border-color: rgba(212, 175, 55, .48);
  background: rgba(34, 37, 42, .76);
}

.stats {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.stat {
  padding: 15px 12px;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  background: rgba(16, 17, 20, .50);
  text-align: center;
  backdrop-filter: blur(18px);
}

.stat strong {
  font-size: 14px;
}

.mockup-glow {
  position: relative;
  width: min(430px, 100%);
  margin: 0 auto;
}

.mockup-glow::before {
  content: "";
  position: absolute;
  inset: -26px;
  background: rgba(212, 175, 55, .12);
  filter: blur(34px);
  border-radius: 44px;
}

.phone-card {
  position: relative;
  border: 1px solid var(--border);
  background: rgba(34, 37, 42, .70);
  border-radius: 28px;
  padding: 10px;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(20px);
}

.phone-inner {
  border: 1px solid var(--border-light);
  background: var(--charcoal);
  border-radius: 22px;
  padding: 7px;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  aspect-ratio: 10 / 16;
  background:
    radial-gradient(circle at 30% 20%, rgba(212, 175, 55, .22), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(0, 43, 46, .60), transparent 34%),
    linear-gradient(135deg, var(--surface), var(--charcoal));
}

.phone-screen.small {
  aspect-ratio: 9 / 18;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-screen.contain img {
  object-fit: contain;
  padding: 20px;
}

.placeholder {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder::after {
  content: "Asset ontbreekt";
  position: relative;
  display: inline-flex;
  padding: 12px 18px;
  border: 1px solid rgba(212, 175, 55, .25);
  border-radius: 999px;
  background: rgba(16, 17, 20, .72);
  color: var(--text);
  font-size: 14px;
}

.card-meta {
  padding: 18px 7px 9px;
}

.card-meta small {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.card-meta h3 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.22;
  letter-spacing: -.03em;
}

.page-header {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(38px, 11vw, 56px);
}

.page-header p {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.card-grid,
.screens-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card,
.info-card,
.roadmap-card {
  border: 1px solid var(--border);
  background: rgba(34, 37, 42, .72);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
  background: rgba(212, 175, 55, .12);
  border-radius: 17px;
}

.feature-card h2,
.info-card h2,
.roadmap-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -.04em;
}

.feature-card p,
.info-card p,
.roadmap-card p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.note-card {
  max-width: 760px;
  margin: 0 auto 42px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(34, 37, 42, .70);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.note-card code {
  color: var(--text);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.map-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: rgba(34, 37, 42, .72);
  padding: 12px;
  box-shadow: var(--shadow-strong);
}

.map-panel-inner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 14px;
  background: var(--charcoal);
}

.map-panel-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(212, 175, 55, .16), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(0, 43, 46, .66), transparent 34%);
}


.info-list {
  position: relative;
  display: grid;
  gap: 14px;
}

.info-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(34, 37, 42, .78);
}

.info-card .icon {
  margin: 0;
  width: 44px;
  height: 44px;
}

.step {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 17px;
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 950;
  font-size: 18px;
}

.contact-card {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .22);
  border-radius: 32px;
  background: rgba(34, 37, 42, .72);
  padding: 34px 20px;
  text-align: center;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(22px);
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--gold);
  background: rgba(212, 175, 55, .14);
  border-radius: 20px;
}

.contact-card h1 {
  margin: 0;
  font-size: clamp(40px, 12vw, 56px);
  line-height: .98;
  letter-spacing: -.06em;
}

.contact-card p {
  max-width: 700px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.contact-form {
  max-width: 720px;
  margin: 34px auto 0;
  display: grid;
  gap: 14px;
  text-align: left;
}

.form-row {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: rgba(236, 236, 234, .78);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  background: rgba(16, 17, 20, .72);
  color: var(--text);
  outline: 0;
  padding: 16px 18px;
  transition: border-color .2s ease, background .2s ease;
}

.form-field input {
  min-height: 56px;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.55;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(141, 146, 154, .72);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(212, 175, 55, .62);
  background: rgba(16, 17, 20, .86);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  margin-top: 4px;
}

.form-actions button {
  min-height: 56px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--charcoal);
  padding: 0 26px;
  font-weight: 850;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-light);
  padding: 30px var(--page-x);
}

.footer-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
}

.footer-links button:hover {
  color: var(--text);
}

.fade-in {
  animation: fadeIn .34s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet and up */
@media (min-width: 700px) {
  :root {
    --page-x: 22px;
    --header-h: 80px;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .hero-grid {
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .hero-copy {
    padding: 0;
    border-radius: 34px;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: .22em;
  }

  .hero h1 {
    font-size: clamp(62px, 9vw, 92px);
  }

  .hero-text {
    font-size: 19px;
  }

  .button-row {
    width: fit-content;
    flex-direction: row;
    border-radius: 0;
  }

  .button {
    width: auto;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 54px;
  }

  .page-header {
    margin-bottom: 54px;
  }

  .page-header h1 {
    font-size: clamp(48px, 6vw, 68px);
  }

  .page-header p {
    font-size: 18px;
  }

  .card-grid,
  .screens-grid,
  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .feature-card,
  .info-card,
  .roadmap-card {
    border-radius: 32px;
    padding: 28px;
  }

  .map-panel {
    border-radius: 42px;
    padding: 20px;
  }

  .map-panel-inner {
    border-radius: 34px;
    padding: 24px;
  }

  .info-card {
    grid-template-columns: auto 1fr;
  }

  .contact-card {
    border-radius: 42px;
    padding: 54px 44px;
  }

  .contact-card p {
    font-size: 18px;
  }

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

  .form-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .form-actions button {
    width: auto;
  }

  .form-note {
    text-align: right;
  }

  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

/* Laptop and up */
@media (min-width: 1060px) {
  .site-bg::after {
    opacity: .10;
    background-size: min(72vw, 760px) auto;
    mask-image: linear-gradient(90deg, transparent, black 35%);
  }

  .desktop-nav,
  .desktop-languages {
    display: flex;
  }

  .desktop-nav {
    align-items: center;
    gap: 4px;
  }

  .menu-button,
  .mobile-panel {
    display: none;
  }

  .brand {
    min-width: 180px;
  }

  .brand-logo {
    width: min(190px, 42vw);
  }

  .hero-media img {
    opacity: .52;
  }

  .hero-media::before {
    background:
      radial-gradient(circle at 22% 48%, rgba(0,0,0,.96) 0%, rgba(0,0,0,.78) 34%, rgba(0,0,0,.36) 66%, rgba(0,0,0,.66) 100%),
      linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.86) 46%, rgba(0,0,0,.56) 72%, rgba(0,0,0,.74) 100%),
      linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(16,17,20,.96) 100%);
  }

  .hero-grid {
    grid-template-columns: minmax(0, .95fr) minmax(320px, .82fr);
    gap: 84px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-copy {
    margin-left: clamp(-30px, -2vw, 0px);
    background: transparent;
  }

  .hero h1 {
    font-size: clamp(70px, 7.8vw, 104px);
  }

  .hero-text {
    font-size: clamp(19px, 2vw, 21px);
  }

  .mockup-glow {
    width: min(500px, 100%);
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .screens-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tech-grid {
    grid-template-columns: 1fr .9fr;
    gap: 34px;
  }

  .section {
    padding-top: 86px;
    padding-bottom: 86px;
  }
}

/* Large desktop */
@media (min-width: 1280px) {
  .hero-grid {
    gap: 96px;
  }
}


/* PHP / SEO site additions */
.skip-link {
  position: absolute;
  left: 14px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 850;
}

.skip-link:focus {
  top: 12px;
}

.alert {
  max-width: 720px;
  margin: 28px auto 0;
  padding: 16px 18px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

.alert.success {
  border: 1px solid rgba(92, 184, 92, .35);
  background: rgba(36, 90, 50, .30);
  color: #DDF4DF;
}

.alert.error {
  border: 1px solid rgba(212, 175, 55, .35);
  background: rgba(120, 60, 30, .25);
  color: #F4E6C8;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.no-js-note {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px var(--page-x);
  color: var(--muted);
  font-size: 14px;
}

.mobile-panel.open {
  max-height: calc(100vh - var(--header-h));
}
