/* =============================================================================
   Rosewood Boutique — Professional storefront
   Aesthetic: warm neutrals, deep rosewood / burgundy, elegant serif + clean sans
   ============================================================================= */

:root {
  --rosewood: #6b2d3c;
  --rosewood-deep: #4a1e2a;
  --rosewood-soft: #8b4555;
  --cream: #faf7f4;
  --cream-dark: #f0e9e2;
  --ink: #1c1412;
  --ink-muted: #5c524c;
  --sand: #c4a484;
  --gold: #b8956c;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 30px rgba(28, 20, 18, 0.08);
  --shadow-lg: 0 20px 50px rgba(28, 20, 18, 0.12);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --header-h: 72px;
  --announcement-h: 36px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* ----- Typography ----- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rosewood);
  margin-bottom: 0.75rem;
}

.hero-lead,
.section-lead {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 36rem;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--rosewood);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--rosewood-deep);
}

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--rosewood-deep);
}

.btn-light:hover {
  background: var(--cream);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  padding: 0.65rem 1.15rem;
  font-size: 0.85rem;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
}

.btn-whatsapp svg {
  flex-shrink: 0;
}

/* ----- Announcement ----- */
.announcement {
  background: var(--rosewood-deep);
  color: var(--cream);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem;
  min-height: var(--announcement-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 20, 18, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rosewood);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 500;
  color: var(--ink);
}

.logo-text em {
  font-style: italic;
  font-weight: 400;
  color: var(--rosewood);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-muted);
  transition: color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--rosewood);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.header-cta {
  flex-shrink: 0;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: clamp(480px, 72vh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(250, 247, 244, 0.97) 0%, rgba(250, 247, 244, 0.75) 42%, rgba(74, 30, 42, 0.35) 100%),
    linear-gradient(160deg, #3d1824 0%, #6b2d3c 40%, #8b4555 100%);
  background-size: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0;
  max-width: 36rem;
}

.hero-content h1 {
  margin-bottom: 1.1rem;
  color: var(--ink);
}

.hero-content .hero-lead {
  margin-bottom: 1.75rem;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ----- Trust bar ----- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(28, 20, 18, 0.06);
  padding: 1.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.trust-icon {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

.trust-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.trust-item p {
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* ----- Sections ----- */
.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header .section-lead {
  margin: 0.75rem auto 0;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.section-cta .section-lead {
  margin: 0 auto 1.25rem;
}

/* ----- Collection cards ----- */
.collection-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.collection-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.collection-visual {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.collection-visual.eastern {
  background: linear-gradient(145deg, #4a1e2a 0%, #8b4555 50%, #c4a484 100%);
}

.collection-visual.clothing {
  background: linear-gradient(145deg, #2c2420 0%, #5c524c 45%, #c4a484 100%);
}

.collection-visual.jewelry {
  background: linear-gradient(145deg, #3d342c 0%, #b8956c 55%, #f0e9e2 100%);
}

.collection-info {
  padding: 1.35rem 1.4rem 1.5rem;
}

.collection-info h3 {
  margin-bottom: 0.35rem;
}

.collection-info p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 0.85rem;
}

.link-arrow {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rosewood);
}

/* ----- Product grid ----- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  aspect-ratio: 3 / 4;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}

.product-image .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: rgba(107, 45, 60, 0.25);
  background: linear-gradient(160deg, var(--cream-dark), #e8ddd4);
}

.product-image .placeholder.eastern {
  background: linear-gradient(160deg, #5c2a38, #8b4555);
  color: rgba(255, 255, 255, 0.35);
}

.product-image .placeholder.jewelry {
  background: linear-gradient(160deg, #3d342c, #b8956c);
  color: rgba(255, 255, 255, 0.4);
}

.product-image .placeholder.clothing {
  background: linear-gradient(160deg, #2c2420, #6b5e54);
  color: rgba(255, 255, 255, 0.3);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--white);
  color: var(--rosewood);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
}

.product-body {
  padding: 1.15rem 1.2rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}

.product-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.product-price {
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.product-sizes {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.product-body .btn {
  width: 100%;
  margin-top: auto;
}

/* ----- How it works ----- */
.how-it-works {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  counter-reset: none;
}

.steps li {
  padding: 0.5rem 0;
}

.step-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.steps h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.steps p {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ----- Story teaser ----- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-text h2 {
  margin-bottom: 1rem;
}

.story-text p {
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.story-visual {
  height: 380px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #4a1e2a 0%, #6b2d3c 40%, #c4a484 100%);
  box-shadow: var(--shadow-lg);
}

/* ----- CTA band ----- */
.cta-band {
  background: var(--rosewood-deep);
  color: var(--cream);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.85;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

/* ----- Page hero (inner pages) ----- */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(28, 20, 18, 0.06);
  background: var(--white);
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

/* ----- Filters ----- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(28, 20, 18, 0.15);
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--rosewood);
  border-color: var(--rosewood);
  color: var(--white);
}

/* ----- About ----- */
.about-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.about-prose h2 {
  margin: 2rem 0 0.85rem;
  font-size: 1.65rem;
}

.about-prose h2:first-child {
  margin-top: 0;
}

.about-prose p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.about-prose .btn {
  margin-top: 1rem;
}

.aside-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}

.aside-card.muted {
  background: var(--cream-dark);
  box-shadow: none;
}

.aside-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.aside-card ul li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.aside-card ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--rosewood);
  font-weight: 700;
}

.aside-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
}

.aside-card .small {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--ink);
  color: rgba(250, 247, 244, 0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-text {
  color: var(--cream);
}

.footer-brand .logo-text em {
  color: var(--sand);
}

.footer-brand .logo-mark {
  background: var(--rosewood-soft);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  max-width: 16rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: rgba(250, 247, 244, 0.7);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 244, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.footer-note {
  opacity: 0.65;
  max-width: 28rem;
}

/* ----- Floating WhatsApp ----- */
.float-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform 0.2s, background 0.2s;
}

.float-wa:hover {
  transform: scale(1.06);
  background: var(--whatsapp-dark);
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .collection-cards {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .story-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .story-visual {
    height: 260px;
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(28, 20, 18, 0.08);
    gap: 0.85rem;
  }

  .main-nav.open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    position: relative;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
