:root {
  --bg: #0f172a;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --accent: #111827;
  --ok: #16a34a;
  --warn: #f59e0b;
  --shadow: 0 18px 50px rgba(15, 23, 42, .12);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f1f5f9;
  line-height: 1.5;
}
a { color: inherit; }
.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.site-header {
  background:
    radial-gradient(circle at top left, rgba(220, 38, 38, .28), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #111827 58%, #020617 100%);
  color: #fff;
  padding: 34px 0 30px;
}
.header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .55fr);
  gap: 32px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-logo-panel {
  justify-self: end;
  width: min(100%, 330px);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 22px 55px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}
.hero-brand-logo {
  width: 100%;
  max-width: 190px;
  max-height: 118px;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.28);
  padding: 14px;
  box-shadow: 0 18px 38px rgba(0,0,0,.22);
}
.hero-brand-title {
  color: #fecaca;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  line-height: 1.35;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.brand-logo {
  width: auto;
  height: 48px;
  max-width: 180px;
  object-fit: contain;
  display: block;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px;
  padding: 8px 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ef4444;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-header .eyebrow { color: #fca5a5; }
h1, h2, h3, h4, h5, p { margin-top: 0; }
h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: .98;
  margin: 10px 0 14px;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}
h3 { font-size: 22px; margin-bottom: 10px; }
h4 { font-size: 20px; margin-bottom: 14px; }
h5 { font-size: 17px; margin: 20px 0 10px; }
.hero-text {
  color: #cbd5e1;
  font-size: 17px;
  max-width: 760px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  background: #111827;
  color: #fff;
}
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 22px 55px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}
.hero-card-kicker {
  color: #fecaca;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
}
.hero-card strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
  margin: 8px 0 12px;
}
.hero-card span { color: #cbd5e1; }
.intro-section {
  padding: 34px 0 28px;
}
.seo-content, .faq-section {
  padding: 46px 0;
}
.intro-grid, .content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.intro-grid article, .content-grid article, .faq-grid details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}
.calculator-section {
  padding: 34px 0 50px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-heading {
  max-width: 800px;
  margin-bottom: 20px;
}
.section-heading p, .muted, .small-note, .small-notes p {
  color: var(--muted);
}
.notice {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--muted);
}
.notice.error { color: #991b1b; background: #fef2f2; border-color: #fecaca; }
.hidden { display: none !important; }

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  gap: 24px;
  align-items: start;
}
.form-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.step-card, .summary-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.step-title span {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fee2e2;
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
}
.step-title h3 { margin: 0; }
label {
  display: block;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 8px;
}
select, input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 13px 13px;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
}
select:focus, input:focus {
  outline: 3px solid rgba(220,38,38,.16);
  border-color: var(--primary);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.static-field {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  min-height: 47px;
  font-weight: 800;
}
.model-info {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(210px, 0.85fr) minmax(0, 1.15fr);
  gap: 16px;
  align-items: stretch;
}
.model-visual {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  min-height: 230px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.model-photo {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
}
.model-photo-placeholder {
  width: 100%;
  min-height: 210px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  padding: 18px;
}
.model-photo-placeholder span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.model-photo-placeholder strong {
  margin-top: 8px;
  color: var(--ink);
  font-size: 20px;
}
.model-price-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
}
.base-price-card {
  background: #0f172a;
  color: #ffffff;
  border-radius: 18px;
  padding: 16px;
}
.base-price-card span, .price-chip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.base-price-card span { color: #cbd5e1; }
.base-price-card strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  line-height: 1.1;
}
.base-price-card small {
  display: block;
  margin-top: 6px;
  color: #cbd5e1;
  font-size: 12px;
}
.model-price-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.price-chip {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  min-width: 0;
}
.price-chip.selected {
  border-color: var(--primary);
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
}
.price-chip strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.1;
  white-space: nowrap;
}
.price-chip em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.25;
}
.radio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.radio-grid label, .prendario-option {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: var(--surface-2);
  cursor: pointer;
}
.radio-grid label:has(input:checked), .prendario-option.active {
  border-color: var(--primary);
  background: #fef2f2;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}
.radio-grid input { width: auto; margin-right: 8px; }
.radio-grid-compact { grid-template-columns: repeat(3, 1fr); }
.small-notes {
  margin-top: 14px;
  font-size: 13px;
}
.accessories-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.accessory-item {
  display: grid;
  grid-template-columns: 94px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 18px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.accessory-item.selected {
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.10);
  background: #fff;
}
.accessory-media {
  width: 94px;
  height: 76px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.accessory-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.accessory-media-empty {
  padding: 8px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.accessory-body strong { display: block; }
.accessory-body p { color: var(--muted); margin: 4px 0; font-size: 13px; line-height: 1.35; }
.accessory-body small { color: var(--muted); }
.accessory-body s { color: #94a3b8; }
.accessory-item button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.accessory-item button.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
@media (max-width: 640px) {
  .accessory-item {
    grid-template-columns: 76px 1fr;
    gap: 12px;
  }
  .accessory-media {
    width: 76px;
    height: 66px;
  }
  .accessory-item button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.payment-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.payment-tabs button {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 14px;
  padding: 12px 8px;
  font-weight: 800;
  cursor: pointer;
  color: #334155;
}
.payment-tabs button.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.payment-panel { display: none; }
.payment-panel.active {
  display: block;
}
.result-box {
  margin: 16px 0;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid var(--line);
  overflow: hidden;
}
.result-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.result-row:last-child { border-bottom: 0; }
.result-row strong { text-align: right; }
.result-row.highlight {
  background: #fef2f2;
  color: #7f1d1d;
  font-size: 18px;
  font-weight: 900;
}
.result-row.ok {
  background: #f0fdf4;
  color: #14532d;
  font-weight: 900;
}
.coupon-box {
  margin: 12px 0 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #78350f;
  font-weight: 700;
}
.share-btn { margin-top: 6px; }
.prendario-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.prendario-option strong {
  display: block;
  font-size: 17px;
}
.prendario-option span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
.summary-column {
  position: sticky;
  top: 18px;
}
.summary-card {
  border-color: #fecaca;
}
.summary-card h3 {
  margin: 8px 0 16px;
}
.summary-list {
  display: grid;
  gap: 10px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 10px;
}
.summary-line span:first-child { color: var(--muted); }
.summary-line strong { text-align: right; }
.legal {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
details summary {
  font-weight: 900;
  cursor: pointer;
}
details p {
  color: var(--muted);
  margin: 12px 0 0;
}
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 32px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.footer-grid strong {
  color: #fff;
}

@media (max-width: 980px) {
  .header-grid, .app-shell, .intro-grid, .content-grid, .faq-grid {
    grid-template-columns: 1fr;
  }
  .summary-column {
    position: static;
  }
  .payment-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .model-info, .radio-grid, .field-grid, .prendario-options {
    grid-template-columns: 1fr;
  }
  .model-price-options {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, var(--max));
  }
  .site-header {
    padding: 38px 0 34px;
  }
  .step-card, .summary-card, .hero-card, .intro-grid article, .content-grid article, .faq-grid details {
    border-radius: 18px;
    padding: 18px;
  }
  .payment-tabs {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .result-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .result-row strong { text-align: left; }
}

.summary-line.total-line {
  border-bottom-style: solid;
  padding-top: 4px;
}
.summary-line.total-line span, .summary-line.total-line strong {
  color: var(--ink);
  font-weight: 900;
}
@media (max-width: 740px) {
  .model-visual {
    min-height: 180px;
  }
  .model-photo {
    max-height: 220px;
  }
  .base-price-card strong {
    font-size: 21px;
  }
}


/* Ajuste de header compacto con logo destacado */
@media (min-width: 900px) {
  .site-header { min-height: 360px; }
  .intro-grid article p { margin-bottom: 0; }
}

@media (max-width: 899px) {
  .site-header { padding: 28px 0 30px; }
  .header-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hero-logo-panel {
    justify-self: stretch;
    width: 100%;
    min-height: auto;
    padding: 18px;
  }
  .hero-brand-logo {
    max-width: 210px;
    max-height: 120px;
  }
}

@media (max-width: 640px) {
  .hero-logo-panel { order: -1; }
  .site-header { padding: 22px 0 24px; }
  .hero-actions .btn { width: 100%; }
  .intro-section { padding: 24px 0 20px; }
  .calculator-section { padding-top: 28px; }
}

/* Ajustes solicitados 26/08: header más compacto, logo protagonista y bloque explicativo en 3 pasos */
.site-header {
  padding: 26px 0 24px;
}
.header-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .45fr);
  gap: 26px;
}
.hero-copy h1 {
  margin-top: 0;
  margin-bottom: 14px;
}
.hero-text {
  margin-bottom: 0;
}
.hero-actions {
  margin-top: 18px;
}
.hero-logo-panel {
  width: min(100%, 300px);
  min-height: 188px;
  padding: 20px 18px;
  gap: 9px;
}
.hero-brand-logo {
  width: 190px;
  height: 118px;
  max-width: 100%;
  max-height: none;
  padding: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}
.hero-brand-title,
.hero-brand-subtitle {
  color: #fecaca;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .095em;
  font-size: 11px;
  line-height: 1.25;
}
.hero-brand-subtitle {
  color: #ffffff;
  letter-spacing: .11em;
  opacity: .95;
}
.intro-section {
  padding: 24px 0 20px;
}
.intro-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 16px;
}
.intro-heading h2 {
  margin-bottom: 5px;
  font-size: clamp(24px, 2.2vw, 32px);
}
.intro-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.intro-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.intro-grid-three article {
  padding: 18px 18px 16px;
  border-radius: 20px;
  min-height: auto;
}
.intro-grid-three h3 {
  font-size: 18px;
  line-height: 1.12;
  margin: 8px 0 8px;
  letter-spacing: -0.025em;
}
.intro-grid-three p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.42;
  color: #334155;
}
.intro-number {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #fee2e2;
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 14px;
}
.calculator-section {
  padding-top: 26px;
}
.section-heading {
  margin-bottom: 16px;
}

@media (min-width: 900px) {
  .site-header { min-height: 0; }
}

@media (max-width: 980px) {
  .intro-grid-three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 899px) {
  .site-header {
    padding: 24px 0 24px;
  }
  .hero-logo-panel {
    width: 100%;
    min-height: auto;
  }
  .hero-brand-logo {
    width: 220px;
    height: 116px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 20px 0 22px;
  }
  .intro-section {
    padding: 20px 0 18px;
  }
  .intro-heading {
    text-align: left;
  }
  .intro-grid-three article {
    padding: 16px;
  }
}

.intro-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.intro-title-row h3 {
  margin: 0;
  line-height: 1.15;
}

.intro-title-row .intro-number {
  flex: 0 0 auto;
}
/* Ajuste Paso 1 / Paso 2: producto separado de patentamiento */
.model-info {
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: 18px;
}

.model-product-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.model-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.model-feature-chip {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  min-height: 74px;
}

.model-feature-chip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 5px;
}

.model-feature-chip strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.model-features-empty {
  background: #fff7ed;
  border: 1px dashed #fed7aa;
  border-radius: 16px;
  padding: 14px;
  color: #7c2d12;
}

.model-features-empty strong {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

.model-features-empty span {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.model-features-empty code {
  font-weight: 800;
}

#patentamientoOptions.radio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

#patentamientoOptions .patent-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  min-height: 145px;
  cursor: pointer;
}

#patentamientoOptions .patent-card input {
  margin-top: 5px;
}

#patentamientoOptions .patent-card-content {
  min-width: 0;
}

