/* =========================================
   VIDVITES — BRAND SYSTEM
========================================= */

:root {
  --burgundy: #6D2638;
  --burgundy-dark: #501927;
  --gold: #C7A77B;
  --cream: #F7F1E8;
  --charcoal: #282321;
  --white: #FFFFFF;
  --muted: #81756C;
  --line: rgba(109, 38, 56, .13);
  --content-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--charcoal);
  font-family: "DM Sans", sans-serif;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: "Cormorant Garamond", serif; font-weight: 500; }
p { margin: 0; color: var(--muted); line-height: 1.75; }
h1 em, h2 em { color: var(--burgundy); font-weight: 400; }
.eyebrow {
  display: block;
  margin-bottom: 17px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* HEADER — explicit two-column structure prevents CTA wrapping/misalignment */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(247, 241, 232, .98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(100% - 64px, var(--content-width));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  column-gap: 36px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: 190px;
  line-height: 0;
}
.site-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.2vw, 32px);
  min-width: 0;
}
.primary-nav > a:not(.nav-cta) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1;
  transition: color .2s ease;
}
.primary-nav > a:not(.nav-cta):hover { color: var(--burgundy); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 21px;
  background: var(--burgundy);
  color: var(--white);
  white-space: nowrap;
  font-size: 13px;
  line-height: 1;
  transition: background .2s ease;
}
.nav-cta:hover { background: var(--burgundy-dark); }
.nav-cta span { font-size: 18px; line-height: 1; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--burgundy);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.active span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* BUTTONS */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--burgundy); color: white; }
.button-primary:hover { background: var(--burgundy-dark); }
.button-outline { border-color: var(--burgundy); color: var(--burgundy); }
.button-outline:hover { background: var(--burgundy); color: white; }
.button-light { background: var(--cream); color: var(--burgundy); }
.button-light:hover { background: white; }

/* HERO */
.hero {
  width: min(100% - 64px, var(--content-width));
  min-height: 650px;
  margin: 0 auto;
  padding: 76px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}
.hero-copy { min-width: 0; }
.hero-copy h1 {
  max-width: 650px;
  font-size: clamp(54px, 5.7vw, 78px);
  line-height: .99;
  letter-spacing: -.8px;
}
.hero-copy h1 em { display: inline; }
.hero-copy > p {
  max-width: 490px;
  margin-top: 24px;
  font-size: 14px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.hero-note { margin-top: 27px; color: var(--muted); font-size: 11px; }
.hero-note span { color: var(--gold); }
.hero-art {
  position: relative;
  min-width: 0;
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-phone {
  position: relative;
  width: 220px;
  aspect-ratio: 9 / 19;
  overflow: hidden;
  border: 7px solid #201B19;
  border-radius: 34px;
  background: #171414;
  box-shadow: 0 25px 60px rgba(40, 20, 20, .2);
}
.hero-phone video { width: 100%; height: 100%; object-fit: cover; }
.phone-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: white;
  text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,.35));
  pointer-events: none;
}
.phone-caption span, .phone-caption small { font-size: 7px; letter-spacing: 1.8px; }
.phone-caption strong {
  margin: 20px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}
.hero-star { position: absolute; color: var(--gold); pointer-events: none; }
.hero-star-top { top: 75px; right: 15%; font-size: 38px; }
.hero-star-bottom { bottom: 70px; left: 12%; font-size: 48px; }
.floating-note {
  position: absolute;
  right: 0;
  bottom: 80px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: white;
  box-shadow: 0 8px 25px rgba(0,0,0,.1);
}
.floating-note > span { color: var(--gold); font-size: 23px; }
.floating-note strong, .floating-note small { display: block; font-size: 10px; }
.floating-note small { margin-top: 4px; color: var(--muted); }

/* INTRO */
.intro-section {
  padding: 88px 24px;
  background: white;
  text-align: center;
}
.intro-section h2 { font-size: clamp(40px, 5vw, 58px); line-height: 1.05; }
.intro-section p { max-width: 560px; margin: 20px auto 0; font-size: 13px; }

/* SHARED SECTIONS */
.section {
  width: min(100% - 64px, var(--content-width));
  margin: 0 auto;
  padding: 100px 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}
.section-heading h2 { font-size: clamp(40px, 4.5vw, 58px); line-height: 1.04; }
.section-heading > p { max-width: 340px; font-size: 13px; }
.section-heading.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-heading.centered > p { margin-top: 14px; }

