:root {
  --bg: #f7f1ea;
  --bg-soft: #fffaf5;
  --surface: rgba(255, 250, 245, 0.82);
  --surface-strong: #fffdf9;
  --text: #24120a;
  --muted: #6d5549;
  --line: rgba(89, 49, 26, 0.12);
  --brand: #6d2f18;
  --brand-deep: #2f160c;
  --brand-soft: #b97c52;
  --accent: #d9a066;
  --whatsapp: #25d366;
  --shadow-lg: 0 24px 60px rgba(43, 19, 10, 0.14);
  --shadow-md: 0 18px 40px rgba(43, 19, 10, 0.1);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1180px, calc(100% - 2rem));
  --ease: 280ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 160, 102, 0.22), transparent 26%),
    linear-gradient(180deg, #fffaf6 0%, #f7f1ea 38%, #f2e8df 100%);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10000;
  background: var(--brand-deep);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  transition: top var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(217, 160, 102, 0.35), transparent 30%),
    linear-gradient(135deg, #241008 0%, #4c2413 45%, #2a140b 100%);
  pointer-events: auto;
  transition: opacity 420ms ease, visibility 420ms ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-box {
  text-align: center;
  color: #fff4ec;
}

.loader-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.loader-logo,
.brand-title,
.eyebrow,
.section-heading h2,
.hero-copy h1,
.feature-panel h3,
.benefit-card h3,
.testimonial-card h3,
.contact-card h3,
.faq-list summary,
.about-copy h2 {
  font-family: "Cormorant Garamond", serif;
}

.loader-logo {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.05em;
}

.loader-spinner {
  width: 68px;
  height: 68px;
  margin: 1.4rem auto 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(255, 249, 243, 0.72);
  border-bottom: 1px solid rgba(89, 49, 26, 0.08);
}

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

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-deep);
}

.brand-subtitle {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  position: relative;
  font-weight: 600;
  color: var(--brand-deep);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-soft), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background-color: #4b1e0f;
  color: white;
  box-shadow: var(--shadow-md);
  font-weight: 500;
  white-space: nowrap;
  flex: 0 0 auto;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background-color: #62301c;
}

.customer-portal-btn {
  background-color: #4b1e0f;
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  text-decoration: none;
}

.customer-portal-btn a,
.customer-portal-btn:link,
.customer-portal-btn:visited {
  color: #ffffff !important;
  text-decoration: none;
}

.customer-portal-btn:hover,
.customer-portal-btn:focus-visible {
  background-color: #5a2413;
  color: #ffffff !important;
  opacity: 0.95;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--brand-deep);
  transition: transform var(--ease), opacity var(--ease);
}

.hero-section {
  position: relative;
  isolation: isolate;
  min-height: 78vh;
  max-height: 820px;
  display: flex;
  align-items: center;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 7, 4, 0.3) 0%, rgba(15, 7, 4, 0.48) 24%, rgba(15, 7, 4, 0.7) 62%, rgba(15, 7, 4, 0.82) 100%),
    linear-gradient(90deg, rgba(15, 7, 4, 0.72) 0%, rgba(15, 7, 4, 0.44) 42%, rgba(15, 7, 4, 0.2) 100%),
    url("images/banner.jpg") center/cover no-repeat;
  z-index: -2;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto -6% -10% auto;
  width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 160, 102, 0.22), transparent 65%);
  z-index: -1;
}

.hero-copy {
  color: #fff8f0;
  max-width: 720px;
  padding: 2rem 0;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-copy p {
  margin: 1.3rem 0 0;
  font-size: 1rem;
  line-height: 1.85;
  max-width: 560px;
  color: rgba(255, 248, 240, 0.88);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
}

.btn:hover,
.btn:focus-visible,
.card-whatsapp:hover,
.card-whatsapp:focus-visible,
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--brand-soft));
  color: #241008;
  box-shadow: 0 18px 32px rgba(217, 160, 102, 0.28);
}

.btn-secondary {
  background: rgba(255, 250, 245, 0.1);
  color: #fff8f0;
  border: 1px solid rgba(255, 248, 240, 0.2);
}

.section-shell {
  padding: 6.5rem 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-heading .eyebrow {
  color: var(--brand-soft);
}

.section-heading h2 {
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1;
}

.section-heading p {
  margin: 1rem 0 0;
  line-height: 1.8;
  color: var(--muted);
}

.stats-section {
  margin-top: -2.2rem;
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.86);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand-deep);
}

.stat-card strong::after {
  content: "+";
}

.stat-card span {
  color: var(--muted);
  font-weight: 600;
}

.collections-section {
  padding-top: 5rem;
}

.collection-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.product-card,
.benefit-card,
.feature-panel,
.contact-card,
.map-card,
.about-note {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.product-card {
  transition: transform var(--ease), box-shadow var(--ease);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(43, 19, 10, 0.18);
}

.product-media {
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 450ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.08);
}

.product-content {
  padding: 1.4rem;
}

.product-content h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--brand-deep);
}

