/* ══════════════════════════════════════
   OJOTAS IMPRESAS — styles.css
   Mobile-first · Minimalista · Elegante
══════════════════════════════════════ */

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

:root {
  --bg-light:   #FAFAF7;
  --bg-mid:     #E9E9E6;
  --bg-dark:    #1F1F1F;
  --gold:       #C9B08C;
  --gold-dim:   rgba(201, 176, 140, 0.2);
  --text-dark:  #1F1F1F;
  --text-muted: #6B6B68;
  --white:      #FAFAF7;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', sans-serif;

  --radius:     2px;
  --transition: 0.28s ease;
  --header-h:   60px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-tag.light {
  color: rgba(201, 176, 140, 0.8);
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 7vw, 42px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-dark);
}

.section-header h2 em {
  font-style: italic;
  color: var(--gold);
}


/* ════════════════════════════════════
   HEADER
════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-dark);
  border-bottom: 0.5px solid var(--gold-dim);
  transition: box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  height: var(--header-h);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo { display: flex; align-items: center; }
.logo-img {
  height: 52px;
  width: auto;
  transition: opacity var(--transition);
}
.logo:hover .logo-img { opacity: 0.8; }

/* Nav desktop — oculta en mobile */
#desktop-nav { display: none; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 0.5px;
  background: rgba(250, 250, 247, 0.7);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

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

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-dark);
  border-top: 0.5px solid rgba(201, 176, 140, 0.1);
  display: flex;
  flex-direction: column;
}

.mobile-menu.open { max-height: 420px; }

.mobile-menu a {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.55);
  padding: 1rem 1.5rem;
  border-bottom: 0.5px solid rgba(201, 176, 140, 0.07);
  transition: color var(--transition), background var(--transition);
}

.mobile-menu a:active,
.mobile-menu a:hover { color: var(--gold); background: rgba(201, 176, 140, 0.04); }

.btn-mobile-cta {
  margin: 1.25rem 1.5rem 1.75rem !important;
  padding: 0.85rem !important;
  text-align: center;
  background: var(--gold) !important;
  color: var(--bg-dark) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.18em !important;
  border: none !important;
  border-radius: var(--radius);
  transition: opacity var(--transition) !important;
}

.btn-mobile-cta:hover { opacity: 0.85; }


/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
  min-height: 100svh;
  padding-top: var(--header-h);
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Textura sutil de fondo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201, 176, 140, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201, 176, 140, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  padding: 3rem 1.5rem 4rem;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 0.5px solid var(--gold-dim);
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.75rem;
  border-radius: var(--radius);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(42px, 12vw, 80px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(14px, 3.5vw, 16px);
  font-weight: 300;
  color: rgba(250, 250, 247, 0.5);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  letter-spacing: 0.02em;
}

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

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 0.5px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}


/* ════════════════════════════════════
   BOTONES
════════════════════════════════════ */
.btn-primary {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--gold);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: opacity var(--transition), transform var(--transition);
  cursor: pointer;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); opacity: 0.75; }

.btn-ghost {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.55);
  border: 0.5px solid rgba(250, 250, 247, 0.2);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-ghost:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
  transform: translateY(-1px);
}

.btn-ghost:active { transform: translateY(0); }


/* ════════════════════════════════════
   VALORES
════════════════════════════════════ */
.valores {
  padding: 5rem 0;
  background: var(--bg-light);
}

.valores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.valor-card {
  background: var(--bg-mid);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 0.5px solid rgba(31, 31, 31, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.valor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(31, 31, 31, 0.07);
}

.valor-icon {
  margin-bottom: 1rem;
  transition: transform var(--transition);
}

.valor-card:hover .valor-icon { transform: scale(1.08); }

.valor-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.valor-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ════════════════════════════════════
   PRODUCTOS
════════════════════════════════════ */
.productos {
  padding: 5rem 0;
  background: var(--bg-mid);
}

.productos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.producto-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  border: 0.5px solid rgba(31, 31, 31, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}

.producto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(31, 31, 31, 0.1);
}

.producto-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-mid);
  overflow: hidden;
}

.producto-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.producto-card:hover .producto-img-wrap img {
  transform: scale(1.04);
}

/* Placeholder mientras no hay imagen */
.producto-img-wrap:not(:has(img[src])) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.producto-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--gold);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius);
}

.producto-info {
  padding: 1.25rem;
}

.producto-cat {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}

