/* =========================================================
   VELORA — Design tokens v2
   Más imagen, menos texto, minimalista, con movimiento sutil.
   ========================================================= */
:root {
  --ivory: #FBF6EC;
  --ivory-deep: #F3EBDA;
  --sand: #E8D9BE;
  --cacao: #4A2E20;
  --cacao-soft: #6B4632;
  --charcoal: #2A241E;
  --gold: #A6853F;
  --gold-soft: #C9AE7C;
  --berry: #7A2E2E;
  --white: #FFFFFF;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Work Sans', 'Segoe UI', sans-serif;

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;

  --max-w: 1320px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--cacao);
  margin: 0 0 .4em;
  line-height: 1.1;
}

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow.on-dark { color: var(--gold-soft); }
.eyebrow.on-dark::before { background: var(--gold-soft); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: .02em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
.btn-primary { background: var(--cacao); color: var(--ivory); }
.btn-primary:hover { background: var(--charcoal); transform: translateY(-2px); }
.btn-ghost { background: rgba(251,246,236,.14); border-color: rgba(251,246,236,.5); color: var(--ivory); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--ivory); color: var(--cacao); }
.btn-outline { background: transparent; border-color: var(--cacao); color: var(--cacao); }
.btn-outline:hover { background: var(--cacao); color: var(--ivory); }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }
.stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =========================================================
   Header — transparente sobre el hero, sólido al hacer scroll
   ========================================================= */
.top-bar {
  background: var(--charcoal); color: var(--ivory-deep);
  font-size: 12px; text-align: center; padding: 7px 16px; letter-spacing: .03em;
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: 8px;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.solid {
  background: rgba(251,246,236,.94); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--sand);
  padding-top: 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }

.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 20px; letter-spacing: .03em; color: var(--ivory); transition: color .3s var(--ease); }
.site-header.solid .logo { color: var(--cacao); }
.logo svg { width: 18px; height: 18px; }
.logo small { display: block; font-family: var(--font-body); font-size: 8px; letter-spacing: .24em; color: var(--gold-soft); font-weight: 600; }

.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; font-size: 13px; font-weight: 500; }
.main-nav a { position: relative; padding: 4px 0; color: var(--ivory); transition: color .3s var(--ease); }
.site-header.solid .main-nav a { color: var(--charcoal); }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: currentColor; transition: width .25s var(--ease); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ivory); margin: 5px 0; transition: transform .2s var(--ease), opacity .2s var(--ease), background .3s var(--ease); }
.site-header.solid .menu-toggle span { background: var(--cacao); }

body.no-hero .site-header { position: sticky; background: rgba(251,246,236,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--sand); padding-top: 0; }
body.no-hero .logo, body.no-hero .main-nav a { color: var(--cacao); }
body.no-hero .menu-toggle span { background: var(--cacao); }

@media (max-width: 880px) {
  .main-nav { position: fixed; inset: 0; background: var(--ivory); transform: translateX(100%); transition: transform .35s var(--ease); padding: 110px 34px 34px; z-index: 40; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 24px; font-size: 22px; }
  .main-nav a { color: var(--cacao) !important; }
  .menu-toggle { display: block; }
  .header-actions .desktop-only { display: none; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.menu-open .menu-toggle span { background: var(--cacao) !important; }
}

/* =========================================================
   HERO — imagen a pantalla completa, texto mínimo
   ========================================================= */
.hero-full { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero-full img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: hero-in 2.4s var(--ease) forwards; }
@keyframes hero-in { to { transform: scale(1); } }
.hero-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,14,9,.62) 0%, rgba(20,14,9,.05) 45%, rgba(20,14,9,.28) 100%); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 56px; z-index: 2; color: var(--ivory); text-align: left; }
.hero-copy .container { max-width: 720px; }
.hero-copy h1 { color: var(--ivory); font-size: clamp(32px, 5.4vw, 64px); margin-bottom: 14px; }
.hero-copy p { color: var(--sand); font-size: 15px; max-width: 44ch; margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; bottom: 22px; right: 32px; z-index: 2; color: var(--ivory); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px; opacity: .8; }
.scroll-cue span.line { width: 1px; height: 34px; background: var(--ivory); display: inline-block; animation: cue-pulse 1.8s ease-in-out infinite; }
@keyframes cue-pulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

@media (max-width: 620px) { .hero-copy { bottom: 40px; } .scroll-cue { display: none; } }

/* =========================================================
   Secciones generales — más aire, menos bloques de texto
   ========================================================= */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--ivory-deep); }
.section.dark { background: var(--charcoal); color: var(--sand); }
.section.dark h2 { color: var(--ivory); }
.section-head { max-width: 520px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--cacao-soft); font-size: 14px; }
.section.dark .section-head p { color: var(--sand); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); }

/* =========================================================
   Mosaico de imágenes — protagonismo total de la fotografía
   inspirado en el bloque "Elegancia en cada detalle" original
   ========================================================= */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 130px; gap: 14px; }
.mosaic .m-item { position: relative; overflow: hidden; border-radius: var(--radius-m); }
.mosaic .m-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mosaic .m-item:hover img { transform: scale(1.08); }
.mosaic .m-item .m-label {
  position: absolute; left: 14px; bottom: 14px; color: var(--ivory);
  font-family: var(--font-display); font-size: 15px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mosaic .m-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,14,9,.55), transparent 55%); opacity: 0; transition: opacity .35s var(--ease); }
.mosaic .m-item:hover::before, .mosaic .m-item:hover .m-label { opacity: 1; transform: translateY(0); }

