:root {
  --color-bg: #050505;
  --color-bg-alt: #0e0e0f;
  --color-primary: #c99d23;
  --color-primary-dark: #a37c14;
  --color-text: #f4f4f4;
  --color-muted: #b8b8b8;
  --font-heading: "Cinzel", serif;
  --font-body: "Cormorant Garamond", serif;
  --transition: all 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

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

.section {
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.section-header {
  max-width: 580px;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0.75rem 0;
}

.section-header p {
  color: var(--color-muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: var(--color-primary);
}

/* Header & Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 157, 35, 0.25);
}

.site-header.has-shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  text-decoration: none;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  letter-spacing: 0.1em;
}

.brand-text span {
  color: var(--color-primary);
}

.brand-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 240, 200, 0.85), rgba(201, 157, 35, 0.9) 55%, rgba(92, 65, 10, 0.85));
  box-shadow: 0 10px 28px rgba(201, 157, 35, 0.4);
  overflow: hidden;
}

.brand-logo::after {
  content: "";
  position: absolute;
  inset: -25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 233, 169, 0.45), rgba(201, 157, 35, 0));
  opacity: 0.85;
}

.brand-logo picture {
  display: contents;
}

.brand-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: block;
  width: 65%;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
  transform: translate(-50%, -50%);
}

.navbar {
  position: relative;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  width: 2rem;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle .bar {
  height: 2px;
  width: 100%;
  background: var(--color-text);
  transition: var(--transition);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: color 0.3s ease;
  padding-bottom: 0.25rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--color-text);
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  min-height: 85vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-size: cover;
  background-position: center;
}

@supports (height: 100dvh) {
  .hero {
    min-height: 100dvh;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      rgba(5, 5, 5, 0.35),
      rgba(5, 5, 5, 0.55)
    ),
    linear-gradient(120deg, rgba(5, 5, 5, 0.4), rgba(5, 5, 5, 0.15));
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: contrast(1.4) saturate(1.3);
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-video.is-loaded {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin: 0;
}

.hero-subtitle {
  color: var(--color-muted);
  margin: 0;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

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

.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-primary-dark);
}

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

.btn-ghost:hover,
.btn-ghost:focus {
  background: rgba(201, 157, 35, 0.1);
}

.btn-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--color-primary);
  color: var(--color-bg);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--color-bg);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: #1da851;
  color: var(--color-bg);
}

/* Collections */

.products {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card {
  background: var(--color-bg-alt);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(201, 157, 35, 0.2);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.product-card img {
  height: 280px;
  width: 100%;
  object-fit: cover;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
}

.product-content {
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.product-content h3 {
  font-family: var(--font-heading);
  margin: 0 0 0.5rem;
}

.product-content p {
  color: var(--color-muted);
  margin: 0;
}

.price {
  font-weight: 600;
  color: var(--color-primary);
}

.product-content .btn {
  width: 100%;
}

/* Process */

.process {
  background: radial-gradient(circle at top left, rgba(201, 157, 35, 0.15), transparent 55%);
}

.process-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 900px) {
  .process-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  }
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.steps-title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.9rem;
  color: var(--color-primary);
  margin: 0 0 1.5rem;
}

.step-card {
  background: var(--color-bg-alt);
  border-radius: 16px;
  padding: 1rem;
  border: 0.5px solid rgba(201, 157, 35, 0.18);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 157, 35, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
}

.step-card:hover::before {
  opacity: 1;
}

.step-number {
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: var(--color-primary);
}

.step-card h3 {
  font-family: var(--font-heading);
  margin: 0.1rem 0 0.5rem;
}

.step-card p {
  color: var(--color-muted);
  margin: 0;
}

.process-visual {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 157, 35, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  background: radial-gradient(circle at 30% 30%, rgba(201, 157, 35, 0.12), transparent 70%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.process-visual img,
.process-visual video {
  width: 100%;
  height: 100%;
  max-height: 540px;
  object-fit: cover;
}


/* Testimonials */

.testimonials {
  background: linear-gradient(180deg, rgba(201, 157, 35, 0.05), transparent);
}

.testimonial-wrapper {
  position: relative;
  background: var(--color-bg-alt);
  border-radius: 22px;
  padding: 3rem 2rem;
  border: 1px solid rgba(201, 157, 35, 0.2);
  overflow: hidden;
  min-height: 220px;
}

.testimonial-slider {
  position: relative;
}

.testimonial {
  opacity: 0;
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 0 1rem;
  transition: opacity 1s ease;
}

.testimonial.is-active {
  opacity: 1;
  position: relative;
}

.testimonial p {
  font-size: 1.1rem;
  color: var(--color-text);
  font-style: italic;
}

.author {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-primary);
}

.testimonial-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--color-primary);
  animation: slide-progress 6s linear infinite;
}

@keyframes slide-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* About */

.about {
  background: radial-gradient(circle at center, rgba(201, 157, 35, 0.1), transparent 65%);
}

.about-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.about-text h2 {
  margin-top: 0.75rem;
}

.about-text p {
  color: var(--color-muted);
}

.stats-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-tile {
  background: rgba(5, 5, 5, 0.6);
  border: 1px solid rgba(201, 157, 35, 0.2);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.stat-tile:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  background: rgba(201, 157, 35, 0.12);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.about-visual {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .about-visual {
    justify-content: center;
  }
}

.logo-frame {
  width: clamp(220px, 35vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(201, 157, 35, 0.35);
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(201, 157, 35, 0.2), transparent);
  box-shadow: 0 0 45px rgba(201, 157, 35, 0.25);
}

.logo-frame::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(201, 157, 35, 0.35);
}

.about-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(70%, 220px);
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
  transform: translate(-50%, -50%);
}

/* Contact */

.contact-panel {
  display: grid;
  gap: 1.75rem;
  background: var(--color-bg-alt);
  padding: clamp(2rem, 5vw, 2.75rem);
  border-radius: 20px;
  border: 1px solid rgba(201, 157, 35, 0.2);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.contact-panel p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-actions .btn {
  flex: 1 1 220px;
  justify-content: center;
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  background: #020202;
  border-top: 1px solid rgba(201, 157, 35, 0.2);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--color-muted);
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 1 1 240px;
}

.footer-note p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-instagram {
  color: var(--color-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-instagram:hover,
.footer-instagram:focus {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer-instagram-icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-flex;
  color: #e1306c;
}

.footer-instagram-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-gold {
  color: #c99d23;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  margin-left: auto;
}

.footer-links a,
.footer-links button {
  display: inline-flex;
  align-items: center;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  text-decoration: none;
  position: relative;
  line-height: 1;
  padding-block: 0.1rem;
}

.footer-links button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.footer-links a::after,
.footer-links button::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.footer-links a:hover::after,
.footer-links button:hover::after {
  width: 100%;
}

/* Cookie consent */

.cookie-consent {
  position: fixed;
  bottom: max(1rem, 2.5vw);
  right: max(1rem, 2.5vw);
  z-index: 1500;
  width: min(420px, calc(100% - 2 * max(1rem, 2.5vw)));
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 18px;
  background: rgba(14, 14, 15, 0.95);
  border: 1px solid rgba(201, 157, 35, 0.35);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.55);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-consent.is-hidden {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}

.cookie-consent__content {
  display: grid;
  gap: 1rem;
  color: var(--color-text);
}

.cookie-consent__content:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.cookie-consent__link {
  align-self: start;
  border: 0;
  background: none;
  padding: 0;
  color: var(--color-primary);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.cookie-consent__link:hover,
.cookie-consent__link:focus {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-consent__actions .btn {
  flex: 1 1 140px;
}

@media (max-width: 540px) {
  .cookie-consent {
    left: max(1rem, 2.5vw);
    right: max(1rem, 2.5vw);
    width: auto;
  }

  .cookie-consent__actions {
    flex-direction: column;
  }

  .cookie-consent__actions .btn {
    width: 100%;
  }
}

/* Modal */

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 1400;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  max-width: min(620px, 90vw);
  max-height: min(90vh, 720px);
  background: var(--color-bg);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 2.75rem);
  border: 1px solid rgba(201, 157, 35, 0.35);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.5);
  transform: translateY(24px) scale(0.95);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
}

.modal.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: none;
  color: var(--color-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--color-primary);
}

.modal-body {
  display: grid;
  gap: 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  overflow-y: auto;
  padding-right: 0.35rem;
}

body.modal-open {
  overflow: hidden;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

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

  .nav-links {
    position: fixed;
    inset: 0 0 auto auto;
    top: 72px;
    width: min(260px, 70vw);
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: rgba(5, 5, 5, 0.95);
    border-left: 1px solid rgba(201, 157, 35, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    height: calc(100vh - 72px);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .site-header .container {
    padding-inline: 1rem;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 75vh;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .testimonial-wrapper {
    padding: 2.5rem 1.5rem;
  }

  .contact-form {
    padding: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .process-visual video {
    display: none;
  }
}

/* Accessibility tweaks */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
