/* ==========================================================================
   With You Real Estate — core stylesheet
   Palette + type inspired by high-end real-estate marketing sites.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #6f6f6b;
  --color-accent: #a98a52;      /* muted gold */
  --color-accent-dark: #86693b;
  --color-line: #e6e3dc;
  --color-surface: #f7f6f3;     /* warm off-white section bg */
  --color-dark: #14140f;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --header-h: 88px;
  --container: 1360px;
  --gutter: clamp(20px, 4vw, 64px);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  letter-spacing: .01em;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 15px 34px;
  border: 1px solid var(--color-text);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  background: transparent;
}
.btn:hover { background: var(--color-text); color: #fff; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--color-text); }
.btn-accent { border-color: var(--color-accent); background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); }

/* ---- Header / Nav -------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--ease), border-color var(--ease), height var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid,
.site-header.is-inner {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom-color: var(--color-line);
}
.header-inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-left { display: flex; align-items: center; }
/* Header logo is centered on the bar itself (not the flex row), so it stays
   dead-center regardless of how wide the nav / icons are on either side.
   Scoped to .site-header on purpose: a bare `.logo` rule also catches the
   footer logo, which then anchors to the initial containing block and floats
   over the hero. */
.site-header .logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  line-height: 0;
}
.logo-img { height: 40px; width: auto; display: block; }
.logo-img.logo-dark { display: none; }
.site-header.is-solid .logo-img.logo-light,
.site-header.is-inner .logo-img.logo-light { display: none; }
.site-header.is-solid .logo-img.logo-dark,
.site-header.is-inner .logo-img.logo-dark { display: block; }
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.site-header.is-solid .main-nav a,
.site-header.is-inner .main-nav a { color: var(--color-text); }
.main-nav a:hover,
.main-nav a.active { border-color: var(--color-accent); color: var(--color-accent); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn {
  background: none; border: none; color: #fff;
  width: 22px; height: 22px; padding: 0;
  transition: color var(--ease);
}
.site-header.is-solid .icon-btn,
.site-header.is-inner .icon-btn { color: var(--color-text); }
.icon-btn svg { width: 100%; height: 100%; }
.menu-toggle {
  background: none; border: none; padding: 0;
  width: 26px; height: 18px; position: relative;
  display: none;
}
.menu-toggle span {
  position: absolute; left: 0; width: 100%; height: 1px;
  background: #fff; transition: background var(--ease), transform var(--ease);
}
.site-header.is-solid .menu-toggle span,
.site-header.is-inner .menu-toggle span { background: var(--color-text); }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 8px; }
.menu-toggle span:nth-child(3) { top: 16px; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px var(--gutter) 28px;
    gap: 18px;
    border-bottom: 1px solid var(--color-line);
  }
  .main-nav.is-open a { color: var(--color-text); }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-dark);
}
.hero video,
.hero .hero-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}
.hero-logo {
  width: clamp(240px, 34vw, 460px);
  aspect-ratio: 1485 / 430;
  margin: 0 auto;
  background-image: url('../assets/img/logo-white.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.hero-tagline {
  margin-top: 22px;
  font-size: 1rem;
  letter-spacing: .04em;
  font-weight: 300;
  color: rgba(255,255,255,.88);
}
.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; opacity: .85;
}
.scroll-cue .line { width: 1px; height: 34px; background: rgba(255,255,255,.6); animation: scrollcue 1.8s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.01% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hero-cta {
  margin-top: 30px;
}
/* On the homepage hero (transparent, not yet scrolled) the nav + search
   collapse away — only the centered logo remains, echoing the minimal
   look of a full-bleed video hero. Full nav lives in the hero's own
   bottom bar instead, then reappears in the header once you scroll. */
.site-header:not(.is-solid):not(.is-inner) .main-nav,
.site-header:not(.is-solid):not(.is-inner) .header-actions {
  display: none;
}
@media (max-width: 900px) {
  .site-header:not(.is-solid):not(.is-inner) .main-nav,
  .site-header:not(.is-solid):not(.is-inner) .header-actions { display: none; }
}
.hero-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-bar-left { display: flex; align-items: center; gap: 32px; }
.hero-bar nav { display: flex; gap: 28px; }
.hero-bar a, .hero-bar button {
  color: #fff; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  background: none; border: none; padding: 0;
}
.hero-bar a:hover { color: var(--color-accent); }
.hero-bar .icon-btn { width: 18px; height: 18px; color: #fff; }
@media (max-width: 700px) {
  .hero-bar-left nav { display: none; }
  .hero-bar { padding: 18px var(--gutter); }
}

/* ---- Section rhythm ------------------------------------------------------ */
section { padding: clamp(64px, 9vw, 128px) 0; }
.section-surface { background: var(--color-surface); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 14px; }
.section-head p { color: var(--color-text-muted); margin-top: 18px; font-size: 1rem; }

/* ---- Video divider (full-screen title-only video section) ----------------- */
.video-divider {
  position: relative; height: 100vh; min-height: 480px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--color-dark); padding: 0;
}
.video-divider video, .video-divider .poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* Poster images stand in for real footage — a slow zoom hints at motion
   until you drop your own video into the <source> tags above. */
.video-divider .poster, .story-bleed .poster { animation: kenburns 20s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
.video-divider::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.55) 100%);
}
.video-divider-content { position: relative; z-index: 2; text-align: center; color: #fff; }
.video-divider-content h2 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: .03em; }