.producto-info h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.producto-info p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.producto-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.producto-talles {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.btn-producto {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: opacity var(--transition), transform var(--transition);
}

.btn-producto:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-producto:active { transform: translateY(0); }


/* ════════════════════════════════════
   PERSONALIZAR
════════════════════════════════════ */
.personalizar {
  padding: 5rem 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.personalizar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(201, 176, 140, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.personalizar-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.personalizar-text .section-tag { margin-bottom: 0.75rem; }

.personalizar-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.personalizar-text h2 em {
  font-style: italic;
  color: var(--gold);
}

.personalizar-text > p {
  font-size: 14.5px;
  color: rgba(250, 250, 247, 0.5);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.pasos {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.pasos li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 14px;
  color: rgba(250, 250, 247, 0.6);
  padding-bottom: 0.85rem;
  border-bottom: 0.5px solid rgba(201, 176, 140, 0.1);
  transition: color var(--transition);
}

.pasos li:last-child { border-bottom: none; }

.pasos li:hover { color: var(--white); }

.pasos li span {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--gold);
  min-width: 24px;
  font-weight: 300;
}

/* Decoración imagen */
.deco-box {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(201, 176, 140, 0.06);
  border: 0.5px solid var(--gold-dim);
  position: relative;
}

.deco-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity var(--transition), transform 0.55s ease;
}

.deco-box:hover img {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Placeholder si no hay imagen */
.deco-box::after {

  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(201, 176, 140, 0.3);
  text-transform: uppercase;
  pointer-events: none;
}


/* ════════════════════════════════════
   CONTACTO
════════════════════════════════════ */
.contacto {
  padding: 5rem 0;
  background: var(--bg-light);
  text-align: center;
}

.contacto-sub {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.7;
}

.contacto-acciones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--gold);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  transition: opacity var(--transition), transform var(--transition);
}

.btn-whatsapp:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-whatsapp:active { transform: translateY(0); }

.contacto-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.9;
}

.contacto-info strong {
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: 0.04em;
}


/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
footer {
  background: var(--bg-dark);
  border-top: 0.5px solid var(--gold-dim);
  padding: 2.5rem 0;
}

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

.footer-logo {
  height: 30px;
  width: auto;
  opacity: 0.75;
  transition: opacity var(--transition);
}

.footer-logo:hover { opacity: 1; }

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

.footer-nav a {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.4);
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 11px;
  color: rgba(250, 250, 247, 0.25);
  letter-spacing: 0.06em;
}

.ac-item {
  border-top: 0.5px solid rgba(31,31,31,0.1);
  overflow: hidden;
}

.ac-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(250, 250, 247, 0.8);
  cursor: pointer;
  transition: color 0.25s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ac-header::after {
  content: '+';
  font-size: 18px;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.ac-item.ac-active .ac-header {
  color: var(--gold);
}

.ac-item.ac-active .ac-header::after {
  transform: rotate(45deg);
}

.ac-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.45s ease, opacity 0.35s ease, transform 0.35s ease;
}

.ac-item.ac-active .ac-content {
  max-height: 900px;
  opacity: 1;
  transform: translateY(0);
}

.ac-content p,
.ac-content li {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
  padding-bottom: 1rem;
}

/* ════════════════════════════════════
   DESKTOP — 768px+
════════════════════════════════════ */
@media (min-width: 768px) {
  :root { --header-h: 68px; }

  .header-inner {
    padding: 0 2rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .logo-img { height: 64px; }

  .hamburger { display: none; }
  .mobile-menu { display: none !important; }

  #desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  #desktop-nav a {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250, 250, 247, 0.55);
    position: relative;
    transition: color var(--transition);
  }

  #desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 0.5px;
    background: var(--gold);
    transition: width 0.3s ease;
  }

  #desktop-nav a:hover { color: var(--gold); }
  #desktop-nav a:hover::after { width: 100%; }

  .btn-nav {
    font-size: 10px !important;
    font-weight: 400 !important;
    letter-spacing: 0.16em !important;
    color: var(--bg-dark) !important;
    background: var(--gold);
    padding: 0.5rem 1.1rem !important;
    border-radius: var(--radius);
    transition: opacity var(--transition) !important;
  }

  .btn-nav::after { display: none !important; }
  .btn-nav:hover { opacity: 0.85 !important; color: var(--bg-dark) !important; }

  /* Hero */
  .hero-actions { flex-direction: row; justify-content: center; }

  /* Valores */
  .valores-grid { grid-template-columns: repeat(3, 1fr); }

  /* Productos */
  .productos-grid { grid-template-columns: repeat(3, 1fr); }

  /* Personalizar */
  .personalizar-inner {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .personalizar-text { flex: 1; }
  .personalizar-deco { flex: 1; }

  /* Contacto */
  .contacto-acciones { flex-direction: column; justify-content: center; align-items: center; }

  /* Footer */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.ns-seccion1 {
  padding-top: 5.5rem;
  }