:root {
  --ink: #0F2C3F;
  --ink-soft: #2C4356;
  --text: #1E2A32;
  --text-muted: #5C6B74;
  --bg: #FFFFFF;
  --bg-soft: #F5F7F6;
  --accent: #1E8A6E;
  --accent-dark: #146851;
  --accent-soft: #E5F3EE;
  --border: #E4E8E7;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-width: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-small {
  padding: 9px 18px;
  font-size: 0.875rem;
  background: var(--ink);
  color: #fff;
}

.btn-small:hover {
  background: var(--accent-dark);
}

.btn-full {
  display: block;
  width: 100%;
  text-align: center;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.logo-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav a:hover {
  color: var(--ink);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 88px;
  background: var(--bg-soft);
}

.hero-glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 138, 110, 0.16) 0%, rgba(30, 138, 110, 0) 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 720px;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.35rem;
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.trust-badges li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.trust-badges li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Section shared */

section {
  padding: 100px 0;
}

section h2 {
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
}

/* Cómo funciona */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.step-visual {
  height: 190px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  box-shadow: 0 12px 24px -18px rgba(15, 44, 63, 0.18);
  position: relative;
}

.step-visual--icon {
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-badge {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px -10px rgba(15, 44, 63, 0.45);
}

.icon-glyph {
  width: 58px;
  height: 58px;
}

.icon-glyph--shortcuts,
.icon-glyph--notion {
  width: 72px;
  height: 72px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Planes */

.planes {
  background: var(--bg-soft);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.plan-card--highlight {
  border-color: var(--ink);
  box-shadow: 0 20px 40px -24px rgba(15, 44, 63, 0.35);
}

.plan-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.plan-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.plan-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--ink);
  margin-bottom: 28px;
}

.plan-price span {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-features li {
  position: relative;
  padding-left: 26px;
  font-size: 0.96rem;
  color: var(--text);
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.plan-features li.feature-highlight {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 600;
  padding: 12px 16px 12px 40px;
  border-radius: 8px;
  margin-top: 4px;
}

.plan-features li.feature-highlight::before {
  left: 16px;
  top: 19px;
  background: #fff;
}

.plan-note {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  border-radius: 0 8px 8px 0;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.logo-footer {
  color: #fff;
  margin-bottom: 8px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer-contact a {
  color: #fff;
  font-weight: 600;
}

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

.footer-copy {
  max-width: var(--container-width);
  margin: 24px auto 0;
  padding: 0 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Responsive */

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

  .hero {
    padding: 88px 0 72px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 72px 0;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .plan-card {
    padding: 28px;
  }
}

/* Blog */

.blog-hero {
  padding: 96px 0 56px;
  background: var(--bg-soft);
}

.blog-hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 16px;
}

.blog-hero .section-subtitle {
  margin-bottom: 0;
  max-width: 620px;
}

.breadcrumb {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

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

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 80px 0;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.blog-card:hover {
  border-color: var(--ink);
  box-shadow: 0 20px 40px -28px rgba(15, 44, 63, 0.35);
}

.blog-card h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-card-link {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-card-link:hover {
  color: var(--ink);
}

/* Article */

.article-hero {
  padding: 96px 0 40px;
  background: var(--bg-soft);
}

.article-hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  max-width: 780px;
}

.article-body {
  padding: 64px 0 100px;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 44px 0 16px;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--text);
}

.article-content ol {
  list-style: decimal;
  margin: 0 0 24px 1.3em;
}

.article-content ul {
  list-style: disc;
  margin: 0 0 24px 1.3em;
}

.article-content li {
  margin-bottom: 12px;
  font-size: 1.02rem;
  color: var(--text);
  padding-left: 4px;
}

.article-content strong {
  color: var(--ink);
  font-weight: 600;
}

.article-content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 28px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.article-content th,
.article-content td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.article-content th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
}

.article-cta {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--accent-soft);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  font-style: italic;
  color: var(--ink-soft);
}

.article-cta a {
  color: var(--accent-dark);
  font-weight: 600;
  font-style: normal;
}

.article-nav-back {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-nav-back a {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.article-nav-back a:hover {
  color: var(--accent-dark);
}

@media (max-width: 860px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-hero h1 {
    font-size: 2rem;
  }

  .article-hero h1 {
    font-size: 1.9rem;
  }
}

@media (max-width: 520px) {
  .blog-grid {
    grid-template-columns: 1fr;
    padding: 56px 0;
  }

  .blog-hero {
    padding: 72px 0 40px;
  }

  .article-hero {
    padding: 72px 0 32px;
  }

  .article-body {
    padding: 48px 0 72px;
  }

  .article-cta {
    padding: 20px;
  }
}

/* Cookie consent banner */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 20px 44px -16px rgba(15, 44, 63, 0.5);
  z-index: 1000;
  animation: cookie-banner-in 0.35s ease;
}

@keyframes cookie-banner-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cookie-btn-accept {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.cookie-btn-accept:hover {
  background: var(--accent-dark);
}

.cookie-btn-reject {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 4px 2px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-btn-reject:hover {
  color: #fff;
}

@media (max-width: 520px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px 20px;
  }
}