/* ---- Exclusive listings carousel (full-screen, one slide at a time) ------- */
.exclusive-carousel {
  position: relative; height: 100vh; min-height: 560px; overflow: hidden; padding: 0;
  background: var(--color-dark);
}
.exclusive-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease);
}
.exclusive-slide.is-active { opacity: 1; visibility: visible; }
.exclusive-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.exclusive-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.1) 45%, rgba(0,0,0,.35) 100%);
}
.exclusive-slide-content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; color: #fff;
  padding: 0 var(--gutter) 90px;
}
.exclusive-slide-content .eyebrow { color: #e6d6b8; }
.exclusive-slide-content h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-top: 12px; max-width: 760px; }
.exclusive-meta { margin-top: 16px; font-size: .9rem; letter-spacing: .05em; color: rgba(255,255,255,.85); }
.exclusive-meta span::after { content: '·'; margin: 0 10px; opacity: .6; }
.exclusive-meta span:last-child::after { content: ''; margin: 0; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.15); color: #fff; font-family: var(--font-display); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--ease), border-color var(--ease);
}
.carousel-arrow:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.carousel-arrow.prev { left: var(--gutter); }
.carousel-arrow.next { right: var(--gutter); }
.carousel-dots { position: absolute; right: var(--gutter); bottom: 90px; z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0;
  transition: background var(--ease);
}
.carousel-dots button.is-active { background: #fff; }
@media (max-width: 700px) {
  .carousel-dots { display: none; }
  .exclusive-slide-content { padding-bottom: 64px; }
}

/* ---- Curated / tabbed listings section ------------------------------------ */
.curated-tabs {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 48px;
}
.tab-btn {
  background: none; border: 1px solid var(--color-line); padding: 12px 22px;
  font-family: var(--font-body); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-text-muted); transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.tab-btn:hover { border-color: var(--color-text); color: var(--color-text); }
.tab-btn.is-active { background: var(--color-text); border-color: var(--color-text); color: #fff; }
.curated-grid .listing-card { display: none; }
.curated-grid .listing-card.is-shown { display: block; }

/* ---- Full-bleed story (video + centered CTA) ------------------------------- */
.story-bleed {
  position: relative; height: 100vh; min-height: 520px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 0; background: var(--color-dark);
}
.story-bleed video, .story-bleed .poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.story-bleed::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.story-content { position: relative; z-index: 2; text-align: center; color: #fff; max-width: 640px; padding: 0 24px; }
.story-content .eyebrow { color: #e6d6b8; }
.story-content h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 16px 0 32px; line-height: 1.4; }

/* ---- Social feed grid ------------------------------------------------------- */
.social-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.social-item { position: relative; aspect-ratio: 1; overflow: hidden; display: block; }
.social-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.social-item:hover img { transform: scale(1.08); }
@media (max-width: 900px) { .social-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .social-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Footer ----------------------------------------------------------------- */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,.75); padding: 80px 0 0; }
.footer-intro {
  text-align: center; padding: 0 var(--gutter) 60px; margin-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-intro h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 640px; margin: 0 auto 32px; line-height: 1.4; }
.footer-intro .cta-form input {
  border-color: rgba(255,255,255,.35); color: #fff;
}
.footer-intro .cta-form input::placeholder { color: rgba(255,255,255,.5); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .logo { display: inline-block; color: #fff; margin-bottom: 16px; }
.footer-logo-img { width: 190px; height: auto; display: block; }
.footer-brand p { max-width: 320px; font-size: .9rem; color: rgba(255,255,255,.55); }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 20px; }
.footer-col li { margin-bottom: 12px; font-size: .88rem; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: .74rem; letter-spacing: .04em; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 12px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { width: 18px; height: 18px; color: rgba(255,255,255,.6); }
.footer-social svg { width: 100%; height: 100%; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---- Page banner (category pages) -------------------------------------------- */
.page-banner {
  position: relative; height: 46vh; min-height: 320px; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.65)); }
.page-banner-content { position: relative; z-index: 2; padding: 0 0 44px; width: 100%; }
.breadcrumb { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--color-accent); }
.page-banner h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }

/* ---- Filter bar ---------------------------------------------------------------- */
.filter-bar {
  position: sticky; top: var(--header-h); z-index: 40; background: #fff;
  border-bottom: 1px solid var(--color-line);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 20px 0;
}
.filter-group { display: flex; gap: 14px; flex-wrap: wrap; }
.filter-bar select {
  border: 1px solid var(--color-line); background: #fff; padding: 11px 16px;
  font-family: var(--font-body); font-size: .82rem; letter-spacing: .03em; color: var(--color-text);
}
.result-count { font-size: .82rem; color: var(--color-text-muted); letter-spacing: .03em; }

/* ---- Listing grid ---------------------------------------------------------------- */
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; padding-top: 56px; }
.listing-card { display: block; }
.listing-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; margin-bottom: 18px; }
.listing-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.listing-card:hover .thumb img { transform: scale(1.05); }
.listing-card .tag { position: absolute; top: 16px; left: 16px; background: #fff; padding: 6px 14px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.listing-card .price { font-family: var(--font-display); font-size: 1.3rem; }
.listing-card .addr { margin-top: 6px; font-size: .92rem; color: var(--color-text-muted); }
.listing-card .specs { margin-top: 12px; display: flex; gap: 16px; font-size: .78rem; letter-spacing: .04em; color: var(--color-text-muted); border-top: 1px solid var(--color-line); padding-top: 12px; }
@media (max-width: 980px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .listing-grid { grid-template-columns: 1fr; } }

.load-more { text-align: center; margin-top: 64px; }

/* ---- Detail page ------------------------------------------------------------------ */
.gallery { display: grid; grid-template-columns: 2.2fr 1fr; gap: 8px; height: 78vh; min-height: 460px; }
.gallery-main { overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
.gallery-side .thumb-btn { border: none; padding: 0; overflow: hidden; background: none; height: 100%; }
.gallery-side img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--ease); cursor: pointer; }
.gallery-side .thumb-btn:hover img { opacity: .82; }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr; height: auto; } .gallery-main { aspect-ratio: 4/3; } .gallery-side { display: none; } }

