/* ============================================================
   RESIDENCIA EN ESPAÑA – TEMA WORDPRESS
   Versión: 1.0.0
   ============================================================ */

/* ============================
   VARIABLES & RESET
============================ */
:root {
  --gold:        #C9973A;
  --gold-light:  #E8C77A;
  --gold-pale:   #F5EDD8;
  --navy:        #0B1829;
  --navy-mid:    #162236;
  --navy-light:  #1E3050;
  --cream:       #FAF7F2;
  --text-dark:   #0D1B2A;
  --text-mid:    #3A4A5A;
  --text-light:  #6B7E92;
  --white:       #FFFFFF;
  --border:      rgba(201,151,58,0.25);
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', system-ui, sans-serif;
  --radius-sm:   4px;
  --radius-md:   12px;
  --radius-lg:   24px;
  --shadow-card: 0 4px 32px rgba(11,24,41,0.12);
  --shadow-gold: 0 8px 40px rgba(201,151,58,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================
   TYPOGRAPHY
============================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; }
p  { font-size: 1rem; color: var(--text-mid); margin-bottom: 1em; }

/* ============================
   LAYOUT
============================ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.75); }
.section--alt { background: var(--gold-pale); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; display: block;
}
.divider-gold { width: 56px; height: 3px; background: var(--gold); margin: 20px 0 32px; }
.gold { color: var(--gold); }

/* ============================
   BUTTONS
============================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.94rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.22s ease; letter-spacing: 0.02em;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); color: var(--navy); }
.btn--outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-card); color: var(--white); }

/* ============================
   NAVIGATION
============================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,24,41,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,151,58,0.18); transition: all 0.3s ease;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.nav__logo {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  color: var(--white); display: flex; flex-direction: column; line-height: 1.15;
}
.nav__logo span {
  font-size: 0.68rem; font-family: var(--font-body); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-light); font-weight: 400;
}
.nav__links { display: flex; gap: 36px; align-items: center; }
.nav__links a { font-size: 0.88rem; color: rgba(255,255,255,0.8); letter-spacing: 0.04em; transition: color 0.2s; }
.nav__links a:hover,
.nav__links .current-menu-item > a { color: var(--gold-light); }
.nav__cta {
  background: var(--gold) !important; color: var(--navy) !important;
  font-weight: 600; padding: 10px 22px; border-radius: var(--radius-sm);
  transition: background 0.2s !important;
}
.nav__cta:hover { background: var(--gold-light) !important; }

/* Mobile nav toggle */
.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.nav__toggle span {
  width: 24px; height: 2px; background: var(--white);
  transition: all 0.3s; display: block;
}
.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================
   TRUST BAR
============================ */
.trust-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,151,58,0.15);
  border-bottom: 1px solid rgba(201,151,58,0.15);
  padding: 20px 0;
}
.trust-bar__inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.trust-item__icon { color: var(--gold); font-size: 1.15rem; }

/* ============================
   HERO
============================ */
.hero {
  min-height: 100vh; background: var(--navy);
  position: relative; display: flex; align-items: center;
  overflow: hidden; padding-top: 72px;
}
.hero__bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,151,58,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,151,58,0.06) 0%, transparent 60%);
}
.hero__grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,151,58,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,151,58,0.05) 1px, transparent 1px);
  background-size: 72px 72px; opacity: 0.6;
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,151,58,0.15); border: 1px solid rgba(201,151,58,0.4);
  color: var(--gold-light); padding: 6px 16px; border-radius: 100px;
  font-size: 0.8rem; letter-spacing: 0.08em; margin-bottom: 28px; font-family: var(--font-body);
}
.hero__badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero__title { color: var(--white); margin-bottom: 8px; }
.hero__title em { color: var(--gold); font-style: italic; display: block; }
.hero__subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.7); margin: 24px 0 40px; max-width: 480px; line-height: 1.8; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(201,151,58,0.2);
}
.hero__stat-number {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  color: var(--gold); display: block; line-height: 1;
}
.hero__stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 4px; letter-spacing: 0.04em; }
.hero__visual { position: relative; }
.hero__card-main {
  background: var(--navy-light); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero__card-tag { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-family: var(--font-body); }
.hero__service-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid rgba(201,151,58,0.12);
  font-family: var(--font-body); color: rgba(255,255,255,0.88); font-size: 0.95rem;
}
.hero__service-list li:last-child { border-bottom: none; }
.hero__service-list li::before {
  content: '✓'; width: 28px; height: 28px;
  background: rgba(201,151,58,0.2); color: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; flex-shrink: 0;
}
.hero__card-badge {
  margin-top: 28px; background: rgba(201,151,58,0.12); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 20px; display: flex; align-items: center; gap: 14px;
}
.hero__card-badge-icon { font-size: 1.5rem; }
.hero__card-badge-text { font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.45; }
.hero__card-badge-text strong { color: var(--gold-light); display: block; font-size: 0.9rem; }

