/* ════════════════════════════════════════════
   GINA CROWN — Stylesheet
   ════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────── */
:root {
  --bg:     #EDE0D4;
  --text:   #6C584C;
  --muted:  #A09189;
  --accent: #656D4A;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sub:     'Vollkorn', serif;
  --font-body:    'Montserrat', sans-serif;

  --nav-h: 80px;
  --max-w: 1200px;
  --gap:   clamp(1rem, 3vw, 2rem);
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

ul { list-style: none; }

/* ── Utilities ──────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 3rem;
}

.section-title em {
  font-style: italic;
  font-weight: 700;
}

/* ── Scroll reveal ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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


/* ════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background-color: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  border-bottom-color: var(--muted);
  box-shadow: 0 2px 20px rgba(108, 88, 76, 0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}


/* Hamburger */
.hamburger {
  display: none;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background-color: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background-color: var(--bg);
  border-bottom: 1px solid var(--muted);
  padding: 2rem;
  display: none;
  flex-direction: column;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.mobile-menu a {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}


/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  position: relative;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-overline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-logo-img {
  width: 1200px;
  max-width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.08em;
  color: var(--muted);
  max-width: 380px;
}

.btn-cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.9rem 2.8rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-cta:hover {
  background-color: var(--accent);
  color: var(--bg);
}



/* ════════════════════════════════════════════
   SOBRE LA MARCA
   ════════════════════════════════════════════ */
.sobre {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--muted);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.sobre-grid .section-title {
  margin-bottom: 0;
}

.sobre-values {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--muted);
}

.value-item:first-child {
  border-top: 1px solid var(--muted);
}

.value-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--muted);
  flex-shrink: 0;
  width: 2rem;
}

.value-text {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}


/* ════════════════════════════════════════════
   PERSONALIZADOS
   ════════════════════════════════════════════ */
.personalizados {
  background-color: #6C584C;
}

.personalizados-header {
  padding: 2rem clamp(1.5rem, 5vw, 4rem) 1.5rem;
  text-align: center;
}

.personalizados-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #A09189;
  margin-bottom: 1rem;
}

.personalizados-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #EDE0D4;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.personalizados-sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #A09189;
}

.personalizados-gallery {
  columns: 3;
  column-gap: 4px;
  padding: 0 4px 4px;
}

.personalizados-gallery .pers-img {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 4px;
  cursor: zoom-in;
  transition: opacity 0.25s ease;
}

.personalizados-gallery .pers-img:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .personalizados-gallery {
    columns: 2;
  }
}

@media (max-width: 480px) {
  .personalizados-gallery {
    columns: 1;
  }
}


/* ════════════════════════════════════════════
   CATEGORÍAS
   ════════════════════════════════════════════ */
.categorias {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--muted);
}

.cat-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 10rem);
  padding-top: 1rem;
}

.cat-col-img {
  width: 480px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

.cat-col:first-child .cat-col-img {
  transform: translateX(-3cm);
}

.cat-col:last-child .cat-col-img {
  transform: translateX(-2cm);
}

.cat-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--text);
  line-height: 1;
  margin-bottom: 1.75rem;
}

.cat-col-divider {
  width: 28px;
  height: 1px;
  background-color: var(--muted);
  margin-bottom: 1.75rem;
}

.cat-col-subs {
  display: flex;
  flex-direction: column;
}

.cat-sub-item {
  padding-block: 0.9rem;
  border-bottom: 1px solid rgba(160, 145, 137, 0.35);
}

.cat-sub-item:first-child {
  border-top: 1px solid rgba(160, 145, 137, 0.35);
}

.cat-sub-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.cat-sub-item[data-key] .cat-sub-name {
  cursor: pointer;
  user-select: none;
}

.cat-sub-item[data-key] .cat-sub-name::after {
  content: '+';
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.cat-sub-item.open .cat-sub-name::after {
  content: '−';
}

.cat-sub-gallery {
  display: none;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-top: 0.85rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(160, 145, 137, 0.4) transparent;
}

.cat-sub-item.open .cat-sub-gallery {
  display: flex;
}

.cat-product-img {
  height: 220px;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
  cursor: zoom-in;
  display: block;
  transition: opacity 0.25s ease;
}

.cat-product-img:hover {
  opacity: 0.82;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(40, 32, 28, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

#lightbox.active {
  display: flex;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}

#lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #EDE0D4;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

#lightbox-close:hover {
  opacity: 1;
}

@media (max-width: 480px) {
  .cat-sub-item.open .cat-sub-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow-x: visible;
    flex-wrap: wrap;
  }

  .cat-product-img {
    height: 150px;
    width: 100%;
  }
}


/* ════════════════════════════════════════════
   CONTACTO
   ════════════════════════════════════════════ */
.contacto {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--muted);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contacto-text p {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  line-height: 1.85;
  margin-bottom: 1.4rem;
}

.contacto-text p:last-of-type {
  margin-bottom: 2.5rem;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contacto-item {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--muted);
  font-size: 0.85rem;
}

