@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg:        #F5F1ED;
  --bg-dark:   #EDEAE5;
  --text:      #2B2B2B;
  --text-muted:#7A6E68;
  --gold:      #C8A96A;
  --gold-light:#E2C98A;
  --brown:     #8C6A5D;
  --dark:      #1A1A1A;
  --white:     #FFFFFF;
  --card-bg:   #FDFCFA;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }

/* ── GOLD SHINE ── */
.gold-text {
  background: linear-gradient(120deg, #a07840 0%, #E2C98A 40%, #C8A96A 60%, #a07840 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShine 4s linear infinite;
}
@keyframes goldShine { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
@keyframes shimmer { 0% { left: -60%; } 100% { left: 160%; } }

/* ── CURSOR GLOW ── */
.cursor-glow {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(200,169,106,.1) 0%, transparent 70%);
  border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 0;
  transform: translate(-50%, -50%);
  transition: left .12s ease, top .12s ease;
}

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 0 6%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  background: rgba(245,241,237,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,169,106,.18);
  transition: box-shadow .3s, background .3s;
}
nav.scrolled { background: rgba(245,241,237,0.97); box-shadow: 0 4px 40px rgba(26,26,26,.08); }
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-style: italic; font-weight: 600;
  color: var(--dark); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  letter-spacing: .02em; white-space: nowrap;
}
.nav-logo span { color: var(--gold); }
.nav-logo svg { width: 26px; opacity: .85; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; font-weight: 500;
  position: relative; transition: color .25s;
}
.nav-links a::after {
  content:''; position: absolute; bottom: -4px; left: 0; right: 100%;
  height: 1px; background: var(--gold); transition: right .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--dark); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.btn-nav {
  background: var(--dark); color: var(--white);
  border: none; padding: 10px 22px; border-radius: 4px;
  font-family: 'Inter', sans-serif; font-size: .75rem;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: background .25s, transform .2s, box-shadow .25s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26,26,26,.2); background: var(--gold); color: var(--dark); }
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px; }
.hamburger span { display:block; width:22px; height:1.5px; background:var(--dark); transition:.3s; border-radius:2px; }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: rgba(245,241,237,.98); backdrop-filter: blur(16px);
  padding: 24px 6%; border-bottom: 1px solid rgba(200,169,106,.15);
  z-index: 998; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text); text-decoration: none; font-weight: 500;
  padding: 12px 0; border-bottom: 1px solid rgba(200,169,106,.12);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ── PAGE HERO ── */
.page-hero {
  min-height: 320px;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 130px 6% 70px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at 50% 100%, rgba(200,169,106,.15) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(200,169,106,.4);
  border-radius: 2px; padding: 6px 18px;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400; color: var(--white); line-height: 1.1;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 20px;
}
.page-hero-divider::before, .page-hero-divider::after {
  content:''; width: 60px; height: 1px; background: rgba(200,169,106,.4);
}
.page-hero-divider span { font-size: .72rem; letter-spacing: .15em; color: rgba(255,255,255,.4); text-transform: uppercase; }

/* ── SECTION LABELS ── */
.section-label {
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.section-label::before { content:''; width: 32px; height: 1px; background: var(--gold); opacity: .6; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400;
  color: var(--dark); line-height: 1.15;
}
.section-title em { font-style: italic; color: var(--brown); }
.section-title.light { color: var(--white); }
.section-sub { font-size: .9rem; color: var(--text-muted); line-height: 1.8; max-width: 480px; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--dark); color: var(--white);
  border: none; padding: 15px 36px; border-radius: 4px;
  font-family: 'Inter', sans-serif; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(26,26,26,.25); background: var(--gold); color: var(--dark); }
.btn-outline {
  background: transparent; color: var(--dark);
  border: 1.5px solid rgba(43,43,43,.3);
  padding: 14px 30px; border-radius: 4px;
  font-family: 'Inter', sans-serif; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  cursor: pointer; text-decoration: none; transition: all .25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-gold {
  background: var(--gold); color: var(--dark);
  border: none; padding: 15px 36px; border-radius: 4px;
  font-family: 'Inter', sans-serif; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(200,169,106,.45); background: var(--gold-light); color: var(--dark); }

/* ── GOLD DIVIDER ── */
.gold-divider { display: flex; align-items: center; gap: 14px; margin: 14px 0; }
.gold-divider::before, .gold-divider::after {
  content:''; flex:1; height:1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,106,.5), transparent);
}

/* ── REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── TOUCH FEEDBACK ── */
.touch-card {
  transition: transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.touch-card:active { transform: scale(0.97) !important; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: transform .25s, box-shadow .25s;
  animation: waPulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); animation: none; box-shadow: 0 10px 32px rgba(37,211,102,.6); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.35); }
  50%      { box-shadow: 0 6px 24px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,0); }
}
.whatsapp-tooltip {
  position: absolute; right: 68px;
  background: var(--dark); color: var(--white);
  white-space: nowrap; padding: 8px 14px; border-radius: 4px;
  font-size: .75rem; letter-spacing: .05em;
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.whatsapp-tooltip::after {
  content:''; position:absolute; right:-5px; top:50%; transform:translateY(-50%);
  border: 5px solid transparent; border-right:none; border-left-color: var(--dark);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ── FOOTER ── */
footer { background: var(--dark); padding: 72px 6% 32px; color: rgba(255,255,255,.5); }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { color: rgba(255,255,255,.9); margin-bottom: 18px; display: inline-flex; }
.footer-brand .nav-logo span { color: var(--gold); }
.footer-brand p { font-size: .82rem; line-height: 1.8; color: rgba(255,255,255,.4); max-width: 220px; }
.footer-col h4 { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { color: rgba(255,255,255,.4); text-decoration: none; font-size: .82rem; transition: color .25s; }
.footer-col ul a:hover { color: var(--white); }
.footer-col ul a[href^="tel"] { color: rgba(255,255,255,.85); }
a[href^="tel"] { color: inherit; text-decoration: none; }
.footer-bottom { padding-top: 28px; display: flex; align-items: center; justify-content: space-between; font-size: .74rem; color: rgba(255,255,255,.25); }

/* ── SCROLL TOP ── */
.scroll-top {
  display: none; position: fixed; bottom: 96px; right: 28px; z-index: 999;
  width: 42px; height: 42px; border-radius: 4px;
  background: var(--dark); color: var(--white);
  border: 1px solid rgba(200,169,106,.3); font-size: 1rem; cursor: pointer;
  align-items: center; justify-content: center;
  transition: opacity .3s, background .25s;
  opacity: 0; pointer-events: none;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--gold); color: var(--dark); }

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 992px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .scroll-top { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  footer { padding: 48px 5% 24px; }
  .page-hero { min-height: 240px; padding: 100px 5% 50px; }
  .page-hero h1 { font-size: 1.9rem; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 16px; }
  .scroll-top { bottom: 84px; right: 16px; }
}
@media (max-width: 480px) {
  nav { padding: 0 4%; height: 64px; }
  .nav-logo { font-size: 1.05rem; }
  .mobile-menu { top: 64px; }
  .page-hero h1 { font-size: 1.6rem; }
}