/* ============================
   SERVICES
============================ */
.services__header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card {
  background: var(--white); border: 1px solid rgba(201,151,58,0.15);
  border-radius: var(--radius-lg); padding: 40px 36px;
  position: relative; overflow: hidden;
  transition: all 0.3s ease; box-shadow: var(--shadow-card);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(11,24,41,0.15); border-color: rgba(201,151,58,0.35); }
.service-card:hover::before { transform: scaleY(1); }
.service-card__icon {
  width: 56px; height: 56px; background: var(--gold-pale); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 24px;
}
.service-card__number {
  position: absolute; top: 36px; right: 36px;
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  color: rgba(201,151,58,0.08); line-height: 1;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.94rem; margin-bottom: 24px; }
.service-card__features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.service-card__feature { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-mid); }
.service-card__feature::before { content: '→'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 600; color: var(--navy);
  border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; transition: all 0.2s;
}
.service-card__link:hover { color: var(--gold); gap: 10px; }

/* ============================
   WHY US
============================ */
.why__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why__quote-block {
  background: var(--navy-light); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 32px 36px; margin-bottom: 28px;
}
.why__quote-block blockquote { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--white); line-height: 1.5; }
.why__quote-block cite { display: block; margin-top: 12px; font-size: 0.82rem; color: var(--gold-light); font-style: normal; font-family: var(--font-body); letter-spacing: 0.06em; }
.why__pillars { display: grid; gap: 20px; }
.why__pillar { display: flex; gap: 20px; align-items: flex-start; }
.why__pillar-icon {
  width: 48px; height: 48px; background: rgba(201,151,58,0.15); border: 1px solid var(--border);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.why__pillar-text h3 { font-size: 1rem; margin-bottom: 4px; color: var(--white); }
.why__pillar-text p { font-size: 0.88rem; color: rgba(255,255,255,0.65); margin: 0; }

/* ============================
   PROCESS
============================ */
.process__steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative;
}
.process__steps::before {
  content: ''; position: absolute; top: 32px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(201,151,58,0.3), var(--gold));
}
.process__step { text-align: center; position: relative; }
.process__step-number {
  width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--navy);
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; position: relative; z-index: 1;
  box-shadow: 0 4px 24px rgba(201,151,58,0.35);
}
.process__step h3 { font-size: 1rem; margin-bottom: 10px; }
.process__step p { font-size: 0.85rem; }

/* ============================
   FAQ
============================ */
.faq__list { max-width: 780px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid rgba(201,151,58,0.2); }
.faq__question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; cursor: pointer; transition: color 0.2s;
}
.faq__question h3 {
  font-size: 1rem; font-family: var(--font-body); font-weight: 500;
  color: var(--text-dark); flex: 1; padding-right: 20px;
}
.faq__question:hover h3 { color: var(--gold); }
.faq__toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-pale); border: 1px solid rgba(201,151,58,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem; font-weight: 700; flex-shrink: 0; transition: all 0.2s;
}
.faq__item.open .faq__toggle { background: var(--gold); color: var(--navy); transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq__answer p { font-size: 0.95rem; padding-bottom: 24px; color: var(--text-mid); margin: 0; }
.faq__item.open .faq__answer { max-height: 300px; }

/* ============================
   REVIEWS
============================ */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(201,151,58,0.18);
  border-radius: var(--radius-lg); padding: 32px;
}
.review-card__stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 16px; }
.review-card p { font-size: 0.92rem; color: rgba(255,255,255,0.75); font-style: italic; margin-bottom: 20px; }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 0.9rem;
}
.review-card__name { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.review-card__origin { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ============================
   BLOG PREVIEW (HOME)
============================ */
.blog-preview__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white); border: 1px solid rgba(201,151,58,0.15);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card);
  transition: all 0.3s ease; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(11,24,41,0.14); border-color: rgba(201,151,58,0.35); }
