/* =========================================================
   P&S Soluções Elétricas — folha de estilos institucional
   Paleta: azul marinho, verde limão, branco, preto
   ========================================================= */

:root {
  --navy-950: #050f24;
  --navy-900: #0a1b3d;
  --navy-800: #0f2a5c;
  --navy-700: #163c7a;
  --lime-500: #b6e93b;
  --lime-400: #c8f75d;
  --lime-600: #9bcf24;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --black: #0a0a0a;
  --ink: #10182b;
  --gray-100: #eef1f6;
  --gray-200: #dfe4ec;
  --gray-400: #9aa4b8;
  --gray-600: #5b6478;

  --font-head: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Work Sans", "Segoe UI", Arial, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(10, 27, 61, 0.08);
  --shadow-md: 0 12px 32px rgba(10, 27, 61, 0.14);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; color: var(--gray-600); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--lime-500);
  color: var(--navy-900);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 1000;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--lime-500); color: var(--navy-950); }
.btn-primary:hover { background: var(--lime-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { border-color: var(--lime-500); color: var(--lime-500); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; border-color: var(--navy-800); color: var(--navy-900); }
.btn-outline-dark:hover { background: var(--navy-900); color: var(--white); transform: translateY(-2px); }
.btn-whatsapp { background: var(--navy-900); color: var(--white); }
.btn-whatsapp:hover { background: var(--lime-500); color: var(--navy-950); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--navy-900);
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 18px rgba(0,0,0,0.18);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand img { height: 46px; width: 46px; border-radius: 50%; }
.brand-text {
  font-family: var(--font-head);
  color: var(--white);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.15;
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  color: var(--gray-400);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--gray-200);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  background: rgba(255,255,255,0.08);
  color: var(--lime-500);
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch { position: relative; }
.lang-switch-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.lang-switch-btn svg { width: 14px; height: 14px; }
.lang-menu {
  position: absolute;
  right: 0; top: calc(100% + 8px);
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 150px;
  padding: 6px;
  display: none;
  flex-direction: column;
}
.lang-menu.open { display: flex; }
.lang-menu a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}
.lang-menu a:hover { background: var(--gray-100); color: var(--navy-900); }
.lang-menu a[aria-current="true"] { color: var(--navy-700); font-weight: 700; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  width: 40px; height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1100px 480px at 85% -10%, rgba(182,233,59,0.14), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 76px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("../img/circuit-pattern.svg");
  background-size: 900px;
  background-repeat: repeat;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-photo {
  background-image: linear-gradient(100deg, rgba(5,15,36,0.95) 0%, rgba(5,15,36,0.86) 34%, rgba(5,15,36,0.45) 68%, rgba(5,15,36,0.22) 100%), url("../img/photos/hero-team.jpg");
  background-size: cover;
  background-position: center 38%;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-photo::before { display: none; }
.hero-inner { max-width: 760px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--lime-500);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-logo { width: 128px; height: 128px; display: block; margin-bottom: 22px; border-radius: 50%; }
.hero h1 { color: var(--white); }
.hero p.lead {
  color: var(--gray-200);
  font-size: 1.1rem;
  max-width: 640px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-page { padding: 56px 0 64px; }
.hero-page h1 { color: var(--white); margin-bottom: 14px; }
.hero-page p.lead { max-width: 700px; }

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 0;
}
.stat-item { text-align: left; border-left: 3px solid var(--lime-500); padding-left: 16px; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--lime-500); }
.stat-label { color: var(--gray-200); font-size: 0.86rem; margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy-950); color: var(--white); }
.section-dark p { color: var(--gray-200); }
.section-dark h2 { color: var(--white); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 44px; text-align: left; }
.kicker {
  display: inline-block;
  color: var(--navy-700);
  background: rgba(182,233,59,0.18);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-dark .kicker { background: rgba(182,233,59,0.14); color: var(--lime-500); }
.section-foot { text-align: center; margin-top: 44px; }

/* ---------- Cards / grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--navy-900);
  color: var(--lime-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { margin-bottom: 14px; font-size: 0.95rem; }
.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-list li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.9rem; color: var(--gray-600);
}
.service-list svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--navy-700); }

.sector-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sector-card .service-icon { margin-bottom: 6px; }
.sector-card h3 { font-size: 1.08rem; margin-bottom: 2px; }
.sector-card p { font-size: 0.89rem; margin-bottom: 0; }

/* ---------- Badges (clients / partners) ---------- */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.badge {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 22px 14px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); background: var(--off-white); }
.section-dark .badge { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); color: var(--white); }
.section-dark .badge:hover { background: rgba(255,255,255,0.09); }
.badge span.sub { display: block; font-weight: 400; font-size: 0.72rem; color: var(--gray-400); margin-top: 4px; }
.badge-logo { padding: 18px 20px; }
.badge-logo img { max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) opacity(0.75); transition: filter .15s ease; }
.badge-logo:hover img { filter: grayscale(0) opacity(1); }
.section-dark .badge-logo { background: var(--white); border-color: var(--white); }
.section-dark .badge-logo:hover { background: var(--off-white); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.about-copy p { font-size: 1.02rem; color: var(--gray-600); }
.coverage-card {
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}
.coverage-card h3 { color: var(--white); }
.coverage-list { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.coverage-item { display: flex; gap: 14px; align-items: flex-start; }
.coverage-item svg { width: 22px; height: 22px; color: var(--lime-500); flex: none; margin-top: 2px; }
.coverage-item strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 0.98rem; }
.coverage-item span { color: var(--gray-400); font-size: 0.85rem; }

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.photo-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 3 / 4;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.photo-gallery figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.photo-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

.team-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.team-chip {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.92rem;
  border: 1px solid var(--gray-200);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-top: 24px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item .ico {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--navy-900); color: var(--lime-500);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.contact-info-item .ico svg { width: 20px; height: 20px; }
.contact-info-item strong { display: block; font-family: var(--font-head); color: var(--navy-900); font-size: 0.95rem; margin-bottom: 2px; }
.contact-info-item a, .contact-info-item span.txt { color: var(--gray-600); font-size: 0.92rem; }
.contact-info-item a:hover { color: var(--navy-700); text-decoration: underline; }

.social-row { display: flex; gap: 10px; margin-top: 26px; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-900); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover { background: var(--lime-500); color: var(--navy-950); transform: translateY(-3px); }

.whatsapp-callout {
  margin-top: 30px;
  background: var(--off-white);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
}
.whatsapp-callout p { margin-bottom: 12px; font-size: 0.92rem; }

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--navy-900);
  margin-bottom: 7px;
}
.form-field .req { color: var(--navy-700); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(15,42,92,0.12);
}
.form-msg {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 18px;
  display: none;
}
.form-msg.show { display: block; }
.form-msg.success { background: rgba(182,233,59,0.22); color: #33530b; border: 1px solid var(--lime-600); }
.form-msg.error { background: rgba(220,53,69,0.1); color: #8a1c27; border: 1px solid rgba(220,53,69,0.35); }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius);
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 200px at 90% 0%, rgba(182,233,59,0.18), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: var(--gray-200); margin-bottom: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--gray-400); padding: 62px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 42px; width: 42px; border-radius: 50%; }
.footer-brand span { font-family: var(--font-head); color: var(--white); font-weight: 700; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--gray-400); transition: color .15s ease; }
.footer-col a:hover { color: var(--lime-500); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
}
.footer-bottom .social-row { margin-top: 0; }
.footer-bottom .social-btn { width: 38px; height: 38px; background: rgba(255,255,255,0.06); }
.footer-bottom .social-btn svg { width: 17px; height: 17px; }
.footer-legal { color: var(--gray-400); font-size: 0.78rem; }

