/* ── Crédito Ganador — hoja de estilos compartida para páginas de servicio ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:    #C49020;
  --gold-lt: #D4A843;
  --dark:    #FFFFFF;
  --dark2:   #F7F7FA;
  --dark3:   #EDEDF2;
  --card:    #FFFFFF;
  --text:    #1A1A2E;
  --muted:   #6B7280;
  --green:   #16A34A;
  --radius:  14px;
  --shadow:  0 8px 32px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,168,67,.35); }

.btn-gold {
  background: linear-gradient(105deg, #8B6914 0%, #C9940A 12%, #F5C518 28%, #FFE566 42%, #F5C518 52%, #DAA520 68%, #B8860B 80%, #F0C020 90%, #FFE566 100%);
  color: #000;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #000; }

.section-label {
  display: inline-block;
  background: rgba(212,168,67,.15);
  color: var(--gold);
  border: 1px solid rgba(212,168,67,.3);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--gold); }

.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 620px; }

/* ── Navbar ──────────────────────────────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212,168,67,.12);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-size: 1.4rem; font-weight: 900; letter-spacing: -.02em; flex-shrink: 0; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; font-size: .9rem; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { font-size: .9rem; padding: 10px 24px; flex-shrink: 0; }
.breadcrumb { font-size: .82rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--gold); }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ── WhatsApp flotante ───────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }
@media (max-width: 640px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ── Hero interior (páginas de servicio) ────────────────────────────────── */
.svc-hero {
  padding: 56px 0 64px;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(196,144,32,.10) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 30%, rgba(147,51,234,.06) 0%, transparent 55%),
    var(--dark2);
  border-bottom: 1px solid rgba(196,144,32,.12);
}
.svc-hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}
.svc-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.16;
  margin-bottom: 20px;
  max-width: 780px;
}
.svc-hero h1 em { font-style: italic; color: var(--gold); }
.svc-hero p.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 32px;
}
.svc-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Secciones generales ─────────────────────────────────────────────────── */
section { padding: 72px 0; }
.section-header { margin-bottom: 44px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(196,144,32,.18);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(196,144,32,.4); box-shadow: 0 12px 40px rgba(196,144,32,.10), var(--shadow); }
.card-icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 10px; }
.card p, .card li { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.card ul { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.card ul li { display: flex; gap: 8px; align-items: flex-start; }
.card ul li::before { content: '✓'; color: var(--gold); font-weight: 900; font-size: .8rem; flex-shrink: 0; margin-top: 2px; }

/* ── Bloque testimonio ───────────────────────────────────────────────────── */
.quote-block {
  background: linear-gradient(135deg, rgba(196,144,32,.08), rgba(147,51,234,.05));
  border: 1px solid rgba(196,144,32,.25);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.quote-block p { font-size: 1.15rem; font-style: italic; color: var(--text); margin-bottom: 18px; }
.quote-author { font-size: .88rem; color: var(--muted); font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid rgba(212,168,67,.1); border-radius: var(--radius); overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: rgba(212,168,67,.35); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: none; border: none; color: var(--text); font-size: .98rem; font-weight: 600; font-family: 'Inter', sans-serif; text-align: left; cursor: pointer; gap: 16px; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(212,168,67,.3); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.1rem; flex-shrink: 0; transition: transform .3s, background .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: #000; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a-inner { padding: 0 24px 20px; font-size: .9rem; color: var(--muted); line-height: 1.7; }

/* ── CTA final ────────────────────────────────────────────────────────────── */
.cta-final {
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
}
.cta-final h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 14px; }
.cta-final h2 em { font-style: italic; color: #F5C518; }
.cta-final p { color: rgba(255,255,255,.65); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── Enlaces relacionados (footer interno de servicios) ─────────────────── */
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.related-links a {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid rgba(196,144,32,.3);
  border-radius: 50px;
  padding: 8px 18px;
  transition: background .2s, color .2s;
}
.related-links a:hover { background: var(--gold); color: #000; }

/* ── Blog — índice ───────────────────────────────────────────────────────── */
.blog-card { display: flex; flex-direction: column; gap: 10px; }
.blog-card-tag { font-size: .74rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.blog-card h3 { font-size: 1.08rem; }
.blog-card p { font-size: .9rem; color: var(--muted); }
.blog-card .read-more { font-size: .85rem; font-weight: 700; color: var(--gold); margin-top: 4px; }

/* ── Blog — artículo ─────────────────────────────────────────────────────── */
.article-header { max-width: 760px; margin: 0 auto; text-align: center; }
.article-meta { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.prose { max-width: 720px; margin: 0 auto; font-size: 1rem; }
.prose h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin: 36px 0 14px; color: var(--text); }
.prose h3 { font-size: 1.15rem; font-weight: 800; margin: 28px 0 10px; color: var(--text); }
.prose p { margin-bottom: 18px; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--text); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose .callout {
  background: rgba(196,144,32,.08);
  border: 1px solid rgba(196,144,32,.25);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: .95rem;
}
.disclaimer-box {
  font-size: .8rem;
  color: var(--muted);
  border-top: 1px solid var(--dark3);
  margin-top: 32px;
  padding-top: 18px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
  background: #0a0a0a;
  color: rgba(255,255,255,.6);
  padding: 40px 0;
  text-align: center;
  font-size: .85rem;
}
footer a { color: rgba(255,255,255,.8); }
footer a:hover { color: #F5C518; }