.blog-card__thumb { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card__thumb-placeholder {
  width: 100%; height: 200px; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; background: linear-gradient(135deg, var(--navy-light), var(--navy));
}
.blog-card__body { padding: 28px 28px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat {
  display: inline-block; background: var(--gold-pale); color: var(--gold);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 14px; border: 1px solid rgba(201,151,58,0.25);
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.35; }
.blog-card h3 a { color: var(--navy); transition: color 0.2s; }
.blog-card h3 a:hover { color: var(--gold); }
.blog-card p { font-size: 0.9rem; color: var(--text-mid); flex: 1; margin-bottom: 20px; }
.blog-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid rgba(201,151,58,0.12);
}
.blog-card__date { font-size: 0.78rem; color: var(--text-light); }
.blog-card__read {
  font-size: 0.82rem; font-weight: 600; color: var(--navy);
  display: inline-flex; align-items: center; gap: 4px;
  border-bottom: 1.5px solid var(--gold); padding-bottom: 1px; transition: all 0.2s;
}
.blog-card__read:hover { color: var(--gold); gap: 8px; }

/* ============================
   CTA FINAL
============================ */
.cta-final {
  background: linear-gradient(135deg, var(--gold) 0%, #A8792A 100%);
  padding: 96px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.cta-final h2 { color: var(--navy); margin-bottom: 16px; }
.cta-final p { color: rgba(11,24,41,0.75); font-size: 1.1rem; max-width: 520px; margin: 0 auto 40px; }
.cta-final__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================
   CONTACT
============================ */
.contact__layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact__form {
  background: var(--white); border-radius: var(--radius-lg); padding: 48px 40px;
  border: 1px solid rgba(201,151,58,0.15); box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid rgba(201,151,58,0.2);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.94rem;
  color: var(--text-dark); background: var(--cream); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,58,0.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__info { padding-top: 8px; }
.contact__info h2 { margin-bottom: 16px; }
.contact__info > p { margin-bottom: 48px; }
.contact__methods { display: flex; flex-direction: column; gap: 24px; }
.contact__method { display: flex; gap: 18px; align-items: flex-start; }
.contact__method-icon {
  width: 48px; height: 48px; background: var(--gold-pale); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.contact__method-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 4px; }
.contact__method-value { font-size: 1rem; font-weight: 600; color: var(--navy); }

/* ============================
   BLOG PAGE (ARCHIVO)
============================ */
.blog-hero {
  background: var(--navy); padding: 160px 0 80px;
  text-align: center; position: relative; overflow: hidden;
}
.blog-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201,151,58,0.08) 0%, transparent 70%),
    linear-gradient(rgba(201,151,58,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,151,58,0.04) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
}
.blog-hero__content { position: relative; z-index: 1; }
.blog-hero h1 { color: var(--white); margin-bottom: 16px; }
.blog-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.blog-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.blog-filter-btn {
  padding: 8px 20px; border-radius: 100px; border: 1.5px solid rgba(201,151,58,0.3);
  background: transparent; color: rgba(255,255,255,0.7); font-family: var(--font-body);
  font-size: 0.85rem; cursor: pointer; transition: all 0.2s;
}
.blog-filter-btn:hover, .blog-filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 600; }

.blog-main__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.blog-posts__grid { display: grid; gap: 28px; }
.blog-card--featured { display: grid; grid-template-columns: 1.1fr 1fr; }
.blog-card--featured .blog-card__thumb-placeholder { height: 100%; min-height: 260px; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.blog-card--featured .blog-card__body { padding: 40px 40px 36px; }
.blog-card--featured h3 { font-size: 1.4rem; }
.blog-posts__secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.page-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(201,151,58,0.25); background: var(--white);
  color: var(--navy); font-family: var(--font-body); font-size: 0.88rem;
  font-weight: 500; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.page-btn:hover, .page-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }

/* WordPress native pagination */
.wp-pagenavi, .navigation.pagination { margin-top: 48px; display: flex; justify-content: center; }
.wp-pagenavi a, .wp-pagenavi span,
.nav-links a, .nav-links span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px;
  border: 1.5px solid rgba(201,151,58,0.25); border-radius: var(--radius-sm);
  background: var(--white); color: var(--navy); font-size: 0.88rem;
  font-weight: 500; margin: 0 4px; transition: all 0.2s;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current,
.nav-links a:hover, .nav-links .current { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ============================
   SIDEBAR
============================ */
.blog-sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 96px; }
.sidebar-widget {
  background: var(--white); border: 1px solid rgba(201,151,58,0.15);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card);
}
.sidebar-widget__title {
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 20px; font-family: var(--font-body);
}
.sidebar-recent__item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(201,151,58,0.1); align-items: flex-start; }
.sidebar-recent__item:last-child { border-bottom: none; }
.sidebar-recent__num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: rgba(201,151,58,0.2); line-height: 1; flex-shrink: 0; width: 28px; }
.sidebar-recent__title { font-size: 0.88rem; font-weight: 500; color: var(--navy); line-height: 1.4; }
.sidebar-recent__title a { color: inherit; transition: color 0.2s; }
.sidebar-recent__title a:hover { color: var(--gold); }
.sidebar-recent__date { font-size: 0.75rem; color: var(--text-light); margin-top: 3px; }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tag {
  background: var(--gold-pale); color: var(--gold); border: 1px solid rgba(201,151,58,0.25);
  border-radius: 100px; padding: 5px 14px; font-size: 0.8rem; font-weight: 500; transition: all 0.2s; cursor: pointer;
}
.sidebar-tag:hover { background: var(--gold); color: var(--navy); }
.sidebar-tag a { color: inherit; }
.sidebar-cta { background: var(--navy); border: none; text-align: center; padding: 32px 24px; }
.sidebar-cta .sidebar-widget__title { color: var(--gold); }
.sidebar-cta h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 10px; }
.sidebar-cta p { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin-bottom: 20px; }
.sidebar-search { display: flex; }
.sidebar-search input {
  flex: 1; padding: 11px 16px; border: 1.5px solid rgba(201,151,58,0.2);
  border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; background: var(--cream); outline: none;
}
.sidebar-search input:focus { border-color: var(--gold); }
.sidebar-search button {
  padding: 11px 16px; background: var(--gold); border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; cursor: pointer; font-size: 1rem; transition: background 0.2s;
}
.sidebar-search button:hover { background: var(--gold-light); }