.contacto-item:first-child {
  border-top: 1px solid var(--muted);
}

.contacto-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
  width: 5.5rem;
}

.contacto-link:hover {
  color: var(--accent);
}

/* CTA card */
.cta-card {
  border: 1px solid var(--muted);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-pre {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.cta-card h3 {
  font-family: var(--font-sub);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  color: var(--text);
}

.cta-card h3 em {
  font-style: italic;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
  padding: 0.9rem 2rem;
  background-color: var(--accent);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  transition: opacity 0.25s ease;
}

.btn-whatsapp:hover {
  opacity: 0.85;
  color: var(--bg);
}

.wa-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* ════════════════════════════════════════════
   HECHO EN ARGENTINA
   ════════════════════════════════════════════ */
.hecho-en {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background-color: var(--bg);
  border-top: 1px solid var(--muted);
  text-align: center;
}

.hecho-en-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hecho-en-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.8vw, 2.4rem);
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}

.hecho-en-flag {
  width: 30px;
  height: auto;
  display: block;
}


/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--muted);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo img {
  width: 140px;
  height: auto;
  opacity: 0.75;
  mix-blend-mode: multiply;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.footer-sep {
  width: 40px;
  height: 1px;
  background-color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
}

.footer-nav a {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}


/* ════════════════════════════════════════════
   WHATSAPP FLOTANTE
   ════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 54px;
  height: 54px;
  background-color: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(101, 109, 74, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(101, 109, 74, 0.45);
  color: var(--bg);
}


/* ════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 1024px)
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}


/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 768px)
   ════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Personalizados */
  .personalizados-header {
    padding: 1.5rem 1rem 1.1rem;
  }

  .personalizados-sub {
    font-size: 0.62rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  /* Navbar */
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 0.1rem);
    padding-bottom: 0;
    padding-inline: 0;
    overflow: hidden;
  }

  .hero-overline {
    padding-inline: 0.75rem;
    letter-spacing: 0.1em;
    font-size: 0.6rem;
    line-height: 1;
  }

  .hero-sub {
    padding-inline: 0.75rem;
    line-height: 1;
  }

  .hero-logo-img {
    width: 150vw;
    max-width: 150vw;
    margin-block: -10vw;
  }

  .hero-inner {
    gap: 0;
  }

  /* Slideshow top gap */
  .slideshow-wrap {
    padding-top: 0;
  }

  /* Categories */
  .cat-cols {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  /* Contacto */
  .contacto-grid {
    grid-template-columns: 1fr;
  }

  /* WhatsApp float */
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }
}


/* ════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  (≤ 480px)
   ════════════════════════════════════════════ */


/* ════════════════════════════════════════════
   MANIFIESTO
   ════════════════════════════════════════════ */
.manifiesto {
  background-color: #EDE0D4;
  padding: 90px 20px;
  text-align: center;
}

.manifiesto-inner {
  max-width: 680px;
  margin: 0 auto;
}

.manifiesto-inner::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background-color: #A09189;
  margin: 0 auto 50px auto;
}

.manifiesto-inner::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background-color: #A09189;
  margin: 50px auto 0 auto;
}

.manifiesto-inner p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 1.9;
  color: #6C584C;
  margin-bottom: 0;
  font-style: italic;
}

.manifiesto-inner p::before,
.manifiesto-inner p::after {
  content: '·';
  display: block;
  text-align: center;
  color: #A09189;
  font-size: 1.6rem;
  line-height: 1;
  margin-block: 1.1rem;
  font-style: normal;
}

.manifiesto-inner p + p::before {
  display: none;
}

.manifiesto-inner p:last-child::before {
  display: block;
}

.manifiesto-inner p:nth-last-child(2)::after {
  display: none;
}

.manifiesto-inner em {
  font-size: 1.1rem;
  color: #656D4A;
  letter-spacing: 0.05em;
}


.slideshow-cta {
  background-color: var(--bg);
  padding: 2.5rem;
  display: flex;
  justify-content: center;
}

/* ════════════════════════════════════════════
   SLIDESHOW
   ════════════════════════════════════════════ */
.slideshow-wrap {
  padding-block: 40px;
  background-color: var(--bg);
}

.slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg);
}

.slideshow-track {
  display: flex;
  gap: 12px;
  transition: transform 0.6s ease;
}

.slide-item {
  flex-shrink: 0;
  height: 75vh;
  background-color: #A09189;
  /* width set by JS based on container size */
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  color: #6C584C;
  font-size: 1.5rem;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.slide-arrow:hover {
  color: var(--text);
}

.slide-prev { left: 1rem; }
.slide-next { right: 1rem; }

/* Dots */
.slide-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background-color: #A09189;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.slide-dot.active {
  background-color: #6C584C;
  transform: scale(1.35);
}

@media (max-width: 768px) {
  .slide-item {
    height: 60vh;
  }
}

@media (max-width: 480px) {
  .slide-item {
    height: 50vh;
  }

  .slideshow-wrap {
    padding-block: 20px;
  }
}
