@font-face {
  font-family: 'Alex Brush';
  src: url('fuentes/alex-brush-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Satoshi: autoalojada. Faltan subir los archivos reales de fuente
   (Satoshi-Light/Regular/Medium/Bold/Black .woff2) dentro de /fuentes/
   — ver LEEME.txt. Mientras tanto cae en Manrope como reemplazo visual. */
@font-face {
  font-family: 'Satoshi';
  src: url('fuentes/Satoshi-Light.woff2') format('woff2'),
       url('fuentes/Satoshi-Light.woff') format('woff'),
       url('fuentes/Satoshi-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fuentes/Satoshi-Regular.woff2') format('woff2'),
       url('fuentes/Satoshi-Regular.woff') format('woff'),
       url('fuentes/Satoshi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fuentes/Satoshi-Medium.woff2') format('woff2'),
       url('fuentes/Satoshi-Medium.woff') format('woff'),
       url('fuentes/Satoshi-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fuentes/Satoshi-Bold.woff2') format('woff2'),
       url('fuentes/Satoshi-Bold.woff') format('woff'),
       url('fuentes/Satoshi-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fuentes/Satoshi-Italic.woff2') format('woff2'),
       url('fuentes/Satoshi-Italic.woff') format('woff'),
       url('fuentes/Satoshi-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('fuentes/manrope-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('fuentes/manrope-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --c1: #f3eae1; /* crema */
  --c2: #e0d6cc; /* greige claro */
  --c3: #d1bfb1; /* blush/taupe */
  --c4: #a89b92; /* mauve grisáceo */
  --c5: #807873; /* gris cálido oscuro */

  --ink: #4a4441;
  --font-script: 'Alex Brush', cursive;
  --font-sans: 'Satoshi', 'Manrope', sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--c1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: rgba(243, 234, 225, 0.92);
  backdrop-filter: blur(6px);
  padding: 14px clamp(20px, 5vw, 56px);
  box-shadow: 0 1px 0 rgba(74, 68, 65, 0.08);
}

.wordmark {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
}

.site-header.scrolled .wordmark { color: var(--ink); }
.hero ~ * .wordmark { }

.main-nav {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.main-nav a {
  position: relative;
  padding-bottom: 3px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.35s ease;
}

.main-nav a:hover::after { right: 0; }

.header-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.icon-link {
  opacity: 0.8;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.icon-link:hover { opacity: 1; transform: translateY(-1px); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 22px;
  height: 1px;
  background: var(--ink);
  display: block;
}

/* Header text is light over the hero (dark-ish photo), dark once scrolled */
.site-header:not(.scrolled) {
  color: var(--c1);
}
.site-header:not(.scrolled) .icon-link,
.site-header:not(.scrolled) .wordmark,
.site-header:not(.scrolled) .main-nav a,
.site-header:not(.scrolled) .menu-toggle span {
  color: var(--c1);
  background-color: transparent;
}
.site-header:not(.scrolled) .menu-toggle span { background: var(--c1); }
.site-header.scrolled .menu-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('bg-hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74,68,65,0.35) 0%, rgba(74,68,65,0.15) 45%, rgba(74,68,65,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--c1);
  padding: 0 24px;
  max-width: 720px;
}

.hero-logo {
  width: clamp(64px, 9vw, 96px);
  height: auto;
  margin: 0 auto 14px;
  opacity: 0.92;
}

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(52px, 10vw, 108px);
  margin: 0 0 18px;
  font-weight: 400;
  line-height: 1;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.hero-cta {
  display: inline-block;
  border: 1px solid rgba(243,234,225,0.7);
  padding: 12px 30px;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}
.hero-cta:hover {
  background: var(--c1);
  color: var(--ink);
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-cue span {
  display: block;
  width: 1px;
  height: 46px;
  background: rgba(243,234,225,0.75);
  position: relative;
  overflow: hidden;
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0; right: 0;
  height: 100%;
  background: var(--c1);
  animation: cue 2.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue span::after { animation: none; top: 0; }
}
@keyframes cue {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- Intro ---------- */

.intro {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(90px, 14vw, 160px) 24px;
  text-align: center;
}

.intro-kicker {
  font-family: var(--font-script);
  font-size: 30px;
  margin: 0 0 22px;
  color: var(--c5);
}

.intro-text {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink);
  margin: 0 0 18px;
}

/* ---------- Parallax bands ---------- */

.parallax-band {
  position: relative;
  height: 46vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.parallax-bg-1 { background-image: url('bg-parallax-1.jpg'); }
.parallax-bg-2 { background-image: url('bg-parallax-2.jpg'); }

.parallax-band-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74,68,65,0.28);
}

.parallax-quote {
  position: relative;
  z-index: 2;
  font-family: var(--font-script);
  font-size: clamp(32px, 5vw, 54px);
  color: var(--c1);
  text-align: center;
  padding: 0 20px;
  max-width: 700px;
}

@media (max-width: 700px) {
  .hero-bg, .parallax-bg { background-attachment: scroll; }
}

/* ---------- Piezas / product grid ---------- */

.piezas {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 140px) clamp(20px, 5vw, 56px);
  background: var(--c2);
}

.section-kicker {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--c5);
  text-align: center;
  margin: 0 0 6px;
}

.section-script {
  font-family: var(--font-script);
  font-size: clamp(38px, 6vw, 58px);
  text-align: center;
  margin: 0 0 18px;
  color: var(--ink);
  font-weight: 400;
}

.section-lead {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
  font-size: 16px;
  color: var(--ink);
  opacity: 0.85;
}

.product-group {
  margin-bottom: clamp(60px, 8vw, 96px);
}
.product-group:last-child {
  margin-bottom: 0;
}

.group-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c5);
  text-align: center;
  margin: 0 0 34px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(128,120,115,0.3);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(28px, 3vw, 44px);
}

.product-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.product-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .product-card { opacity: 1; transform: none; }
}

.carousel {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--c3);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(.65,.05,.36,1);
  touch-action: pan-y;
}