/* ---------- Mobile nav ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy-950);
  z-index: 600;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 40px;
  transform: translateX(100%);
  transition: transform .28s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mobile-menu-close { background: none; border: none; color: var(--white); width: 40px; height: 40px; }
.mobile-menu-close svg { width: 26px; height: 26px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 14px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu nav a[aria-current="page"] { color: var(--lime-500); }
.mobile-menu-actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.mobile-lang-list { display: flex; gap: 8px; margin-top: 22px; }
.mobile-lang-list a {
  flex: 1; text-align: center;
  padding: 10px; border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--gray-200);
  font-weight: 600; font-size: 0.85rem;
}
.mobile-lang-list a[aria-current="true"] { background: var(--lime-500); color: var(--navy-950); }

body.menu-open { overflow: hidden; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 980px) {
  .main-nav, .header-actions .lang-switch, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { gap: 8px; }

  .card-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .section { padding: 54px 0; }
  .hero { padding: 46px 0 60px; }
  .hero-photo { min-height: 460px; background-position: 72% 38%; }
  .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,15,36,0.92), rgba(5,15,36,0.78) 55%, rgba(5,15,36,0.55)); pointer-events: none; }
  .hero-actions .btn, .cta-band-actions .btn { width: 100%; }
  .hero-actions, .cta-band-actions { flex-direction: column; }
  .sector-grid, .badge-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 24px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 22px; }
  .team-strip { grid-template-columns: 1fr 1fr; }
  .brand-text { font-size: 0.88rem; }
  .brand img { height: 38px; width: 38px; }
  .hero-logo { width: 92px; height: 92px; margin-bottom: 16px; }
}

@media (max-width: 420px) {
  .badge-grid, .sector-grid { grid-template-columns: 1fr 1fr; }
}
