/* Self-hosted fonts (SIL OFL) — no requests to Google */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/nunito-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2"); }

/* Earth Klinik — static rebuild (Koncept 62) */
:root {
  --mint: #a7dcd7;
  --coral: #f47b6c;
  --grey: #9696a2;
  --blue: #96add9;
  --ink: #404040;
  --frame: clamp(10px, 3vw, 40px);
  --font-head: "Nunito", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --fs-h1: clamp(1.9rem, 1.4rem + 1.6vw, 2.65rem);
  --fs-h4: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --pad-xl: clamp(2rem, 1rem + 4vw, 4.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  color: var(--ink); background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h3, h4, h5 { font-family: var(--font-head); margin: 0; text-align: center; }
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.15; letter-spacing: 6px; text-transform: uppercase; }
h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: 2px; }
h4 { font-size: var(--fs-h4); font-weight: 400; line-height: 1.3; letter-spacing: 6px; text-transform: uppercase; }
h4.medium { font-weight: 500; }
h5 { font-size: .85rem; font-weight: 400; line-height: 1.6; letter-spacing: 3px; text-transform: uppercase; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; padding: 0 calc(var(--frame) + 10px); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 58px; }
.logo { flex: 0 1 300px; display: block; }
.logo img { width: 100%; max-width: 300px; }
.nav { display: flex; align-items: center; gap: 1rem; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; }
.menu > li { position: relative; }
.menu a {
  display: flex; align-items: center; gap: 4px; padding: 20px 14px; text-decoration: none;
  font-family: var(--font-body); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey);
  white-space: nowrap;
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--coral); }
.has-sub > a::after { content: ""; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; }
.sub-menu {
  position: absolute; left: 0; top: 100%; background: #fff; min-width: 100%;
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social a { width: 20px; height: 20px; border-radius: 50%; background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--grey); }
.social svg { width: 11px; height: 11px; fill: currentColor; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 26px; height: 18px; padding: 0; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: var(--grey); }

@media (max-width: 1100px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0; z-index: 100; background: #fff; flex-direction: column; justify-content: center; gap: 2rem;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .menu { flex-direction: column; align-items: center; }
  .menu a { justify-content: center; padding: 12px; font-size: 13px; }
  .has-sub > a::after { display: none; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; }
  .sub-menu a { font-size: 11px; padding: 4px 12px 12px; }
  .menu-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; font-size: 34px; line-height: 1; color: var(--coral); cursor: pointer; }
}
@media (min-width: 1101px) { .menu-close { display: none; } }

/* ---------- Frame & sections ---------- */
main { padding: 0 var(--frame) 30px; }
.sec { background-size: cover; background-position: center; background-repeat: no-repeat; }
.h-80 { min-height: 80vh; }
.h-60 { min-height: 60vh; }
.h-50 { min-height: 50vh; }
.h-40 { min-height: 40vh; }
.band {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 1.75rem; padding: calc(var(--pad-xl) + 3rem) var(--pad-xl);
}
.band > * { max-width: 768px; }
.band .narrow { max-width: 512px; }
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > * { min-height: inherit; }
.cell { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1.5rem; padding: var(--pad-xl); }
.cell .text { max-width: 463px; }
.cell .text.s { max-width: 256px; }
.img-cell { background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; min-height: 40vh; }
.light { color: #fff; }

.bg-mint { background-color: var(--mint); }
.bg-mint-40 { background-color: rgba(167, 220, 215, .4); }
.bg-mint-20 { background-color: rgba(167, 220, 215, .2); }
.bg-coral { background-color: var(--coral); }
.bg-coral-40 { background-color: rgba(244, 123, 108, .4); }
.bg-coral-20 { background-color: rgba(244, 123, 108, .2); }
.bg-grey { background-color: var(--grey); }
.bg-grey-20 { background-color: rgba(150, 150, 162, .2); }
.bg-blue { background-color: var(--blue); }
.bg-blue-80 { background-color: rgba(150, 173, 217, .8); }

.hero-emblem { display: flex; align-items: center; justify-content: center; }
.hero-emblem img { width: min(350px, 60vw); }

.circle {
  width: 200px; height: 200px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: transform .25s;
}
.circle:hover { transform: scale(1.05); }
.circle h4 { font-weight: 700; letter-spacing: 1px; }

.btn {
  display: inline-block; padding: 18px 27px; border-radius: 3000px; text-decoration: none;
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; transition: opacity .2s;
}
.btn:hover { opacity: .85; }
.btn-mint { background: var(--mint); color: #edf8f7; }
.btn-grey { background: var(--grey); color: #f1f1f3; }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; width: 100%; max-width: 1000px; }
.badges { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: center; }
.badges img { width: auto; max-width: 200px; max-height: 140px; }

/* ---------- Packages ---------- */
.packages { width: 100%; max-width: 1100px; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; text-align: left; font-size: .9rem; line-height: 1.6; }
.package { margin-bottom: 2.5rem; }
.package h3 { font-family: var(--font-body); font-size: .9rem; font-weight: 700; letter-spacing: 0; text-align: left; margin-bottom: .6rem; }
.package ul { margin: 0 0 1em; padding-left: 1.1em; }
.package .price { font-weight: 700; }
.small-note { font-size: .9rem; max-width: 768px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: center; width: 100%; max-width: 1060px; }
.contact-intro { display: flex; flex-direction: column; gap: 1.5rem; text-align: center; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; text-align: left; }
.contact-form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .5px; margin-bottom: 4px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid #fff; color: var(--ink);
  font: inherit; font-size: 1rem; padding: 8px 0;
}
.field textarea { border: 1px solid #fff; border-radius: 2px; padding: 10px; min-height: 140px; resize: vertical; }
.field ::placeholder { color: rgba(64, 64, 64, .55); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.checks label { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 400; color: #fff; margin: 0; cursor: pointer; }
.checks input { accent-color: var(--coral); width: 16px; height: 16px; }
.contact-form button {
  justify-self: start; background: #fff; color: #666; border: 0; border-radius: 2px; padding: 10px 18px;
  font-family: var(--font-head); font-weight: 500; font-size: 14px; cursor: pointer;
}
.contact-form button:hover { background: var(--coral); color: #fff; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(3rem, 2rem + 4vw, 7.5rem) 30px; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.site-footer .flogo { width: 300px; }
.site-footer .email { font-family: var(--font-head); font-size: 14px; text-decoration: none; }
.site-footer .email:hover { color: var(--coral); }
.to-top { width: 42px; height: 42px; border-radius: 4px; background: #f9f9fa; display: flex; align-items: center; justify-content: center; color: var(--grey); margin-top: .5rem; }
.to-top svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .cols-2, .packages, .contact-grid { grid-template-columns: 1fr; }
  .split .img-cell { order: -1; }
  .img-cell { min-height: 45vh; }
  .h-80 { min-height: 60vh; }
}
@media (max-width: 560px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* Parallax: fixed backgrounds on desktop only, as on the original (off below 992px) */
@media (min-width: 992px) { .fx { background-attachment: fixed; } }
.site-footer .legal { margin: .5rem 0 0; font-size: 12px; text-align: center; color: var(--grey); }
.site-footer .legal a { color: var(--grey); }
.site-footer .legal a:hover { color: var(--coral); }
.form-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink); }
.form-note a { color: var(--ink); }