.mosaic .s1 { grid-column: span 3; grid-row: span 3; }
.mosaic .s2 { grid-column: span 3; grid-row: span 2; }
.mosaic .s3 { grid-column: span 3; grid-row: span 2; }
.mosaic .s4 { grid-column: span 2; grid-row: span 2; }
.mosaic .s5 { grid-column: span 2; grid-row: span 2; }
.mosaic .s6 { grid-column: span 2; grid-row: span 2; }

@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .mosaic .m-item { grid-column: span 1 !important; grid-row: span 1 !important; }
  .mosaic .s1 { grid-column: span 2 !important; grid-row: span 2 !important; }
}

/* =========================================================
   Categorías — foto grande, un par de palabras
   ========================================================= */
.cat-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card { position: relative; aspect-ratio: 3/4; border-radius: var(--radius-m); overflow: hidden; display: block; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,14,9,.7) 0%, transparent 55%); }
.cat-card span { position: absolute; left: 16px; bottom: 16px; color: var(--ivory); font-family: var(--font-display); font-size: 17px; }

@media (max-width: 980px) { .cat-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cat-strip { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Marquee de valores — una línea, texto pequeño
   ========================================================= */
.value-line { display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: center; text-align: center; }
.value-line span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--cacao-soft); display: inline-flex; align-items: center; gap: 8px; }
.value-line span::before { content: "✦"; color: var(--gold); font-size: 10px; }

/* =========================================================
   Proceso — números grandes, texto corto
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { position: relative; }
.step .num { font-family: var(--font-display); font-size: 44px; color: var(--gold-soft); display: block; margin-bottom: 8px; }
.step h4 { font-size: 14px; margin-bottom: 2px; }
.step p { font-size: 12px; color: var(--cacao-soft); margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; } }

/* =========================================================
   Producto destacado — imagen dominante 60/40
   ========================================================= */
.feature-split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 0; align-items: stretch; border-radius: var(--radius-l); overflow: hidden; }
.feature-split .f-img { position: relative; min-height: 460px; overflow: hidden; }
.feature-split .f-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-split .f-copy { background: var(--cacao); color: var(--ivory); padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.feature-split .f-copy h2 { color: var(--ivory); font-size: clamp(24px, 2.6vw, 34px); }
.feature-split .f-copy p { color: var(--sand); font-size: 14px; }
@media (max-width: 880px) { .feature-split { grid-template-columns: 1fr; } .feature-split .f-img { min-height: 320px; } }

/* =========================================================
   Eventos — tarjetas foto grande
   ========================================================= */
.events-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.event-card { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-m); overflow: hidden; }
.event-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.event-card:hover img { transform: scale(1.08); }
.event-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,14,9,.68), transparent 50%); }
.event-card h3 { position: absolute; left: 16px; bottom: 16px; color: var(--ivory); font-size: 18px; margin: 0; }
@media (max-width: 880px) { .events-strip { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Testimonios / FAQ — texto pequeño, mucho espacio
   ========================================================= */
.testimonial-empty { border: 1px dashed var(--gold-soft); border-radius: var(--radius-m); padding: 36px; text-align: center; color: var(--cacao-soft); font-size: 13px; max-width: 560px; margin: 0 auto; }

.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--sand); }
.faq-item summary { cursor: pointer; padding: 18px 4px; font-family: var(--font-display); font-size: 16px; color: var(--cacao); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--gold); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq-item p { padding: 0 4px 18px; color: var(--cacao-soft); font-size: 13px; margin: 0; }

/* =========================================================
   Blog — imagen grande, texto corto
   ========================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { display: block; }
.blog-card .blog-img { aspect-ratio: 4/5; border-radius: var(--radius-m); overflow: hidden; margin-bottom: 14px; }
.blog-card .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.blog-card:hover .blog-img img { transform: scale(1.08); }
.blog-card .cat { font-size: 11px; color: var(--gold); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.blog-card h3 { font-size: 16px; margin: 6px 0 0; }
@media (max-width: 880px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Final CTA
   ========================================================= */
.final-cta { position: relative; padding: 130px 24px; text-align: center; overflow: hidden; }
.final-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: rgba(20,14,9,.6); }
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { color: var(--ivory); font-size: clamp(28px, 4vw, 42px); }
.final-cta p { color: var(--sand); font-size: 14px; max-width: 480px; margin: 0 auto 28px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--charcoal); color: var(--sand); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid rgba(232,217,190,.15); }
.site-footer .logo { color: var(--ivory); }
.site-footer .logo small { color: var(--gold-soft); }
.footer-desc { font-size: 12px; color: var(--sand); opacity: .75; margin-top: 12px; max-width: 32ch; }
.footer-col h5 { font-family: var(--font-body); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; font-size: 12px; color: rgba(232,217,190,.6); flex-wrap: wrap; gap: 10px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   WhatsApp flotante
   ========================================================= */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; background: var(--cacao); color: var(--ivory); width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); animation: wa-breathe 3s ease-in-out infinite; }
.wa-float svg { width: 24px; height: 24px; }
@keyframes wa-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* =========================================================
   Página interior — hero corto para páginas que no son Home
   ========================================================= */
.page-hero { position: relative; height: 58vh; min-height: 380px; overflow: hidden; }
.page-hero img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,14,9,.6), rgba(20,14,9,.15)); }
.page-hero .page-hero-copy { position: absolute; left: 0; right: 0; bottom: 44px; z-index: 2; color: var(--ivory); }
.page-hero h1 { color: var(--ivory); font-size: clamp(28px, 4.4vw, 48px); margin-bottom: 6px; }

.contact-split { max-width: 760px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 14px; }
.contact-detail .ci { width: 40px; height: 40px; border-radius: 50%; background: var(--sand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail .ci svg { width: 18px; height: 18px; stroke: var(--cacao); }

@media (prefers-reduced-motion: reduce) {
  .hero-full img, .wa-float, .scroll-cue span.line { animation: none !important; }
}