/* WordPress widgets en sidebar */
.widget { margin-bottom: 28px; }
.widget-title { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 16px; font-family: var(--font-body); }
.widget ul li { padding: 8px 0; border-bottom: 1px solid rgba(201,151,58,0.1); font-size: 0.88rem; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--navy); transition: color 0.2s; }
.widget ul li a:hover { color: var(--gold); }

/* ============================
   SINGLE POST
============================ */
.post-header {
  background: var(--navy); padding: 152px 0 72px; position: relative; overflow: hidden;
}
.post-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 60% 50%, rgba(201,151,58,0.09) 0%, transparent 70%);
}
.post-header__inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 24px; }
.post-header__breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.post-header__breadcrumb a { color: var(--gold-light); transition: color 0.2s; }
.post-header__breadcrumb a:hover { text-decoration: underline; }
.post-header__cat {
  display: inline-block; background: rgba(201,151,58,0.15); border: 1px solid rgba(201,151,58,0.4);
  color: var(--gold-light); padding: 5px 16px; border-radius: 100px;
  font-size: 0.78rem; letter-spacing: 0.1em; margin-bottom: 20px; font-family: var(--font-body);
}
.post-header h1 { color: var(--white); font-size: clamp(1.8rem,4vw,3rem); margin-bottom: 20px; }
.post-header__meta { display: flex; gap: 24px; flex-wrap: wrap; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.post-header__meta span { display: flex; align-items: center; gap: 6px; }

.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; max-width: 1180px; margin: 0 auto; padding: 64px 24px; }
.post-content h2 { font-size: 1.65rem; margin: 48px 0 16px; color: var(--navy); padding-top: 8px; border-top: 1px solid rgba(201,151,58,0.12); }
.post-content h2:first-of-type { border-top: none; margin-top: 0; }
.post-content h3 { font-size: 1.15rem; margin: 32px 0 12px; color: var(--navy); }
.post-content p { font-size: 1rem; line-height: 1.85; color: var(--text-mid); margin-bottom: 1.2em; }
.post-content ul, .post-content ol { padding-left: 22px; margin-bottom: 1.4em; }
.post-content li { font-size: 1rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 6px; list-style: disc; }
.post-content ol li { list-style: decimal; }
.post-content blockquote {
  border-left: 4px solid var(--gold); padding: 18px 24px; margin: 32px 0;
  background: var(--gold-pale); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: var(--navy);
}
.post-content a { color: var(--gold); border-bottom: 1px solid rgba(201,151,58,0.3); transition: border-color 0.2s; }
.post-content a:hover { border-color: var(--gold); }
.info-box {
  background: var(--navy); border-radius: var(--radius-md); padding: 24px 28px;
  margin: 32px 0; border-left: 4px solid var(--gold);
}
.info-box p { color: rgba(255,255,255,0.82); margin: 0; font-size: 0.95rem; }
.info-box strong { color: var(--gold-light); }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 32px 0; border-top: 1px solid rgba(201,151,58,0.15); border-bottom: 1px solid rgba(201,151,58,0.15); margin: 48px 0; }
.post-tag { background: var(--gold-pale); color: var(--gold); border: 1px solid rgba(201,151,58,0.25); border-radius: 100px; padding: 5px 14px; font-size: 0.8rem; font-weight: 500; }
.post-tag a { color: inherit; }
.post-cta { background: var(--navy); border-radius: var(--radius-lg); padding: 40px; text-align: center; margin-top: 48px; }
.post-cta h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 12px; }
.post-cta p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }

