/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-deep: #1a3a2a;
  --color-mid: #3a7c5a;
  --color-soft: #6aad8f;
  --color-light: #b8e0cf;
  --color-wash: #e8f6f0;
  --color-pale: #f4fbf8;
  --cream: #fafdfb;
  --white: #ffffff;
  --text-primary: #1a3a2a;
  --text-secondary: #4a826a;
  --text-light: #7ab29a;
  --accent: #2e8a6b;
  --accent-hover: #1d6b4f;
  --nav-bg: rgba(250, 253, 251, 0.85);
  --border-soft: rgba(184, 224, 207, 0.3);
  --border-medium: rgba(184, 224, 207, 0.4);
  --shadow-xs: rgba(26, 58, 42, 0.04);
  --shadow-sm: rgba(26, 58, 42, 0.06);
  --shadow-md: rgba(26, 58, 42, 0.08);
  --accent-subtle: rgba(46, 138, 107, 0.04);
  --accent-ring: rgba(46, 138, 107, 0.1);
  --accent-glow: rgba(46, 138, 107, 0.3);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
  transition: all 0.4s var(--transition);
}

nav.scrolled {
  padding: 0.9rem 2.5rem;
  box-shadow: 0 1px 20px var(--shadow-sm);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--transition);
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { width: 100%; }

.nav-links .nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-weight: 500;
  transition: all 0.3s var(--transition);
}

.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: all 0.3s; border-radius: 2px; }

/* ===== SHARED SECTION STYLES ===== */
section { padding: 6rem 2.5rem; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-soft);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.9rem 1.5rem;
  border-radius: 100px;
  border: 1.5px solid var(--color-light);
  transition: all 0.3s var(--transition);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--accent);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s var(--transition);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.9rem 1.5rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s var(--transition);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: gap 0.3s var(--transition);
}

.link-arrow:hover { gap: 0.7rem; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--color-wash) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-light), transparent);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-text { position: relative; z-index: 2; }

.hero-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-soft);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--transition) 0.2s forwards;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.8s var(--transition) 0.4s forwards;
}

.hero-title em { font-style: italic; color: var(--accent); }

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--transition) 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s var(--transition) 0.8s forwards;
}

.hero-image {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s var(--transition) 0.6s forwards;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--color-wash) 0%, var(--color-light) 100%);
}

.hero-image-wrapper .placeholder-img,
.placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-soft);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hero-image-accent {
  position: absolute;
  bottom: -1.5rem; left: -1.5rem;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--color-wash);
  border: 1px solid var(--color-light);
  z-index: -1;
}

/* ===== PAGE HEADER (subpages) ===== */
.page-header {
  padding: 9rem 2.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--color-pale);
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, var(--color-wash) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header .section-tag,
.page-header .section-title,
.page-header .section-desc {
  position: relative;
  z-index: 2;
}

.page-header .section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.page-header .section-desc {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
  padding: 0.75rem 2.5rem;
  background: var(--color-pale);
  border-bottom: 1px solid var(--border-soft);
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-separator {
  color: var(--color-light);
  font-size: 0.7rem;
}

.breadcrumb-current {
  color: var(--text-light);
}

/* ===== PROBLEMATICAS ===== */
.problematicas { background: var(--color-pale); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border-medium);
  transition: all 0.4s var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--accent);
  transition: height 0.4s var(--transition);
  border-radius: 0 0 3px 0;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-md);
  border-color: transparent;
}

.problem-card:hover::before { height: 100%; }

.problem-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.problem-card h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== METODO ===== */
.metodo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.metodo-visual {
  background: linear-gradient(145deg, var(--color-wash), var(--color-pale));
  border-radius: 1.5rem;
  padding: 3rem;
}

.metodo-quote {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--color-mid);
  font-style: italic;
}

.metodo-quote-author {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  font-style: normal;
  letter-spacing: 0.03em;
}

.metodo-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.metodo-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.metodo-step-number {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-wash);
  border: 1.5px solid var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 2px;
}

.metodo-step h3 { font-weight: 600; font-size: 1rem; margin-bottom: 0.3rem; }
.metodo-step p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== PRECIO ===== */
.precio { background: var(--color-pale); }

.precio-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 1.5rem;
  padding: 3.5rem;
  text-align: center;
  border: 1px solid var(--border-medium);
  box-shadow: 0 4px 30px var(--shadow-xs);
}

