/* ==========================================================================
   Omega Fire Safety and Engineering Ltd — design system
   Fire Red #ED1C24 · Charcoal #171717 · White · Light Grey #F4F5F6 · Steel #6B7280
   Type: Barlow Condensed (display) + Barlow (text) — self-hosted, OFL licensed
   ========================================================================== */

@font-face { font-family: 'Barlow'; src: url('/fonts/Barlow-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/Barlow-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/Barlow-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/Barlow-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/BarlowCondensed-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/BarlowCondensed-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --red: #ED1C24;
  --red-ink: #C4141B;          /* AA contrast on white for small text */
  --red-deep: #9E1016;
  --ink: #171717;
  --ink-2: #232323;
  --steel: #6B7280;
  --steel-2: #4B5563;
  --mist: #F4F5F6;
  --line: #E3E5E8;
  --white: #fff;
  --display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --text: 'Barlow', 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 2px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --bs-body-font-family: var(--text);
  --bs-body-color: var(--ink-2);
  --bs-link-color-rgb: 196, 20, 27;
  --bs-link-hover-color-rgb: 158, 16, 22;
  --bs-border-radius: 2px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--text); font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, .display { font-family: var(--display); font-weight: 700; color: var(--ink); line-height: 1.02; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 600; line-height: 1.15; }
h4 { font-size: 1.2rem; font-weight: 600; }
p { margin-bottom: 1.1rem; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--steel-2); font-weight: 400; }
.text-steel { color: var(--steel) !important; }
.text-red { color: var(--red-ink) !important; }
.measure { max-width: 68ch; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.container-xl { padding-left: var(--gutter); padding-right: var(--gutter); }

/* Section rhythm */
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.bg-mist { background: var(--mist); }
.bg-ink { background: var(--ink); color: #D6D8DC; }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }

/* Section label: short red rule + sentence-case label */
.label { display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; font-size: .95rem; color: var(--red-ink); margin-bottom: 1rem; }
.label::before { content: ''; width: 28px; height: 3px; background: var(--red); }
.bg-ink .label { color: #FF6B70; }

/* ---------- Buttons ---------- */
.btn { white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: .02em; border-radius: var(--radius); padding: .8rem 1.6rem; display: inline-flex; align-items: center; gap: .55rem; transition: background-color .15s, color .15s, border-color .15s; }
.btn-fire { background: var(--red); border: 2px solid var(--red); color: #fff; }
.btn-fire:hover, .btn-fire:focus { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn-ghost-light { border: 2px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ink { background: var(--ink); border: 2px solid var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-outline-ink { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline-ink:hover { background: var(--ink); color: #fff; }
.btn-whatsapp { background: #1FA855; border: 2px solid #1FA855; color: #fff; }
.btn-whatsapp:hover { background: #178A45; border-color: #178A45; color: #fff; }
.btn .ico { width: 1.15em; height: 1.15em; }
.link-arrow { font-weight: 600; color: var(--red-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow:hover { color: var(--red-deep); text-decoration: underline; }
.link-arrow .ico { width: 1em; height: 1em; transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- Icons ---------- */
.ico { width: 1.5rem; height: 1.5rem; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-fill { fill: currentColor; stroke: none; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #BFC3C9; font-size: .875rem; }
.topbar a { color: #E6E7EA; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .ico { width: 1rem; height: 1rem; color: var(--red); }
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(23,23,23,.08); }
.site-header .navbar { padding: .6rem 0; }
.brand-logo { height: 46px; width: auto; }
.navbar-nav .nav-link { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--ink); padding: .5rem .7rem !important; letter-spacing: .01em; white-space: nowrap; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active, .navbar-nav .show > .nav-link { color: var(--red-ink); }
.navbar-nav .nav-link.active { box-shadow: inset 0 -3px 0 var(--red); }
.dropdown-menu { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(23,23,23,.12); padding: .5rem; }
.dropdown-item { border-radius: var(--radius); padding: .55rem .8rem; font-weight: 500; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--mist); color: var(--red-ink); }
.mega { min-width: 560px; }
.mega .dropdown-item small { display: block; color: var(--steel); font-weight: 400; font-size: .85rem; white-space: normal; }
.navbar-toggler { border: 0; padding: .4rem; }
.navbar-toggler:focus { box-shadow: none; outline: 3px solid var(--red); }
@media (max-width: 1199.98px) {
  .brand-logo { height: 38px; }
  .navbar-collapse { border-top: 1px solid var(--line); margin-top: .6rem; padding: .5rem 0 1rem; max-height: calc(100vh - 80px); overflow-y: auto; }
  .navbar-nav .nav-link.active { box-shadow: inset 3px 0 0 var(--red); }
  .mega { min-width: 0; }
}

/* ---------- Hero (signature element: diagonal red cut) ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0 0 0 38%; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 36%, rgba(23,23,23,.86) 48%, rgba(23,23,23,.25) 72%, rgba(23,23,23,.05) 100%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 6vw, 84px); background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%); z-index: 2; }
.hero-cut { position: absolute; left: 0; right: 0; bottom: -1px; height: calc(clamp(40px, 6vw, 84px) + 9px); background: var(--red); clip-path: polygon(0 calc(100% - 9px), 100% 0, 100% 100%, 0 100%); z-index: 1; }
.hero-inner { padding: clamp(5rem, 11vw, 9.5rem) 0 clamp(7rem, 13vw, 11rem); max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: .92; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero h1 .line { display: block; }
.hero h1 .line-red { color: var(--red); }
.hero .lead { color: #D3D6DB; max-width: 560px; margin-bottom: 2rem; }
.hero-meta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .95rem; color: #AEB3BA; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta .ico { width: 1.05rem; height: 1.05rem; color: var(--red); }
@media (max-width: 991.98px) {
  .hero-media { inset: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(23,23,23,.78) 0%, rgba(23,23,23,.9) 60%, var(--ink) 100%); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-inner > *:nth-child(2) { animation-delay: .08s; }
  .hero-inner > *:nth-child(3) { animation-delay: .16s; }
  .hero-inner > *:nth-child(4) { animation-delay: .24s; }
  .hero-inner > *:nth-child(5) { animation-delay: .32s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Inner page hero */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero .hero-media { inset: 0 0 0 45%; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 42%, rgba(23,23,23,.82) 56%, rgba(23,23,23,.2) 100%); }
.page-hero.no-media::before { background: var(--ink); }
.page-hero .inner { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 5.5rem); max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.4rem); text-transform: uppercase; margin-bottom: 1.1rem; }
.page-hero .lead { color: #D3D6DB; margin-bottom: 0; }
.page-hero .rule { position: absolute; left: var(--gutter); bottom: 0; width: 180px; height: 5px; background: var(--red); }
@media (max-width: 991.98px) { .page-hero .hero-media { inset: 0; } .page-hero::before { background: rgba(23,23,23,.86); } }

/* Breadcrumbs */
.crumbs { font-size: .9rem; color: #AEB3BA; margin-bottom: 1.25rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: '/'; margin-right: .35rem; color: #6B7280; }
.crumbs a { color: #D3D6DB; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Intro & facts ---------- */
.facts { border-top: 3px solid var(--ink); }
.fact { padding: 1.4rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; align-items: baseline; }
.fact dt { font-weight: 600; color: var(--steel); font-size: .92rem; }
.fact dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Expertise strip */
.expertise { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.expertise > div { padding: 2rem; border-right: 1px solid var(--line); }
.expertise > div:last-child { border-right: 0; }
.expertise .big { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--red); margin-bottom: .5rem; }
.expertise h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.expertise p { color: var(--steel-2); margin: 0; font-size: .98rem; }
@media (max-width: 767.98px) { .expertise { grid-template-columns: 1fr; } .expertise > div { border-right: 0; border-bottom: 1px solid var(--line); } .expertise > div:last-child { border-bottom: 0; } }

/* ---------- Service tiles ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc { position: relative; background: #fff; padding: 2rem 1.75rem 1.75rem; display: flex; flex-direction: column; min-height: 100%; transition: background-color .2s; }
.svc::before { content: ''; position: absolute; left: 0; top: 0; width: 0; height: 4px; background: var(--red); transition: width .25s; }
.svc:hover::before, .svc:focus-within::before { width: 100%; }
.svc .ico-box { width: 52px; height: 52px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 1.4rem; }
.svc .ico-box .ico { width: 1.6rem; height: 1.6rem; }
.svc h3 { margin-bottom: .6rem; }
.svc h3 a { color: inherit; text-decoration: none; }
.svc h3 a::after { content: ''; position: absolute; inset: 0; }
.svc p { color: var(--steel-2); font-size: 1rem; flex-grow: 1; }
.svc .link-arrow { position: relative; }

/* Photo cards (services overview) */
.photo-card { position: relative; display: block; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; aspect-ratio: 4 / 3; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .5s, opacity .3s; }
.photo-card:hover img { transform: scale(1.04); opacity: .6; }
.photo-card .cap { position: absolute; inset: auto 0 0 0; padding: 1.5rem; background: linear-gradient(0deg, rgba(23,23,23,.95), rgba(23,23,23,0)); }
.photo-card h3 { color: #fff; margin: 0 0 .25rem; }
.photo-card span { color: #FF8A8E; font-weight: 600; font-size: .95rem; }

/* ---------- Why Omega ---------- */
.why { counter-reset: none; }
.why-item { padding: 1.75rem 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 3rem 1fr; gap: 1.1rem; }
.why-item .ico { color: var(--red); width: 2rem; height: 2rem; margin-top: .15rem; }
.why-item h3 { color: #fff; margin-bottom: .35rem; font-size: 1.35rem; }
.why-item p { margin: 0; color: #AEB3BA; }

/* ---------- Industries ---------- */
.ind-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ind { position: relative; padding: 2rem 1.75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.ind .ico { width: 2.2rem; height: 2.2rem; color: var(--red); margin-bottom: 1.1rem; }
.ind h3 { margin-bottom: .5rem; }
.ind h3 a { color: inherit; text-decoration: none; }
.ind h3 a::after { content: ''; position: absolute; inset: 0; }
.ind p { color: var(--steel-2); margin: 0; font-size: .98rem; }
.ind:hover { background: var(--mist); }
@media (max-width: 991.98px) { .ind-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .ind-list { grid-template-columns: 1fr; } }

/* ---------- Process (genuine sequence → numbered) ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.process li { counter-increment: step; padding: 1.5rem 1.5rem 1.5rem 0; border-top: 3px solid var(--line); position: relative; }
.process li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 700; font-size: 2.2rem; color: var(--red); line-height: 1; margin-bottom: .6rem; }
.process li::after { content: ''; position: absolute; top: -3px; left: 0; width: 42px; height: 3px; background: var(--ink); }
.process h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.process p { font-size: .96rem; color: var(--steel-2); margin: 0; }
@media (max-width: 991.98px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .process { grid-template-columns: 1fr; } }

/* Timeline (approach page) */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; position: relative; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline > li { counter-increment: t; position: relative; padding: 0 0 2.5rem 84px; }
.timeline > li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.35rem; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.timeline > li:nth-child(odd)::before { background: var(--red); }
.timeline h3 { margin: .65rem 0 .5rem; }
.timeline p { color: var(--steel-2); max-width: 70ch; }
.timeline ul { color: var(--steel-2); }

/* ---------- Standards ---------- */
.std { border-top: 4px solid var(--red); background: #fff; padding: 1.75rem; height: 100%; }
.std .code { font-family: var(--display); font-weight: 700; font-size: 2.4rem; color: var(--ink); line-height: 1; }
.std .name { font-weight: 600; color: var(--red-ink); font-size: .95rem; margin: .4rem 0 .8rem; }
.std p { margin: 0; color: var(--steel-2); font-size: .98rem; }
.notice { border-left: 4px solid var(--red); background: var(--mist); padding: 1.25rem 1.5rem; }
.notice p:last-child { margin: 0; }
.bg-mist .notice { background: #fff; }

/* ---------- Content blocks ---------- */
.scope-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.scope-list li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(180px, 30%) 1fr; gap: 1.5rem; }
.scope-list h3 { font-size: 1.3rem; margin: 0; }
.scope-list p { margin: 0; color: var(--steel-2); }
@media (max-width: 767.98px) { .scope-list li { grid-template-columns: 1fr; gap: .4rem; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .45em; width: 1.05rem; height: .55rem; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.chips li { border: 1px solid #D0D4D9; padding: .35rem .85rem; font-size: .92rem; font-weight: 500; background: #fff; }
.benefit { padding: 1.5rem 0; border-top: 3px solid var(--ink); height: 100%; }
.benefit h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.benefit p { color: var(--steel-2); margin: 0; }
.media-frame { position: relative; }
.media-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.media-frame::after { content: ''; position: absolute; left: -14px; bottom: -14px; width: 40%; height: 40%; border-left: 5px solid var(--red); border-bottom: 5px solid var(--red); pointer-events: none; }

/* Extinguisher guide table */
.guide { width: 100%; border-collapse: collapse; }
.guide th { background: var(--ink); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .03em; padding: .8rem 1rem; text-align: left; }
.guide td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide .sw { display: inline-block; width: 14px; height: 14px; margin-right: .6rem; vertical-align: -1px; border: 1px solid rgba(0,0,0,.15); }

/* FAQ accordion */
.faq .accordion-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; }
.faq .accordion-button { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--ink); padding: 1.3rem 0; background: transparent; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--red-ink); }
.faq .accordion-button::after { filter: grayscale(1); }
.faq .accordion-body { padding: 0 0 1.4rem; color: var(--steel-2); max-width: 75ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--red); color: #fff; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -10%; top: 0; bottom: 0; width: 45%; background: var(--red-deep); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); opacity: .55; }
.cta-band .container-xl { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; text-transform: uppercase; }
.cta-band p { color: #FFE3E4; }
.cta-band .btn-ink:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); position: relative; }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--mist); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .thumb img { transform: scale(1.03); }
.post-card .body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-weight: 600; font-size: .88rem; color: var(--red-ink); text-decoration: none; position: relative; z-index: 2; }
.post-card h3 { font-size: 1.4rem; margin: .45rem 0 .6rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card h3 a:hover { color: var(--red-ink); }
.post-card p { color: var(--steel-2); font-size: .98rem; flex: 1; }
.post-meta { font-size: .88rem; color: var(--steel); display: flex; gap: 1rem; flex-wrap: wrap; }
.post-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.post-meta .ico { width: 1rem; height: 1rem; }
.blog-search { display: flex; border: 2px solid var(--ink); }
.blog-search input { border: 0; flex: 1; padding: .75rem 1rem; font-size: 1rem; min-width: 0; }
.blog-search input:focus { outline: none; }
.blog-search button { border: 0; background: var(--ink); color: #fff; padding: 0 1.1rem; }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list a { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 500; }
.cat-list a:hover, .cat-list a.active { color: var(--red-ink); }
.cat-list .n { color: var(--steel); font-size: .9rem; }
.side-block { margin-bottom: 2.5rem; }
.side-block h2 { font-size: 1.5rem; padding-bottom: .6rem; border-bottom: 3px solid var(--ink); margin-bottom: .6rem; }
.pagination .page-link { border-radius: var(--radius) !important; color: var(--ink); font-weight: 600; border-color: var(--line); margin: 0 .15rem; }
.pagination .active > .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Article */
.article-hero img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.prose { font-size: 1.1rem; line-height: 1.75; max-width: 72ch; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 2.4rem 0 1rem; }
.prose h3 { font-size: 1.45rem; margin: 1.8rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--red); }
.prose blockquote { border-left: 4px solid var(--red); background: var(--mist); padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: 1rem; }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; margin: 1.5rem 0; font-size: 1rem; border-collapse: collapse; }
.prose th { background: var(--ink); color: #fff; padding: .6rem .8rem; text-align: left; font-weight: 600; }
.prose td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.prose img { margin: 1.5rem 0; }
.toc { border-left: 3px solid var(--ink); padding-left: 1rem; }
.toc ol { padding-left: 1.1rem; margin: 0; font-size: .95rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--red-ink); text-decoration: underline; }
.share a { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); color: var(--ink); margin-right: .35rem; }
.share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.share .ico { width: 1.15rem; height: 1.15rem; }
.author-box { display: flex; gap: 1rem; align-items: center; padding: 1.25rem; background: var(--mist); }
.author-box img { width: 56px; height: 56px; object-fit: contain; background: #fff; padding: 6px; }

/* ---------- Forms ---------- */
.form-label { font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.form-control, .form-select { border-radius: var(--radius); border: 1.5px solid #C9CDD3; padding: .75rem .9rem; font-size: 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(237,28,36,.18); }
.form-check-input:checked { background-color: var(--red); border-color: var(--red); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(237,28,36,.2); border-color: var(--red); }
.invalid-feedback { font-weight: 500; }
.form-hint { font-size: .9rem; color: var(--steel); }
.form-panel { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); padding: clamp(1.5rem, 4vw, 2.75rem); }
.fieldset-title { font-size: 1.5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); margin: 2.2rem 0 1.25rem; }
.fieldset-title:first-of-type { margin-top: 0; }
.svc-check { display: block; position: relative; border: 1.5px solid #C9CDD3; padding: .9rem 1rem .9rem 2.9rem; cursor: pointer; height: 100%; transition: border-color .15s, background-color .15s; }
.svc-check input { position: absolute; left: 1rem; top: 1.05rem; }
.svc-check strong { display: block; color: var(--ink); }
.svc-check small { color: var(--steel); }
.svc-check:has(input:checked) { border-color: var(--red); background: #FFF5F5; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius); }

/* Contact */
.contact-line { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.contact-line .ico { color: var(--red); width: 1.6rem; height: 1.6rem; margin-top: .2rem; }
.contact-line h3 { font-size: 1.15rem; margin: 0 0 .2rem; }
.contact-line a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-line a:hover { color: var(--red-ink); }
.map-frame { aspect-ratio: 16/10; width: 100%; border: 0; filter: grayscale(.35); display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); border-top: 5px solid var(--red); color: var(--steel-2); }
.site-footer .logo { height: 54px; width: auto; }
.site-footer h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--red-ink); text-decoration: underline; }
.footer-contact li { display: flex; gap: .6rem; }
.footer-contact .ico { width: 1.1rem; height: 1.1rem; color: var(--red); margin-top: .3rem; }
.footer-bottom { background: var(--ink); color: #9CA1A9; font-size: .9rem; }
.footer-bottom a { color: #D3D6DB; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 1040; width: 58px; height: 58px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.wa-float:hover { background: #178A45; color: #fff; }
.wa-float .ico { width: 30px; height: 30px; }

/* Cookie notice */
.consent { position: fixed; left: 18px; bottom: 18px; z-index: 1050; max-width: 420px; background: var(--ink); color: #D3D6DB; padding: 1.25rem; font-size: .92rem; box-shadow: 0 16px 40px rgba(0,0,0,.3); border-top: 3px solid var(--red); }
.consent a { color: #fff; }
.consent .btn { font-size: 1rem; padding: .5rem 1rem; }
@media (max-width: 575.98px) { .consent { left: 10px; right: 10px; bottom: 86px; max-width: none; } }

/* Thank-you & error */
.state { text-align: left; max-width: 720px; }
.state .code { font-family: var(--display); font-weight: 700; font-size: clamp(5rem, 14vw, 9rem); line-height: .85; color: var(--red); }

@media print {
  .site-header, .topbar, .site-footer, .wa-float, .consent, .cta-band { display: none !important; }
}

@media (min-width:1200px) and (max-width:1399.98px){ .navbar-nav .nav-link{ padding:.5rem .45rem !important; font-size:1.04rem } .brand-logo{ height:40px } .navbar-brand{ margin-right:1rem !important } }

/* Social links */
.social { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid #D0D4D9; color: var(--ink); background: #fff; transition: background-color .15s, color .15s, border-color .15s; }
.social a:hover, .social a:focus-visible { background: var(--red); border-color: var(--red); color: #fff; }
.social .ico { width: 1.2rem; height: 1.2rem; }
.social-top { margin: 0; gap: .25rem; }
.social-top a { width: auto; height: auto; border: 0; background: transparent; color: #E6E7EA; padding: 0 .15rem; }
.social-top a:hover { background: transparent; color: #fff; }
.social-top .ico { width: 1rem; height: 1rem; color: var(--red); }
.social-labels { margin: .2rem 0 0; }
.social-labels a { width: auto; height: auto; padding: .35rem .75rem; gap: .45rem; display: inline-flex; align-items: center; font-weight: 600; }

/* Company profile download */
.profile-dl { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; background: var(--mist); border-left: 5px solid var(--red); padding: 1.25rem 1.5rem; }
.profile-dl .pd-icon { position: relative; width: 52px; height: 64px; background: #fff; border: 1.5px solid var(--ink); display: grid; place-items: center; }
.profile-dl .pd-icon .ico { width: 1.6rem; height: 1.6rem; margin-top: -10px; }
.profile-dl .pd-icon span { position: absolute; left: -6px; bottom: 7px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .06em; padding: 1px 6px; }
.profile-dl .pd-text strong { display: block; font-family: var(--display); font-size: 1.45rem; color: var(--ink); line-height: 1.1; }
.profile-dl .pd-text span { color: var(--steel-2); font-size: .95rem; }
.profile-dl .pd-actions { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.profile-dl.is-dark { background: var(--ink-2); }
.profile-dl.is-dark .pd-text strong { color: #fff; }
@media (max-width: 767.98px) { .profile-dl { grid-template-columns: auto 1fr; } .profile-dl .pd-actions { grid-column: 1 / -1; justify-content: flex-start; } }
.col-lg-5 .profile-dl { grid-template-columns: auto 1fr; } .col-lg-5 .profile-dl .pd-actions { grid-column: 1 / -1; justify-content: flex-start; }
