/* ══════════════════════════════════════════════════════
   CHICCOLOR — Shared Styles
   Usado por todas las páginas del sitio
══════════════════════════════════════════════════════ */

/* ── RESET & BASE ──────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ivory:   #FAF8F5;
  --white:   #FFFFFF;
  --charcoal:#1C1C1C;
  --mid:     #555555;
  --light:   #A8A8A8;
  --nude:    #C4A882;
  --nude-lt: #E8D9C8;
  --nude-dk: #8E6E4A;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Josefin Sans', sans-serif;
  --nav-h:   70px;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--charcoal);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; object-fit: cover; }

/* ── KEYFRAMES ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.35); }
  50%       { box-shadow: 0 6px 32px rgba(37,211,102,0.55); }
}

/* ── TOP BAR ───────────────────────────────────────── */
.topbar {
  background: var(--charcoal);
  color: var(--nude-lt);
  text-align: center;
  padding: 9px 20px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ── NAVIGATION ────────────────────────────────────── */
.nav-wrapper {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}
.nav-wrapper.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.06); }
nav {
  max-width: 1260px;
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  gap: 20px;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  flex-shrink: 0;
  text-decoration: none;
  gap: 2px;
}
.nav-logo-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.12em;
  color: var(--charcoal);
  line-height: 1;
}
.nav-logo-monogram span { color: var(--nude); }
.nav-logo-sub {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mid);
}
.nav-logo-tagline {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.05em;
  color: var(--nude-dk);
}

/* Menu items */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 0 18px;
  height: var(--nav-h);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--charcoal);
  position: relative;
  transition: color 0.2s;
}
.nav-menu > li > a::after {
  content: '';
  position: absolute; bottom: 0; left: 18px; right: 18px;
  height: 2px;
  background: var(--nude);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left center;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--nude-dk); }
.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after { transform: scaleX(1); }

/* Chevron */
.chevron {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  display: inline-block;
  transition: transform 0.2s;
}
.nav-menu > li:hover .chevron { transform: rotate(225deg) translateY(-2px); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(var(--nav-h) - 1px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-top: 2px solid var(--nude);
  box-shadow: 0 16px 40px rgba(0,0,0,0.09);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 100;
}
.nav-menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { list-style: none; }
.dropdown li a {
  display: block;
  padding: 12px 22px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--mid);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: color 0.18s, padding-left 0.18s, background 0.18s;
}
.dropdown li a:hover { color: var(--nude-dk); padding-left: 30px; background: rgba(196,168,130,0.04); }
.dropdown li:last-child a { border-bottom: none; }

/* Mega-dropdown */
.mega-dropdown { min-width: 480px; display: grid; grid-template-columns: 1fr 1fr; }
.mega-col { padding: 18px 0; }
.mega-col-title {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nude);
  font-weight: 600;
  padding: 0 22px 10px;
}

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cta {
  background: var(--charcoal);
  color: var(--white) !important;
  padding: 10px 22px !important;
  height: auto !important;
  letter-spacing: 0.12em;
  font-size: 10.5px !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--nude-dk) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 1.5px; background: var(--charcoal); display: block; transition: all 0.25s; }

/* ── BUTTONS ───────────────────────────────────────── */
.btn-primary {
  background: var(--charcoal);
  color: var(--white);
  padding: 15px 38px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: none; cursor: pointer;
  transition: background 0.25s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--nude-dk); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  padding: 14px 36px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid rgba(28,28,28,0.3);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.15s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--nude-dk); color: var(--nude-dk); transform: translateY(-2px); }
.btn-nude {
  background: var(--nude);
  color: var(--white);
  padding: 16px 42px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: none; cursor: pointer;
  transition: background 0.25s, transform 0.15s;
  display: inline-block;
}
.btn-nude:hover { background: var(--nude-dk); transform: translateY(-2px); }

/* ── SECTION BASE ──────────────────────────────────── */
section { padding: 100px 30px; }
.container { max-width: 1260px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--nude);
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--nude-dk); }
.section-divider {
  width: 48px; height: 1px;
  background: var(--nude);
  margin: 22px auto 0;
}

/* ── PAGE HERO (sub-páginas) ───────────────────────── */
.page-hero {
  background: var(--charcoal);
  padding: 100px 30px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,168,130,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.cta-eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--nude);
  font-weight: 500;
  display: block;
  margin-bottom: 20px;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-title em { font-style: italic; color: var(--nude-lt); }
.cta-sub {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  max-width: 480px;
  margin: 0 auto;
}

/* ── FOOTER ────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.55);
  padding: 64px 30px 32px;
}
.footer-grid {
  max-width: 1260px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1;
}
.footer-brand-name span { color: var(--nude); }
.footer-brand-centro {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--nude-lt);
  margin-bottom: 4px;
}
.footer-brand-tagline {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
  color: var(--nude);
  margin-bottom: 16px;
}
.footer-brand-desc {
  font-size: 12px; font-weight: 300;
  line-height: 1.9; letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social a:hover { border-color: var(--nude); color: var(--nude); }
.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: 12px; font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--nude); }
.footer-bottom {
  max-width: 1260px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 11px; font-weight: 300; letter-spacing: 0.08em; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 11px; font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--nude); }

/* ── WHATSAPP FLOAT ────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.45); }
.wa-float svg { width: 26px; height: 26px; fill: white; }

/* ── SCROLL REVEAL ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ── MOBILE MENU ───────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--white);
  z-index: 2000;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--nude-dk); }
.mobile-close {
  position: absolute; top: 24px; right: 28px;
  font-size: 28px; cursor: pointer;
  color: var(--charcoal);
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav-menu, .nav-right { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  section { padding: 64px 20px; }
  .page-hero { padding: 70px 20px 60px; }
}
