/* Devit — SEO Pages CSS · No afecta al dashboard React */

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

:root {
  --brand:   #E5511F;
  --brand2:  #CC4A1A;
  --dark:    #F6F3EA;
  --dark2:   #FFFFFF;
  --dark3:   #F1EDE2;
  --border:  #DEDACB;
  --text:    #17140F;
  --text2:   #5B584C;
  --text3:   #9C9887;
  --green:   #1F7A4D;
  --amber:   #B08128;
}

body { background: var(--dark); color: var(--text); font-family: system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.65; }

/* NAV */
.seo-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: rgba(246,243,234,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.seo-nav-logo img { display: block; }
.seo-nav-links { display: flex; align-items: center; gap: 24px; }
.seo-nav-links a { color: var(--text2); text-decoration: none; font-size: 14px; transition: color .15s; }
.seo-nav-links a:hover { color: var(--text); }
.seo-btn-nav {
  padding: 7px 16px; border-radius: 6px;
  background: var(--brand); color: #fff !important;
  font-size: 13px; font-weight: 600;
}
.seo-btn-nav:hover { background: var(--brand2) !important; }

/* LAYOUT */
.seo-main { padding: 0 0 60px; }
.seo-container { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* H1 */
.seo-h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--text);
  margin: 48px 0 32px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* SECTIONS */
section { margin-bottom: 40px; }

.hero-section .hero-tag {
  display: inline-block;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--brand2);
  background: rgba(229,81,31,0.1);
  border: 1px solid rgba(229,81,31,0.25);
  border-radius: 20px; padding: 3px 12px;
  margin-bottom: 16px;
}
.hero-section .hero-intro {
  font-size: 18px; color: var(--text2); line-height: 1.6;
  border-left: 3px solid var(--brand); padding-left: 16px;
}

.problem-section { background: var(--dark2); border: 1px solid var(--border); border-radius: 10px; padding: 28px 32px; }
.solution-section { background: rgba(229,81,31,0.05); border: 1px solid rgba(229,81,31,0.2); border-radius: 10px; padding: 28px 32px; }
.case-section { background: var(--dark3); border: 1px solid var(--border); border-radius: 10px; padding: 28px 32px; }
.features-section { padding: 4px 0; }

h2 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
p  { color: var(--text2); margin-bottom: 12px; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; padding: 0; margin-top: 12px; }
ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}
ul li:last-child { border-bottom: none; }
ul li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--brand);
  font-size: 13px;
}
ul li strong { color: var(--text); }

/* FAQS */
.faqs-section { border-top: 1px solid var(--border); padding-top: 32px; }
.faqs-section h2 { margin-bottom: 20px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; cursor: pointer;
  color: var(--text); font-size: 15px; font-weight: 500;
  padding: 16px 0; text-align: left; gap: 12px;
}
.faq-q:hover { color: var(--brand2); }
.faq-icon { font-size: 20px; color: var(--brand); flex-shrink: 0; }
.faq-a { color: var(--text2); font-size: 14px; padding: 0 0 16px; line-height: 1.65; }

/* RELATED */
.related-section { background: var(--dark2); border: 1px solid var(--border); border-radius: 10px; padding: 24px 28px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.internal-link {
  padding: 7px 14px; border-radius: 20px;
  background: var(--dark3); border: 1px solid var(--border);
  color: var(--text2); text-decoration: none; font-size: 13px;
  transition: all .15s;
}
.internal-link:hover { background: rgba(229,81,31,0.1); border-color: rgba(229,81,31,0.4); color: var(--brand2); }

/* CTA */
.cta-section { margin-top: 48px; }
.cta-box {
  background: linear-gradient(135deg, rgba(229,81,31,0.15), rgba(204,74,26,0.08));
  border: 1px solid rgba(229,81,31,0.3);
  border-radius: 14px; padding: 40px 36px; text-align: center;
}
.cta-box h2 { font-size: 22px; margin-bottom: 10px; }
.cta-box p  { font-size: 15px; margin-bottom: 24px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-primary {
  padding: 12px 28px; border-radius: 8px;
  background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; transition: background .15s;
}
.cta-primary:hover { background: var(--brand2); }
.cta-secondary {
  padding: 12px 28px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--dark3);
  color: var(--text2); text-decoration: none; font-size: 15px;
  transition: all .15s;
}
.cta-secondary:hover { border-color: var(--brand); color: var(--text); }

/* PRICING */
.pricing-section { margin-top: 48px; border-top: 1px solid var(--border); padding-top: 40px; }
.pricing-section > h2 { font-size: 22px; text-align: center; margin-bottom: 8px; }
.pricing-subtitle { text-align: center; font-size: 14px; color: var(--text2); margin-bottom: 28px !important; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.pricing-card {
  background: var(--dark2); border: 1px solid var(--border); border-radius: 12px;
  padding: 22px 20px; position: relative; display: flex; flex-direction: column; gap: 14px;
}
.pricing-card--featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.pricing-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: .5px; padding: 3px 12px; border-radius: 99px; white-space: nowrap;
}
.pricing-name { font-size: 15px; font-weight: 700; color: var(--text); margin: 0; }
.pricing-price { display: flex; align-items: baseline; gap: 2px; }
.pricing-amount { font-size: 30px; font-weight: 800; color: var(--text); letter-spacing: -1px; }
.pricing-period { font-size: 13px; color: var(--text2); }
.pricing-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pricing-features li {
  font-size: 12px; color: var(--text2); display: flex; gap: 6px;
  line-height: 1.4; padding: 0; border: none; position: static;
}
.pricing-features li::before { content: '›'; color: var(--green); font-weight: 700; flex-shrink: 0; position: static; }
.pricing-btn {
  display: block; text-align: center; padding: 10px 14px; border-radius: 7px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--border); color: var(--text2); transition: all .15s;
}
.pricing-btn:hover { border-color: var(--brand); color: var(--text); }
.pricing-btn--primary { background: var(--brand); color: #fff !important; border-color: var(--brand); }
.pricing-btn--primary:hover { background: var(--brand2); border-color: var(--brand2); }
.pricing-note { font-size: 12px; color: var(--text3); text-align: center; margin-top: 6px !important; }
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* FOOTER */
.seo-footer {
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 40px 0 24px;
}
.footer-cols { display: grid; grid-template-columns: 1.5fr repeat(auto-fill, minmax(110px, 1fr)) 0.8fr; gap: 20px; margin-bottom: 32px; }
.footer-tagline { color: var(--text3); font-size: 12px; margin-top: 8px; }
.footer-heading { color: var(--text3); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.seo-footer a { display: block; color: var(--text2); text-decoration: none; font-size: 13px; margin-bottom: 8px; }
.seo-footer a:hover { color: var(--text); }
.footer-copy { color: var(--text3); font-size: 12px; border-top: 1px solid var(--border); padding-top: 20px; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .seo-nav-links a:not(.seo-btn-nav) { display: none; }
  .seo-h1 { margin: 32px 0 24px; }
  .problem-section, .solution-section, .case-section { padding: 20px; }
  .cta-box { padding: 28px 20px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .cta-buttons { flex-direction: column; }
  .cta-primary, .cta-secondary { text-align: center; }
}
