/* =========================================================
   SITE.CSS – kompletterande stil för den nya startsidan.
   Laddas efter style.css och bygger på samma variabler.
   ========================================================= */
html { scroll-padding-top: 84px; }

/* ---------- Header: transparent över hero, solid vid scroll ---------- */
.site-header { position: fixed; left: 0; right: 0; top: 0; transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.site-header.on-hero { background: transparent; border-color: transparent; backdrop-filter: none; }
.site-header.on-hero .brand, .site-header.on-hero .nav a:not(.btn), .site-header.on-hero .nav-toggle { color: #fff; }
.site-header.on-hero .nav a:not(.btn):hover { color: var(--gold); }
.site-header.on-hero .nav-toggle { border-color: rgba(255, 255, 255, 0.4); }
.site-header.scrolled { box-shadow: 0 4px 24px rgba(43, 37, 33, 0.06); }
.nav.open a:not(.btn) { color: var(--text) !important; }

/* ---------- Hero med foto ---------- */
.hero-photo { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 7rem 0 5rem; color: #fff; overflow: hidden; isolation: isolate; }
.hero-photo .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 24s ease-in-out infinite alternate; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(31, 22, 18, 0.86) 0%, rgba(31, 22, 18, 0.55) 55%, rgba(31, 22, 18, 0.25) 100%); }
.hero-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: -1; background: linear-gradient(to top, rgba(31, 22, 18, 0.7), transparent); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-photo .container { display: block; max-width: 1120px; }
.hero-photo .eyebrow { color: var(--gold); }
.hero-photo h1 { color: #fff; max-width: 14ch; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.hero-photo .lead { color: rgba(255, 255, 255, 0.85); max-width: 560px; font-size: 1.15rem; }
.hero-photo .btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.hero-photo .btn-ghost:hover { background: #fff; color: var(--text); border-color: #fff; }
.hero-photo .open-status { color: rgba(255, 255, 255, 0.8); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; margin-top: 2rem; }
.google-badge { display: inline-flex; align-items: center; gap: 0.8rem; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.2); padding: 0.6rem 1rem 0.6rem 0.7rem; border-radius: 999px; color: #fff; font-size: 0.9rem; transition: background 0.2s; }
.google-badge:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.google-badge .g { width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.google-badge strong { font-size: 1.05rem; }
.google-badge .stars { color: #f5b301; letter-spacing: 1px; font-size: 0.85rem; }
.scroll-hint { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollhint 1.8s ease-in-out infinite; }
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Varumärkesrad ---------- */
.marquee { background: var(--text); color: var(--bg); overflow: hidden; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: 0.06em; white-space: nowrap; opacity: 0.85; display: inline-flex; align-items: center; gap: 3.5rem; }
.marquee span::after { content: "✦"; color: var(--gold); font-size: 0.7rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sektionsrubriker centrerade ---------- */
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Tjänstekort med bild ---------- */
.service-card { padding: 0; overflow: hidden; }
.service-card .service-img { aspect-ratio: 7 / 5; overflow: hidden; background: var(--bg-alt); }
.service-card .service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-card .service-body { padding: 1.3rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }

/* ---------- Om salongen ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-media { position: relative; }
.about-media .big { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: var(--shadow); }
.about-media .small { position: absolute; right: -8%; bottom: -8%; width: 45%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--bg); box-shadow: var(--shadow); }
.about-media .deco { position: absolute; left: -6%; top: -6%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--accent-soft), transparent 70%); z-index: -1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.stats div { padding: 1rem 0; border-top: 2px solid var(--line); }
.stats .num { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--accent); }
.stats .lbl { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.4rem; }

/* ---------- Feature-block ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); margin-bottom: 2rem; }
.feature:last-child { margin-bottom: 0; }
.feature-media { position: relative; min-height: 380px; overflow: hidden; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-body { padding: 3.5rem; display: flex; flex-direction: column; justify-content: center; }
.feature-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.feature-body p { color: var(--muted); }
.feature-body .btn { align-self: flex-start; margin-top: 0.5rem; }
.feature.reverse .feature-media { order: 2; }

/* ---------- Recensioner ---------- */
.reviews-section { background: var(--text); color: var(--bg); }
.reviews-section .eyebrow { color: var(--gold); }
.reviews-section h2 { color: #fff; }
.reviews-section .section-head p:last-child { color: rgba(255, 255, 255, 0.7); }
.rating-line { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 0.5rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }
.rating-line .stars { color: #f5b301; font-size: 1.1rem; letter-spacing: 2px; }
.rating-line strong { color: #fff; font-size: 1.2rem; }
.rating-line a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.reviews-wrap { position: relative; }
.reviews-track { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0.5rem 0.2rem 1.5rem; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(360px, 85vw); scroll-snap-align: start; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; transition: background 0.2s, transform 0.2s; }
.review:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-3px); }
.review-head { display: flex; align-items: center; gap: 0.8rem; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; flex: none; }
.review .who { flex: 1; line-height: 1.3; }
.review .who strong { display: block; color: #fff; }
.review .who span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }
.review .glogo { width: 20px; height: 20px; }
.review .stars { color: #f5b301; letter-spacing: 2px; }
.review p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; line-height: 1.6; }
.reviews-nav { display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.5rem; }
.reviews-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: #fff; font-size: 1.2rem; display: grid; place-items: center; transition: background 0.2s; }
.reviews-nav button:hover { background: rgba(255, 255, 255, 0.15); }

/* ---------- Produkter / butik ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.chip { padding: 0.5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: 0.88rem; color: var(--muted); transition: all 0.15s; }
.chip:hover { border-color: var(--gold); color: var(--text); }
.chip.active { background: var(--text); border-color: var(--text); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; position: relative; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-alt); position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s; }
.product:hover .product-img img { transform: scale(1.05); }
.product .tag { position: absolute; top: 0.8rem; left: 0.8rem; background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.6rem; border-radius: 999px; }
.product-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.product .brand { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 700; }
.product h3 { font-size: 1.05rem; margin: 0; }
.product .desc { font-size: 0.85rem; color: var(--muted); margin: 0.2rem 0 0.8rem; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.product .price { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }
.product .btn.added { background: var(--success); }
.product-grid .empty-state { grid-column: 1 / -1; }

/* Varukorg */
.cart-fab { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--text); color: #fff; border: none; box-shadow: 0 10px 30px rgba(43, 37, 33, 0.3); display: grid; place-items: center; transition: transform 0.2s, opacity 0.3s; }
.cart-fab:hover { transform: scale(1.06); }
.cart-fab[hidden] { display: none; }
.cart-fab .count { position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 0.78rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.cart-fab.bump { animation: bump 0.4s ease; }
@keyframes bump { 30% { transform: scale(1.18); } }
.cart-overlay { position: fixed; inset: 0; background: rgba(31, 22, 18, 0.45); z-index: 70; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--bg); z-index: 80; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(43, 37, 33, 0.2); }
body.cart-open .cart-overlay { opacity: 1; pointer-events: auto; }
body.cart-open .cart-drawer { transform: none; }
body.cart-open { overflow: hidden; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); }
.cart-head h3 { margin: 0; }
.cart-close { background: none; border: none; font-size: 1.6rem; line-height: 1; color: var(--muted); }
.cart-body { flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.9rem; align-items: center; padding: 0.8rem 0; border-bottom: 1px dashed var(--line); }
.cart-item img { width: 64px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item .brand { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 700; }
.cart-item .name { font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.cart-item .unit { font-size: 0.85rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; margin-top: 0.4rem; }
.qty button { width: 30px; height: 30px; border: none; background: transparent; font-weight: 700; }
.qty button:hover { background: var(--bg-alt); }
.qty span { min-width: 26px; text-align: center; font-weight: 600; font-size: 0.9rem; }
.cart-item .line { font-weight: 700; text-align: right; }
.cart-item .remove { display: block; margin-top: 0.3rem; background: none; border: none; color: var(--muted); font-size: 0.78rem; text-decoration: underline; }
.cart-foot { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid var(--line); background: var(--surface); }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; }
.cart-foot .btn { width: 100%; }
.cart-note { font-size: 0.82rem; color: var(--muted); margin: 0.8rem 0 0; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.cart-empty svg { margin-bottom: 1rem; opacity: 0.4; }
.checkout-form .field { margin-bottom: 0.9rem; }
.order-confirm { text-align: center; padding: 1rem 0; }
.order-confirm .code { display: inline-block; font-family: var(--font-head); font-size: 1.8rem; letter-spacing: 0.2em; padding: 0.4rem 1.2rem; background: var(--bg-alt); border-radius: var(--radius-sm); margin: 0.6rem 0 1rem; }
.order-confirm ul { list-style: none; padding: 0; margin: 0 0 1rem; text-align: left; font-size: 0.92rem; }
.order-confirm li { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px dashed var(--line); }

/* ---------- Galleri ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; gap: 0.8rem; }
.gallery a { position: relative; overflow: hidden; border-radius: var(--radius-sm); display: block; }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.gallery a:hover img { transform: scale(1.07); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31, 22, 18, 0.35), transparent 50%); opacity: 0; transition: opacity 0.3s; }
.gallery a:hover::after { opacity: 1; }
.gallery-cta { text-align: center; margin-top: 2rem; }

/* ---------- Karta ---------- */
.map-wrap { margin-top: 3rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 21 / 8; background: var(--bg-alt); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85) contrast(1.02); }
.map-placeholder { height: 100%; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--text); color: rgba(255, 255, 255, 0.65); border-top: none; padding: 3.5rem 0 2rem; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .brand { color: #fff; }
.site-footer h4 { font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.8rem; }
.site-footer a { color: rgba(255, 255, 255, 0.8); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; font-size: 0.92rem; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding-top: 1.5rem; margin-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; }
.social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); display: grid; place-items: center; transition: background 0.2s; }
.social a:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.in > *:nth-child(n + 7) { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .hero-photo .hero-bg, .marquee-track { animation: none; }
}

/* ---------- Responsivt ---------- */
@media (max-width: 900px) {
  .about, .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .feature-media { min-height: 280px; }
  .feature-body { padding: 2.2rem 1.6rem; }
  .about-media { max-width: 480px; margin: 0 auto 2rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 140px; }
  .gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery a:nth-child(4) { grid-column: span 1; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .map-wrap { aspect-ratio: 4 / 3; }
}
@media (max-width: 700px) {
  .hero-photo { min-height: 92vh; padding: 6rem 0 4rem; }
  .hero-photo h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }
  .stats .num { font-size: 1.4rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .site-footer .container { grid-template-columns: 1fr; }
  .cart-fab { right: 1rem; bottom: 1rem; }
  .about-media .small { right: 0; }
  .nav.open { background: var(--bg); }
}