.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 80px; padding-top: 64px; align-items: start; }
.detail-main .eyebrow { margin-bottom: 12px; display: block; }
.detail-main h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 10px; }
.detail-main .addr { color: var(--color-text-muted); font-size: 1.02rem; margin-bottom: 32px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); margin-bottom: 44px; }
.spec-grid div { padding: 22px 4px; text-align: center; border-left: 1px solid var(--color-line); }
.spec-grid div:first-child { border-left: none; }
.spec-grid b { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.spec-grid span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); }
.detail-main h2.sub { font-size: 1.3rem; margin-bottom: 16px; }
.detail-main p.desc { color: var(--color-text-muted); margin-bottom: 40px; }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-bottom: 48px; }
.amenities li { font-size: .92rem; padding-left: 20px; position: relative; }
.amenities li::before { content: ''; position: absolute; left: 0; top: 9px; width: 10px; height: 1px; background: var(--color-accent); }
.map-block { aspect-ratio: 16/7; background: var(--color-surface) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><path d="M0 40 L40 0" stroke="%23e6e3dc" stroke-width="1"/></svg>'); display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--color-line); }

.inquiry-card { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--color-line); padding: 34px; }
.inquiry-card .price { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 24px; }
.agent { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--color-line); }
.agent img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; }
.agent b { display: block; font-size: .94rem; font-weight: 500; }
.agent span { font-size: .78rem; color: var(--color-text-muted); }
.inquiry-card label { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); margin: 16px 0 6px; }
.inquiry-card input, .inquiry-card textarea {
  width: 100%; border: 1px solid var(--color-line); padding: 12px 14px; font-family: var(--font-body); font-size: .88rem;
}
.inquiry-card textarea { resize: vertical; min-height: 90px; }
.inquiry-card .btn { width: 100%; justify-content: center; margin-top: 18px; }
.contact-links { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; font-size: .85rem; }
@media (max-width: 980px) { .detail-layout { grid-template-columns: 1fr; } .inquiry-card { position: static; } }

.similar { padding-top: 40px; margin-top: 90px; border-top: 1px solid var(--color-line); }

/* ---- Reveal on scroll ------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
