/* =========================================================================
   Everyday Report Media / Programa de Automatización de Soporte con IA
   Single stylesheet for the whole site. Two visual "families" share the
   same reset + utilities, but are skinned very differently:
     body.pub   -> publication (advertorial, about)     plain 2010s blog
     body.offer -> offer/dark-magazine (program + legal) dark, serif display
   ========================================================================= */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, video { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 0; margin: 0; }
p { margin: 0 0 1em; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.15; font-weight: 700; }
table { border-collapse: collapse; width: 100%; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: #000; color: #fff;
  padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #4d90fe; outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}
body.offer .wrap { max-width: 1180px; }
body.offer .wrap.wrap-narrow { max-width: 820px; }

/* generic media frame for gif loops (fixed aspect ratio, no layout jump) */
.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #11141a;
  border-radius: 6px;
}
.media-frame video {
  width: 100%; height: 100%; object-fit: cover;
}
.media-frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.55); color: #fff; font-size: .8rem;
  padding: 6px 10px;
}

/* generic buttons — colour comes from family rules below */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 22px; border-radius: 4px;
  text-decoration: none; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn + .btn { margin-left: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn-row .btn { margin-left: 0; }

/* =========================================================================
   PUBLICATION FAMILY  (body.pub) — advertorial + about
   Plain 2010s blog: system sans body, serif headline, white/cool-gray,
   navy accents, blue links, near-zero decoration.
   ========================================================================= */
body.pub {
  background: #ffffff;
  color: #1c2430;
  font-family: -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
body.pub h1, body.pub h2, body.pub h3 { font-family: Georgia, "Times New Roman", serif; color: #101828; }
body.pub a { color: #1a4fa0; text-decoration: underline; }
body.pub a:hover { color: #0f335e; }

.pub-ribbon {
  background: #14161c; color: #fff; text-align: center;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 10px;
}

.pub-header { border-bottom: 1px solid #dfe4ea; background: #fff; }
.pub-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 0;
}
.pub-brand { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; font-weight: 700; text-decoration: none; color: #101828; }
.pub-brand span { color: #1a4fa0; }
.pub-tagline { display: none; }

.nav-toggle-btn {
  min-height: 44px; min-width: 44px; border: 1px solid #cfd7df; background: #f4f6f8;
  border-radius: 4px; font-size: .9rem; font-weight: 700; padding: 8px 14px;
  color: #1c2430; cursor: pointer;
}
.site-nav { display: none; width: 100%; }
.site-nav.is-open { display: block; }
.nav-list { list-style: none; margin: 12px 0 0; display: flex; flex-direction: column; gap: 2px; }
.nav-list a {
  display: block; padding: 10px 4px; text-decoration: none; font-weight: 600;
  border-bottom: 1px solid #eef1f4; min-height: 44px; display: flex; align-items: center;
}
body.pub .nav-list a { color: #1c2430; }
body.pub .nav-list a:hover { color: #1a4fa0; }

@media (min-width: 768px) {
  .pub-header-inner { flex-wrap: wrap; }
  .pub-tagline { display: block; font-size: .8rem; color: #6a7580; margin-left: 8px; }
  .nav-toggle-btn { display: none; }
  .site-nav { display: block !important; width: auto; }
  .nav-list { flex-direction: row; gap: 22px; }
  .nav-list a { border-bottom: none; padding: 4px 0; min-height: auto; }
}

.pub-main { padding: 28px 0 8px; }

.byline { display: flex; align-items: center; gap: 12px; margin: 16px 0 22px; flex-wrap: wrap; color: #55606b; font-size: .92rem; }
.byline-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: #1a4fa0; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}
.byline strong { color: #1c2430; }
.byline-sep { color: #b7bfc7; }

.pub-kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: .08em;
  font-size: .75rem; font-weight: 700; color: #1a4fa0; margin-bottom: 10px;
}

h1.article-title {
  font-size: clamp(1.7rem, 4.6vw + 1rem, 2.85rem);
  margin-bottom: .3em;
}
.article-subhead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.6vw + .8rem, 1.35rem);
  color: #3a4550; font-weight: 400; margin: 0 0 20px;
}

.standfirst {
  background: #eef2f6; border-left: 4px solid #1a4fa0;
  padding: 16px 18px; font-style: italic; font-size: 1.05rem; color: #2b3542;
  margin: 20px 0 26px;
}

.figure { margin: 22px 0; }
.figure img { width: 100%; border-radius: 4px; }
.figure figcaption { font-size: .82rem; color: #6a7580; margin-top: 6px; }

.pub-section { margin: 34px 0; }
.pub-section h2 {
  font-size: clamp(1.35rem, 2.6vw + .9rem, 1.85rem);
  border-bottom: 2px solid #101828; padding-bottom: 8px; margin-bottom: 16px;
}
.pub-section p { font-size: 1.02rem; }

.myth-fact-grid { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
.myth-fact-card { border: 1px solid #dfe4ea; border-radius: 6px; padding: 16px 18px; background: #fff; }
.myth-fact-card.is-myth { border-left: 5px solid #b3372c; background: #fdf3f2; }
.myth-fact-card.is-fact { border-left: 5px solid #1c7a4b; background: #f1f9f4; }
.myth-fact-label { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; margin-bottom: 6px; }
.myth-fact-card.is-myth .myth-fact-label { color: #b3372c; }
.myth-fact-card.is-fact .myth-fact-label { color: #1c7a4b; }
.myth-fact-card p { margin: 0; }

@media (min-width: 768px) {
  .myth-fact-grid.pair { flex-direction: row; }
  .myth-fact-grid.pair .myth-fact-card { flex: 1; }
}

.table-scroll { overflow-x: auto; margin: 18px 0; -webkit-overflow-scrolling: touch; }
.rate-table { min-width: 460px; font-size: .95rem; }
.rate-table caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
.rate-table th, .rate-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #dfe4ea; }
.rate-table thead th { background: #101828; color: #fff; }
.rate-table tbody tr:nth-child(even) { background: #f4f6f8; }
.rate-note { font-size: .82rem; color: #6a7580; margin-top: -8px; }
body.offer .rate-note { color: #a8a394; }

.check-list { list-style: none; margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: #1c7a4b; font-weight: 800;
}
body.offer .check-list li::before { color: #7fb0a0; }

.cta-block {
  background: #101828; color: #f2f4f7; border-radius: 6px; padding: 26px 22px;
  margin: 30px 0; text-align: center;
}
.cta-block h3 { color: #fff; font-family: Georgia, serif; font-size: 1.35rem; }
.cta-block p { color: #c7ccd3; }
body.pub .cta-block .btn-primary { background: #f2a531; color: #14161c; border-color: #f2a531; }
body.pub .cta-block .btn-primary:hover { background: #d88e1f; border-color: #d88e1f; }
.cta-block .btn-row { justify-content: center; }

body.pub .btn-primary { background: #1a4fa0; color: #fff; border-color: #1a4fa0; text-decoration: none; }
body.pub .btn-primary:hover { background: #0f335e; border-color: #0f335e; }
body.pub .btn-ghost { background: transparent; color: #1a4fa0; border-color: #1a4fa0; text-decoration: none; }
body.pub .btn-ghost:hover { background: #eef2f6; }

.pub-article-body > p { margin-bottom: 1.1em; }

.disclaimer-note {
  font-size: .85rem; color: #6a7580; background: #f4f6f8; border: 1px dashed #cfd7df;
  padding: 12px 14px; border-radius: 4px; margin: 22px 0;
}

/* -------- shared site footer (skinned per family) -------- */
.site-footer { margin-top: 50px; padding: 40px 0 30px; }
body.pub .site-footer { background: #101828; color: #cfd5db; }
body.pub .site-footer a { color: #9fc0ea; text-decoration: none; }
body.pub .site-footer a:hover { text-decoration: underline; }

.footer-grid { display: flex; flex-direction: column; gap: 26px; }
.footer-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; color: inherit; opacity: .8; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.company-block { white-space: pre-line; font-size: .82rem; line-height: 1.6; opacity: .85; margin: 0; }
.footer-legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: .8rem; opacity: .75; }

@media (min-width: 768px) {
  .footer-grid { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
  .footer-col { flex: 1 1 220px; }
}

body.offer .site-footer { background: #0d0f14; color: #c9c3b3; border-top: 1px solid #262b35; }
body.offer .site-footer a { color: #e7c383; text-decoration: none; }
body.offer .site-footer a:hover { text-decoration: underline; }
body.offer .footer-legal { border-top-color: #262b35; }

/* =========================================================================
   OFFER FAMILY  (body.offer) — program page + all legal/contact pages
   Dark magazine: serif display headings, sans body, warm amber accent.
   Deliberately different layout system & component shapes from .pub
   ========================================================================= */
body.offer {
  background: #0d0f14;
  color: #ece7da;
  font-family: -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
body.offer h1, body.offer h2, body.offer h3, body.offer h4 {
  font-family: Georgia, "Times New Roman", serif; color: #f5f0e4; font-weight: 700;
}
body.offer a { color: #e7c383; }
body.offer a:hover { color: #f5d9a3; }
body.offer .wrap-narrow a { text-decoration: underline; }

.offer-header { background: #0d0f14; border-bottom: 1px solid #262b35; position: sticky; top: 0; z-index: 50; }
.offer-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 12px; }
.offer-brand { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; color: #f5f0e4; text-decoration: none; letter-spacing: .01em; }
.offer-brand em { font-style: normal; color: #e7c383; }

body.offer .nav-toggle-btn { background: #1b1f28; border: 1px solid #333a47; color: #ece7da; }
body.offer .nav-list a { color: #d8d2c2; }
body.offer .nav-list a:hover { color: #e7c383; }

@media (min-width: 768px) {
  body.offer .nav-list { gap: 26px; }
}

.hero-offer {
  padding: 46px 0 40px;
  background: radial-gradient(ellipse at top right, #1c2130 0%, #0d0f14 65%);
  border-bottom: 1px solid #1e222c;
}
.hero-offer-grid { display: flex; flex-direction: column; gap: 30px; }
.hero-kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-weight: 700; color: #e7c383; margin-bottom: 14px;
}
h1.offer-title {
  font-size: clamp(1.9rem, 5vw + 1rem, 3.3rem);
  margin-bottom: .35em;
}
.offer-subhead { font-size: clamp(1.02rem, 1.4vw + .8rem, 1.25rem); color: #c9c3b3; max-width: 56ch; margin-bottom: 22px; }
.hero-offer .figure { margin: 0; }
.hero-offer .figure img { border-radius: 10px; border: 1px solid #262b35; }

@media (min-width: 1024px) {
  .hero-offer-grid { flex-direction: row; align-items: center; }
  .hero-offer-grid > .hero-copy { flex: 1.1; }
  .hero-offer-grid > .hero-media { flex: .9; }
}

.pull-quote {
  border: 1px solid #3a3120; background: #1a1611; border-left: 5px solid #e7c383;
  padding: 20px 22px; border-radius: 4px; margin: 24px 0;
  font-family: Georgia, serif; font-size: clamp(1.1rem, 1.6vw + .9rem, 1.5rem);
  color: #f5ecd7;
}
.pull-quote cite { display: block; margin-top: 10px; font-family: -apple-system, sans-serif; font-size: .8rem; font-style: normal; color: #a8a394; }

.offer-section { padding: 48px 0; }
.offer-section.alt { background: #12151c; }
.offer-section-title {
  font-size: clamp(1.5rem, 2.8vw + 1rem, 2.2rem); margin-bottom: 10px;
}
.section-kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem;
  font-weight: 700; color: #e7c383; margin-bottom: 12px;
}
.offer-lede { color: #c9c3b3; max-width: 62ch; font-size: 1.05rem; margin-bottom: 24px; }

.two-col { display: flex; flex-direction: column; gap: 26px; }
@media (min-width: 1024px) {
  .two-col { flex-direction: row; align-items: center; }
  .two-col > div { flex: 1; }
}

.mid-callout {
  background: linear-gradient(135deg, #241d10, #0d0f14 70%);
  border: 1px solid #3a3120; border-radius: 10px; padding: 30px 26px; margin: 10px 0;
}
.mid-callout h2 { font-size: clamp(1.4rem, 2.6vw + 1rem, 2rem); }
.mid-callout p { color: #d8d2c2; }

.rate-box { border: 1px solid #262b35; background: #15181f; border-radius: 10px; padding: 24px; margin: 22px 0; }
.rate-figures { display: flex; flex-direction: column; gap: 16px; margin: 18px 0; }
.rate-figure { border-top: 1px solid #262b35; padding-top: 14px; }
.rate-figure:first-child { border-top: none; padding-top: 0; }
.rate-figure .amount { font-family: Georgia, serif; font-size: 1.4rem; color: #e7c383; display: block; }
.rate-figure .label { color: #a8a394; font-size: .92rem; }
@media (min-width: 768px) {
  .rate-figures { flex-direction: row; }
  .rate-figure { flex: 1; border-top: none; border-left: 1px solid #262b35; padding: 0 18px; }
  .rate-figure:first-child { border-left: none; padding-left: 0; }
}
.arithmetic-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 18px 0 0; }
.arithmetic-list li { padding-left: 26px; position: relative; color: #d8d2c2; }
.arithmetic-list li::before { content: "\2192"; position: absolute; left: 0; color: #e7c383; }

.pkg-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 26px 0; }
@media (min-width: 768px) { .pkg-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pkg-grid { grid-template-columns: repeat(4, 1fr); } }

.pkg-card {
  background: #15181f; border: 1px solid #262b35; border-radius: 10px; padding: 24px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.pkg-card.is-highlight {
  background: #1e1810; border: 2px solid #e7c383; position: relative; transform: translateY(-4px);
}
.pkg-flag {
  position: absolute; top: -14px; left: 20px; background: #e7c383; color: #14161c;
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 10px; border-radius: 3px;
}
.pkg-name { font-size: 1.25rem; margin-bottom: 2px; }
.pkg-hours { color: #a8a394; font-size: .85rem; }
.pkg-price { font-size: clamp(1.6rem, 3vw + 1rem, 2.1rem); font-family: Georgia, serif; color: #e7c383; }
.pkg-list { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; color: #d8d2c2; flex-grow: 1; }
.pkg-list li { padding-left: 22px; position: relative; }
.pkg-list li::before { content: "\2713"; position: absolute; left: 0; color: #7fb0a0; }
.pkg-cta { margin-top: auto; }

.addon-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 22px 0; }
@media (min-width: 768px) { .addon-grid { grid-template-columns: 1fr 1fr; } }
.addon-card { background: #15181f; border: 1px solid #262b35; border-radius: 8px; padding: 18px 20px; }
.addon-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.addon-name { font-family: Georgia, serif; font-size: 1.05rem; color: #f5f0e4; }
.addon-price { font-family: Georgia, serif; font-size: 1.15rem; color: #e7c383; white-space: nowrap; }
.addon-desc { color: #a8a394; font-size: .92rem; margin: 0; }

.perk-stack { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.perk-item {
  display: flex; gap: 12px; align-items: flex-start; background: #15181f; border: 1px solid #262b35;
  border-radius: 8px; padding: 14px 16px;
}
.perk-item::before { content: "\2605"; color: #e7c383; font-size: 1.1rem; line-height: 1.3; }

.limits-box { background: #15181f; border: 1px solid #262b35; border-radius: 10px; padding: 24px; margin: 22px 0; }
.limits-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.limits-list li { padding-left: 22px; position: relative; color: #d8d2c2; }
.limits-list li::before { content: "\2014"; position: absolute; left: 0; color: #a8a394; }

/* -------- lead form (offer + contact pages) -------- */
.lead-form-section { padding: 46px 0 60px; }
.lead-form {
  background: #15181f; border: 1px solid #262b35; border-radius: 10px; padding: 26px 22px;
  max-width: 620px; margin: 0 auto;
}
.form-grid { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) {
  .form-grid.two-up { flex-direction: row; flex-wrap: wrap; }
  .form-grid.two-up .form-field { flex: 1 1 45%; }
  .form-grid.two-up .form-field-full { flex-basis: 100%; }
}
.media-frame.mt { margin-top: 22px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: .9rem; color: #d8d2c2; font-weight: 700; }
.form-field input, .form-field textarea {
  min-height: 48px; font-size: 1rem; padding: 10px 12px; border-radius: 6px;
  border: 1px solid #333a47; background: #0d0f14; color: #ece7da;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: #e7c383; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: #c9c3b3; }
.form-consent input { min-width: 20px; min-height: 20px; margin-top: 2px; }
.form-submit-row { margin-top: 6px; }
body.offer .btn-primary { background: #e7c383; color: #14161c; border-color: #e7c383; }
body.offer .btn-primary:hover { background: #f5d9a3; border-color: #f5d9a3; }
body.offer .btn-ghost { background: transparent; color: #e7c383; border-color: #e7c383; }
body.offer .btn-ghost:hover { background: rgba(231,195,131,.12); }
.form-note { font-size: .82rem; color: #a8a394; margin-top: 14px; }
.form-success {
  display: none; background: #17281f; border: 1px solid #2f5a41; color: #cdeedc;
  padding: 16px 18px; border-radius: 8px; margin-bottom: 16px;
}
.form-success.is-visible { display: block; }
.lead-form.is-submitted .form-grid,
.lead-form.is-submitted .form-consent,
.lead-form.is-submitted .form-submit-row { display: none; }

/* -------- sticky mobile CTA -------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #14161c; border-top: 1px solid #333a47; padding: 10px 16px;
  display: flex; justify-content: center;
}
.sticky-cta .btn { width: 100%; max-width: 420px; }
body.has-sticky-cta { padding-bottom: 74px; }
@media (min-width: 768px) {
  .sticky-cta { display: none; }
  body.has-sticky-cta { padding-bottom: 0; }
}

/* -------- legal / simple content pages (offer skin) -------- */
.legal-hero { padding: 40px 0 10px; }
.legal-hero h1 { font-size: clamp(1.7rem, 4vw + 1rem, 2.6rem); }
.legal-hero .offer-lede { margin-bottom: 0; }
.legal-content { padding: 10px 0 50px; }
.legal-content h2 { font-size: clamp(1.2rem, 2vw + .9rem, 1.5rem); margin-top: 1.6em; }
.legal-content p, .legal-content li { color: #d8d2c2; }
.legal-content ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; margin: 0 0 1em; }
.legal-content a { text-decoration: underline; }

/* -------- about page (pub skin) -------- */
.about-hero { padding: 30px 0 10px; }
.about-figure-row { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
@media (min-width: 768px) { .about-figure-row { flex-direction: row; } .about-figure-row .figure { flex: 1; margin: 0; } }
