/* ============================================================
   FACE IT Hudpleie Bergen — Modern Redesign
   Nordisk Luksus-Spa theme
   ============================================================ */

:root {
  --plum-900: #3d183f;
  --plum-700: #4a1d4e;
  --plum-600: #6c0060;
  --plum-500: #7d4a80;
  --cream-50:  #fbf7f2;
  --cream-100: #f6efe7;
  --rose-200:  #e8cdcf;
  --rose-300:  #dcaeae;
  --gold-400:  #c2a878;
  --gold-500:  #a98b5e;
  --ink:       #3c2f3a;
  --ink-soft:  #6f5f6c;
  --white:     #ffffff;
  --shadow-sm: 0 2px 10px rgba(61, 24, 63, .07);
  --shadow-md: 0 10px 30px rgba(61, 24, 63, .10);
  --shadow-lg: 0 24px 60px rgba(61, 24, 63, .16);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--plum-700);
  line-height: 1.2;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1rem; }

a { color: var(--plum-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-500); }

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 242, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 74, 128, .15);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .65rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--plum-700);
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.logo:hover { color: var(--plum-600); }
.logo .logo-tag {
  font-family: var(--font-body);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-500);
  display: block;
  margin-top: .1rem;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .35rem;
}
.main-nav a {
  display: block;
  padding: .55rem 1.05rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: .02em;
}
.main-nav a:hover { background: var(--rose-200); color: var(--plum-700); }
.main-nav li.active a {
  background: var(--plum-700);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--plum-700);
  border-radius: 10px;
  width: 46px;
  height: 42px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--plum-700);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--plum-900);
}
.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61,24,63,.18) 0%, rgba(61,24,63,.55) 78%, rgba(61,24,63,.82) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 5rem 0 4rem;
  max-width: 720px;
}
.hero .kicker {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--rose-300);
  margin-bottom: 1rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  margin-bottom: 1.1rem;
}
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,.92);
  max-width: 560px;
}
.btn {
  display: inline-block;
  padding: .85rem 2.1rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .04em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-primary {
  background: var(--gold-400);
  color: var(--plum-900);
}
.btn-primary:hover { background: var(--gold-500); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  border-color: rgba(255,255,255,.75);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--plum-700); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--plum-700), var(--plum-900));
  color: var(--white);
  padding: 4rem 0 3.2rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: .6rem; }
.page-hero p { color: var(--rose-200); margin: 0; font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head .kicker {
  color: var(--gold-500);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.section-head p { color: var(--ink-soft); }

/* ---------- Intro / about ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.intro-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.intro-image img { width: 100%; height: 420px; object-fit: cover; }
.intro-text p { color: var(--ink-soft); }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid rgba(124, 74, 128, .12);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: center;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--cream-100);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}
.card h3 { font-size: 1.3rem; }
.card p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ---------- Services checklist ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.service-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--white);
  border: 1px solid rgba(124, 74, 128, .12);
  border-radius: 14px;
  padding: .95rem 1.2rem;
  font-weight: 500;
  transition: all .2s ease;
}
.service-item:hover { border-color: var(--rose-300); box-shadow: var(--shadow-sm); }
.service-item .dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-300), var(--plum-600));
}
a.service-item {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.service-item:hover {
  color: var(--plum-600);
  transform: translateY(-2px);
}

/* ---------- Price tables ---------- */
.price-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.price-panel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(124, 74, 128, .12);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.price-panel h2 {
  background: linear-gradient(135deg, var(--plum-700), var(--plum-500));
  color: var(--white);
  margin: 0;
  padding: 1.15rem 1.5rem;
  font-size: 1.35rem;
  letter-spacing: .02em;
}
.price-panel ul { list-style: none; margin: 0; padding: .6rem 0; }
.price-panel li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: .6rem 1.5rem;
  border-bottom: 1px dashed rgba(124, 74, 128, .14);
  font-size: .99rem;
}
.price-panel li:last-child { border-bottom: none; }
.price-panel li span.name { color: var(--ink-soft); }
.price-panel li span.price {
  font-weight: 600;
  color: var(--plum-700);
  white-space: nowrap;
}
.price-panel li.note {
  font-style: italic;
  color: var(--gold-500);
  border-bottom: none;
  font-size: .92rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2.5rem;
}
.panel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(124, 74, 128, .12);
  box-shadow: var(--shadow-sm);
  padding: 2.2rem;
}
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--plum-700);
}
.contact-form label .req { color: #c0392b; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .8rem 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(124, 74, 128, .25);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream-50);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--plum-600);
  box-shadow: 0 0 0 3px rgba(108, 0, 96, .12);
}
.contact-form .btn { width: 100%; font-size: 1.02rem; }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex;
  gap: .9rem;
  padding: .85rem 0;
  border-bottom: 1px dashed rgba(124, 74, 128, .15);
  align-items: flex-start;
}
.info-list li:last-child { border-bottom: none; }
.info-list .label {
  font-weight: 700;
  color: var(--plum-700);
  min-width: 118px;
  flex: none;
}
.info-list .value { color: var(--ink-soft); }
.info-list .value a { color: var(--plum-600); }

.map-frame {
  border: none;
  border-radius: var(--radius);
  width: 100%;
  height: 320px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Thank-you ---------- */
.thanks {
  text-align: center;
  padding: 6rem 0;
}
.thanks .icon-big {
  font-size: 3.4rem;
  margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(160deg, var(--plum-900), var(--plum-700));
  color: rgba(255,255,255,.85);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.site-footer h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer ul a {
  color: rgba(255,255,255,.85);
  padding-left: 1.1rem;
  position: relative;
}
.site-footer ul a::before {
  content: "❧";
  position: absolute;
  left: 0;
  color: var(--gold-400);
}
.site-footer ul a:hover { color: var(--gold-400); }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer a { color: var(--gold-400); }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.5rem;
  font-size: .9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,.85); }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-50);
    border-bottom: 1px solid rgba(124, 74, 128, .15);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul { flex-direction: column; padding: .8rem 1.2rem 1.2rem; gap: .2rem; }
  .main-nav a { padding: .8rem 1rem; border-radius: 10px; }
  .hero { min-height: 78vh; }
  .hero-content { padding: 4rem 0 3rem; }
  .section { padding: 3rem 0; }
  .price-panel li { padding: .55rem 1.1rem; }
  .panel { padding: 1.6rem; }
}