.precio-amount {
  font-family: var(--serif);
  font-size: 3.5rem;
  color: var(--accent);
  margin: 1rem 0 0.5rem;
  letter-spacing: -0.02em;
}

.precio-amount span {
  font-size: 1.2rem;
  color: var(--text-light);
  font-family: var(--sans);
  font-weight: 400;
}

.precio-note {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.precio-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.precio-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.precio-feature svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* ===== SOBRE MI (home preview) ===== */
.sobre-mi-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.sobre-mi-image {
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--color-wash), var(--color-light));
}

.sobre-mi-text blockquote {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--color-mid);
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-light);
}

.sobre-mi-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* ===== CTA FINAL ===== */
.cta-final {
  background: linear-gradient(145deg, var(--color-deep), var(--color-mid));
  color: var(--white);
  text-align: center;
  padding: 6rem 2.5rem;
}

.cta-final .section-tag { color: var(--color-light); }
.cta-final .section-title { color: var(--white); }
.cta-final .section-desc { color: rgba(255, 255, 255, 0.7); margin-left: auto; margin-right: auto; }

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SOBRE MI PAGE ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-image {
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--color-wash), var(--color-light));
  position: sticky;
  top: 6rem;
}

.about-text h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-text h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
}

.about-text ul li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.about-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

.about-text p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-credentials {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.credential-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--color-pale);
  border-radius: 0.75rem;
}

.credential-year {
  flex-shrink: 0;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  min-width: 50px;
  padding-top: 2px;
}

.credential-item p {
  margin: 0;
  font-size: 0.92rem;
}

/* ===== BLOG PAGE ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-medium);
  transition: all 0.4s var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-md);
  border-color: transparent;
}

.blog-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-wash), var(--color-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-soft);
  font-size: 0.8rem;
  font-weight: 500;
  overflow: hidden;
}

.blog-card-image picture,
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body { padding: 1.75rem; }

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-card-category {
  color: var(--text-light);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.blog-card-category:visited { color: var(--text-light); }
.blog-card-category:hover { text-decoration: underline; color: var(--accent); }

.blog-card-body h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.blog-card-body h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}

.blog-card-body h3 a:visited { color: var(--text-primary); }

/* Expand title link to cover entire card */
.blog-card-body h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-card:hover .blog-card-body h3 a { color: var(--accent); }

.blog-card-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card-body .link-arrow { font-size: 0.9rem; }

/* ===== BLOG POST (individual) ===== */
.blog-post-header {
  padding: 9rem 2.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--color-pale);
}

.blog-post-header::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, var(--color-wash) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.blog-post-header .section-tag,
.blog-post-header .blog-post-title,
.blog-post-header .blog-post-meta {
  position: relative;
  z-index: 2;
}

.blog-post-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.blog-post-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

a.section-tag { text-decoration: none; color: var(--color-soft); }
a.section-tag:visited { color: var(--color-soft); }
a.section-tag:hover { text-decoration: underline; }
.blog-post-meta a { color: inherit; text-decoration: none; }
.blog-post-meta a:visited { color: inherit; }
.blog-post-meta a:hover { text-decoration: underline; }

.blog-post-featured {
  max-width: 900px;
  margin: -2rem auto 0;
  position: relative;
  z-index: 3;
  padding: 0 2.5rem;
}

.blog-post-featured picture,
.blog-post-featured img {
  width: 100%;
  border-radius: 1rem;
  display: block;
}

.blog-post-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2.5rem 4rem;
}

/* Blog post body — prose styles for Quill HTML output */
.blog-post-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.blog-post-body h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-post-body h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-post-body h4 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.blog-post-body p {
  margin-bottom: 1.25rem;
}

.blog-post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-glow);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.3s;
}

.blog-post-body a:hover {
  text-decoration-color: var(--accent);
}

.blog-post-body ul,
.blog-post-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-post-body li {
  margin-bottom: 0.4rem;
}

.blog-post-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-left: 3px solid var(--accent);
  background: var(--color-pale);
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: var(--color-mid);
  font-size: 1.1rem;
  line-height: 1.6;
}

.blog-post-body blockquote p {
  margin-bottom: 0;
}

.blog-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 2rem 0;
  display: block;
}

.blog-post-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ===== BLOG EMPTY STATE ===== */
.blog-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}

.blog-empty h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.blog-empty p {
  font-size: 1rem;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info > p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-method-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-wash);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-method p,
.contact-method a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-method a:hover { color: var(--accent); }

.contact-form-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid var(--border-medium);
  box-shadow: 0 4px 30px var(--shadow-xs);
}

