/* ===========================
   ISABELLA VICTORIA COLLECTIONS
   Premium Jewelry Catalog — v1.1
   =========================== */

/* --- Variables --- */
:root {
  --rose: #DEBEC8;
  --rose-pale: #F2E8ED;
  --rose-dark: #C4A0AF;
  --warm-white: #FAF7F4;
  --champagne: #F5E6D3;
  --gold: #C9A96E;
  --gold-light: #E8D5A3;
  --black: #1A1A1A;
  --taupe: #7A6655;
  --taupe-light: #A89585;
  --ff-display: 'Cormorant Garamond', serif;
  --ff-script: 'Great Vibes', cursive;
  --ff-body: 'Jost', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 16px rgba(180,140,120,0.08);
  --shadow-md: 0 8px 40px rgba(180,140,120,0.14);
  --shadow-lg: 0 20px 60px rgba(180,140,120,0.18);
  --radius: 4px;
  --header-h: 76px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--ff-body); background: var(--warm-white); color: var(--black); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* --- Container --- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), padding 0.3s;
}
.header.scrolled {
  background: rgba(250,247,244,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 0 40px;
}
.logo { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.05em; color: var(--black); }
.logo__sub { font-family: var(--ff-body); font-size: 0.6rem; font-weight: 300; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 36px; }
.nav__link {
  font-family: var(--ff-body); font-size: 0.78rem; font-weight: 300;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe);
  position: relative; transition: color 0.3s;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.35s var(--ease-out);
}
.nav__link:hover { color: var(--black); }
.nav__link:hover::after { width: 100%; }
.nav__cta {
  display: flex; align-items: center; gap: 8px;
  background: var(--rose); color: var(--black);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 2px;
  transition: background 0.3s, transform 0.2s;
}
.nav__cta:hover { background: var(--rose-dark); color: #fff; transform: translateY(-1px); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--black); transition: 0.3s; transform-origin: center; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column;
  background: rgba(250,247,244,0.97); backdrop-filter: blur(20px);
  padding: 0 24px;
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-out), padding 0.3s;
}
.mobile-nav.open { max-height: 400px; padding: 20px 24px 28px; }
.mobile-nav__link {
  font-size: 0.88rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 0; border-bottom: 1px solid var(--rose-pale);
  color: var(--taupe); font-weight: 300;
}
.mobile-nav__wa { color: #25D366; font-weight: 500; border-bottom: none; }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-body); font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 15px 36px; border-radius: 2px;
  transition: all 0.35s var(--ease-out); position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.15); opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn--light { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.55); backdrop-filter: blur(4px); }