/* FILTERS AND DESIGN GALLERY */
.filter-list {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 4px 0 16px;
  margin-bottom: 20px;
  scrollbar-width: none;
}
.filter-list::-webkit-scrollbar { display: none; }
.filter-button {
  flex: 0 0 auto;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: transparent;
  color: var(--charcoal);
  font-size: 11px;
}
.filter-button.active, .filter-button:hover {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: white;
}
.design-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; }
.design-card { min-width: 0; text-align: center; }
.design-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 4.5;
  padding: 15px;
  overflow: hidden;
  background: #EEE5D9;
  cursor: pointer;
}
.design-device {
  position: relative;
  height: 86%;
  max-height: 360px;
  aspect-ratio: 9 / 18;
  overflow: hidden;
  border: 5px solid #201B19;
  border-radius: 22px;
  background: var(--burgundy);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.design-device video { width: 100%; height: 100%; object-fit: cover; }
.design-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: white;
  text-align: center;
}
.design-placeholder span { font-size: 7px; letter-spacing: 1px; }
.design-placeholder strong {
  margin: 15px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 400;
}
.preview-play {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--burgundy);
  pointer-events: none;
}
.design-info { padding-top: 14px; }
.design-info h3 { color: var(--burgundy); font-size: 26px; line-height: 1.1; }
.design-info p { margin-top: 6px; font-size: 10px; letter-spacing: .7px; text-transform: uppercase; }
.design-actions { display: flex; justify-content: center; gap: 8px; margin-top: 13px; }
.design-actions button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--burgundy);
  background: transparent;
  color: var(--burgundy);
  font-size: 11px;
}
.design-actions button:first-child { background: var(--burgundy); color: white; }

/* OCCASIONS */
.occasions-section {
  width: 100%;
  max-width: none;
  padding: 100px max(32px, calc((100% - var(--content-width)) / 2));
  background: white;
}
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 42px auto 0;
  max-width: var(--content-width);
}
.occasion-card { padding: 25px 12px; border: 1px solid #EDE4DA; text-align: center; }
.occasion-number { color: var(--gold); font-size: 10px; }
.occasion-icon { margin: 15px 0; color: var(--gold); font-size: 36px; }
.occasion-card h3 { color: var(--burgundy); font-size: 22px; }
.occasion-card p { margin-top: 7px; font-size: 11px; }

/* EXPERIENCE */
.experience-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 70px;
}
.experience-copy h2 { font-size: clamp(40px, 4.5vw, 58px); line-height: 1.04; }
.experience-copy > p { max-width: 480px; margin: 20px 0 28px; font-size: 13px; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
.benefit-card { display: flex; align-items: flex-start; gap: 13px; }
.benefit-card > span { color: var(--gold); font-size: 27px; }
.benefit-card h3 { color: var(--burgundy); font-size: 22px; line-height: 1.05; }
.benefit-card p { margin-top: 6px; font-size: 12px; }

/* HOW IT WORKS */
.how-section { width: 100%; max-width: none; padding: 100px max(32px, calc((100% - var(--content-width)) / 2)); background: white; }
.how-section .section-heading { max-width: var(--content-width); margin-left: auto; margin-right: auto; }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; max-width: var(--content-width); margin: 48px auto 0; }
.step-card { padding-top: 17px; border-top: 1px solid var(--gold); }
.step-card > span { color: var(--gold); font-size: 11px; }
.step-card h3 { margin: 17px 0 9px; color: var(--burgundy); font-size: 23px; }
.step-card p { font-size: 12px; }

