/* ===========================================================
   HOMVIOR — design tokens
   Cream base, clay/terracotta accent (pulled from the brand
   mark), warm bronze for trust details, deep ink for text.
=========================================================== */
:root{
  --cream:   #FAF6EF;
  --paper:   #F1E7D8;
  --clay:    #BD7C4B;
  --clay-dk: #8A5A34;
  --ink:     #211B15;
  --taupe:   #6E6259;
  --gold:    #A67C3D;
  --line:    #DDCBB2;
  --white:   #FFFFFF;

  --font-display: 'Archivo', sans-serif;
  --font-body: 'Work Sans', sans-serif;
}

*{ box-sizing: border-box; margin:0; padding:0; }

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

a{ color: inherit; text-decoration: none; }

/* Signature rule–dot–rule motif, echoing the wordmark */
.rule-dot{
  display:flex;
  align-items:center;
  gap: 10px;
  width: 140px;
  margin: 20px 0 28px;
}
.rule-dot.center{ margin-left:auto; margin-right:auto; }
.rule-dot span{
  flex:1;
  height:1px;
  background: var(--clay);
  opacity:.55;
}
.rule-dot i{
  width:5px; height:5px;
  border-radius:50%;
  background: var(--clay);
  display:block;
}

.eyebrow{
  font-family: var(--font-display);
  font-size: 12px;
  font-weight:600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.center{ text-align:center; }

/* ===== HEADER ===== */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(250,246,239,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand-mark{ height: 26px; width:auto; }
.main-nav{
  display:flex;
  gap: 34px;
}
.main-nav a{
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0;
  height:1px; background: var(--clay);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.main-nav a:hover::after{ transform: scaleX(1); }

.header-cta{
  display:flex; align-items:center; gap:8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 2px;
  transition: background .2s ease;
}
.header-cta:hover{ background: var(--clay-dk); }

/* ===== HERO SLIDER ===== */
.hero-slider{
  position: relative;
  width: 100%;
  aspect-ratio: 1958 / 803; /* matches the source banners exactly */
  overflow: hidden;
  background: var(--paper);
}
.slides{ position:relative; width:100%; height:100%; }
.slide{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: contain; /* show the full banner, never crop top/bottom */
  opacity:0;
  transition: opacity .9s ease;
}
.slide.active{ opacity:1; }

.hero-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:40px; height:40px;
  border:none; border-radius:50%;
  background: rgba(250,246,239,.85);
  color: var(--ink);
  font-size: 22px;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition: background .2s ease;
}
.hero-arrow:hover{ background: var(--white); }
.hero-arrow.prev{ left: 18px; }
.hero-arrow.next{ right: 18px; }

.hero-dots{
  position:absolute; bottom:16px; left:0; right:0;
  display:flex; justify-content:center; gap:8px;
}
.hero-dots button{
  width:7px; height:7px; border-radius:50%;
  border:none; background: rgba(255,255,255,.55);
  cursor:pointer; padding:0;
}
.hero-dots button.active{ background: var(--white); width:20px; border-radius:4px; transition: width .25s ease;}

/* ===== INTRO ===== */
.intro-strip{
  text-align:center;
  padding: 72px 0 56px;
}
.intro-headline{
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  max-width: 720px;
  margin: 10px auto 0;
}
.intro-strip .rule-dot{ margin-left:auto; margin-right:auto; }
.intro-copy{
  max-width: 520px;
  margin: 0 auto;
  color: var(--taupe);
  font-size: 16px;
}

/* ===== PRODUCTS ===== */
.product{ padding: 64px 0; }
.product.alt{ background: var(--paper); }

.product-grid{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items:center;
}
.product-grid.reverse{ grid-template-columns: 1fr 1.1fr; }
.product-grid.reverse .product-gallery{ order:2; }
.product-grid.reverse .product-info{ order:1; }

.gallery-main{
  border-radius: 4px;
  overflow:hidden;
  background: var(--white);
  border: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  max-height: 560px;
}
.gallery-main img{ width:100%; height:100%; max-height:560px; object-fit:contain; }

.gallery-thumbs{
  display:flex; gap:10px; margin-top:12px;
}
.thumb{
  width: 64px; height:64px;
  border-radius: 3px;
  overflow:hidden;
  border: 1.5px solid var(--line);
  background: var(--white);
  cursor:pointer; padding:0;
  opacity:.7;
  transition: opacity .2s ease, border-color .2s ease;
}
.thumb img{ width:100%; height:100%; object-fit:cover; }
.thumb.active, .thumb:hover{ opacity:1; border-color: var(--clay); }

.product-kicker{
  font-family: var(--font-display);
  font-size:12px; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color: var(--clay-dk);
}
.product-info h2{
  font-family: var(--font-display);
  font-size: clamp(26px,3vw,36px);
  font-weight: 700;
  margin-top: 8px;
}
.product-price{
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--clay-dk);
  margin-top: 10px;
}
.product-desc{
  color: var(--taupe);
  margin-top: 16px;
  font-size: 15.5px;
  max-width: 460px;
}
.product-features{
  list-style:none;
  margin-top: 22px;
  display:flex; flex-direction:column; gap:11px;
}
.product-features li{
  position:relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink);
}
.product-features li::before{
  content:"";
  position:absolute; left:0; top:7px;
  width:8px; height:8px;
  border: 1.5px solid var(--clay);
  border-radius:50%;
}
.buy-btn{
  display:inline-block;
  margin-top: 30px;
  background: var(--clay);
  color: var(--white);
  font-family: var(--font-display);
  font-weight:700;
  font-size: 13.5px;
  letter-spacing:.05em;
  text-transform:uppercase;
  padding: 15px 30px;
  border-radius: 2px;
  transition: background .2s ease, transform .2s ease;
}
.buy-btn:hover{ background: var(--clay-dk); transform: translateY(-1px); }

