/* =========================================================
   Collessence — main stylesheet
   Brand palette extracted from the logo:
   deep plum, sage green, lavender, warm cream, antique gold
   ========================================================= */

:root {
  --plum: #4a1f3d;
  --plum-dark: #331428;
  --plum-soft: #6d3a5c;
  --sage: #7f8f6c;
  --sage-dark: #5f6d4f;
  --lavender: #b09ec6;
  --cream: #f8f3ea;
  --cream-deep: #efe6d8;
  --ink: #2c2530;
  --muted: #6b6270;
  --gold: #c2a05a;
  --white: #ffffff;
  --line: rgba(74, 31, 61, 0.14);

  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(44, 37, 48, 0.08);
  --shadow: 0 18px 40px rgba(44, 37, 48, 0.12);
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

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

a { color: var(--plum); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--sage-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--plum);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: .2px;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: 92px 0; }
.section-tight { padding: 62px 0; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-deep { background: var(--plum); color: var(--cream); }
.bg-deep h2, .bg-deep h3 { color: var(--cream); }
.bg-deep a { color: var(--lavender); }

.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.bg-deep .lead { color: rgba(248, 243, 234, .82); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  transition: transform .28s var(--ease), background .28s var(--ease), color .28s var(--ease), box-shadow .28s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--plum); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--plum-soft); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--plum); }
.btn-light:hover { background: var(--white); color: var(--plum); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- logo plate ---------- */
.logo, .nav-brand img, .footer-brand img, .site-logo {
  border-radius: 16px;
  background: #fff;
  padding: 6px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.site-header.scrolled .logo { border-radius: 12px; }

/* ---------- top information bar ---------- */
.topbar {
  background: var(--plum-dark);
  color: rgba(248, 243, 234, .88);
  font-size: .85rem;
  letter-spacing: .2px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 46px;
  flex-wrap: wrap;
}
.topbar-list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.topbar-item:hover { color: var(--gold); }
.topbar svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; flex: none; }
.topbar-socials { display: flex; align-items: center; gap: 14px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(248, 243, 234, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(44, 37, 48, .08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
}
.nav-brand img { width: 210px; }
.site-header.scrolled .nav-brand img { width: 180px; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  position: relative;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.active { color: var(--plum); }
.header-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  position: relative;
  width: 20px; height: 2px;
  background: var(--plum);
  transition: background .2s linear;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 20px; height: 2px;
  background: var(--plum);
  transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--plum-dark);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(51, 20, 40, .88) 0%, rgba(51, 20, 40, .62) 46%, rgba(51, 20, 40, .25) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 0 96px; max-width: 720px; }
.hero h1 { color: var(--cream); }
.hero p { color: rgba(248, 243, 234, .88); font-size: 1.18rem; max-width: 56ch; }
.hero .btn-row { margin-top: 28px; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(248, 243, 234, .24);
}
.trust-strip div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.trust-strip div span { font-size: .88rem; color: rgba(248, 243, 234, .78); }

/* ---------- inner page banner ---------- */
.page-banner {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--plum-dark);
}
.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(51, 20, 40, .45) 0%, rgba(51, 20, 40, .86) 100%);
}
.page-banner .wrap { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 46px; }
.page-banner h1 { color: var(--cream); margin-bottom: .3em; }
.page-banner p { color: rgba(248, 243, 234, .86); max-width: 60ch; margin: 0; }
.crumbs { font-size: .85rem; color: rgba(248, 243, 234, .7); margin-top: 16px; }
.crumbs a { color: var(--lavender); }

/* ---------- grids and cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card figure { margin: 0; overflow: hidden; aspect-ratio: 3 / 2; }
.card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover figure img { transform: scale(1.06); }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4em; }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-link {
  margin-top: auto;
  font-weight: 700;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sage-dark);
}
.card-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .3s var(--ease); }
.card:hover .card-link svg { transform: translateX(5px); }

.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; }

.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  position: relative;
  padding: 0 0 14px 30px;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--sage);
}

.stat-band { background: var(--sage); color: var(--white); }
.stat-band .grid { text-align: center; }
.stat-band strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.stat-band span { font-size: .9rem; opacity: .9; }

/* ---------- testimonials ---------- */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 30px 30px 26px;
}
.quote p { font-family: var(--font-head); font-size: 1.28rem; color: var(--plum); line-height: 1.5; }
.quote cite { font-style: normal; font-size: .88rem; color: var(--muted); font-weight: 700; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1 / 1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.07); }

