/* ============================================================
   Seilou Kropsterapi — landing page
   Farver hentet fra reklamebilledet: dyb skiferblå, guld, fløde
   ============================================================ */

:root {
  --navy-950: #070e14;
  --navy-900: #0b121a;
  --navy-850: #0f1925;
  --navy-800: #142434;
  --navy-700: #1d334b;
  --slate-600: #3c5267;

  --gold-600: #c9a233;
  --gold-500: #f5c846;
  --gold-400: #ffd36b;

  --cream: #ede5d9;
  --cream-soft: rgba(237, 229, 217, .74);
  --cream-faint: rgba(237, 229, 217, .48);

  --line: rgba(245, 200, 70, .20);
  --line-soft: rgba(237, 229, 217, .12);

  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --wrap: min(1120px, 92vw);
  --pad: clamp(1.25rem, 5vw, 5rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--cream);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: var(--gold-400); }

::selection {
  background: rgba(245, 200, 70, .30);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 100;
  padding: .7rem 1.2rem;
  background: var(--gold-500);
  color: #101a24;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 12px 12px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ------------------------------------------------------------ header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem var(--pad);
  background: linear-gradient(180deg, rgba(7, 14, 20, .88), rgba(7, 14, 20, .32));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(237, 229, 217, .07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--cream);
}

.brand__mark {
  width: 46px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6));
}

.brand__name {
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: .06em;
  white-space: nowrap;
}

.header-phone {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  padding: .5rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--cream);
  background: rgba(237, 229, 217, .04);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.header-phone:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
  background: rgba(245, 200, 70, .08);
}

.header-phone__label {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

.header-phone__number {
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: .04em;
  color: var(--gold-400);
}

/* ------------------------------------------------------------- hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(7.5rem, 16vh, 11rem) var(--pad) clamp(4rem, 9vh, 7rem);
  background-color: var(--navy-900);
  background-image:
    radial-gradient(90% 70% at 80% 32%, rgba(7, 14, 20, .55), rgba(7, 14, 20, .05) 70%),
    linear-gradient(180deg, rgba(7, 14, 20, .72) 0%, rgba(7, 14, 20, .18) 38%, rgba(7, 14, 20, .92) 100%),
    url("../img/hero-bg.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, 72% center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 47%;
  width: min(860px, 104vw);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
      rgba(245, 200, 70, .28) 0%,
      rgba(245, 200, 70, .13) 30%,
      rgba(245, 200, 70, .04) 52%,
      rgba(245, 200, 70, 0) 72%);
  filter: blur(4px);
  pointer-events: none;
  animation: breathe 10s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: .72; transform: translate(-50%, -50%) scale(.97); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.04); }
}

.hero__inner {
  position: relative;
  width: var(--wrap);
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1.15rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.hero__logo {
  display: block;
  width: min(520px, 80vw);
  margin: 0 auto;
}

.hero__logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, .62));
}

.hero__rule {
  width: 84px;
  height: 1px;
  margin: clamp(1.6rem, 3.5vw, 2.4rem) auto;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(245, 200, 70, .85), transparent);
}

.hero__lead {
  max-width: 38ch;
  margin: 0 auto;
  font-size: clamp(1.05rem, .98rem + .5vw, 1.3rem);
  line-height: 1.72;
  color: var(--cream-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: #101a24;
  box-shadow: 0 14px 30px rgba(245, 200, 70, .20);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(245, 200, 70, .30);
  color: #101a24;
}

.btn--ghost {
  border-color: rgba(237, 229, 217, .28);
  background: rgba(237, 229, 217, .04);
  color: var(--cream);
}
.btn--ghost:hover {
  border-color: var(--gold-500);
  background: rgba(245, 200, 70, .08);
  color: var(--gold-400);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------- kontakt */

.contact {
  position: relative;
  scroll-margin-top: 88px;
  padding: clamp(4rem, 9vw, 7.5rem) var(--pad) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(29, 51, 75, .45), transparent 72%),
    linear-gradient(180deg, var(--navy-950), #0a121b 60%, #080f17);
}

.contact__head {
  width: var(--wrap);
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.contact__head h2 {
  max-width: 28ch;
  margin: 0 auto;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.3rem);
  line-height: 1.32;
  letter-spacing: .005em;
  color: var(--cream);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.15rem;
  width: min(820px, var(--wrap));
  margin-inline: auto;
}

.card {
  padding: clamp(1.6rem, 3.5vw, 2.3rem);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(237, 229, 217, .07), rgba(237, 229, 217, .02));
  box-shadow: 0 22px 48px rgba(0, 0, 0, .32);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  border-color: rgba(245, 200, 70, .42);
  transform: translateY(-3px);
  box-shadow: 0 28px 58px rgba(0, 0, 0, .42);
}

.card__label {
  margin: 0 0 .7rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

.card__value {
  display: block;
  margin: 0 0 .65rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 1.3rem + 1.4vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: .02em;
  color: var(--cream);
  text-decoration: none;
}

a.card__value {
  color: var(--gold-400);
  transition: color .2s ease;
}
a.card__value:hover { color: var(--gold-400); }

.card__note {
  margin: 0;
  font-size: .92rem;
  color: var(--cream-faint);
}

/* ---------------------------------------------------------- footer */

.site-footer {
  padding: clamp(2.5rem, 5vw, 3.6rem) var(--pad);
  text-align: center;
  border-top: 1px solid rgba(237, 229, 217, .08);
  background: #070d14;
  color: var(--cream-faint);
  font-size: .92rem;
}

.site-footer p { margin: 0; }

.site-footer__brand {
  font-family: var(--display);
  font-size: 1.08rem;
  color: var(--cream);
  margin-bottom: .45rem !important;
}

.site-footer__brand em {
  font-style: italic;
  color: var(--gold-500);
}

.site-footer__meta a {
  color: var(--cream-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(237, 229, 217, .25);
}
.site-footer__meta a:hover {
  color: var(--gold-400);
  border-color: var(--gold-500);
}

/* --------------------------------------------------------- responsivt */

@media (max-width: 640px) {
  .brand__name { font-size: .95rem; }
  .header-phone { padding: .45rem .85rem; }
  .header-phone__label { display: none; }
  .hero__logo { width: min(420px, 88vw); }
  .hero { background-position: center, center, 68% center; }
}

/* Korte skærme: logoet skaleres ned, så hele budskabet er synligt uden at scrolle */
@media (min-width: 641px) and (max-height: 880px) {
  .hero { padding-top: clamp(6rem, 13vh, 8rem); }
  .hero__logo { width: min(430px, 46vw); }
  .hero__rule { margin: clamp(1.1rem, 2.6vw, 1.7rem) auto; }
}

@media (max-width: 380px) {
  .brand__name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