.contact-form-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-light);
  border-radius: 0.5rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--cream);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* Modalidad pill buttons */
.modalidad-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.modalidad-pills .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--color-light);
  border-radius: 100px;
  background: var(--cream);
  color: var(--text-secondary);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-user-select: none;
  line-height: 1;
}

.modalidad-pills .pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--color-pale);
}

.modalidad-pills .pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.modalidad-pills .pill.active:hover {
  background: var(--accent);
  color: #fff;
}

.modalidad-pills .pill svg {
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modalidad-pills .pill:active {
  transform: scale(0.96);
}

.modalidad-pills .pill.active svg {
  transform: scale(1.1);
}

/* Collapsible message toggle */
.message-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.message-toggle:hover {
  color: var(--text-primary);
}

.message-toggle-hint {
  color: var(--text-muted, var(--text-secondary));
  font-weight: 400;
}

.message-toggle-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-toggle[aria-expanded="true"] .message-toggle-icon {
  transform: rotate(45deg);
}

.message-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}

.message-wrapper.open {
  max-height: 200px;
  margin-top: 0.6rem;
  overflow: visible;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-privacy {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.form-privacy input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  accent-color: var(--accent);
}

.form-privacy label {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

.form-privacy a { color: var(--accent); }

/* Form status messages */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.form-success h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-success p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.form-error {
  display: none;
  padding: 0.75rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  color: #991b1b;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.form-error.visible {
  display: block;
}

.contact-map {
  margin-top: 3rem;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 2.5/1;
  background: var(--color-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-soft);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-medium);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 5rem 2.5rem 6rem;
  background: var(--color-wash);
  position: relative;
}

.faq-grid {
  max-width: 760px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s var(--transition),
              box-shadow 0.4s var(--transition);
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
  transition: height 0.4s var(--transition);
}

.faq-item:hover {
  border-color: var(--border-medium);
  box-shadow: 0 4px 20px var(--shadow-xs);
}

.faq-item[open] {
  border-color: var(--accent-ring);
  box-shadow: 0 6px 28px var(--shadow-sm);
}

.faq-item[open]::before {
  height: 100%;
}

.faq-item summary {
  padding: 1.35rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  transition: color 0.3s var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-wash);
  border: 1.5px solid var(--border-medium);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%232e8a6b' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.4s var(--transition),
              background-color 0.3s var(--transition),
              border-color 0.3s var(--transition);
}

.faq-item:hover summary::after {
  border-color: var(--accent);
}

.faq-item[open] summary {
  color: var(--accent);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-color: var(--accent-ring);
  border-color: transparent;
}

.faq-item p {
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--color-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 2.5rem 2rem;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand .footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-light);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--white); }

.footer-nap {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nap li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-nap li svg { flex-shrink: 0; margin-top: 2px; color: var(--color-light); }

.footer-nap a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nap a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copy { font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); }

.footer-legal { display: flex; gap: 1.5rem; list-style: none; }
.footer-legal a { font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); text-decoration: none; transition: color 0.3s; }
.footer-legal a:hover { color: rgba(255, 255, 255, 0.7); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

html.js .reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== UTILITIES ===== */
.phone-only { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--color-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-image { order: -1; max-width: 400px; margin: 0 auto; }

  section { padding: 4rem 1.5rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .metodo-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sobre-mi-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sobre-mi-image { max-width: 350px; }
  .about-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { position: static; max-width: 400px; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-map { aspect-ratio: 16/9; }

  .precio-card { padding: 2.5rem 1.5rem; }
  .precio-features { flex-direction: column; align-items: center; gap: 0.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .breadcrumb { padding: 0.75rem 1.5rem; }
  .blog-post-header { padding: 8rem 1.5rem 2.5rem; }
  .blog-post-featured { padding: 0 1.5rem; }
  .blog-post-content { padding: 2.5rem 1.5rem 3rem; }
  .faq-section { padding: 4rem 1.5rem 5rem; }
  .faq-item summary { padding: 1.15rem 1.35rem; }
  .faq-item p { padding: 0 1.35rem 1.25rem 1.35rem; }
}

@media (max-width: 600px) {
  .hero { min-height: auto; padding: 7rem 1.25rem 3rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .problem-grid { gap: 1rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .page-header { padding: 7rem 1.25rem 3rem; }
  .blog-post-header { padding: 7rem 1.25rem 2rem; }
  .phone-only { display: inline-flex; }
}
