/* =============================================
   Box Supplier México – SEO Landing Pages CSS
   Estilo consistente con la página principal
   ============================================= */

/* --- Variables de marca --- */
:root {
  --brand-accent: #f4f1eb;
  --brand-dark: #232323;
  --brand-text: #666;
  --brand-heading: #333;
  --brand-link: #3d3d3d;
  --brand-blue: #2ea3f2;
  --font-serif: 'Times New Roman', Georgia, serif;
  --font-sans: 'Open Sans', Arial, sans-serif;
  --max-width: 1080px;
}

/* --- Reset básico --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--brand-text);
  background-color: #fff;
  line-height: 1.7em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--brand-link); text-decoration: none; }
a:hover { color: var(--brand-blue); }
p { padding-bottom: 1em; margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--brand-heading);
  line-height: 1.3em;
  font-weight: 600;
  margin: 0 0 0.5em 0;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }

/* --- Layout --- */
.seo-container {
  width: 88%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Header --- */
.seo-header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.1);
  position: sticky;
  top: 0;
  z-index: 9999;
  padding: 0;
}

.seo-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.seo-header__logo img {
  height: 52px;
  width: auto;
  display: block;
}

.seo-header__nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.seo-header__nav a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: rgba(0,0,0,.6);
  transition: color .2s;
}

.seo-header__nav a:hover { color: var(--brand-dark); }

.seo-header__cta {
  background: var(--brand-dark);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .3px;
  transition: background .2s;
}

.seo-header__cta:hover { background: var(--brand-blue) !important; color: #fff !important; }

/* --- Hero banner --- */
.seo-hero {
  background-color: var(--brand-accent);
  padding: 72px 0 64px;
  text-align: center;
  border-bottom: 3px solid #e0ddd6;
}

.seo-hero .seo-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
}

.seo-hero h1 {
  font-size: 2.6rem;
  max-width: 860px;
  margin: 0 auto 20px;
  color: var(--brand-dark);
}

.seo-hero p {
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 32px;
  padding-bottom: 0;
  color: #555;
}

.seo-hero .seo-btn {
  display: inline-block;
  background: var(--brand-dark);
  color: #fff;
  padding: 14px 36px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s;
}

.seo-hero .seo-btn:hover { background: var(--brand-blue); color: #fff; }

/* --- Breadcrumb --- */
.seo-breadcrumb {
  background: #f8f8f8;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  font-size: 13px;
  color: #999;
  font-family: var(--font-sans);
}

.seo-breadcrumb a { color: #888; }
.seo-breadcrumb a:hover { color: var(--brand-blue); }
.seo-breadcrumb span { margin: 0 6px; }

/* --- Secciones de contenido --- */
.seo-section {
  padding: 64px 0;
}

.seo-section--alt {
  background: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.seo-section--dark {
  background: var(--brand-dark);
  color: #e0ddd6;
}

.seo-section--dark h2,
.seo-section--dark h3 { color: var(--brand-accent); }

.seo-section--accent {
  background: var(--brand-accent);
  border-top: 1px solid #e0ddd6;
  border-bottom: 1px solid #e0ddd6;
}

.seo-section-title {
  text-align: center;
  margin-bottom: 48px;
}

.seo-section-title h2 { margin-bottom: 12px; }

.seo-section-title p {
  color: #888;
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
  padding-bottom: 0;
}

/* --- Grid 2 columnas --- */
.seo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.seo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* --- Tarjetas de beneficio --- */
.seo-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 32px 28px;
  transition: box-shadow .2s;
}

.seo-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.seo-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

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

.seo-card p { font-size: 0.95rem; padding-bottom: 0; }

/* --- Lista con checks --- */
.seo-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-check-list li {
  padding: 8px 0 8px 32px;
  position: relative;
  font-size: 0.97rem;
  border-bottom: 1px solid #f0f0f0;
}

.seo-check-list li:last-child { border-bottom: none; }

.seo-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 1.1rem;
}

/* --- Tabla comparativa --- */
.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 14px;
}