#patentamientoOptions .patent-card-content strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 8px;
}

#patentamientoOptions .patent-card-content span {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

#patentamientoOptions .patent-card-content small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

#patentamientoOptions .patent-card.selected {
  border-color: var(--primary);
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
}

@media (max-width: 980px) {
  #patentamientoOptions.radio-grid {
    grid-template-columns: 1fr;
  }
  #patentamientoOptions .patent-card {
    min-height: auto;
  }
  .model-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Fix sección IMPORTANTE debajo del cotizador */
.important-section {
  padding-top: 44px;
  padding-bottom: 42px;
  border-top: 1px solid rgba(15, 23, 42, .08);
}

.compact-heading {
  max-width: 980px;
  margin-bottom: 18px;
}

.compact-heading h2 {
  margin-top: 6px;
  margin-bottom: 0;
}

.important-grid {
  align-items: stretch;
}

.important-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.important-card h2 {
  margin-bottom: 0;
}

.important-card p {
  margin: 0;
  flex: 1;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.card-actions .btn,
.important-card > .btn {
  width: fit-content;
}

@media (max-width: 760px) {
  .important-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .card-actions {
    align-items: stretch;
  }
  .card-actions .btn,
  .important-card > .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Ajuste compacto sección IMPORTANTE + FAQ */
.calculator-section {
  padding-bottom: 26px;
}

.important-section {
  padding-top: 24px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(15, 23, 42, .08);
}

.compact-heading {
  margin-bottom: 14px;
}

.compact-heading h2 {
  margin-top: 4px;
  margin-bottom: 0;
}

.important-grid {
  align-items: start;
}

.important-card {
  gap: 12px;
}

.important-card p {
  flex: initial;
}

.card-actions {
  margin-top: 2px;
}

.important-section + .faq-section {
  padding-top: 26px;
}

@media (max-width: 760px) {
  .calculator-section {
    padding-bottom: 22px;
  }

  .important-section {
    padding-top: 22px;
    padding-bottom: 20px;
  }

  .important-section + .faq-section {
    padding-top: 22px;
  }
}


/* FIX MOBILE LOGO V2: escritorio igual, celular con logo compacto dentro del texto */
.hero-mobile-logo-panel {
  display: none;
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    padding: 28px 0 30px !important;
  }

  .header-grid {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .hero-logo-panel {
    display: none !important;
  }

  .hero-copy {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 42px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.045em !important;
    margin: 0 0 14px !important;
    max-width: 100% !important;
  }

  .hero-mobile-logo-panel {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin: 8px 0 18px;
    max-width: 250px;
  }

  .hero-mobile-brand-logo {
    width: 190px;
    max-width: 74vw;
    height: auto;
    max-height: 118px;
    object-fit: contain;
    display: block;
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .20);
  }

  .hero-mobile-brand-title,
  .hero-mobile-brand-subtitle {
    display: block;
    color: #fecaca;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-size: 11px;
    line-height: 1.25;
  }

  .hero-mobile-brand-subtitle {
    color: #ffffff;
    opacity: .95;
  }

  .hero-text {
    font-size: 17px !important;
    line-height: 1.48 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .hero-actions {
    margin-top: 22px !important;
    gap: 12px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
  }
}

@media (max-width: 390px) {
  .hero-copy h1 {
    font-size: 32px !important;
  }

  .hero-mobile-brand-logo {
    width: 170px;
  }
}

@media (max-width: 640px) {
  .hero-logo-panel {
    width: 100%;
    max-width: 220px;
    min-height: auto;
    padding: 12px 12px 10px;
    gap: 8px;
    margin: 14px auto 10px;
    justify-self: center;
  }

  .hero-brand-logo {
    width: 100%;
    max-width: 150px;
    max-height: 82px;
    height: auto;
    object-fit: contain;
    padding: 8px;
    border-radius: 14px;
    margin: 0 auto;
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
  }

  .hero-brand-title {
    font-size: 10px;
    line-height: 1.15;
    letter-spacing: .07em;
    text-align: center;
  }

  .hero-brand-subtitle {
    font-size: 10px;
    line-height: 1.15;
    letter-spacing: .08em;
    text-align: center;
  }
}

.faq-action-btn {
  margin-top: 14px;
  width: fit-content;
}

@media (max-width: 560px) {
  .faq-action-btn {
    width: 100%;
  }
}