/* ============================================================
   4Secure — site styles (layers on colors_and_type.css)
   Marketing site · pt-BR · HubSpot-ready static HTML
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-sans);
  color: var(--fg1);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 28px; }

/* ---------- eyebrow / overline ---------- */
.eyebrow {
  font: var(--overline); letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--primary);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow.on-dark { color: #ff5a5f; }
.eyebrow svg { width: 14px; height: 14px; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  border-radius: var(--r-sm); border: 1.5px solid transparent;
  padding: 13px 22px; cursor: pointer; display: inline-flex; align-items: center;
  gap: 9px; transition: all .16s ease; white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--red-600); transform: translateY(-1px); }
.btn-primary:active { background: var(--red-700); transform: scale(.985); }
.btn-hero { background: var(--primary); color: #fff; box-shadow: var(--shadow-red); }
.btn-hero:hover { background: var(--red-600); transform: translateY(-1px); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-800); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink-900); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--ink-900); }
.btn-outline.on-dark { color: #fff; border-color: rgba(255,255,255,.3); }
.btn-outline.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost { background: transparent; color: var(--primary); padding: 13px 4px; }
.btn-ghost:hover { gap: 12px; }
.btn:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- tags / badges ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--r-pill); padding: 6px 13px; font-size: 12.5px; font-weight: 600;
}
.tag svg { width: 14px; height: 14px; }
.tag-red { background: var(--red-50); color: var(--red-700); }
.tag-solid { background: var(--primary); color: #fff; }
.tag-ink { background: var(--ink-100); color: var(--ink-700); }
.tag-ok { background: #e6f3ec; color: #1f8a4d; }

/* ---------- section rhythm ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--ink-900); color: #fff; position: relative; overflow: hidden; }
.section-dark .eyebrow { color: #ff5a5f; }
.section-subtle { background: var(--bg-subtle); }

.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 {
  font: var(--h2); letter-spacing: var(--tracking-tight); margin: 14px 0 0;
  text-wrap: balance;
}
.section-dark .section-head h2 { color: #fff; }
.section-head p { font: var(--body-lg); color: var(--fg2); margin-top: 16px; text-wrap: pretty; }
.section-dark .section-head p { color: var(--fg-on-dark-2); }

/* diagonal hairline texture for dark sections */
.tex-lines {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 1px, transparent 1px 46px);
}
.tex-watermark {
  position: absolute; pointer-events: none; opacity: .05;
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- card ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.dark-hairline { border-color: rgba(255,255,255,.10); background: var(--ink-800); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,253,253,1);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled {
  background: rgba(253,253,253,.85);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
/* top utility bar */
.topbar {
  background: var(--ink-900); color: var(--fg-on-dark-2);
  font-size: 13px; font-weight: 500;
}
.topbar .wrap-wide { display: flex; align-items: center; gap: 22px; height: 38px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: var(--fg-on-dark-2); transition: color .15s ease; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; color: #ff5a5f; }
.topbar .spacer { margin-left: auto; }
.topbar-phones { display: flex; gap: 20px; }
.nav-row { display: flex; align-items: center; gap: 18px; height: 72px; }
.nav-logo img { height: 30px; }
.nav-main { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500; color: var(--fg2);
  padding: 10px 14px; border-radius: var(--r-sm); cursor: pointer;
  background: none; border: none; transition: color .15s ease, background .15s ease;
}
.nav-link:hover, .nav-item.open .nav-link { color: var(--fg1); background: var(--ink-50); }
.nav-link .chev { width: 15px; height: 15px; transition: transform .2s ease; color: var(--fg3); }
.nav-item.open .nav-link .chev { transform: rotate(180deg); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-client {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 600; color: var(--fg1);
}
.nav-client:hover { color: var(--primary); }
.nav-client svg { width: 16px; height: 16px; }

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown::before {
  content: ""; position: absolute; top: -3px; left: 22px; width: 12px; height: 12px;
  background: #fff; border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.dropdown-grid { display: grid; gap: 2px; }
.dd-2col { grid-template-columns: 1fr 1fr; width: 560px; }
.dd-1col { width: 290px; }
.dd-link {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 11px 12px; border-radius: var(--r-sm); transition: background .14s ease;
}
.dd-link:hover { background: var(--ink-50); }
.dd-ico {
  width: 34px; height: 34px; flex: none; border-radius: 8px;
  background: var(--red-50); display: flex; align-items: center; justify-content: center;
}
.dd-ico svg { width: 18px; height: 18px; color: var(--primary); }
.dd-txt b { display: block; font-size: 14.5px; font-weight: 600; color: var(--fg1); line-height: 1.3; }
.dd-txt span { display: block; font-size: 12.5px; color: var(--fg3); margin-top: 2px; }

/* mobile nav */
.nav-burger { margin-left: auto; background: none; border: none; cursor: pointer; display: none; color: var(--fg1); }
.mobile-panel { display: none; border-top: 1px solid var(--border); background: #fff; max-height: 76vh; overflow-y: auto; }
.mobile-panel.open { display: block; }
.m-group { border-bottom: 1px solid var(--ink-100); }
.m-grouphead {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; font-size: 16px; font-weight: 700; color: var(--fg1);
}
.m-grouphead svg { width: 18px; height: 18px; transition: transform .2s; }
.m-group.open .m-grouphead svg { transform: rotate(180deg); }
.m-sub { display: none; padding: 0 0 12px 6px; flex-direction: column; gap: 2px; }
.m-group.open .m-sub { display: flex; }
.m-sub a { padding: 9px 8px; font-size: 14.5px; color: var(--fg2); border-radius: var(--r-sm); }
.m-sub a:hover { background: var(--ink-50); }
.m-cta { display: flex; flex-direction: column; gap: 10px; padding: 18px 0 6px; }

@media (max-width: 980px) {
  .nav-main, .nav-actions { display: none !important; }
  .nav-burger { display: block; }
  .topbar-phones { display: none; }
}

/* ============================================================
   HERO — option A: dark static with status card
   ============================================================ */
.hero-dark { position: relative; background: var(--ink-900); color: #fff; overflow: hidden; }
.hero-dark .wrap {
  position: relative; padding: 92px 28px 100px;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
}
.hero-eyebrow { color: #ff5a5f; }
.hero-dark h1 {
  font: var(--display); font-size: 58px; letter-spacing: var(--tracking-tight);
  margin: 18px 0 0; text-wrap: balance;
}
.hero-dark h1 .accent { color: var(--primary); }
.hero-lede { font: var(--body-lg); color: var(--fg-on-dark-2); max-width: 520px; margin-top: 22px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 38px; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--fg-on-dark-2); }
.hero-trust svg { width: 17px; height: 17px; color: #ff5a5f; }

.status-card { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.10); background: var(--ink-800); }
.status-head { display: flex; align-items: center; gap: 11px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.10); }
.status-head img { height: 24px; }
.status-head b { font-weight: 700; font-size: 15px; color: #fff; }
.status-rows { padding: 8px 0; }
.status-row { display: flex; align-items: center; gap: 13px; padding: 13px 20px; }
.status-row .ic { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; flex: none; }
.status-row .ic svg { width: 17px; height: 17px; color: #ff5a5f; }
.status-row .ic.warn svg { color: #ff9d4a; }
.status-row .lbl { font-size: 14.5px; color: rgba(255,255,255,.82); font-weight: 500; }
.status-row .val { margin-left: auto; font-size: 13.5px; font-weight: 600; color: #7fe0a6; font-family: var(--font-mono); }
.status-row .val.warn { color: #ffb06a; }

/* ============================================================
   HERO — option B: carousel of banners
   ============================================================ */
.hero-carousel { position: relative; background: var(--ink-900); overflow: hidden; }
.carousel-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.carousel-slide { min-width: 100%; position: relative; }
.carousel-slide .slide-inner {
  position: relative; max-width: 1180px; margin: 0 auto; padding: 110px 28px 116px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; min-height: 480px;
}
.carousel-slide .slide-copy { position: relative; z-index: 2; color: #fff; }
.carousel-slide h2 {
  font: var(--h1); font-size: 46px; letter-spacing: var(--tracking-tight);
  margin: 16px 0 0; text-wrap: balance; max-width: 660px;
}
.carousel-slide .slide-sub { font: var(--body-lg); color: var(--fg-on-dark-2); margin-top: 18px; max-width: 540px; }
.carousel-slide .slide-cta { margin-top: 30px; }
/* decorative shield panel on right */
.slide-glyph { position: relative; display: flex; align-items: center; justify-content: center; }
.slide-glyph .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); }
.slide-glyph img { height: 220px; opacity: .9; position: relative; z-index: 1; filter: drop-shadow(0 12px 40px rgba(188,29,34,.4)); }
.carousel-controls { position: absolute; inset: 0; pointer-events: none; }
.car-btn {
  pointer-events: auto; position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
  background: rgba(30,30,28,.55); color: #fff; cursor: pointer; backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; transition: all .15s ease;
}
.car-btn:hover { background: var(--primary); border-color: var(--primary); }
.car-btn svg { width: 22px; height: 22px; }
.car-prev { left: 20px; }
.car-next { right: 20px; }
.car-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 5; }
.car-dot { width: 32px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.25); border: none; cursor: pointer; padding: 0; transition: background .2s ease; }
.car-dot.active { background: var(--primary); }

/* hero toggle (lets user compare the two hero styles) */
.hero-area { position: relative; }
.hero-switch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 40; display: flex; justify-content: center; pointer-events: none;
}
.hero-switch .inner {
  pointer-events: auto;
  background: rgba(30,30,28,.78); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-pill);
  padding: 5px; display: flex; gap: 4px; box-shadow: var(--shadow-lg);
  align-items: center;
}
.hero-switch .sw-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); padding: 0 8px 0 12px; }
.hero-switch button {
  border: none; background: none; color: rgba(255,255,255,.7); cursor: pointer;
  font-size: 12.5px; font-weight: 600; padding: 8px 16px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 7px; transition: all .15s ease;
}
.hero-switch button svg { width: 14px; height: 14px; }
.hero-switch button.active { background: var(--primary); color: #fff; }
.hero-variant { display: none; }
.hero-variant.active { display: block; }

/* ============================================================
   SOLUTIONS GRID (home centerpiece) + card variants
   ============================================================ */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }

/* variant: top-rule (default) */
.solcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.solcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.solcard .rule { height: 3px; background: var(--primary); }
.solcard .body { padding: 26px 24px; display: flex; flex-direction: column; flex: 1; }
.solcard .ico { width: 46px; height: 46px; border-radius: 10px; background: var(--red-50); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.solcard .ico svg { width: 23px; height: 23px; color: var(--primary); }
.solcard h3 { font: var(--h4); font-size: 18px; margin-bottom: 8px; letter-spacing: var(--tracking-snug); }
.solcard p { font: var(--body-sm); color: var(--fg2); flex: 1; }
.solcard .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--primary); }
.solcard .more svg { width: 15px; height: 15px; transition: transform .15s ease; }
.solcard:hover .more svg { transform: translateX(3px); }

/* variant: dark tiles */
.sol-grid.v-dark .solcard { background: var(--ink-900); border-color: rgba(255,255,255,.1); }
.sol-grid.v-dark .solcard .rule { display: none; }
.sol-grid.v-dark .solcard .ico { background: rgba(255,255,255,.07); }
.sol-grid.v-dark .solcard .ico svg { color: #ff5a5f; }
.sol-grid.v-dark .solcard h3 { color: #fff; }
.sol-grid.v-dark .solcard p { color: var(--fg-on-dark-2); }

/* variant: left-accent minimal */
.sol-grid.v-line .solcard { box-shadow: none; }
.sol-grid.v-line .solcard .rule { display: none; }
.sol-grid.v-line .solcard .body { border-left: 3px solid var(--primary); }
.sol-grid.v-line .solcard:hover { box-shadow: var(--shadow-sm); }

/* variant: icon-inline (icon beside title, compact) */
.sol-grid.v-inline .solcard .rule { display: none; }
.sol-grid.v-inline .solcard .body { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; align-items: start; }
.sol-grid.v-inline .solcard .ico { margin-bottom: 0; grid-row: span 1; }
.sol-grid.v-inline .solcard h3 { align-self: center; }
.sol-grid.v-inline .solcard p { grid-column: 2; }
.sol-grid.v-inline .solcard .more { grid-column: 2; }

/* card variant switcher */
.card-switch { display: inline-flex; gap: 4px; padding: 5px; background: var(--ink-100); border-radius: var(--r-pill); margin-top: 22px; flex-wrap: wrap; }
.card-switch button {
  border: none; background: none; cursor: pointer; font-size: 12.5px; font-weight: 600;
  color: var(--fg2); padding: 7px 14px; border-radius: var(--r-pill); transition: all .15s ease;
}
.card-switch button.active { background: #fff; color: var(--fg1); box-shadow: var(--shadow-sm); }

/* ============================================================
   FEATURE / ABOUT split
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink-900); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.media-frame.light { background: var(--bg-subtle); border-color: var(--border); }
.media-frame .glyph { height: 46%; opacity: .9; position: relative; z-index: 1; }
.media-frame .ph-label {
  position: absolute; bottom: 14px; left: 14px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45);
  display: inline-flex; align-items: center; gap: 6px; z-index: 2;
}
.media-frame.light .ph-label { color: var(--fg3); }
.media-frame .ph-label svg { width: 13px; height: 13px; }

.check-list { display: grid; gap: 14px; margin-top: 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font: var(--body); color: var(--fg2); }
.check-list .ck { width: 24px; height: 24px; flex: none; border-radius: 6px; background: var(--red-50); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.check-list .ck svg { width: 15px; height: 15px; color: var(--primary); }
.check-list b { color: var(--fg1); font-weight: 600; }

/* ============================================================
   TRUST / STATS strip
   ============================================================ */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { border-left: 3px solid var(--primary); padding-left: 16px; }
.stat .n { font: var(--h2); font-size: 34px; letter-spacing: var(--tracking-tight); }
.section-dark .stat .n { color: #fff; }
.stat .l { font: var(--body-sm); color: var(--fg2); margin-top: 6px; }
.section-dark .stat .l { color: var(--fg-on-dark-2); }

/* logos / vendors strip */
.vendor-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.vendor-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px;
  border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff;
  font-weight: 600; font-size: 14px; color: var(--fg2);
}
.vendor-chip svg { width: 18px; height: 18px; color: var(--fg3); }

/* ============================================================
   STEPS (how it works)
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.stepcard { border-radius: var(--r-md); padding: 26px; height: 100%; border: 1px solid rgba(255,255,255,.10); background: var(--ink-800); }
.stepcard .top { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.stepcard .num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--primary); }
.stepcard .line { flex: 1; height: 1px; background: rgba(255,255,255,.12); }
.stepcard .top svg { width: 22px; height: 22px; color: #ff5a5f; }
.stepcard h3 { font: var(--h4); color: #fff; margin-bottom: 8px; }
.stepcard p { font: var(--body-sm); color: var(--fg-on-dark-2); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; background: var(--primary); color: #fff; overflow: hidden; }
.cta-band .wrap { position: relative; padding: 72px 28px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font: var(--h2); color: #fff; text-wrap: balance; max-width: 640px; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 12px; font: var(--body-lg); max-width: 560px; }
.cta-band .btn-light { background: #fff; color: var(--primary); }
.cta-band .btn-light:hover { background: var(--ink-50); transform: translateY(-1px); }
.cta-band .wm { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); height: 320px; opacity: .12; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 14px; margin-top: 22px; }
.contact-info .ci-ico { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--red-50); display: flex; align-items: center; justify-content: center; }
.contact-info .ci-ico svg { width: 20px; height: 20px; color: var(--primary); }
.contact-info .ci-item b { display: block; font-size: 15px; font-weight: 700; color: var(--fg1); }
.contact-info .ci-item span { display: block; font-size: 14px; color: var(--fg2); margin-top: 3px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-top: 16px; }
.field:first-child { margin-top: 0; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--fg1); margin-bottom: 7px; }
.field label .req { color: var(--primary); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-sans); font-size: 15px; color: var(--fg1);
  border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 12px 14px;
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring-focus); }
.field.err input, .field.err textarea { border-color: var(--primary); }
.field .msg { font-size: 12.5px; color: var(--primary); margin-top: 6px; display: none; }
.field.err .msg { display: block; }
.form-foot { display: flex; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: var(--fg3); }
.form-success {
  display: none; align-items: center; gap: 12px; padding: 16px 18px; margin-top: 18px;
  background: #e6f3ec; border: 1px solid #b6e0c6; border-radius: var(--r-md); color: #1f6f43; font-weight: 600; font-size: 14.5px;
}
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; flex: none; }

/* ============================================================
   NEWS
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.newscard { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease; display: flex; flex-direction: column; }
.newscard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.newscard .thumb { aspect-ratio: 16/9; background: var(--ink-900); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.newscard .thumb img.glyph { height: 56px; opacity: .85; }
.newscard .thumb .tex-lines { opacity: .6; }
.newscard .nc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.newscard .nc-cat { font: var(--overline); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--primary); }
.newscard h3 { font: var(--h4); font-size: 17px; margin: 10px 0 0; letter-spacing: var(--tracking-snug); text-wrap: pretty; flex: 1; }
.newscard .nc-foot { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--primary); }
.newscard .nc-foot svg { width: 15px; height: 15px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink-900); color: var(--fg-on-dark-2); position: relative; overflow: hidden; }
.footer-top { padding: 72px 28px 56px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; position: relative; }
.footer-brand img.logo { height: 30px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: var(--fg-on-dark-2); max-width: 280px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; transition: all .15s ease; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--fg-on-dark-2); transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-offices { padding: 0 28px; }
.footer-offices .row { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; padding: 32px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-offices .office b { display: block; color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 6px; display: inline-flex; align-items: center; gap: 7px; }
.footer-offices .office b svg { width: 15px; height: 15px; color: #ff5a5f; }
.footer-offices .office p { font-size: 13.5px; color: var(--fg-on-dark-2); line-height: 1.55; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .row { max-width: 1180px; margin: 0 auto; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a { color: var(--fg-on-dark-2); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   BREADCRUMB + solution page hero
   ============================================================ */
.subhero { position: relative; background: var(--ink-900); color: #fff; overflow: hidden; }
.subhero .wrap { position: relative; padding: 64px 28px 72px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-on-dark-2); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: .5; }
.subhero .sh-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.subhero h1 { font: var(--h1); letter-spacing: var(--tracking-tight); margin: 16px 0 0; text-wrap: balance; }
.subhero .sh-lede { font: var(--body-lg); color: var(--fg-on-dark-2); margin-top: 18px; max-width: 560px; }
.subhero .sh-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.subhero .sh-glyph { display: flex; align-items: center; justify-content: center; }
.subhero .sh-glyph img { height: 180px; opacity: .92; filter: drop-shadow(0 14px 40px rgba(188,29,34,.4)); }

/* feature rows on sub pages */
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.benefit {
  display: flex; gap: 16px; padding: 26px; border: 1px solid var(--border);
  border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-sm);
}
.benefit .b-ico { width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--red-50); display: flex; align-items: center; justify-content: center; }
.benefit .b-ico svg { width: 23px; height: 23px; color: var(--primary); }
.benefit h3 { font: var(--h4); margin-bottom: 7px; }
.benefit p { font: var(--body-sm); color: var(--fg2); }

.spec-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px 40px; margin-top: 24px; }
.spec-list li { display: flex; gap: 12px; align-items: flex-start; font: var(--body); color: var(--fg2); }
.spec-list .ck { width: 22px; height: 22px; flex: none; border-radius: 6px; background: var(--red-50); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.spec-list .ck svg { width: 14px; height: 14px; color: var(--primary); }

/* ============================================================
   PHOTOGRAPHY (real images fill brand frames)
   ============================================================ */
.media-frame.has-photo .glyph, .media-frame.has-photo .ph-label, .media-frame.has-photo .tex-lines { display: none; }
.media-frame img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.media-frame.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(30,30,28,0) 55%, rgba(30,30,28,.42) 100%);
}
.media-frame .photo-rule { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--primary); z-index: 2; }
.media-frame .photo-tag {
  position: absolute; bottom: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px;
  background: rgba(30,30,28,.72); backdrop-filter: blur(6px); border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; color: #fff;
}
.media-frame .photo-tag svg { width: 14px; height: 14px; color: #ff5a5f; }

/* news card real thumbnails */
.newscard .thumb img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.newscard .thumb.has-photo .glyph, .newscard .thumb.has-photo .tex-lines { display: none; }
.newscard .thumb.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,30,28,.1), rgba(30,30,28,.55)); z-index: 1; }