.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(243,234,225,0.85);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
  color: var(--ink);
}
.carousel:hover .carousel-arrow,
.carousel:focus-within .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: var(--c1); }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(243,234,225,0.6);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.carousel-dot.active {
  background: var(--c1);
  transform: scale(1.25);
}

.product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(128,120,115,0.3);
}

.product-name {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
}

.product-price {
  font-size: 14px;
  color: var(--c5);
  font-weight: 300;
  white-space: nowrap;
}

/* ---------- Contacto ---------- */

.contacto {
  padding: clamp(90px, 12vw, 140px) clamp(20px, 5vw, 56px);
}

.contacto-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

@media (max-width: 800px) {
  .contacto-inner { grid-template-columns: 1fr; }
}

.contacto-info .section-kicker,
.contacto-info .section-script { text-align: left; }
.contacto-info .section-script { margin-bottom: 20px; }

.contacto-text {
  font-size: 16px;
  color: var(--ink);
  opacity: 0.9;
  max-width: 420px;
  margin-bottom: 30px;
}

.wsp-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c5);
  color: var(--c1);
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  margin-bottom: 20px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.wsp-button:hover { background: var(--ink); transform: translateY(-1px); }

.insta-link {
  display: block;
  font-size: 15px;
  color: var(--c5);
  border-bottom: 1px solid transparent;
  width: fit-content;
}
.insta-link:hover { border-color: var(--c5); }

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacto-form label {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--c5);
  margin-bottom: -10px;
}

.contacto-form input,
.contacto-form textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--c4);
  padding: 10px 2px;
  outline: none;
  transition: border-color 0.25s ease;
  resize: vertical;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  border-color: var(--ink);
}

.contacto-form button {
  margin-top: 10px;
  align-self: flex-start;
  background: var(--ink);
  color: var(--c1);
  border: none;
  padding: 13px 30px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.contacto-form button:hover { background: var(--c5); transform: translateY(-1px); }

.form-note {
  font-size: 14px;
  color: var(--c5);
  min-height: 20px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--c5);
  color: var(--c1);
  text-align: center;
  padding: 56px 24px 34px;
}

.footer-wordmark {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}

.footer-line {
  font-size: 14px;
  opacity: 0.85;
  margin: 0 0 18px;
}

.footer-links {
  font-size: 14px;
  margin-bottom: 26px;
}
.footer-links a { opacity: 0.9; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-links .dot { margin: 0 10px; opacity: 0.6; }

.footer-copy {
  font-size: 12px;
  opacity: 0.6;
  margin: 0;
}

/* ---------- Responsive nav ---------- */

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--c1);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    color: var(--ink);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 99;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: var(--ink); font-size: 20px; }
  .menu-toggle { display: flex; }
  .header-icons { display: none; }
}