/* ---------- accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 22px 44px 22px 0;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--plum);
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-20%) rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a div { padding: 0 0 22px; color: var(--muted); }

/* ---------- forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 700; margin-bottom: 7px; color: var(--plum); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(127, 143, 108, .18);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: .82rem; color: var(--muted); }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list svg { width: 20px; height: 20px; stroke: var(--sage-dark); fill: none; stroke-width: 1.7; flex: none; margin-top: 4px; }
.info-list strong { display: block; color: var(--plum); font-size: .92rem; }
.info-list span, .info-list a { font-size: .96rem; color: var(--muted); }

.map-frame { border: 0; width: 100%; height: 420px; border-radius: var(--radius); }

/* ---------- article ---------- */
.article { max-width: 780px; margin: 0 auto; }
.article h2 { margin-top: 1.6em; }
.article blockquote {
  margin: 30px 0;
  padding: 20px 26px;
  border-left: 4px solid var(--sage);
  background: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--plum);
}
.meta { font-size: .85rem; color: var(--muted); letter-spacing: .3px; }

/* ---------- cta band ---------- */
.cta-band { background: var(--plum); color: var(--cream); text-align: center; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(248, 243, 234, .82); max-width: 60ch; margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--plum-dark); color: rgba(248, 243, 234, .74); padding: 72px 0 0; }
.site-footer h4 { color: var(--cream); font-size: 1.2rem; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { width: 220px; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 6px 0; font-size: .95rem; }
.site-footer a { color: rgba(248, 243, 234, .78); }
.site-footer a:hover { color: var(--gold); }
.footer-socials { display: flex; gap: 14px; margin-top: 18px; }
.footer-socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(248, 243, 234, .28);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.footer-socials a:hover { background: var(--sage); border-color: var(--sage); }
.footer-socials svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(248, 243, 234, .16);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .86rem;
}
.footer-bottom ul { display: flex; gap: 18px; }

/* ---------- floating controls ---------- */
.wa-float, .totop-btn {
  position: fixed;
  right: 20px;
  z-index: 950;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 0;
  cursor: pointer;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.wa-float { bottom: 22px; background: #25d366; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.totop-btn {
  bottom: 88px;
  background: var(--plum);
  opacity: 0;
  pointer-events: none;
}
.totop-btn.show { opacity: 1; pointer-events: auto; }
.totop-btn svg { width: 20px; height: 20px; stroke: var(--cream); fill: none; stroke-width: 2; }

.cookie-bar {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 980;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 880px;
  margin: 0 auto;
}
.cookie-bar.show { display: flex; animation: fadeUp .5s var(--ease) both; }
.cookie-bar p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-inner > * { animation: fadeUp .9s var(--ease) both; }
.hero-inner > *:nth-child(2) { animation-delay: .14s; }
.hero-inner > *:nth-child(3) { animation-delay: .26s; }
.hero-inner > *:nth-child(4) { animation-delay: .38s; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.page-loader img { width: 220px; animation: fadeUp .7s var(--ease) both; border-radius: 16px; background: #fff; padding: 10px 14px; box-shadow: var(--shadow-sm); }
.page-loader.done { opacity: 0; visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { gap: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    background: var(--cream);
    z-index: 1200;
    padding: 96px 24px 40px;
    transform: translateX(100%);
    transition: transform .38s var(--ease);
    box-shadow: -10px 0 40px rgba(44, 37, 48, .18);
  }
  .nav-open .main-nav { transform: translateX(0); }
  .nav-open .site-header { z-index: 1400; }
  .nav-open .cookie-bar { display: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 16px 4px; font-size: 1.05rem; }
  .main-nav a::after { display: none; }
  .nav-toggle { position: relative; z-index: 1300; }
  .nav-open body { overflow: hidden; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .split { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 78vh; }
  .hero-inner { padding: 90px 0 70px; }
  .trust-strip { gap: 24px; margin-top: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .topbar .wrap { justify-content: center; min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
  .topbar-list { gap: 14px; justify-content: center; font-size: .8rem; }
  .nav-brand img { width: 168px; border-radius: 12px; }
  .site-header.scrolled .nav-brand img { width: 152px; }
  .form-card { padding: 24px; }
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .wa-float, .totop-btn { width: 50px; height: 50px; right: 14px; }
  .totop-btn { bottom: 78px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 22px; width: 100%; justify-content: center; }
  .btn-row { width: 100%; }
  .footer-brand img, .page-loader img { width: 180px; border-radius: 12px; }
}

/* Shop placeholder tiles */
.shop-placeholder{
  display:flex;align-items:center;justify-content:center;
  aspect-ratio:3/2;margin:0;
  background:linear-gradient(135deg,var(--cream),#efe7f3);
  border-bottom:1px solid rgba(74,42,68,.08);
}
.shop-placeholder span{
  font-family:var(--font-head,inherit);letter-spacing:.08em;text-transform:uppercase;
  font-size:.78rem;color:rgba(74,42,68,.55);
}
