/* ============================================
   LAURA MESA FENG SHUI — Global Styles
   lauramesafengshui.es
   Paleta extraída del logo oficial
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  /* ── Paleta principal (del logo) ── */
  --rose:        #C9A0A8;   /* Rosa palo — color principal monograma */
  --rose-dark:   #A67078;   /* Rosa vino — acentos y botones */
  --rose-light:  #E8D0D4;   /* Rosa claro — hover, fondos sutiles */
  --rose-pale:   #F5EDEE;   /* Rosa casi blanco — fondos de sección */
  --charcoal:    #4A4040;   /* Gris carbón — texto principal */
  --charcoal-soft:#6B5F5F;  /* Gris medio — texto secundario */
  --warm-white:  #FAFAF8;   /* Blanco cálido — fondo base */
  --cream:       #F5F0EE;   /* Crema — color fondo del logo */
  --sage:        #8A9E8A;   /* Salvia — acento natural complementario */
  --sage-light:  #C4D1C4;

  /* ── Líneas y bordes ── */
  --line:        rgba(167,112,120,0.12);
  --line-dark:   rgba(167,112,120,0.28);
  --border:      rgba(74,64,64,0.1);

  /* ── Tipografía ── */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', sans-serif;

  /* ── Layout ── */
  --radius:      3px;
  --max-w:       1200px;
  --transition:  0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  background: var(--warm-white);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Textura de cuadrícula sutil ── */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
}

/* ── Eyebrow label ── */
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--rose);
  flex-shrink: 0;
}

/* ── Títulos de sección ── */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
}
.section-title em {
  font-style: italic;
  color: var(--rose-dark);
}

/* ── Separador ── */
.sep {
  width: 40px; height: 1px;
  background: var(--rose);
  margin: 24px 0;
}

/* ── Contenedor ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Botones ── */
.btn-primary {
  display: inline-block;
  background: var(--rose-dark);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--rose); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--charcoal-soft);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 0.5px solid var(--line-dark);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-ghost:hover {
  border-color: var(--rose-dark);
  color: var(--rose-dark);
  transform: translateY(-1px);
}

/* ── Placeholder de imágenes ── */
.placeholder {
  background: var(--rose-pale);
  border: 1px dashed var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border-radius: var(--radius);
  overflow: hidden;
}
.placeholder span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose); }
.placeholder small { font-size: 10px; color: var(--rose-light); }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0; z-index: 100;
  background: rgba(250,250,248,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(74,64,64,0.08); }

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  padding: 0 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Logo imagen */
.logo-img {
  height: 54px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}
.logo-img:hover { opacity: 0.8; }

/* Navegación desktop */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  transition: color var(--transition);
  white-space: nowrap;
  position: relative;
  padding-bottom: 2px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--rose-dark);
  transition: width var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--rose-dark); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.nav-cta {
  background: var(--rose-dark) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--rose) !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 1px;
  background: var(--charcoal); transition: all var(--transition);
}
.mobile-nav {
  display: none; flex-direction: column;
  background: rgba(250,250,248,0.98);
  border-top: 0.5px solid var(--border);
  padding: 20px 32px 28px; gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--charcoal-soft); transition: color var(--transition);
  padding: 10px 0; border-bottom: 0.5px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--rose-dark); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--charcoal);
  border-top: 2px solid var(--rose);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.footer-logo {
  height: 52px; width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.footer-brand p {
  font-size: 13px; line-height: 1.7;
  color: rgba(245,240,238,0.45); max-width: 280px; margin-bottom: 24px;
}
.footer-col h4 {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px; color: rgba(245,240,238,0.4); transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--rose-light); }
.footer-contact p { font-size: 13px; line-height: 1.8; color: rgba(245,240,238,0.4); }
.footer-contact a { color: var(--rose-light); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 11px; letter-spacing: 0.06em; color: rgba(245,240,238,0.2); }
.footer-bottom a { font-size: 11px; color: rgba(245,240,238,0.2); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--rose); }
.footer-legal { display: flex; gap: 20px; }

/* ══════════════════════════════════════
   BANNER DE COOKIES — GDPR / Ley UE
══════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--charcoal);
  border-top: 2px solid var(--rose);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 32px rgba(74,64,64,0.18);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-text { flex: 1; min-width: 260px; }
.cookie-text p {
  font-size: 13px; line-height: 1.65;
  color: rgba(245,240,238,0.72);
}
.cookie-text a {
  color: var(--rose-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-text a:hover { color: #fff; }

.cookie-actions {
  display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap;
}
.cookie-accept {
  background: var(--rose-dark); color: #fff;
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 11px 24px; border: none; border-radius: var(--radius);
  cursor: pointer; transition: background var(--transition);
  white-space: nowrap;
}
.cookie-accept:hover { background: var(--rose); }
.cookie-reject {
  background: transparent; color: rgba(245,240,238,0.45);
  font-family: var(--font-sans); font-size: 11px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 11px 18px; border: 0.5px solid rgba(245,240,238,0.15);
  border-radius: var(--radius); cursor: pointer; transition: all var(--transition);
  white-space: nowrap;
}
.cookie-reject:hover { border-color: rgba(245,240,238,0.35); color: rgba(245,240,238,0.7); }
.cookie-config {
  background: transparent; color: rgba(245,240,238,0.3);
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 11px 10px; border: none; cursor: pointer;
  transition: color var(--transition); text-decoration: underline; text-underline-offset: 2px;
  white-space: nowrap;
}
.cookie-config:hover { color: rgba(245,240,238,0.6); }

/* ══════════════════════════════════════
   ANIMACIONES
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease forwards; }
.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.25s; opacity: 0; }
.fade-up-3 { animation-delay: 0.4s; opacity: 0; }
.fade-up-4 { animation-delay: 0.55s; opacity: 0; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mobile-nav { padding: 16px 20px 24px; }
  .cookie-banner { padding: 16px 20px; flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
}
@media (max-width: 480px) {
  .btn-primary, .btn-ghost { padding: 12px 20px; font-size: 10px; }
  .cookie-accept, .cookie-reject { flex: 1; text-align: center; }
}
