/* =========================================================================
   ASPAN PROPERTIES — Property Detail Page (template canonical: 86B Designer)
   Palette: warm-white v6 + Falu rödfärg + forest + sand + brown
   ========================================================================= */
:root {
  --bg:        #fcfbf8;
  --bg-deep:   #f5f1e7;
  --card:      #ffffff;
  --card-warm: #faf6ec;
  --ink:       #0c0c0c;
  --ink-soft:  #1f1f1f;
  --mute:      #686358;
  --line:      #e8e2d0;
  --falu:      #8b3a2e;
  --falu-2:    #6e2e23;
  --falu-soft: #fdf2ef;
  --forest:    #3c4d3f;
  --sand:      #c9a872;
  --beige:     #e8dfc9;
  --brown:     #5a4434;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
  --shadow-card: 0 6px 24px rgba(12,12,12,.05);
  --shadow-card-hover: 0 18px 44px rgba(12,12,12,.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 5vw; }

/* ===== BRAND MARK ===== */
.mark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; }
.mark .top { font-family: var(--serif); font-weight: 500; letter-spacing: .42em; line-height: 1; font-size: inherit; }
.mark .bot { font-family: var(--sans); font-weight: 500; letter-spacing: .52em; font-size: .26em; margin-top: 1.3em; padding-left: .6em; opacity: .8; color: var(--falu); }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 1.2rem 0; background: rgba(252,251,248,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav .mark { color: var(--ink); font-size: 1.1rem; }
.nav-links { display: flex; gap: 2rem; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.nav-links a { color: var(--ink); transition: color .2s ease; }
.nav-links a:hover { color: var(--falu); }
.nav-cta { padding: .6rem 1.2rem; background: var(--falu); color: #fff; border-radius: 2px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; transition: background .2s ease; }
.nav-cta:hover { background: var(--falu-2); color: #fff; }
@media (max-width: 880px) { .nav-links { display: none; } }

/* ===== BREADCRUMB ===== */
.crumb { padding: 6.5rem 0 1rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.crumb a { color: var(--mute); border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.crumb a:hover { color: var(--falu); border-color: var(--falu); }
.crumb span { margin: 0 .6em; opacity: .5; }

/* ===== HERO ===== */
.hero { padding: 1.5rem 0 3.3rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: stretch; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-img { position: relative; aspect-ratio: 5/4; border-radius: 4px; overflow: hidden; background: var(--card-warm); min-width: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-status { position: absolute; top: 1.2rem; left: 1.2rem; background: #fff; color: var(--forest); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; padding: .45rem .85rem; border-radius: 2px; box-shadow: var(--shadow-card); }
.hero-status.ready { color: var(--falu); }
.hero-content { display: flex; flex-direction: column; justify-content: center; padding: 1rem 0; min-width: 0; }
.hero-kicker { font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--forest); font-weight: 600; margin-bottom: 1rem; }
.hero-content h1 { font-family: var(--serif); font-size: clamp(2.4rem, 4.4vw, 3.75rem); font-weight: 500; line-height: 1.08; color: var(--ink); margin-bottom: .4rem; }
.hero-content .sub { display: block; font-family: var(--sans); font-size: 1.1rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); font-weight: 500; margin-top: .9rem; }
.hero-meta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1.1rem 1.8rem; font-size: .92rem; color: var(--ink); }
.hero-meta .item b { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; color: var(--falu); display: block; line-height: 1; margin-bottom: .25rem; }
.hero-meta .item span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hero-content .lede { margin-top: 1.8rem; font-size: 1.1rem; line-height: 1.6; color: var(--ink-soft); max-width: 40ch; }

/* ===== SECTION SCAFFOLD ===== */
.section { padding: 4rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 2.2rem; max-width: 64ch; }
.section-head .kicker { display: block; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--falu); font-weight: 600; margin-bottom: .8rem; }
.section-head h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; line-height: 1.2; color: var(--ink); }

/* ===== DESCRIPTION ===== */
.desc-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }
@media (max-width: 880px) { .desc-grid { grid-template-columns: 1fr; } }
.desc-body p { font-size: 1.02rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 1.1rem; }
.desc-included { background: var(--card-warm); border-radius: 4px; padding: 1.6rem 1.8rem; }
.desc-included h4 { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--ink); margin-bottom: .8rem; }
.desc-included ul { list-style: none; }
.desc-included li { font-size: .9rem; padding: .35rem 0; color: var(--ink); display: flex; align-items: center; gap: .6rem; }
.desc-included li::before { content: '·'; color: var(--falu); font-weight: 700; font-size: 1.4em; }

/* ===== AMENITIES ===== */
.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
@media (max-width: 880px) { .amenities { grid-template-columns: repeat(2, 1fr); } }
.amenity { background: var(--card); padding: 1.4rem 1.2rem; text-align: center; transition: background .2s ease; }
.amenity:hover { background: var(--card-warm); }
.amenity .ic { font-size: 1.6rem; color: var(--falu); margin-bottom: .5rem; line-height: 1; }
.amenity h5 { font-family: var(--serif); font-size: 1.02rem; font-weight: 500; color: var(--ink); margin-bottom: .15rem; }
.amenity p { font-size: .78rem; color: var(--mute); }

/* ===== GALLERY (10% bigger thumbs via 3-col default) ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
.gallery a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 3px; cursor: pointer; background: var(--card-warm); }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery .feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* Lightbox */
.lb { position: fixed; inset: 0; background: rgba(12,12,12,.92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 4rem 5vw; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-close { position: absolute; top: 1.4rem; right: 1.6rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; opacity: .7; transition: opacity .2s ease; }
.lb-close:hover { opacity: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.4rem; opacity: .8; transition: opacity .2s ease, background .2s ease; }
.lb-nav:hover { opacity: 1; background: rgba(255,255,255,.2); }
.lb-prev { left: 2rem; }
.lb-next { right: 2rem; }

/* ===== LOCATION ===== */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
@media (max-width: 880px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-map { aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; background: var(--card-warm); border: 1px solid var(--line); }
.loc-map iframe { width: 100%; height: 100%; border: none; }
.loc-list h4 { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--ink); margin-bottom: 1rem; }
.loc-list ul { list-style: none; margin-bottom: 1.6rem; }
.loc-list li { padding: .55rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; font-size: .92rem; }
.loc-list li:last-child { border-bottom: none; }
.loc-list li .label { color: var(--ink); }
.loc-list li .value { color: var(--falu); font-weight: 600; }

/* ===== BOOKING / CTA ===== */
.booking { background: var(--brown); color: #fff; padding: 3.4rem 2.2rem; text-align: center; border-radius: 4px; margin-top: 1rem; }
.booking h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 500; margin-bottom: .8rem; color: #fff; }
.booking p { color: rgba(255,255,255,.85); font-size: 1rem; max-width: 56ch; margin: 0 auto 1.8rem; }
.booking-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.btn-primary, .btn-secondary { display: inline-block; padding: .9rem 1.8rem; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; border-radius: 2px; transition: background .2s ease, color .2s ease, border-color .2s ease; cursor: pointer; }
.btn-primary { background: var(--falu); color: #fff; border: 1px solid var(--falu); }
.btn-primary:hover { background: var(--falu-2); color: #fff; }
.btn-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-secondary:hover { border-color: #fff; }

/* ===== RELATED ===== */
.related { padding: 4rem 0; background: var(--bg-deep); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 880px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { background: var(--card); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.related-card img { aspect-ratio: 16/10; object-fit: cover; }
.related-card .body { padding: 1.2rem 1.4rem 1.4rem; }
.related-card h4 { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--ink); margin-bottom: .35rem; }
.related-card p { font-size: .82rem; color: var(--mute); }

/* ===== FOOTER ===== */
.footer { background: var(--brown); color: #fff; padding: 4rem 0 2rem; }
.footer .top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 880px) { .footer .top { grid-template-columns: 1fr 1fr; } .footer .brand-block { grid-column: 1 / -1; } }
.footer .brand-block p { font-size: .92rem; color: rgba(255,255,255,.78); margin-bottom: 1rem; max-width: 38ch; }
.footer .trust-line { font-size: .78rem; line-height: 1.7; color: rgba(255,255,255,.55); letter-spacing: .04em; }
.footer h6 { font-family: var(--sans); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--sand); margin-bottom: 1rem; }
.footer ul { list-style: none; }
.footer ul li { padding: .3rem 0; }
.footer ul a { font-size: .9rem; color: rgba(255,255,255,.78); transition: color .2s ease; }
.footer ul a:hover { color: #fff; }
.footer .bot { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.6rem; font-size: .78rem; color: rgba(255,255,255,.5); text-align: center; }

/* ===== LOCATION (rev — separera karta + info som distinkta kort) ===== */
.loc-grid { align-items: start; gap: 2.5rem; }
.loc-list { background: var(--card-warm); border: 1px solid var(--line); border-radius: 4px; padding: 1.8rem 2rem; }
.loc-list h4 { margin-top: 0; }
.loc-list h4 + ul + h4 { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }

/* ===== CALENDAR (live-tillgänglighet, kopplas via iCal till Booking.com) ===== */
.calendar-section { padding: 4rem 0; }
.cal-wrap { max-width: 580px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 1.8rem 2rem; box-shadow: var(--shadow-card); }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.cal-header h4 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); margin: 0; }
.cal-nav { background: none; border: 1px solid var(--line); width: 2.2rem; height: 2.2rem; border-radius: 2px; cursor: pointer; font-size: 1.1rem; color: var(--falu); transition: background .15s ease, border-color .15s ease; font-family: var(--sans); }
.cal-nav:hover { background: var(--falu-soft); border-color: var(--falu); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.cal-dow { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); text-align: center; padding: .4rem 0; font-weight: 600; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: .82rem; border-radius: 2px; background: var(--bg); color: var(--ink); transition: background .15s ease; font-variant-numeric: tabular-nums; }
.cal-day.empty { background: transparent; }
.cal-day.booked { background: var(--falu-soft); color: var(--falu); text-decoration: line-through; opacity: .7; cursor: not-allowed; }
.cal-day.today { background: var(--forest); color: #fff; font-weight: 600; }
.cal-day.past { opacity: .35; }
.cal-legend { display: flex; justify-content: center; gap: 1.6rem; margin-top: 1.2rem; font-size: .74rem; color: var(--mute); flex-wrap: wrap; }
.cal-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cal-legend i { display: inline-block; width: .8rem; height: .8rem; border-radius: 1px; }
.cal-legend .avail { background: var(--bg); border: 1px solid var(--line); }
.cal-legend .booked { background: var(--falu-soft); }
.cal-legend .today { background: var(--forest); }
.cal-sync { text-align: center; font-size: .76rem; color: var(--mute); margin-top: 1rem; font-style: italic; }