.seo-table th {
  background: var(--brand-dark);
  color: var(--brand-accent);
  padding: 12px 18px;
  text-align: left;
  font-weight: 700;
}

.seo-table td {
  padding: 10px 18px;
  border-bottom: 1px solid #eee;
}

.seo-table tr:nth-child(even) td { background: #f8f8f8; }

/* --- FAQ / Acordeón --- */
.seo-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.seo-faq-item {
  border-bottom: 1px solid #e8e8e8;
  padding: 20px 0;
}

.seo-faq-item:first-child { border-top: 1px solid #e8e8e8; }

.seo-faq-question {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.seo-faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--brand-blue);
  flex-shrink: 0;
  line-height: 1;
}

details[open] .seo-faq-question::after { content: "−"; }

.seo-faq-answer {
  padding-top: 14px;
  color: var(--brand-text);
  font-size: 0.97rem;
  line-height: 1.8;
}

.seo-faq-answer p { padding-bottom: 0; }

/* --- CTA Banner --- */
.seo-cta-banner {
  background: var(--brand-dark);
  color: var(--brand-accent);
  text-align: center;
  padding: 64px 0;
}

.seo-cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
}

.seo-cta-banner p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 28px;
  padding-bottom: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.seo-cta-banner .seo-btn {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--brand-dark);
  padding: 15px 42px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s;
}

.seo-cta-banner .seo-btn:hover { background: var(--brand-blue); color: #fff; }

/* --- Stats / Números destacados --- */
.seo-stats {
  display: flex;
  gap: 0;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
}

.seo-stat {
  flex: 1;
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid #e8e8e8;
}

.seo-stat:last-child { border-right: none; }

.seo-stat__number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.seo-stat__label {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Footer --- */
.seo-footer {
  background: var(--brand-dark);
  color: #aaa;
  padding: 32px 0;
  font-family: var(--font-sans);
  font-size: 13px;
}

.seo-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.seo-footer__logo img { height: 36px; filter: brightness(0) invert(1); opacity: .7; }

.seo-footer__links {
  display: flex;
  gap: 20px;
}

.seo-footer__links a {
  color: #aaa;
  font-size: 13px;
  transition: color .2s;
}

.seo-footer__links a:hover { color: var(--brand-accent); }

.seo-footer__social { display: flex; gap: 14px; }

.seo-footer__social a {
  color: #aaa;
  font-size: 13px;
  transition: color .2s;
}

.seo-footer__social a:hover { color: var(--brand-accent); }

.seo-footer__copy { color: #666; }

/* --- Blockquote testimonial --- */
.seo-quote {
  border-left: 4px solid var(--brand-accent);
  padding: 20px 28px;
  background: #fafafa;
  margin: 32px 0;
  border-radius: 0 6px 6px 0;
}

.seo-quote p {
  font-size: 1.05rem;
  font-style: italic;
  color: #555;
  padding-bottom: 8px;
}

.seo-quote cite {
  font-size: 13px;
  color: #888;
  font-style: normal;
  font-family: var(--font-sans);
}

/* --- Responsive --- */
@media (max-width: 980px) {
  .seo-grid-2,
  .seo-grid-3 {
    grid-template-columns: 1fr;
  }

  .seo-stats {
    flex-direction: column;
  }

  .seo-stat { border-right: none; border-bottom: 1px solid #e8e8e8; }
  .seo-stat:last-child { border-bottom: none; }

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

@media (max-width: 640px) {
  .seo-header__nav { display: none; }
  .seo-header__inner { justify-content: center; }
  .seo-hero { padding: 48px 0 40px; }
  .seo-hero h1 { font-size: 1.7rem; }
  .seo-footer__inner { flex-direction: column; text-align: center; }
  .seo-section { padding: 40px 0; }
}