/* ===== REVIEWS ===== */
.reviews{
  padding: 76px 0 88px;
  text-align:center;
  background: var(--ink);
  color: var(--cream);
}
.reviews .eyebrow{ color: var(--gold); }
.reviews-headline{
  font-family: var(--font-display);
  font-size: clamp(24px,3vw,34px);
  font-weight:700;
  margin-top:8px;
}
.reviews .rule-dot span{ background: var(--gold); }
.reviews .rule-dot i{ background: var(--gold); }

.review-track{
  position:relative;
  max-width: 640px;
  margin: 0 auto;
  min-height: 170px;
}
.review-card{
  position:absolute; inset:0;
  opacity:0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events:none;
}
.review-card.active{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.stars{ color: var(--gold); letter-spacing:3px; font-size:15px; margin-bottom:14px; }
.review-card p{ font-size: 17px; line-height:1.6; color: #EFE7DA; }
.reviewer{
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight:600;
  letter-spacing:.03em;
  color: var(--gold) !important;
}

.review-dots{
  display:flex; justify-content:center; gap:8px;
  margin-top: 34px;
}
.review-dots button{
  width:7px; height:7px; border-radius:50%;
  border:none; background: rgba(255,255,255,.3);
  cursor:pointer; padding:0;
}
.review-dots button.active{ background: var(--gold); width:20px; border-radius:4px; transition:width .25s ease;}

/* ===== SUPPORT / FOOTER ===== */
.support{
  background: var(--paper);
  padding: 60px 0 30px;
}
.support-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 34px;
}
.footer-mark{ height: 24px; margin-bottom:14px; }
.support-brand p{ color: var(--taupe); font-size:14px; max-width:260px; }

.social-row{
  display:flex;
  gap: 10px;
  margin-top: 20px;
}
.social-btn{
  display:flex; align-items:center; gap:7px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 2px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.social-btn:hover{
  background: var(--clay);
  border-color: var(--clay);
  color: var(--white);
}

.support-contact{ text-align:right; }
.support-link{
  display:flex; align-items:center; gap:8px;
  justify-content:flex-end;
  font-size: 15px;
  font-weight:600;
  margin-top: 10px;
  color: var(--ink);
  transition: color .2s ease;
}
.support-link:hover{ color: var(--clay-dk); }

.copyright{
  font-size: 12.5px;
  color: var(--taupe);
  padding-bottom: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px){
  .main-nav{ display:none; }
  .product-grid, .product-grid.reverse{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-grid.reverse .product-gallery,
  .product-grid.reverse .product-info{ order: initial; }
  .support-inner{ flex-direction:column; }
  .support-contact{ text-align:left; }
  .support-link{ justify-content:flex-start; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; scroll-behavior:auto !important; }
}
