/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #1c1917;
  background: #FDFCFA;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

/* ===== Dot Grid Background ===== */
.dot-bg {
  position: relative;
}
.dot-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #d6d3d1 0.8px, transparent 0.8px);
  background-size: 28px 28px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

/* ===== Subtle Glow Blobs ===== */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.35;
}

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Nav ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(253,252,250,0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 34px; height: 34px;
  background: #1c1917;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 13px;
  font-family: Georgia, serif;
}
.logo-text { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 6px; align-items: center; }

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: #1c1917;
  color: white;
  padding: 15px 36px;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-primary:hover { background: #0c0a09; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.18); }
.btn-secondary {
  background: white;
  color: #44403c;
  padding: 15px 32px;
  font-size: 15px;
  border: 1px solid #e0dcd6;
}
.btn-secondary:hover { background: #f7f5f2; border-color: #d4d0ca; }
.btn-sm {
  background: #1c1917;
  color: white;
  padding: 10px 22px;
  font-size: 13px;
  border-radius: 10px;
}
.btn-sm:hover { background: #0c0a09; }
.btn-ghost {
  background: transparent;
  color: #57534e;
  padding: 10px 16px;
  font-size: 13px;
}
.btn-ghost:hover { color: #1c1917; background: rgba(0,0,0,0.03); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 160px 0 60px;
  text-align: center;
}
.hero-glow-1 {
  width: 500px; height: 500px;
  background: #FDE68A;
  top: -100px; left: -150px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: #DBEAFE;
  top: 0; right: -100px;
}
.hero-glow-3 {
  width: 300px; height: 300px;
  background: #D1FAE5;
  bottom: 100px; left: 30%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: #92400E;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid #FDE68A;
  box-shadow: 0 2px 12px rgba(217,119,6,0.08);
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 740px;
  margin: 0 auto 22px;
}
.hero h1 span {
  background: linear-gradient(135deg, #D97706, #b45309);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: #78716c;
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

/* ===== Hero Mockup ===== */
.hero-mockup {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.mockup-window {
  background: white;
  border-radius: 16px;
  border: 1px solid #e0dcd6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04), 0 24px 64px rgba(0,0,0,0.08);
  overflow: hidden;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #f7f5f2;
  border-bottom: 1px solid #edeae5;
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #d6d3d1;
}
.mockup-url {
  flex: 1;
  background: white;
  border: 1px solid #edeae5;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  color: #a8a29e;
  margin-left: 6px;
}
.mockup-body {
  display: flex;
  min-height: 380px;
}
.mockup-sidebar {
  width: 240px;
  padding: 24px 20px;
  border-right: 1px solid #edeae5;
  flex-shrink: 0;
}
.mockup-sidebar .ms-label {
  display: block;
  width: 70%;
  height: 6px;
  background: #edeae5;
  border-radius: 3px;
  margin-bottom: 14px;
}
.mockup-sidebar .ms-block {
  background: #f7f5f2;
  border: 1px solid #edeae5;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
}
.mockup-sidebar .ms-line {
  height: 5px;
  background: #e0dcd6;
  border-radius: 3px;
  margin-bottom: 8px;
}
.mockup-sidebar .ms-line:last-child { margin-bottom: 0; width: 60%; }
.mockup-preview {
  flex: 1;
  background: #f0eeeb;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px;
}
.mockup-cv {
  width: 260px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 24px 20px;
  aspect-ratio: 210/297;
}
.mcv-name {
  height: 12px;
  width: 55%;
  background: #1c1917;
  border-radius: 2px;
  margin-bottom: 4px;
}
.mcv-title {
  height: 6px;
  width: 35%;
  background: #D97706;
  border-radius: 2px;
  margin-bottom: 6px;
}
.mcv-contact {
  display: flex; gap: 6px; margin-bottom: 12px;
}
.mcv-contact span {
  height: 4px; width: 20%; background: #d6d3d1; border-radius: 2px;
}
.mcv-divider {
  height: 1px; background: #edeae5; margin-bottom: 10px;
}
.mcv-section-title {
  height: 5px; width: 40%; background: #1c1917; border-radius: 2px; margin-bottom: 8px; opacity: 0.6;
}
.mcv-text {
  height: 4px; background: #e0dcd6; border-radius: 2px; margin-bottom: 5px;
}
.mcv-text:nth-child(even) { width: 85%; }
.mcv-text:nth-child(odd) { width: 95%; }
.mcv-spacer { height: 10px; }
.mcv-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.mcv-tag {
  height: 10px; width: 28px; background: #f5f5f4; border-radius: 2px;
}

/* ===== Social Proof ===== */
.social-proof {
  padding: 48px 0 0;
  text-align: center;
}
.proof-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #78716c;
  font-weight: 500;
}
.proof-icon {
  width: 20px; height: 20px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}

/* ===== Features ===== */
.features {
  padding: 100px 0 80px;
  position: relative;
}
.features-header {
  text-align: center;
  margin-bottom: 56px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: white;
  border: 1px solid #edeae5;
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, #D97706);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover { border-color: #d4d0ca; transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  color: #78716c;
  line-height: 1.65;
}

/* ===== Section Shared ===== */
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #D97706;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-subtitle {
  font-size: 16px;
  color: #78716c;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Templates Section ===== */
.templates {
  padding: 100px 0;
  text-align: center;
  position: relative;
}
.templates-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, #f7f5f2 30%, #f7f5f2 70%, transparent 100%);
  pointer-events: none;
}
.templates .container { position: relative; }
.templates-showcase {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 56px;
}
.tpl-card {
  width: 160px;
  background: white;
  border: 1px solid #e0dcd6;
  border-radius: 14px;
  padding: 16px 14px 14px;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
}
.tpl-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.07); border-color: #D97706; }
.tpl-preview {
  aspect-ratio: 210/297;
  background: #fafaf9;
  border: 1px solid #edeae5;
  border-radius: 6px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
}
.tpl-preview svg { width: 100%; height: 100%; color: #78716c; }
.tpl-name { font-size: 13px; font-weight: 700; color: #44403c; }
.tpl-desc { font-size: 11px; color: #a8a29e; margin-top: 2px; }

/* ===== How It Works ===== */
.how {
  padding: 100px 0;
  position: relative;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, #FDE68A, #DBEAFE, #D1FAE5);
  border-radius: 1px;
}
.step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: white;
  border: 2px solid #FDE68A;
  color: #92400E;
  font-size: 20px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(217,119,6,0.08);
}
.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: #78716c;
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  position: relative;
}
.faq-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, #f7f5f2 30%, #f7f5f2 70%, transparent 100%);
  pointer-events: none;
}
.faq .container { position: relative; }
.faq-list {
  max-width: 640px;
  margin: 56px auto 0;
}
.faq-item {
  border-bottom: 1px solid #edeae5;
  padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid #edeae5; }
.faq-item summary {
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: #f7f5f2;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px; font-weight: 400; color: #a8a29e;
  transition: all 0.2s;
}
.faq-item[open] .faq-toggle { background: #1c1917; color: white; transform: rotate(45deg); }
.faq-item p {
  font-size: 14px;
  color: #78716c;
  line-height: 1.7;
  margin-top: 14px;
  padding-right: 44px;
}

/* ===== CTA ===== */
.cta {
  padding: 40px 0 100px;
  text-align: center;
}
.cta-box {
  position: relative;
  background: #1c1917;
  border-radius: 24px;
  padding: 72px 48px;
  color: white;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: #D97706;
  filter: blur(120px);
  opacity: 0.12;
  top: -200px; right: -100px;
  pointer-events: none;
}
.cta-box::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: #2563EB;
  filter: blur(120px);
  opacity: 0.08;
  bottom: -200px; left: -100px;
  pointer-events: none;
}
.cta-box > * { position: relative; }
.cta-box h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  line-height: 1.15;
}
.cta-box p {
  color: #a8a29e;
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.btn-cta {
  background: #D97706;
  color: white;
  padding: 16px 44px;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(217,119,6,0.3);
}
.btn-cta:hover { background: #b45309; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(217,119,6,0.4); }

/* ===== Footer ===== */
footer {
  border-top: 1px solid #edeae5;
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer p, footer a {
  font-size: 13px;
  color: #a8a29e;
}
footer a:hover { color: #D97706; }
.footer-links {
  display: flex;
  gap: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .hero { padding: 130px 0 48px; }
  .hero-mockup { display: none; }
  .cta-box { padding: 48px 24px; }
  .templates-showcase { gap: 12px; }
  .tpl-card { width: 140px; }
  .mockup-sidebar { display: none; }
  .footer-inner { justify-content: center; text-align: center; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .mockup-sidebar { width: 200px; }
}

/* ===== Páginas interiores ===== */
.skip-link { position: absolute; left: -9999px; top: 8px; background: #1c1917; color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.nav-links a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid #D97706; outline-offset: 2px; }
.page-hero { position: relative; padding: 128px 0 36px; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; max-width: 800px; margin: 0 auto 18px; }
.page-hero .lead { font-size: 18px; color: #6b655f; max-width: 640px; margin: 0 auto 30px; line-height: 1.7; }
.breadcrumb { font-size: 13px; color: #78716c; margin-bottom: 22px; }
.breadcrumb a { color: #78716c; }
.breadcrumb a:hover { color: #b45309; }
.prose { max-width: 760px; margin: 0 auto; padding: 8px 0 32px; }
.prose h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 44px 0 14px; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 26px 0 8px; }
.prose p { font-size: 16px; color: #44403c; line-height: 1.8; margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { font-size: 16px; color: #44403c; line-height: 1.75; margin-bottom: 8px; }
.prose a { color: #b45309; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #92400E; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #edeae5; vertical-align: top; }
.prose th { background: #f7f5f2; font-weight: 700; }
.note { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 12px; padding: 16px 18px; margin: 20px 0; font-size: 15px; color: #78350f; line-height: 1.7; }
.tpl-detail { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; padding: 28px 0; border-bottom: 1px solid #edeae5; }
.tpl-detail:last-of-type { border-bottom: none; }
.tpl-detail .tpl-preview { width: 150px; margin-bottom: 0; background: #fff; }
.tpl-detail h2 { margin-top: 0; }
.related { padding: 36px 0 60px; }
.related h2 { font-size: 22px; font-weight: 800; text-align: center; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.related-card { display: block; background: #fff; border: 1px solid #edeae5; border-radius: 14px; padding: 22px; transition: all .25s; }
.related-card:hover { border-color: #D97706; transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.06); }
.related-card strong { display: block; font-size: 15px; margin-bottom: 6px; }
.related-card span { font-size: 13px; color: #78716c; line-height: 1.6; }
.text-link { color: #b45309; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split h2 { margin-bottom: 14px; }
.split p { color: #57534e; line-height: 1.75; margin-bottom: 14px; }
.footer-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.footer-cols h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #57534e; margin-bottom: 12px; }
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #edeae5; padding-top: 20px; }
footer p, footer a { color: #78716c; }
.hero h1 { max-width: 880px; }
.hero p { color: #6b655f; }
.section-subtitle, .feature-card p, .step p, .faq-item p { color: #6b655f; }
@media (max-width: 768px) {
  .nav-links .btn-ghost { display: none; }
  .tpl-detail { grid-template-columns: 1fr; }
  .tpl-detail .tpl-preview { width: 130px; }
  .related-grid, .split, .footer-cols { grid-template-columns: 1fr; }
  .page-hero { padding: 108px 0 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
}