/* FINAL CTA */
.final-cta { padding: 105px 24px; background: var(--burgundy); color: var(--cream); text-align: center; }
.final-cta h2 { color: var(--cream); font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
.final-cta h2 em { color: var(--gold); }
.final-cta > p { margin: 20px 0 30px; color: #E5D5D1; font-size: 13px; }
.cta-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; margin-top: 25px; color: #E5D5D1; font-size: 12px; }

/* FOOTER */
.site-footer { padding: 55px max(32px, calc((100% - var(--content-width)) / 2)) 22px; background: var(--charcoal); color: var(--cream); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 50px;
  max-width: var(--content-width);
  margin: 0 auto;
}
.footer-logo-link { display: inline-block; width: 195px; line-height: 0; }
.footer-logo-link img { width: 100%; height: auto; }
.footer-tagline { margin-top: 10px; color: var(--gold); font-size: 12px; }
.footer-description { max-width: 350px; margin-top: 10px; color: #B4A8A0; font-size: 12px; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; text-align: right; }
.footer-contact-item { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.footer-contact-item span { color: var(--gold); font-size: 9px; letter-spacing: 2px; }
.footer-contact-item a { font-size: 13px; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  max-width: var(--content-width);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: #B4A8A0;
  font-size: 10px;
}

/* VIDEO MODAL */
.video-modal { display: none; position: fixed; inset: 0; z-index: 300; align-items: center; justify-content: center; padding: 22px; }
.video-modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(20,12,12,.92); }
.modal-panel { position: relative; z-index: 1; display: flex; max-height: 90vh; flex-direction: column; align-items: center; gap: 14px; color: white; }
.modal-phone { width: min(65vw, 270px); aspect-ratio: 9 / 18; overflow: hidden; border: 7px solid #333; border-radius: 30px; }
.modal-phone video { width: 100%; height: 100%; object-fit: contain; background: black; }
.modal-panel h3 { font-size: 26px; }
.modal-close { position: absolute; top: -42px; right: -28px; border: 0; background: transparent; color: white; font-size: 38px; }

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  padding: 14px 19px;
  border-radius: 40px;
  background: #267D54;
  color: white;
  box-shadow: 0 5px 20px rgba(0,0,0,.2);
  font-size: 12px;
}

/* REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* TABLET */
@media (max-width: 900px) and (min-width: 701px) {
  .header-inner { width: calc(100% - 40px); grid-template-columns: 155px minmax(0, 1fr); column-gap: 18px; }
  .site-logo { width: 155px; }
  .primary-nav { gap: 14px; }
  .primary-nav > a:not(.nav-cta) { font-size: 11px; }
  .nav-cta { padding: 0 13px; font-size: 11px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(270px, .8fr); gap: 28px; }
  .hero-copy h1 { font-size: clamp(48px, 6vw, 62px); }
}

/* MOBILE NAV + MOBILE BODY */
@media (max-width: 700px) {
  html { scroll-padding-top: 75px; }
  .header-inner {
    width: calc(100% - 36px);
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
  .site-logo { width: 155px; }
  .menu-toggle { display: block; flex: 0 0 44px; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 15px 22px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px rgba(0,0,0,.07);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.nav-cta) { justify-content: flex-start; min-height: 42px; font-size: 13px; }
  .primary-nav .nav-cta { width: 100%; margin-top: 8px; }
  .hero {
    width: calc(100% - 40px);
    min-height: 0;
    padding: 62px 0 70px;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    text-align: center;
  }
  .hero-copy h1 { max-width: 590px; margin: 0 auto; font-size: clamp(43px, 10vw, 59px); }
  .hero-copy > p { margin: 20px auto 0; font-size: 13px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-art { min-height: 420px; }
  .hero-phone { width: 205px; }
  .floating-note { right: 0; bottom: 34px; }
  .hero-star-top { right: 7%; }
  .hero-star-bottom { left: 5%; }
  .intro-section { padding: 72px 22px; }
  .intro-section h2 { font-size: clamp(36px, 9vw, 47px); }
  .section { width: calc(100% - 40px); padding: 75px 0; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading h2 { font-size: clamp(37px, 9vw, 48px); }
  .section-heading > p { margin-top: 14px; }
  .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 12px; }
  .design-preview { aspect-ratio: 3 / 4.8; padding: 8px 3px; }
  .design-device { height: 83%; }
  .design-info h3 { font-size: 20px; }
  .design-info p { font-size: 9px; }
  .design-actions { flex-direction: column; gap: 6px; }
  .design-actions button { width: 100%; padding: 8px 4px; font-size: 10px; }
  .occasions-section { padding: 75px 20px; }
  .occasion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .occasion-card { padding: 20px 8px; }
  .occasion-card h3 { font-size: 20px; }
  .experience-section { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .experience-copy h2 { font-size: clamp(38px, 9vw, 48px); }
  .benefit-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .how-section { padding: 75px 20px; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; margin-top: 35px; }
  .step-card h3 { font-size: 21px; }
  .final-cta { padding: 78px 22px; }
  .final-cta h2 { font-size: clamp(38px, 9vw, 49px); }
  .cta-contact { flex-direction: column; align-items: center; gap: 9px; }
  .cta-contact > span { display: none; }
  .site-footer { padding: 42px 22px 20px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-contact { align-items: flex-start; text-align: left; }
  .footer-contact-item { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 9px; margin-top: 30px; }
  .whatsapp-float { right: 13px; bottom: 13px; }
}

/* SMALL PHONES */
@media (max-width: 380px) {
  .site-logo { width: 138px; }
  .hero-copy h1 { font-size: 42px; }
  .design-grid { gap: 22px 9px; }
  .design-info h3 { font-size: 18px; }
  .occasion-card h3 { font-size: 18px; }
}

/* LARGE DESKTOP */
@media (min-width: 1400px) {
  .hero { padding-top: 90px; padding-bottom: 90px; }
}