.btn--light:hover { background: rgba(255,255,255,0.28); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.btn--outline { background: transparent; color: var(--black); border: 1px solid var(--gold); }
.btn--outline:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }
.btn--wa { background: #25D366; color: #fff; border: 1px solid #25D366; }
.btn--wa:hover { background: #1fbd5a; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.3); }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative; height: 100svh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(26,16,12,0.52) 0%, rgba(26,16,12,0.32) 60%, rgba(222,190,200,0.18) 100%);
}
.hero__content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 24px; max-width: 760px;
}
.hero__eyebrow {
  font-family: var(--ff-body); font-size: 0.7rem; font-weight: 300;
  letter-spacing: 0.38em; text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 20px; opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s var(--ease-out) forwards;
}
.hero__title {
  font-family: var(--ff-display); font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 600;
  line-height: 1.1; color: #fff; margin-bottom: 20px;
  opacity: 0; transform: translateY(28px);
  animation: fadeUp 0.9s 0.5s var(--ease-out) forwards;
}
.hero__title em { font-style: italic; font-weight: 300; color: var(--gold-light); }
.hero__slogan {
  font-family: var(--ff-script); font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: rgba(255,255,255,0.82); margin-bottom: 44px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 0.7s var(--ease-out) forwards;
}
.hero .btn {
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 0.9s var(--ease-out) forwards;
}
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.5); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  z-index: 2;
}
.hero__scroll-bar {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollBar 2s ease-in-out infinite;
}
@keyframes scrollBar { 0%,100% { opacity: 0.4; transform: scaleY(0.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* ===========================
   CATALOG
   =========================== */
.catalog { padding: 120px 0; background: var(--warm-white); }

/* Section header */
.section-head { text-align: center; margin-bottom: 64px; }
.label {
  display: inline-block; font-size: 0.62rem; font-weight: 400;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.label--light { color: var(--gold-light); }
.section-title {
  font-family: var(--ff-display); font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600; line-height: 1.2; color: var(--black); margin-bottom: 28px;
}
.section-title em { font-style: italic; font-weight: 300; color: var(--rose-dark); }
.divider {
  width: 48px; height: 1px; background: var(--gold);
  margin: 0 auto; position: relative;
}
.divider::before, .divider::after {
  content: '✦'; position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 0.5rem;
}
.divider::before { left: -16px; }
.divider::after { right: -16px; }

/* Filters */
.filters {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: 60px;
}
.filter {
  font-family: var(--ff-body); font-size: 0.7rem; font-weight: 300;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px 24px; border-radius: 2px;
  border: 1px solid transparent; color: var(--taupe);
  transition: all 0.3s var(--ease-out);
}
.filter:hover { color: var(--black); border-color: var(--rose); }
.filter.active { background: var(--rose); color: var(--black); border-color: var(--rose); font-weight: 400; }

/* Product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Product card */
.card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: visible;
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  opacity: 0; transform: translateY(32px);
  animation: fadeUp 0.7s var(--ease-out) forwards;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.card__img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 1/1;
  cursor: pointer; flex-shrink: 0;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.card:hover .card__img { transform: scale(1.06); }
.card__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,16,12,0.55) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 20px;
}
.card:hover .card__img-overlay { opacity: 1; }
.card__img-overlay-text {
  color: #fff; font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.card__img-overlay-text svg { flex-shrink: 0; }
.card__body { padding: 20px 20px 24px; flex: 1; display: flex; flex-direction: column; background: #fff; border-radius: 0 0 var(--radius) var(--radius); }
.card__cat {
  font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.card__name {
  font-family: var(--ff-display); font-size: 1.18rem; font-weight: 600;
  color: var(--black) !important; margin-bottom: 6px; line-height: 1.3;
}
.card__desc {
  font-size: 0.8rem; font-weight: 300; color: var(--taupe-light) !important;
  line-height: 1.6; margin-bottom: 14px; flex: 1;
}
.card__price {
  font-family: var(--ff-display); font-size: 1.4rem; font-weight: 600;
  color: var(--taupe) !important; margin-bottom: 18px; letter-spacing: 0.02em;
}
.card__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px;
  background: var(--rose-pale); color: var(--black);
  font-size: 0.65rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 2px; border: 1px solid var(--rose);
  transition: all 0.3s var(--ease-out);
}
.card__btn:hover { background: #25D366; border-color: #25D366; color: #fff; }
.card__btn svg { flex-shrink: 0; transition: transform 0.3s; }
.card__btn:hover svg { transform: scale(1.15); }

/* ===========================
   ABOUT
   =========================== */
.about { padding: 120px 0; background: var(--champagne); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__img-wrap { position: relative; }
.about__img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 3/4; object-fit: cover; }
.about__badge {
  position: absolute; bottom: -20px; right: -20px;
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 0.9rem; font-weight: 600; text-align: center; line-height: 1.3;
  box-shadow: var(--shadow-md);
}
.about__text { display: flex; flex-direction: column; gap: 20px; }
.about__text .divider { margin: 0; }
.about__text p { font-size: 0.95rem; font-weight: 300; color: var(--taupe); line-height: 1.8; }
.values { display: flex; flex-direction: column; gap: 10px; }
.values li { font-size: 0.82rem; letter-spacing: 0.1em; color: var(--taupe); display: flex; align-items: center; gap: 10px; }
.star { color: var(--gold); font-size: 0.6rem; }

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials { padding: 120px 0; background: var(--warm-white); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 0; }
.tcard {
  background: #fff; border-radius: var(--radius);
  padding: 40px 36px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--rose-pale); position: relative;
  transition: box-shadow 0.4s, transform 0.4s;
}
.tcard:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.tcard__quote {
  font-family: var(--ff-display); font-size: 5rem; font-weight: 300;
  color: var(--rose); line-height: 0.7; margin-bottom: 20px;
}
.tcard p { font-size: 0.9rem; font-weight: 300; color: var(--taupe); line-height: 1.8; margin-bottom: 28px; }
.tcard__author { display: flex; align-items: center; gap: 14px; }
.tcard__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--rose), var(--gold-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 1.2rem; font-weight: 600;
}
.tcard__author div { display: flex; flex-direction: column; }
.tcard__author strong { font-size: 0.85rem; font-weight: 500; color: var(--black); }
.tcard__author span { font-size: 0.72rem; font-weight: 300; color: var(--taupe-light); }

/* ===========================
   CTA
   =========================== */
.cta { position: relative; padding: 140px 0; overflow: hidden; }
.cta__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--black) 0%, #2d1a1a 50%, #1a1215 100%);
}
.cta__bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(222,190,200,0.18) 0%, transparent 65%);
}
.cta__content { position: relative; z-index: 1; text-align: center; max-width: 680px; margin: 0 auto; }
.cta__title {
  font-family: var(--ff-display); font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600; line-height: 1.2; color: #fff; margin: 16px 0 20px;
}
.cta__title em { font-style: italic; font-weight: 300; color: var(--gold-light); }
.cta__text { font-size: 0.92rem; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.85; margin-bottom: 44px; }