/* TOC */
.post-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }
.toc-list { display: flex; flex-direction: column; gap: 4px; }
.toc-list a {
  font-size: 0.88rem; color: var(--text-mid); padding: 7px 10px; border-radius: var(--radius-sm);
  transition: all 0.2s; display: block; border-left: 2px solid transparent;
}
.toc-list a:hover, .toc-list a.active { color: var(--gold); background: var(--gold-pale); border-left-color: var(--gold); }

/* Post related */
.post-related__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }

/* ============================
   FOOTER
============================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-top: 16px; }
.footer__logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--white); }
.footer__col-title { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-family: var(--font-body); font-weight: 600; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer__links a:hover { color: var(--gold-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}
.footer__bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer__bottom a:hover { color: var(--gold-light); }

/* WhatsApp */
.whatsapp-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 200;
  width: 60px; height: 60px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4); transition: all 0.3s;
  animation: floatBtn 4s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1) !important; box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }
@keyframes floatBtn { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ============================
   MOBILE
============================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__links.open { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--navy); padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); z-index: 99; }
  .nav__toggle { display: flex; }
  .hero__content { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .why__layout { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: repeat(2,1fr); }
  .process__steps::before { display: none; }
  .reviews__grid { grid-template-columns: 1fr; }
  .blog-preview__grid { grid-template-columns: 1fr; }
  .blog-main__grid { grid-template-columns: 1fr; }
  .blog-posts__secondary { grid-template-columns: 1fr; }
  .blog-card--featured { grid-template-columns: 1fr; }
  .blog-card--featured .blog-card__thumb-placeholder { min-height: 200px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .blog-sidebar { position: static; }
  .contact__layout { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; padding: 48px 24px; }
  .post-sidebar { position: static; }
  .post-related__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .trust-bar__inner { justify-content: center; }
  .contact__form { padding: 32px 24px; }
}