.product-content p {
  margin: 0.75rem 0 1.2rem;
  line-height: 1.7;
  color: var(--muted);
}

.card-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.12);
  color: #108a43;
  font-weight: 800;
  transition: transform var(--ease), background var(--ease);
}

.featured-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 100%),
    radial-gradient(circle at top right, rgba(109, 47, 24, 0.12), transparent 28%);
}

.featured-grid,
.about-grid,
.contact-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.featured-copy {
  max-width: 560px;
}

.featured-stack {
  display: grid;
  gap: 1rem;
}

.feature-panel {
  padding: 1.6rem;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f0c08f);
  color: var(--brand-deep);
  font-weight: 800;
}

.feature-panel h3,
.benefit-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.9rem;
  line-height: 1;
}

.feature-panel p,
.benefit-card p,
.about-copy p,
.about-note p,
.contact-card p {
  margin: 0;
  line-height: 1.8;
  color: var(--muted);
}

.benefit-card {
  padding: 1.7rem;
}

.reviews-section {
  overflow: hidden;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) + 4px);
  background: linear-gradient(135deg, rgba(47, 22, 12, 0.98), rgba(96, 48, 26, 0.92));
  padding: 1.2rem;
  box-shadow: var(--shadow-lg);
}

.testimonial-track {
  display: flex;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 2rem;
  color: #fff5ee;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.avatar {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f5c493);
  color: var(--brand-deep);
  font-weight: 800;
}

.testimonial-card h3 {
  margin: 0;
  font-size: 1.8rem;
}

.testimonial-card span {
  color: rgba(255, 245, 238, 0.72);
}

.testimonial-card p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.9;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  padding: 0 0 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform var(--ease), background var(--ease);
}

.dot.active {
  transform: scale(1.15);
  background: var(--accent);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.76);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(43, 19, 10, 0.05);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.45rem;
  color: var(--brand-deep);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0.8rem 0 0;
  line-height: 1.75;
  color: var(--muted);
}

.about-copy,
.about-note,
.contact-card {
  padding: 2rem;
}

.about-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--brand-deep);
}

.contact-grid {
  align-items: stretch;
}

.contact-card h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.8rem;
  color: var(--brand-deep);
}

.contact-card h3:first-child {
  margin-top: 0;
}

.contact-card a {
  color: var(--brand);
  font-weight: 700;
}

.map-card {
  min-height: 100%;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.site-footer {
  padding: 1.6rem 0 2.6rem;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(89, 49, 26, 0.14);
  color: var(--muted);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-meta p,
.footer-shell p {
  margin: 0;
}

.admin-footer-link {
  width: fit-content;
  font-size: 0.82rem;
  color: rgba(109, 85, 73, 0.88);
  letter-spacing: 0.04em;
  transition: color var(--ease), opacity var(--ease);
  opacity: 0.82;
}

.admin-footer-link:hover,
.admin-footer-link:focus-visible {
  color: var(--brand);
  opacity: 1;
}

.floating-whatsapp {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 58px;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #3adb7c, #17b95c);
  color: #072e15;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.28);
  animation: whatsappPulse 2.6s infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.28);
  }
  50% {
    box-shadow: 0 18px 46px rgba(37, 211, 102, 0.45);
  }
}

@media (max-width: 1100px) {
  .featured-grid,
  .about-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .collection-grid,
  .benefits-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .site-nav {
    position: fixed;
    top: 84px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem;
    border-radius: 24px;
    background: rgba(255, 250, 245, 0.96);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--ease), opacity var(--ease), visibility var(--ease);
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-section {
    min-height: auto;
    padding: 5rem 0 3.5rem;
  }

  .section-shell {
    padding: 5rem 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, 100%);
  }

  .brand-title {
    font-size: 1.6rem;
  }

  .hero-copy h1,
  .section-heading h2,
  .about-copy h2 {
    line-height: 1.02;
  }

  .hero-copy {
    max-width: 100%;
    padding: 1rem 0;
  }

  .hero-copy p,
  .section-heading p,
  .product-content p,
  .feature-panel p,
  .benefit-card p,
  .faq-list p,
  .about-copy p,
  .about-note p,
  .contact-card p {
    font-size: 0.98rem;
  }

  .collection-grid,
  .benefits-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .contact-actions,
  .footer-shell {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-meta {
    gap: 0.45rem;
  }

  .btn,
  .card-whatsapp {
    width: 100%;
  }

  .product-media img {
    height: 300px;
  }

  .testimonial-card,
  .contact-card,
  .about-copy,
  .about-note {
    padding: 1.4rem;
  }

  .faq-list summary {
    font-size: 1.25rem;
  }

  .map-card iframe {
    min-height: 360px;
  }

  .floating-whatsapp {
    min-width: 0;
    width: 62px;
    height: 62px;
    padding: 0;
    border-radius: 50%;
  }

  .floating-whatsapp span {
    font-size: 0;
  }

  .floating-whatsapp::before {
    content: "WA";
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