/* ===========================
   FOOTER
   =========================== */
.footer { background: var(--black); padding: 64px 0 32px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__brand { display: flex; flex-direction: column; gap: 6px; }
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__sub { color: var(--gold); }
.footer__brand p { font-size: 0.8rem; font-weight: 300; color: rgba(255,255,255,0.4); margin-top: 8px; font-style: italic; font-family: var(--ff-display); }
.footer__nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer__nav a { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); transition: color 0.3s; }
.footer__nav a:hover { color: var(--gold); }
.footer__bottom { padding-top: 28px; text-align: center; }
.footer__bottom p { font-size: 0.7rem; font-weight: 300; letter-spacing: 0.1em; color: rgba(255,255,255,0.25); }

/* ===========================
   FLOATING WHATSAPP
   =========================== */
.float-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.float-wa svg { width: 26px; height: 26px; }
.float-wa:hover { transform: scale(1.12) translateY(-2px); box-shadow: 0 12px 36px rgba(37,211,102,0.55); }
.float-wa::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.3);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 0; transform: scale(1.35); } }

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3,1fr); }
  .about__inner { gap: 48px; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .header__inner { padding: 0 20px; }
  .nav { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; }
  .hero { min-height: 100svh; display: flex !important; }
  .hero__title { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .catalog { padding: 80px 0; }
  .grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .card__body { padding: 14px 14px 18px; }
  .card__name { font-size: 1rem; }
  .about { padding: 80px 0; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__img { aspect-ratio: 4/3; }
  .about__badge { right: 12px; bottom: -16px; width: 72px; height: 72px; font-size: 0.78rem; }
  .testimonials { padding: 80px 0; }
  .testimonials__grid { grid-template-columns: 1fr; gap: 16px; }
  .cta { padding: 100px 0; }
  .footer__top { flex-direction: column; gap: 28px; }
  .footer__nav { gap: 20px; }
  .float-wa { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .filters { gap: 6px; }
  .filter { padding: 8px 16px; font-size: 0.65rem; }
}
