:root {
  --brand: #f36f21;
  --brand-dark: #d9570b;
  --brand-soft: #fff3ea;
  --ink: #252525;
  --muted: #60646c;
  --surface: #ffffff;
  --surface-soft: #f7f7f8;
  --border: #dedfe3;
  --success: #16833d;
  --whatsapp: #05284f;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 14px 38px rgba(35, 35, 35, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(243,111,33,.45); outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(800px, calc(100% - 32px)); margin-inline: auto; }
.section { padding: 72px 0; }
.section-soft { background: var(--surface-soft); }
.section-brand { background: linear-gradient(135deg, #2c2c2c, #171717); color: #fff; }
.section-brand p { color: #e6e6e6; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid #ffd8bf;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .02em;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 16px; letter-spacing: -.025em; }
h1 { font-size: clamp(2.35rem, 5vw, 4.9rem); max-width: 980px; }
h2 { font-size: clamp(1.85rem, 3.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 790px; }
.eyebrow { color: var(--brand-dark); font-weight: 850; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.topbar { background: var(--ink); color: #fff; font-size: .82rem; }
.topbar .container { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-list { display: flex; flex-wrap: wrap; gap: 20px; }
.topbar strong { color: #ffb27f; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { text-decoration: none; line-height: 1; display: inline-flex; flex-direction: column; }
.brand strong { color: var(--brand); font-size: 1.45rem; letter-spacing: -.04em; }
.brand span { color: #5d5d5d; font-size: .78rem; font-weight: 800; letter-spacing: .04em; margin-top: 5px; }
.desktop-nav { display: flex; align-items: center; gap: 22px; }
.desktop-nav a { text-decoration: none; color: #464646; font-size: .92rem; font-weight: 750; }
.desktop-nav a:hover { color: var(--brand-dark); }
.header-actions { display: flex; gap: 10px; }
.mobile-menu { display: none; }
.mobile-menu summary { list-style: none; cursor: pointer; font-weight: 850; border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-panel { position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 20px 16px 28px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
.mobile-panel nav { display: grid; gap: 8px; }
.mobile-panel a { padding: 11px 8px; text-decoration: none; border-bottom: 1px solid #eee; font-weight: 750; }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 11px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(243,111,33,.24); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; border-color: #173f69; box-shadow: 0 8px 20px rgba(5,40,79,.24); }
.btn-whatsapp:hover { background: #0a3a69; }
.btn-small { min-height: 42px; padding: 9px 14px; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero { padding: 78px 0 68px; overflow: hidden; background: radial-gradient(circle at 85% 10%, #ffe2cf 0, transparent 32%), linear-gradient(180deg, #fff, #fffaf7); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 60px; align-items: center; }
.hero h1 em { color: var(--brand); font-style: normal; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; color: #4f4f4f; font-weight: 700; font-size: .94rem; }
.trust-row span::before { content: "✓"; color: var(--success); font-weight: 900; margin-right: 7px; }
.hero-card {
  position: relative;
  min-height: 390px;
  border-radius: 30px;
  background: linear-gradient(145deg, #343434, #171717);
  color: #fff;
  padding: 34px;
  box-shadow: 0 28px 55px rgba(20,20,20,.22);
  overflow: hidden;
}
.hero-card::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -100px; bottom: -90px; background: rgba(243,111,33,.22); }
.boiler-icon { width: 126px; height: 154px; border: 3px solid #fff; border-radius: 12px; margin: 28px auto 22px; position: relative; opacity: .96; }
.boiler-icon::before { content: "FERROLI"; position: absolute; top: 18px; left: 0; right: 0; text-align: center; color: var(--brand); font-weight: 900; letter-spacing: .06em; font-size: .75rem; }
.boiler-icon::after { content: "01"; position: absolute; bottom: 22px; left: 36px; width: 48px; height: 30px; border: 2px solid #fff; border-radius: 4px; display: grid; place-items: center; font-weight: 900; }
.hero-card h2 { font-size: 1.5rem; }
.hero-card p { color: #dedede; }

.breadcrumbs { padding: 17px 0; border-bottom: 1px solid var(--border); background: #fff; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; font-size: .86rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #aaa; }
.breadcrumbs a { color: var(--brand-dark); }
.page-hero { padding: 64px 0; background: radial-gradient(circle at 90% 0, #ffe5d3, transparent 35%), #fffaf7; }
.page-hero h1 { font-size: clamp(2.25rem, 4.5vw, 4rem); overflow-wrap: break-word; hyphens: none; }

.grid { display: grid; gap: 22px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: 0 5px 18px rgba(30,30,30,.045); }
.card:hover { border-color: #ffc49f; }
.card-link { text-decoration: none; display: block; height: 100%; }
.card-link .arrow { color: var(--brand-dark); font-weight: 850; }
.icon-box { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-dark); font-weight: 900; margin-bottom: 18px; }
.check-list, .plain-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 900; }
.plain-list li { color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid #eee; }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; }
.tag { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: var(--brand-soft); border: 1px solid #ffd5ba; color: #75310d; text-decoration: none; font-size: .88rem; font-weight: 750; }
.tag:hover { background: #ffe3d0; }
.cluster-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.cluster-title p { max-width: 650px; }
.feature-band { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.feature-band > div { padding: 24px; border-right: 1px solid var(--border); }
.feature-band > div:last-child { border-right: 0; }

.process { counter-reset: steps; }
.process .card { position: relative; padding-top: 72px; }
.process .card::before { counter-increment: steps; content: counter(steps); position: absolute; top: 22px; left: 26px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 900; }
.notice { padding: 20px 22px; border-radius: 14px; background: #fff7ed; border-left: 4px solid var(--brand); }
.notice p:last-child { margin-bottom: 0; }
.safety { background: #fff8e7; border-color: #f2cf7a; }
.independent { background: #f0f7ff; border-color: #9dc8ec; }

/* Ritmo vertical para bloques editoriales consecutivos. */
.narrow:not(.prose) > .notice { margin-block: 28px; }
.narrow:not(.prose) > .notice:first-child { margin-top: 0; }
.narrow:not(.prose) > .notice:last-child { margin-bottom: 0; }
.narrow:not(.prose) > .faq-list + h2 { margin-top: 44px; }
.narrow:not(.prose) > .editorial-sources { margin-block: 30px; }
.prose > .notice { margin-block: 30px; }
.prose > .article-lede,
.prose > .editorial-sources { margin-block: 30px; }
.prose > .article-nav--horizontal { margin-block: 30px; }

.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--border); border-radius: 13px; background: #fff; padding: 16px 18px; }
.faq-list summary { cursor: pointer; font-weight: 850; }
.faq-list details p { padding-top: 12px; margin-bottom: 0; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 30px; }
.prose ul, .prose ol { color: var(--muted); }
.prose a { color: var(--brand-dark); font-weight: 750; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 13px 14px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: var(--surface-soft); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; }
.contact-grid > div:first-child { display: grid; align-content: start; gap: 24px; }
.contact-grid > div:first-child > h2 { margin-bottom: 0; }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-weight: 800; font-size: .9rem; }
input, textarea, select { width: 100%; margin-top: 6px; border: 1px solid #cfd0d5; border-radius: 10px; padding: 12px 13px; background: #fff; color: var(--ink); }
textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: start; font-size: .88rem; color: var(--muted); }
.consent input { width: auto; margin-top: 5px; }
.form-status { font-weight: 750; min-height: 24px; }
.form-status.is-success { color: #0f6a32; }
.form-status.is-error { color: #a62f16; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-form .btn:disabled { cursor: wait; opacity: .7; transform: none; }

.cta-panel { background: linear-gradient(135deg, var(--brand), #db570e); border-radius: 24px; color: #fff; padding: 38px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; }
.cta-panel p { color: #fff1e8; margin: 0; }
.cta-panel .btn-light { border: 0; }
.mobile-cta { display: none; }

.site-footer { background: #202020; color: #ddd; padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer p, .site-footer a { color: #bcbcbc; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-note { border-top: 1px solid #454545; margin-top: 36px; padding-top: 24px; font-size: .82rem; }
.footer-legal-disclaimer { border-top: 1px solid #454545; margin-top: 36px; padding-top: 24px; }
.footer-legal-disclaimer p { max-width: 1120px; margin: 0; color: #cbd5df; font-size: .8rem; line-height: 1.65; }
.footer-legal-disclaimer p + p { margin-top: 10px; }
.footer-legal-disclaimer strong { color: #fff; }
.footer-legal-disclaimer + .footer-note { margin-top: 22px; }

@media (max-width: 1040px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu { display: block; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { padding-bottom: 74px; }
  .topbar { display: none; }
  .header-inner { min-height: 66px; }
  .mobile-panel { top: 66px; }
  .hero, .page-hero { padding: 48px 0; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { min-height: 320px; padding: 26px; }
  .section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4, .feature-band { grid-template-columns: minmax(0, 1fr); }
  .feature-band > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .feature-band > div:last-child { border-bottom: 0; }
  .form-row { grid-template-columns: 1fr; }
  .cluster-title { display: block; }
  .cta-panel { grid-template-columns: 1fr; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(0,0,0,.12); }
  .mobile-cta .btn { min-height: 56px; padding: 9px 8px; font-size: .88rem; line-height: 1.15; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Plantilla Ferroli basada en la referencia visual aprobada */
:root {
  --brand: #ff5a00;
  --brand-dark: #df4c00;
  --brand-soft: #fff3eb;
  --ink: #05284f;
  --muted: #4b5563;
  --surface-soft: #f4f5f7;
  --border: #dfe3e8;
  --whatsapp: #05284f;
  --shadow: 0 14px 34px rgba(5, 40, 79, .12);
}

body { color: var(--ink); font-family: Arial, Helvetica, sans-serif; background: #f4f5f7; }
p { color: #3f4855; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 900; }
.section-brand h2, .section-brand h3, .cta-panel h2 { color: #fff; }

.topbar { background: var(--ink); min-height: 50px; }
.reference-topbar { min-height: 50px; display: grid !important; grid-template-columns: 40px 1fr auto; align-items: center; gap: 16px; }
.reference-topbar p { color: #fff; margin: 0; text-align: center; font-size: .9rem; font-weight: 800; letter-spacing: .025em; }
.reference-topbar strong { color: #ff6b18; }
.flame-mark { color: var(--brand); font-size: 1.4rem; transform: rotate(45deg); justify-self: start; }
.independent-label { color: #d7e2ee; font-size: .73rem; font-weight: 700; white-space: nowrap; }

.site-header { position: sticky; top: 0; background: #fff; border: 0; box-shadow: 0 5px 18px rgba(5, 40, 79, .08); }
.header-inner { min-height: 106px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { grid-column: 2; align-items: center; justify-self: center; position: relative; padding-top: 8px; z-index: 1; }
.brand strong { color: #090909; font-size: clamp(2.35rem, 4vw, 3.65rem); font-weight: 900; letter-spacing: -.08em; position: relative; }
.brand strong::before { content: ""; position: absolute; width: 42%; height: 13px; left: 12%; top: -5px; background: var(--brand); border-radius: 80% 10% 60% 10%; transform: rotate(-5deg); z-index: -1; }
.brand span { color: #252525; font-size: .78rem; letter-spacing: 0; margin-top: 6px; }

.mobile-menu { display: none; grid-column: 1; justify-self: start; position: relative; }
.mobile-menu summary { width: 64px; height: 64px; display: grid; align-content: center; gap: 7px; padding: 0 17px; background: #fff; border: 1px solid #e0e3e7; border-radius: 10px; box-shadow: 0 4px 12px rgba(5, 40, 79, .13); }
.mobile-menu summary span { display: block; height: 3px; border-radius: 3px; background: var(--ink); }
.mobile-panel { top: 76px; left: 0; right: auto; width: min(360px, calc(100vw - 32px)); border: 1px solid var(--border); border-radius: 0 0 16px 16px; }
.mobile-panel a { color: var(--ink); }

.header-call { grid-column: 3; justify-self: end; min-width: 218px; min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 13px; border-radius: 16px; padding: 11px 20px; text-decoration: none; color: #fff; background: linear-gradient(135deg, #ff650b, #ff5100); box-shadow: 0 9px 20px rgba(255, 90, 0, .22); }
.header-call-icon { width: 34px; height: 34px; border: 2px solid #fff; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; transform: rotate(-25deg); }
.header-call strong, .header-call small { display: block; color: #fff; }
.header-call strong { font-size: 1.28rem; line-height: 1.05; }
.header-call small { margin-top: 4px; font-size: .82rem; font-weight: 800; }
.reference-rule { height: 7px; background: var(--ink); position: relative; overflow: hidden; }
.reference-rule span { display: block; width: 34%; height: 100%; background: var(--brand); }
.reference-subnav { background: #fff; border-bottom: 1px solid var(--border); }
.reference-subnav .desktop-nav { min-height: 44px; justify-content: center; gap: 34px; }
.reference-subnav .desktop-nav a { color: var(--ink); text-transform: uppercase; font-size: .76rem; letter-spacing: .04em; }
.reference-subnav .desktop-nav a:hover { color: var(--brand); }

.btn { border-radius: 12px; text-transform: none; }
.btn-primary { background: linear-gradient(135deg, #ff650b, #ff5100); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-whatsapp { background: var(--whatsapp); }

.reference-hero { padding: 30px 0 54px; background: linear-gradient(180deg, #fafafa 0, #f0f1f3 100%); }
.reference-hero-grid { position: relative; min-height: 670px; isolation: isolate; background: #fff; border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: var(--shadow); }
.reference-hero-grid::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.99) 36%, rgba(255,255,255,.94) 44%, rgba(255,255,255,.66) 53%, rgba(255,255,255,.16) 62%, rgba(255,255,255,0) 70%); }
.reference-hero-copy { position: relative; z-index: 2; width: 59%; min-height: 670px; display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 66px) clamp(28px, 4.5vw, 62px); }
.reference-hero-copy .kicker { border: 2px solid #ff7b32; background: #fff; border-radius: 9px; text-transform: uppercase; letter-spacing: .02em; }
.reference-hero-copy h1 { font-size: clamp(2.55rem, 5.2vw, 5rem); line-height: .96; letter-spacing: -.045em; text-transform: uppercase; margin-top: 20px; }
.reference-hero-copy h1 em { display: block; color: var(--brand); font-style: normal; }
.reference-hero-copy .lead { font-size: 1.08rem; line-height: 1.45; color: #252d38; }
.hero-benefits { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.hero-benefits li { position: relative; padding-left: 38px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.hero-benefits li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 26px; height: 26px; display: grid; place-items: center; color: #fff; background: var(--ink); border-radius: 50%; font-size: .9rem; }
.reference-hero-photo { position: absolute; inset: 0 0 0 38%; z-index: 0; margin: 0; min-height: 0; overflow: hidden; background: #eee; }
.reference-hero-photo img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 63% 20%; }
.reference-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; }
.reference-actions .btn { min-height: 68px; display: flex; flex-direction: column; gap: 3px; padding: 10px 16px; line-height: 1.08; }
.reference-actions .btn span { font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; }
.reference-actions .btn strong { font-size: 1.12rem; }

.authority-strip { position: relative; z-index: 2; width: calc(100% - 36px); margin: -1px auto 14px; display: grid; grid-template-columns: 74px repeat(3, 1fr); align-items: center; gap: 20px; background: #fff; border-radius: 0 0 18px 18px; box-shadow: var(--shadow); padding: 22px 28px; }
.authority-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.55rem; font-weight: 900; }
.authority-strip strong, .authority-strip span { display: block; }
.authority-strip strong { color: var(--ink); font-size: .95rem; }
.authority-strip span { color: var(--muted); font-size: .82rem; margin-top: 3px; }

.reference-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.reference-service-grid > a { position: relative; min-height: 250px; padding: 28px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; border-right: 1px solid #e8e9ec; background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%); transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.reference-service-grid > a:last-child { border-right: 0; }
.reference-service-grid > a:hover { z-index: 1; background: linear-gradient(180deg, #fff 0%, #fff7f2 100%); box-shadow: inset 0 4px 0 var(--brand), 0 12px 26px rgba(5,40,79,.1); transform: translateY(-3px); }
.reference-service-grid > a:focus-visible { z-index: 2; }
.reference-service-grid h2 { font-size: 1.08rem; text-transform: uppercase; margin: 12px 0; }
.reference-service-grid h2::after { content: ""; display: block; width: 34px; height: 3px; margin: 9px auto 0; background: var(--brand); }
.reference-service-grid p { font-size: .9rem; line-height: 1.45; flex: 1; }
.reference-service-grid strong { color: var(--ink); }
.line-equipment { position: relative; width: 72px; height: 72px; display: grid; place-items: center; color: var(--ink); border: 1px solid rgba(5,40,79,.16); border-radius: 20px; background: linear-gradient(145deg, #fff 8%, #f2f6fa 100%); box-shadow: inset 0 1px 0 #fff, 0 10px 22px rgba(5,40,79,.12); transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.line-equipment::after { content: ""; position: absolute; right: 8px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(255,90,0,.1); }
.line-equipment svg { position: relative; z-index: 1; width: 48px; height: 48px; overflow: visible; }
.line-equipment .equipment-accent { stroke: var(--brand); stroke-width: 3; }
.reference-service-grid > a:hover .line-equipment { color: #031f3d; border-color: rgba(255,90,0,.42); box-shadow: inset 0 1px 0 #fff, 0 14px 28px rgba(5,40,79,.17); transform: translateY(-2px); }
.reference-assurance { margin-top: 14px; min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 22px; color: #fff; background: var(--ink); border-radius: 15px; text-transform: uppercase; letter-spacing: .02em; text-align: center; }
.reference-assurance strong { color: #fff; }
.assurance-symbol { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid var(--brand); border-radius: 10px; color: var(--brand); font-size: 1.3rem; }

.page-hero { padding: 34px 0; background: linear-gradient(180deg, #fafafa, #f1f2f4); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .62fr); min-height: 430px; padding: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.page-hero-copy { align-self: center; padding: clamp(34px, 5vw, 66px); }
.page-hero-copy h1 { font-size: clamp(2.2rem, 3.5vw, 3.65rem); text-transform: uppercase; }
.page-hero-photo { margin: 0; min-height: 430px; overflow: hidden; background: #eee; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 67% 32%; }

.card { border: 0; box-shadow: 0 8px 24px rgba(5, 40, 79, .09); }
.card:hover { border: 0; box-shadow: 0 12px 28px rgba(5, 40, 79, .15); transform: translateY(-2px); }
.icon-box { background: #fff1e7; color: var(--brand); border: 1px solid #ffd0b4; }
.tag { background: #fff; color: var(--ink); border-color: #cfd8e2; }
.tag:hover { background: var(--brand-soft); border-color: #ffb287; }
.cta-panel { background: linear-gradient(135deg, var(--ink), #061c36); }
.cta-panel .btn-light { color: var(--ink); }
.site-footer { background: #031b35; }
.mobile-cta { transition: transform .2s ease, opacity .2s ease; }
.mobile-cta.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }

.authority-long { scroll-margin-top: 172px; }
.authority-layout { display: grid; grid-template-columns: minmax(190px, 240px) minmax(0, 1fr); gap: clamp(32px, 5vw, 68px); align-items: start; }
.article-nav { position: sticky; top: 182px; display: grid; gap: 7px; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(5, 40, 79, .07); }
.article-nav strong { margin-bottom: 8px; color: var(--ink); line-height: 1.25; }
.article-nav a { padding: 8px 10px; border-radius: 8px; color: #38506a; text-decoration: none; font-size: .88rem; font-weight: 750; }
.article-nav a:hover { color: var(--brand-dark); background: var(--brand-soft); }
.article-nav.article-nav--horizontal { position: static; top: auto; display: flex; flex-wrap: wrap; align-items: center; }
.article-nav.article-nav--horizontal strong { width: 100%; margin-bottom: 4px; }
.authority-prose { max-width: 850px; }
.authority-prose .authority-section { scroll-margin-top: 190px; }
.authority-prose .authority-section:first-child h2 { margin-top: 0; }
.content-photo { margin: 42px 0; overflow: hidden; border-radius: 18px; background: #e9edf1; box-shadow: var(--shadow); }
.content-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.content-photo figcaption { padding: 12px 16px; color: #596574; background: #fff; font-size: .82rem; }
.sales-callout { margin-top: 46px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 30px; color: #fff; background: linear-gradient(135deg, var(--ink), #061c36); border-radius: 18px; }
.sales-callout h2, .sales-callout p { color: #fff; }
.sales-callout p { margin-bottom: 0; opacity: .88; }
.sales-callout .btn-primary,
.sales-callout .btn-primary:hover,
.sales-callout .btn-primary:focus-visible { color: #fff; }

.hero-cta-actions .btn,
.conversion-actions .btn {
  flex-direction: column;
  gap: 2px;
  min-width: 205px;
  line-height: 1.12;
}
.hero-cta-actions .btn span,
.conversion-actions .btn span { font-size: .72rem; font-weight: 750; opacity: .9; }
.hero-cta-actions .btn strong,
.conversion-actions .btn strong { font-size: 1.02rem; }
.conversion-section { padding: 30px 0; }
.conversion-section--early { background: #fff; }
.conversion-section--mid { background: linear-gradient(180deg, #f7f8fa, #eef2f6); }
.conversion-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 58px);
  padding: clamp(26px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid #dfe5eb;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(5, 40, 79, .09);
}
.conversion-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--brand);
}
.conversion-section--mid .conversion-card { color: #fff; border: 0; background: linear-gradient(135deg, #05284f, #031b35); }
.conversion-section--mid .conversion-card::before { background: var(--brand); }
.conversion-section--mid .conversion-card p { color: #dce7f3; }
.conversion-copy { min-width: 0; }
.conversion-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-dark);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.conversion-section--mid .conversion-kicker,
.conversion-final .conversion-kicker { color: #ffb17f; }
.conversion-title {
  display: block;
  max-width: 720px;
  margin-bottom: 9px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.18;
  letter-spacing: -.02em;
}
.conversion-copy p { max-width: 760px; margin-bottom: 14px; }
.conversion-trust { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.conversion-trust span { font-size: .78rem; font-weight: 750; }
.conversion-trust span::before { content: "✓"; margin-right: 6px; color: var(--success); font-weight: 900; }
.conversion-section--mid .conversion-trust span::before,
.conversion-final .conversion-trust span::before { color: #67d68d; }
.conversion-actions { display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: 10px; margin: 0; }
.authority-prose .conversion-card { grid-template-columns: 1fr; gap: 20px; }
.authority-prose .conversion-actions { width: 100%; }
.conversion-final { padding-top: 44px; }
.conversion-final .cta-panel { padding: clamp(30px, 5vw, 48px); }
.conversion-final .cta-panel h2 { margin-bottom: 10px; }
.conversion-final .conversion-trust { margin-top: 18px; color: #fff; }
.conversion-final .conversion-actions { grid-template-columns: minmax(180px, 1fr); min-width: 230px; }
.conversion-final .conversion-actions .btn { width: 100%; }
.conversion-section--mid .btn-whatsapp,
.conversion-final .btn-whatsapp { background: #0b477c; border-color: #4d759e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 8px 20px rgba(0,0,0,.18); }
.conversion-section--mid .btn-whatsapp:hover,
.conversion-final .btn-whatsapp:hover { background: #11568f; }
.conversion-section--mid .conversion-actions .btn,
.conversion-section--mid .conversion-actions .btn:hover,
.conversion-section--mid .conversion-actions .btn:focus-visible { color: #fff; }
.conversion-section--mid .btn-dark { background: linear-gradient(135deg, #ff650b, #ff5100); border-color: #ff7b32; box-shadow: 0 9px 22px rgba(255, 90, 0, .24); }
.conversion-section--mid .btn-dark:hover { background: var(--brand-dark); }

@media (max-width: 1040px) {
  .header-actions { display: none; }
  .mobile-menu { display: block; }
  .reference-subnav { display: none; }
  .reference-hero-grid { min-height: 620px; }
  .reference-hero-grid::after { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.99) 38%, rgba(255,255,255,.92) 46%, rgba(255,255,255,.58) 54%, rgba(255,255,255,.1) 63%, rgba(255,255,255,0) 70%); }
  .reference-hero-copy { width: 59%; min-height: 620px; padding: 38px 30px; }
  .reference-hero-photo { inset: 0 0 0 39%; }
  .authority-strip { grid-template-columns: 60px 1fr 1fr 1fr; gap: 12px; }
  .authority-layout { grid-template-columns: minmax(0, 1fr); }
  .authority-layout > * { min-width: 0; max-width: 100%; }
  .article-nav { position: static; display: flex; flex-wrap: wrap; align-items: center; width: 100%; overflow: hidden; }
  .article-nav strong { width: 100%; }
  .authority-prose { width: 100%; max-width: 100%; }
  .authority-prose img,
  .authority-prose table { max-width: 100%; }
  .conversion-card { grid-template-columns: 1fr; gap: 20px; }
  .conversion-actions { width: 100%; }
}

@media (max-width: 760px) {
  .topbar { display: block; min-height: 42px; }
  .reference-topbar { min-height: 42px; grid-template-columns: 24px 1fr; gap: 8px; }
  .reference-topbar p { font-size: .62rem; line-height: 1.25; }
  .independent-label { display: none; }
  .header-inner { min-height: 82px; grid-template-columns: 72px 1fr 120px; gap: 8px; padding: 0 10px; }
  .mobile-menu summary { width: 54px; height: 54px; padding: 0 14px; }
  .mobile-panel { top: 68px; left: -2px; }
  .brand strong { font-size: clamp(1.7rem, 8.5vw, 2.45rem); }
  .brand strong::before { height: 9px; top: -3px; }
  .brand span { font-size: .52rem; white-space: nowrap; }
  .header-call { min-width: 0; min-height: 56px; border-radius: 12px; padding: 7px 9px; gap: 6px; }
  .header-call-icon { display: none; }
  .header-call strong { font-size: .82rem; white-space: nowrap; }
  .header-call small { font-size: .62rem; }
  .reference-rule { height: 5px; }

  .reference-hero { padding: 16px 0 34px; }
  .reference-hero .container { width: min(100% - 18px, var(--max)); }
  .reference-hero-grid { min-height: 620px; }
  .reference-hero-grid::after { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.99) 39%, rgba(255,255,255,.9) 45%, rgba(255,255,255,.48) 52%, rgba(255,255,255,.08) 59%, rgba(255,255,255,0) 65%); }
  .reference-hero-copy { width: 57%; min-height: 620px; padding: 25px 17px 22px; }
  .reference-hero-copy .kicker { padding: 6px 8px; font-size: .59rem; line-height: 1.15; }
  .reference-hero-copy h1 { font-size: clamp(1.8rem, 6.1vw, 2.8rem); margin-top: 14px; line-height: .98; }
  .reference-hero-copy .lead { font-size: .8rem; line-height: 1.35; }
  .hero-benefits { gap: 8px; margin-top: 16px; }
  .hero-benefits li { padding-left: 28px; font-size: .72rem; }
  .hero-benefits li::before { width: 20px; height: 20px; font-size: .72rem; }
  .reference-hero-photo { inset: 0 0 0 41%; min-height: 0; max-height: none; }
  .reference-hero-photo img { min-height: 0; max-height: none; object-position: 61% 18%; }
  .reference-actions { grid-template-columns: 1fr 1fr; gap: 8px; }
  .reference-actions .btn { min-height: 58px; padding: 7px 5px; }
  .reference-actions .btn span { font-size: .5rem; }
  .reference-actions .btn strong { font-size: .7rem; }
  .authority-strip { width: calc(100% - 12px); grid-template-columns: 46px 1fr; padding: 17px; gap: 12px; }
  .authority-strip > div:nth-of-type(n+3) { display: none; }
  .authority-icon { width: 42px; height: 42px; font-size: 1.1rem; }

  .reference-service-grid { grid-template-columns: repeat(4, 1fr); }
  .reference-service-grid > a { min-height: 190px; padding: 17px 7px; }
  .reference-service-grid h2 { font-size: .68rem; line-height: 1.2; }
  .reference-service-grid p { font-size: .62rem; line-height: 1.26; }
  .reference-service-grid strong { font-size: .62rem; }
  .line-equipment { width: 54px; height: 54px; border-radius: 15px; }
  .line-equipment::after { right: 6px; top: 6px; width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(255,90,0,.1); }
  .line-equipment svg { width: 36px; height: 36px; }
  .reference-assurance { min-height: 64px; font-size: .78rem; padding: 12px; }

  .page-hero { padding: 16px 0; }
  .page-hero .container { width: min(100% - 18px, var(--max)); }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-copy { padding: 30px 24px; }
  .page-hero-copy h1 { font-size: clamp(2.1rem, 11vw, 3.25rem); }
  .page-hero-photo { min-height: 340px; max-height: 420px; }
  .page-hero-photo img { object-position: 67% 25%; }
  .authority-layout { gap: 24px; }
  .article-nav { margin: 0 -2px; padding: 15px; gap: 5px; }
  .article-nav a { padding: 7px 8px; font-size: .78rem; }
  .content-photo { margin: 30px 0; border-radius: 13px; }
  .sales-callout { grid-template-columns: 1fr; padding: 24px; }
  .hero-cta-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-cta-actions .btn { min-width: 0; padding-inline: 10px; }
  .conversion-card { grid-template-columns: 1fr; gap: 20px; padding: 26px 24px; }
  .conversion-actions { width: 100%; grid-template-columns: 1fr 1fr; }
  .conversion-actions .btn { min-width: 0; min-height: 56px; padding: 10px 8px; }
  .conversion-trust { gap: 6px 12px; }
  .conversion-final .conversion-actions { min-width: 0; grid-template-columns: 1fr 1fr; }
  .authority-prose { padding-inline: 4px; }
  .narrow.authority-prose { width: min(850px, calc(100% - 32px)); margin-inline: auto; }
  .authority-prose > .authority-section > h2 { margin-top: 0; }
  .authority-prose > .authority-section + .authority-section { margin-top: 56px; }
  .authority-prose > .authority-section + .conversion-section,
  .authority-prose > .conversion-section + .authority-section { margin-top: 44px; }
}

@media (max-width: 520px) {
  .page-hero-copy h1 { font-size: clamp(1.75rem, 8vw, 2.3rem); line-height: 1.04; }
  .reference-hero-grid { min-height: 650px; }
  .reference-hero-grid::after { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.99) 43%, rgba(255,255,255,.87) 49%, rgba(255,255,255,.4) 56%, rgba(255,255,255,.06) 63%, rgba(255,255,255,0) 69%); }
  .reference-hero-copy { width: 61%; min-height: 650px; padding: 24px 14px 20px; }
  .reference-hero-copy .kicker { font-size: .58rem; }
  .reference-hero-copy h1 { font-size: clamp(1.92rem, 9.4vw, 2.45rem); }
  .reference-hero-copy .lead { font-size: .78rem; }
  .hero-benefits li { font-size: .72rem; }
  .reference-hero-photo { inset: 0 0 0 39%; min-height: 0; max-height: none; }
  .reference-hero-photo img { min-height: 0; max-height: none; object-position: 59% 18%; }
  .reference-actions .btn strong { font-size: .82rem; }
  .reference-service-grid { grid-template-columns: repeat(2, 1fr); }
  .reference-service-grid > a { min-height: 190px; border-bottom: 1px solid #e8e9ec; }
  .reference-service-grid > a:nth-child(2n) { border-right: 0; }
  .reference-service-grid h2 { font-size: .74rem; }
  .reference-service-grid p, .reference-service-grid strong { font-size: .68rem; }
  .conversion-section { padding: 20px 0; }
  .conversion-card { padding: 24px 19px 22px; border-radius: 16px; }
  .conversion-actions { grid-template-columns: 1fr; }
  .conversion-actions .btn { width: 100%; min-height: 56px; }
  .conversion-final .cta-panel { padding: 27px 20px; }
  .conversion-final .conversion-actions { grid-template-columns: 1fr; }
  .conversion-trust { display: grid; gap: 5px; }
}

@media (max-width: 390px) {
  .header-inner { grid-template-columns: 60px 1fr 108px; }
  .brand strong { font-size: 1.65rem; }
  .brand span { font-size: .46rem; }
  .header-call strong { font-size: .74rem; }
  .reference-hero-copy h1 { font-size: 2.05rem; }
  .reference-actions .btn span { font-size: .55rem; }
  .reference-actions .btn strong { font-size: .8rem; }
}

.btn.btn-primary,
.btn.btn-dark,
.btn.btn-whatsapp { color: #fff; }

.btn.btn-light { color: var(--ink); }