/* dark hero faint photo backdrop */
.hero-dark .hero-photo-bg, .subhero .subhero-photo-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .16; z-index: 0; filter: grayscale(.2);
}
.hero-dark .wrap, .subhero .wrap { z-index: 2; }

/* ============================================================
   MEGA / PILLAR DROPDOWNS (reorganized IA)
   ============================================================ */
.dropdown.mega { width: 640px; }
.dropdown.mega .dd-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.dropdown.solo { width: 330px; }
.dd-pillar { display: flex; flex-direction: column; }
.dd-pillar-h {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg3); padding: 12px 12px 6px;
}
.dropdown.align-right { left: auto; right: 0; }
.dropdown.align-right::before { left: auto; right: 24px; }

/* mobile pillar labels */
.m-sub .m-pillar { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg3); padding: 12px 8px 4px; }
.m-sub .m-pillar:first-child { padding-top: 4px; }

/* related solutions chips (on parent pillar pages) */
.related-sols { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.related-sols .rs-label { width: 100%; font: var(--overline); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg3); margin-bottom: 2px; }
.related-sols a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px;
  border: 1px solid var(--border); border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600;
  color: var(--fg1); background: #fff; transition: all .15s ease;
}
.related-sols a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.related-sols a svg { width: 15px; height: 15px; color: var(--primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .hero-dark .wrap { grid-template-columns: 1fr; padding-top: 64px; gap: 40px; }
  .hero-dark h1 { font-size: 42px; }
  .carousel-slide .slide-inner { grid-template-columns: 1fr; min-height: 0; padding: 84px 28px 96px; }
  .carousel-slide h2 { font-size: 36px; }
  .slide-glyph { display: none; }
  .sol-grid, .steps-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 24px 28px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .subhero .sh-grid { grid-template-columns: 1fr; }
  .subhero .sh-glyph { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-offices .row { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 620px) {
  .section { padding: 56px 0; }
  .hero-dark h1 { font-size: 34px; }
  .carousel-slide h2 { font-size: 28px; }
  .sol-grid, .steps-grid, .news-grid, .stat-grid, .form-row, .spec-list { grid-template-columns: 1fr; }
  .cta-band .wrap { padding: 48px 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .wrap, .wrap-wide { padding: 0 20px; }
}
