/* ============================================================
   Direct Buy Commerce — Design System
   ============================================================ */

:root {
  --color-bg: #faf8f5;
  --color-bg-alt: #f0ebe4;
  --color-surface: #ffffff;
  --color-text: #2a2622;
  --color-text-muted: #5c564e;
  --color-accent: #8b7355;
  --color-accent-dark: #6d5a44;
  --color-gold: #c4a574;
  --color-sage: #7a8b7a;
  --color-border: rgba(42, 38, 34, 0.1);
  --color-overlay: rgba(26, 22, 18, 0.55);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 12px rgba(42, 38, 34, 0.06);
  --shadow-md: 0 8px 32px rgba(42, 38, 34, 0.1);
  --shadow-lg: 0 20px 60px rgba(42, 38, 34, 0.12);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  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-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.section-text {
  color: var(--color-text-muted);
  max-width: 58ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-whatsapp {
  background: #3d7a5c;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #326648;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo__mark {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text);
}

.logo__tagline {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__list {
  display: flex;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 450;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-text);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  padding: 0.65rem 1.25rem;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    var(--color-overlay) 0%,
    rgba(26, 22, 18, 0.4) 50%,
    rgba(26, 22, 18, 0.25) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) 0;
  max-width: 640px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-md);
  backdrop-filter: blur(8px);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  color: #fff;
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero__trust span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.35rem 0.85rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
}

/* Trust bar */
.trust-bar {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
  padding: var(--space-md) 0;
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-lg);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.trust-bar__item svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Sections common */
.section {
  padding: var(--space-2xl) 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about__image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.about__highlights {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.about__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.about__highlights li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* Coming soon */
.coming-soon {
  text-align: center;
}

.coming-soon__box {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  max-width: 720px;
  margin: 0 auto var(--space-xl);
}

.coming-soon__box h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-accent-dark);
  margin-bottom: var(--space-md);
}

.coming-soon__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.coming-soon__gallery figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.coming-soon__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.coming-soon__gallery figcaption {
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: var(--color-surface);
  text-align: center;
}

/* Transparency */
.transparency {
  background: linear-gradient(135deg, #2a2622 0%, #3d3832 100%);
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.transparency::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.transparency__icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-gold);
}

.transparency h2 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--space-md);
}

.transparency__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  position: relative;
}

.transparency__card {
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.6;
}

.transparency__card strong {
  display: block;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

/* Credibility */
.credibility__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.credibility__card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.credibility__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.credibility__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: 50%;
  color: var(--color-accent);
}

.credibility__card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.credibility__card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* CTA */
.cta-section {
  text-align: center;
  background: var(--color-bg-alt);
}

.cta-section .section-text {
  margin: 0 auto var(--space-lg);
}

/* Footer */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__brand .logo__name {
  color: #fff;
}

.footer__brand .logo__tagline {
  color: rgba(255, 255, 255, 0.5);
}

.footer__brand p {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 42ch;
}

.footer__company {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

.footer__company p {
  margin-top: 0.5rem;
  max-width: none;
}

.footer__company strong {
  color: rgba(255, 255, 255, 0.85);
}

.contact-info {
  list-style: none;
  margin: var(--space-md) auto var(--space-sm);
  max-width: 520px;
  text-align: left;
  padding: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.contact-info li {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

.contact-info a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-info a:hover {
  color: var(--color-accent-dark);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer a:hover {
  color: #fff;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer__legal p {
  max-width: 60ch;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #3d7a5c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), background var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background: #326648;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float__label {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: var(--color-text);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.whatsapp-float:hover .whatsapp-float__label {
  opacity: 1;
  transform: translateX(0);
}

/* Legal pages */
.legal-page {
  padding-top: calc(var(--header-h) + var(--space-xl));
  padding-bottom: var(--space-2xl);
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

.legal-page .legal-meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.legal-page h2 {
  font-size: 1.5rem;
  margin: var(--space-lg) 0 var(--space-sm);
}

.legal-page h3 {
  font-size: 1.2rem;
  margin: var(--space-md) 0 var(--space-xs);
}

.legal-page p,
.legal-page li {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: var(--space-md);
}

.legal-page a {
  color: var(--color-accent);
  text-decoration: underline;
}

.legal-nav {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

/* Responsive */
@media (max-width: 900px) {
  .nav__list,
  .nav__cta.desktop-only {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav.mobile-open .nav__list {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: var(--space-lg);
    gap: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .nav.mobile-open .nav__cta.desktop-only {
    display: none;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about__image {
    order: -1;
    max-height: 400px;
  }

  .transparency__grid {
    grid-template-columns: 1fr;
  }

  .credibility__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .coming-soon__gallery {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 72px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .credibility__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float__label {
    display: none;
  }
}
