/* Basic Electrical Services — 1:1 static rebuild of the visible Wix Studio
   site. Metrics come from the Wix mesh CSS (see specs/ during development);
   fluid type follows Wix's formula: size = min + (max−min)·(vw−320)/1600,
   clamped to [min,max]. Breakpoints mirror Wix: base >1000px, tablet ≤1000px,
   mobile ≤750px. Palette is the site's real theme palette. */

/* ---------- reset & tokens ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #FFFFFF;        /* color_11 — cards, chrome */
  --placeholder: #F5EEE4;  /* color_12 — image backing */
  --greige: #D8D2C6;       /* color_13 — page ground */
  --ink: #3B3A3A;          /* color_15 — text, borders, dark surfaces */
  --footer-tan: #CDA17C;   /* color_17 — footer card */
  --band-tan: #BAA082;     /* color_22 — Design Build band */
  --accent: #B06027;       /* color_18 — brand accent */
  --orange: #E47507;       /* Contact Us button */
  --btn-dark: #181818;     /* Contact Us hover */
  --error: #FF4040;
  --gutter: 50px;
  --font-light: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-roman: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html { -webkit-text-size-adjust: 100%; background: #FFF; }
body {
  background: var(--greige);
  color: var(--ink);
  font-family: var(--font-light);
  font-weight: 300;
  line-height: 1.4;
  overflow-x: clip; /* the Meet-The-Team rule intentionally bleeds right */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- fluid type roles (Wix font_N) ---------- */
.f0 { font-family: var(--font-roman); font-weight: 700;
      font-size: clamp(20px, calc(20px + 70 * (100vw - 320px) / 1600), 90px);
      line-height: 1.2; letter-spacing: -0.02em; }
.f2 { font-family: var(--font-roman); font-weight: 400;
      font-size: clamp(20px, calc(20px + 45 * (100vw - 320px) / 1600), 65px);
      line-height: 1.4; letter-spacing: -0.03em; }
.f3 { font-family: var(--font-roman); font-weight: 400;
      font-size: clamp(18px, calc(18px + 32 * (100vw - 320px) / 1600), 50px);
      line-height: 1.4; }
.f4 { font-family: var(--font-roman); font-weight: 400;
      font-size: clamp(18px, calc(18px + 12 * (100vw - 320px) / 1600), 30px);
      line-height: 1.4; }
.f5 { font-family: var(--font-light); font-weight: 300;
      font-size: clamp(20px, calc(20px + 5 * (100vw - 320px) / 1600), 25px);
      line-height: 1.5; }
.f7 { font-family: var(--font-light); font-weight: 300;
      font-size: clamp(14px, calc(14px + 4 * (100vw - 320px) / 1600), 18px);
      line-height: 1.4; }
.f8 { font-family: var(--font-light); font-weight: 300;
      font-size: clamp(14px, calc(14px + 2 * (100vw - 320px) / 1600), 16px);
      line-height: 1.4; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--white); color: var(--ink); padding: 10px 18px;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- bands (page-level 50px gutters) ---------- */
.band { padding: 0 var(--gutter); }
.band + .band { padding-top: var(--gutter); }
.spacer-50 { height: var(--gutter); }

/* ---------- header ---------- */
.site-header { min-height: 150px; padding: var(--gutter) var(--gutter) 0; position: relative; z-index: 51; }
.header-inner, .header-bar {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 0 var(--gutter); height: 100px;
}
.header-bar { background: var(--white); border-radius: 20px 20px 0 0; }
.logo-box {
  display: block; width: 336.54px; height: 82.21px; flex: none;
  border: 4px solid #000; border-radius: 20px; overflow: hidden;
  margin-left: calc(-1 * var(--gutter)); margin-top: 1px;
}
.logo-box img { width: 100%; height: 100%; object-fit: cover; }
.menu-pill {
  display: flex; align-items: center; justify-content: space-between;
  width: 129px; min-height: 46px; padding: 0 15px;
  border-radius: 50px; cursor: pointer; align-self: center;
  font-family: var(--font-light); font-weight: 300;
  font-size: clamp(14px, calc(14px + 2 * (100vw - 320px) / 1600), 16px);
  gap: 10px;
}
.menu-pill svg { flex: none; }
/* home: white pill on the hero photo */
.hv-home .menu-pill { background: var(--white); border: 1px solid var(--white); color: var(--ink); }
.hv-home .menu-pill svg { fill: var(--ink); }
/* inner pages: dark pill on the white bar */
.hv-bar .menu-pill { background: var(--ink); border: 1px solid var(--ink); color: var(--white); }
.hv-bar .menu-pill svg { fill: var(--white); }

/* ---------- menu drawer (live popup is charcoal) ---------- */
.menu-overlay { position: fixed; inset: 0; z-index: 100; }
.menu-overlay[hidden] { display: none; }
.menu-panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: 600px; max-width: 100vw;
  background: var(--ink); color: var(--white);
  padding: 30px 40px 40px 0; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease;
}
.menu-overlay.show .menu-panel { transform: none; }
.menu-close {
  position: absolute; top: 28px; right: 36px;
  background: none; border: 0; color: var(--white); cursor: pointer;
  padding: 4px;
}
.menu-panel nav { margin-top: 14px; }
.menu-list { list-style: none; width: 432px; max-width: 100%; }
.menu-list > li > a, .sub-toggle {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; padding: 0 24px 0 30px;
  font-family: var(--font-light); font-weight: 500; font-size: 25px;
  line-height: 1.4; color: var(--white);
  background: none; border: 0; width: 100%; text-align: left; cursor: pointer;
  transition: color .2s ease;
}
.menu-list > li > a:hover, .sub-toggle:hover { color: var(--footer-tan); }
.menu-list > li > a[aria-current="page"] { color: var(--footer-tan); }
.sub-toggle svg { transition: transform .25s ease; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.submenu {
  list-style: none; overflow: hidden; max-height: 0;
  transition: max-height .3s ease;
}
.has-sub.open .submenu { max-height: 220px; }
.submenu a {
  display: block; padding: 4px 0 4px 30px;
  font-size: 14px; line-height: 1.6; color: #CFCBC4;
}
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--footer-tan); }
.menu-social { display: flex; gap: 9px; padding: 16px 0 0 30px; }
.menu-social svg { fill: var(--white); opacity: .85; }
.menu-social a:hover svg { opacity: 1; }

/* ---------- circular outline buttons ---------- */
.circle-btn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 130px; height: 130px; border-radius: 50%; padding: 14px;
  border: 1px solid var(--ink); color: var(--ink);
  font-family: var(--font-roman); font-weight: 400; font-size: 14px; line-height: 1.4;
  transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}
.circle-btn:hover { background: var(--ink); color: var(--white); }

/* ---------- HOME ---------- */
/* hero card pulls up under the transparent header */
.hero-card {
  position: relative; margin-top: -100px; border-radius: 30px; overflow: hidden;
  background: var(--ink);
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(326px, max-content) minmax(20px, max-content);
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.3;
}
.hero-headline {
  grid-area: 1 / 1 / 2 / 3; width: 80.7%; justify-self: center;
  margin-top: 10%; position: relative;
}
.hero-headline h1 {
  color: var(--white); font-family: var(--font-roman); font-weight: 400;
  font-size: clamp(20px, calc(20px + 70 * (100vw - 320px) / 1600), 90px);
  line-height: 1.2; letter-spacing: -0.02em;
}
.hero-arrow {
  grid-area: 2 / 1 / 3 / 2; position: relative;
  width: 90px; height: 90px; border-radius: 50%;
  border: 1px solid var(--white);
  align-self: end; justify-self: start;
  margin-left: 20%; margin-bottom: 7%;
  display: flex; align-items: center; justify-content: center;
}
.hero-arrow svg { width: 12px; height: 30px; transform: rotate(180deg); }
.hero-cta {
  grid-area: 2 / 2 / 3 / 3; position: relative;
  width: 214.5px; height: 69.5px; border-radius: 24px;
  background: var(--orange); color: var(--white);
  font-family: "Poppins", var(--font-roman); font-weight: 500; font-size: 32px; line-height: 1.4;
  display: flex; align-items: center; justify-content: center;
  align-self: center; justify-self: end;
  margin-right: 30%; margin-bottom: 5%;
  transition: background-color .4s ease, color .4s ease;
}
.hero-cta:hover { background: var(--btn-dark); }

/* the hero and Commercial card share one section; 50px between them */
.band-hero-commercial { display: grid; row-gap: var(--gutter); }

.split-card { background: var(--white); border-radius: 20px; display: grid; }
.commercial-card {
  padding: 25px 25px 25px 50px;
  grid-template-columns: 1fr 0.8fr;
  grid-template-rows: minmax(16vw, max-content) minmax(16vw, max-content) minmax(11vw, max-content);
}
.commercial-card .card-title { grid-area: 1 / 1; justify-self: center; align-self: center; width: 95%; text-align: center; }
.commercial-card .card-body  { grid-area: 2 / 1; justify-self: center; width: 80%; max-width: 530px; margin-top: 3.26%; text-align: center; line-height: 1.6; letter-spacing: -0.02em; }
.commercial-card .circle-btn { grid-area: 3 / 1; justify-self: center; align-self: center; margin-top: 1.56%; }
.commercial-card .card-photo { grid-area: 1 / 2 / 4 / 3; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; background: var(--placeholder); }
/* Wix bolds "Commercial" via a span, but its single-weight webfont renders a
   lighter synthetic bold than true Helvetica Neue 700 — Medium matches. */
.commercial-card .card-title strong { letter-spacing: -0.03em; font-weight: 500; }
.commercial-card .card-body { letter-spacing: 0; }

.industrial-card {
  padding: 0;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(16vw, max-content) minmax(16vw, max-content) minmax(11vw, max-content);
}
.industrial-card .card-photo {
  grid-area: 1 / 1 / 4 / 2; justify-self: center; align-self: center;
  width: 90.24%; aspect-ratio: 1 / 0.8139; object-fit: cover;
  border-radius: 10px; background: var(--placeholder);
}
.industrial-card .card-title { grid-area: 1 / 2; justify-self: center; align-self: center; width: 90%; margin-left: 2.17%; text-align: center; letter-spacing: -0.04em; font-weight: 400; }
.industrial-card .card-body  { grid-area: 2 / 2; justify-self: center; width: 85%; max-width: 630px; text-align: center; line-height: 1.6; }
.industrial-card .circle-btn { grid-area: 3 / 2; justify-self: center; align-self: start; margin-top: 16px; }

/* Design Build band */
.db-band { background: var(--band-tan); border-radius: 20px; padding: var(--gutter); }
.db-band > h2 { width: 80%; margin-bottom: -10px; }
.db-grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 5vw;
  align-items: start;
}
.db-col { display: grid; row-gap: var(--gutter); }
.db-col1 > .db-card { margin-top: 50px; }
.db-col2 > .db-card { margin-top: calc(17.5vw + 50px); }
.db-card {
  position: relative; height: 35vw; border-radius: 20px; overflow: hidden;
  background: var(--backing, #000);
  display: grid; grid-template-rows: 1fr 1fr 1fr;
}
.db-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: var(--img-op, 0.5);
}
.db-card h3, .db-card p { position: relative; color: var(--white); margin-left: 5%; width: 90%; }
.db-card h3 { margin-top: 10%; }
.db-card .db-title { align-self: center; }
.db-card .db-body { align-self: end; margin-bottom: 8%; line-height: 1.6; }
.db-learn {
  position: absolute; bottom: 0; left: 50%; margin-left: -65px;
}

/* ---------- inner pages: continuous white card ---------- */
.page-card {
  background: var(--white); border-radius: 0 0 30px 30px;
  padding: var(--gutter);
  display: grid; grid-template-columns: 1fr 0.7fr; column-gap: 0;
  grid-template-rows: minmax(50px, max-content) minmax(40vw, max-content);
  row-gap: var(--gutter);
}
.page-card h1 { grid-area: 1 / 1; width: 90%; line-height: 1.15; }
.lede { grid-area: 1 / 2; max-width: 660px; justify-self: center; display: flex; flex-direction: column; }
.lede-sub { max-width: 560px; margin-bottom: 5%; letter-spacing: -0.02em; }
.lede-body { line-height: 1.6; }
.page-photo {
  grid-area: 2 / 1 / 3 / 3; width: 100%; height: 40vw;
  object-fit: cover; border-radius: 20px; background: var(--placeholder);
}

/* ---------- company ---------- */
.mtt-card { background: var(--white); border-radius: 30px 30px 0 0; padding: var(--gutter) var(--gutter) 0; }
.mtt-card h2 { margin-bottom: 35.5px; line-height: 1.15; }
.mtt-card h2 strong { font-weight: 500; } /* Wix synthetic bold ≈ Medium */
.mtt-rule { height: 1px; background: var(--ink); width: calc(100vw - 2 * var(--gutter)); }
.team-cards {
  background: var(--white); border-radius: 0 0 30px 30px; padding: var(--gutter);
  display: grid; grid-template-columns: 30vw 1fr 30vw;
}
.team-card { display: flex; flex-direction: column; align-items: center; justify-self: center; }
.team-card img { width: 315px; height: 315px; object-fit: cover; }
.team-card h3 { margin-top: 46px; text-align: center; }
/* Live titles sit in a narrow Wix text box that wraps the VP titles onto two
   lines (it even breaks "President" mid-word — we wrap at word boundaries,
   a deliberate small cleanup). */
.team-card .team-title { text-align: center; margin-top: 2px; font-weight: 700; max-width: 110px; }
.team-card .team-title strong { font-weight: 700; }

/* ---------- contact ---------- */
.contact-card {
  background: var(--white); border-radius: 0 0 20px 20px; padding: var(--gutter);
  display: grid; grid-template-columns: 1fr 0.7fr; column-gap: 30px;
  grid-template-rows: minmax(50px, max-content) minmax(50px, max-content);
  row-gap: 0;
}
.contact-h1 {
  grid-area: 1 / 1; font-family: var(--font-roman); font-weight: 400;
  font-size: clamp(20px, calc(20px + 45 * (100vw - 320px) / 1600), 65px);
  line-height: 1; letter-spacing: -0.01em;
}
.contact-intro { grid-area: 2 / 1; align-self: end; max-width: 500px; }
.contact-form {
  grid-area: 1 / 2 / 3 / 3;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 30px;
  grid-template-rows: minmax(60px, max-content) minmax(60px, max-content) minmax(80px, max-content) minmax(90px, max-content);
}
.field { display: flex; flex-direction: column; justify-content: flex-end; }
.field-wide { grid-column: 1 / 3; }
.field label {
  font-size: 16px; line-height: 1; color: var(--ink);
  margin-bottom: 12px; padding: 1px 20px 0 1px;
}
.field label.required::after { content: " *"; }
.field input, .field textarea {
  font-family: var(--font-light); font-weight: 300; font-size: 16px; line-height: 1.4;
  color: var(--ink); background: var(--white);
  border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
  padding: 3px 3px 3px 2px; width: 100%;
}
.field input:hover, .field textarea:hover,
.field input:focus, .field textarea:focus { border-bottom-width: 3px; outline: none; padding-bottom: 2px; }
.field input.error, .field textarea.error { border-bottom: 4px solid var(--error); padding-bottom: 1px; }
.field textarea { resize: none; overflow-y: auto; min-height: 46px; padding-top: 0.75em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.submit-circle {
  grid-area: 4 / 1; width: 120px; height: 120px; border-radius: 50%;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--font-roman); font-weight: 400; font-size: 13px; line-height: 1.4;
  cursor: pointer;
  transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}
.submit-circle:hover { background: var(--ink); color: var(--white); }
.form-success { grid-area: 4 / 2; align-self: center; visibility: hidden; }
.form-success.sent { visibility: visible; }
.form-error-note { grid-column: 1 / 3; color: var(--error); font-size: 16px; }

.hq-section { padding-top: var(--gutter); }
.hq-card {
  position: relative; border-radius: 20px; overflow: hidden; background: var(--ink);
  display: grid;
  grid-template-rows: minmax(10vw, max-content) 35vw auto;
}
.hq-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hq-card h2 {
  grid-row: 1; position: relative; color: var(--white);
  margin-left: var(--gutter); width: 80%; align-self: center;
  letter-spacing: -0.01em;
}
.hq-office {
  grid-row: 3; position: relative; background: var(--white); border-radius: 20px;
  padding: var(--gutter) var(--gutter) 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 10px;
  grid-template-rows: auto minmax(200px, max-content);
}
.hq-rule { grid-area: 1 / 1 / 2 / 4; height: 1px; background: var(--ink); }
.hq-col { align-self: center; }
.hq-label { width: 60%; }
.hq-label p { margin-bottom: 5%; }
.hq-addr { width: 80%; line-height: 1.5; }
.hq-reach { width: 60%; justify-self: center; line-height: 1.5; }

/* ---------- 404 ---------- */
.notfound-card .lede-body a { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer { padding: var(--gutter); }
.footer-card {
  background: var(--footer-tan); border-radius: 20px; padding: var(--gutter);
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr 0.9fr;
  grid-template-rows: minmax(50px, max-content) minmax(50px, max-content);
  gap: 30px; color: var(--ink);
}
.f-brand {
  max-width: 185px; margin-top: 6px;
  font-size: clamp(14px, calc(14px + 4 * (100vw - 320px) / 1600), 18px);
}
.f-col p {
  font-size: clamp(13px, calc(13px + 3 * (100vw - 320px) / 1600), 16px);
  line-height: 2;
}
.f-social { padding-left: 32px; }
.f-col a.u { text-decoration: underline; }
.f-copy {
  grid-column: 1 / -1; align-self: end;
  font-size: clamp(13px, calc(13px + 1 * (100vw - 320px) / 1600), 14px);
}

/* ---------- entrance animations (Wix floatIn / fadeIn) ---------- */
html.js .anim {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.445, 0.05, 0.55, 0.95),
              transform 1.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
html.js .anim-up { transform: translateY(60px); }
html.js .anim-down { transform: translateY(-60px); }
html.js .anim.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .anim { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   tablet ≤1000px (Wix range 320–1000; overrides below mirror Wix's)  */
@media (max-width: 1000px) {
  :root { --gutter: 30px; }
  .site-header { min-height: 120px; }
  .menu-pill { width: 110px; min-height: 42px; }
  .menu-panel { width: 70vw; }
  .f2, .contact-h1 { font-size: clamp(20px, calc(20px + 20 * (100vw - 320px) / 680), 40px); }
  .f5 { font-size: clamp(16px, calc(16px + 2 * (100vw - 320px) / 680), 18px); }
  .f8 { font-size: clamp(13px, calc(13px + 1 * (100vw - 320px) / 680), 14px); }
  .f-brand { font-size: clamp(14px, calc(14px + 2 * (100vw - 320px) / 680), 16px); }
  .hero-card { margin-top: -90px; }
  .hero-headline h1 { font-size: 40px; }
  .page-card, .contact-card, .split-card.commercial-card { padding: 25px; }
  .page-card { grid-template-columns: 1fr 1fr; }
  .field label { font-size: 14px; }
  .field input, .field textarea { background: transparent; }
  .submit-circle { width: 100px; height: 100px; font-size: 12px; }
  .team-cards { grid-template-columns: 1fr 1fr 1fr; }
  .team-card img { width: 200px; height: 200px; }
}

/* =========================================================================
   mobile ≤750px  */
@media (max-width: 750px) {
  :root { --gutter: 20px; }
  .site-header { min-height: 0; }
  .logo-box { width: 193px; height: 50.5px; margin-left: 0; border-width: 3px; }
  .header-inner, .header-bar { padding: 0 20px; height: 70px; }
  .menu-pill { width: 42px; min-height: 42px; padding: 0; justify-content: center; border-radius: 50%; }
  .menu-pill span { display: none; }
  .menu-panel { width: 100vw; padding-right: 20px; }
  .menu-list > li > a, .sub-toggle { font-size: 21px; min-height: 48px; }

  .hero-card { margin-top: -80px; min-height: 300px; grid-template-rows: 1fr auto; }
  .hero-headline { width: 88%; margin-top: 14%; text-align: center; }
  .hero-headline h1 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
  .hero-arrow { width: 56px; height: 56px; margin-left: 10%; margin-bottom: 10%; }
  .hero-arrow svg { width: 8px; height: 20px; }
  .hero-cta { width: 104px; height: 55.5px; font-size: 16px; border-radius: 16px; margin-right: 12%; margin-bottom: 10%; }

  .commercial-card, .industrial-card { grid-template-columns: 1fr; grid-template-rows: none; padding: 20px; row-gap: 18px; }
  .commercial-card .card-title, .commercial-card .card-body, .commercial-card .circle-btn,
  .industrial-card .card-title, .industrial-card .card-body, .industrial-card .circle-btn { grid-area: auto; width: 100%; max-width: none; margin: 0; justify-self: center; }
  .commercial-card .card-photo { grid-area: auto; order: -1; height: 56vw; }
  .industrial-card .card-photo { grid-area: auto; width: 100%; aspect-ratio: auto; height: 56vw; }
  .circle-btn { width: 110px; height: 110px; font-size: 12px; }

  .db-grid { grid-template-columns: 1fr; }
  .db-col1 > .db-card, .db-col2 > .db-card { margin-top: 0; }
  .db-col { row-gap: 20px; margin-bottom: 20px; }
  .db-col2 { order: 1; } /* keep 01 02 03 04 reading order */
  .db-card { height: 96vw; }
  .db-learn { position: static; margin-left: 0; justify-self: center; margin-top: 6px; }

  .page-card { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 15px; padding: 0 20px 20px; }
  .page-card h1 { grid-area: auto; width: 100%; }
  .lede { grid-area: auto; max-width: none; justify-self: start; }
  .page-photo { grid-area: auto; height: 50vw; }

  .mtt-card, .team-cards { display: none; } /* live site hides the team on phones */

  .contact-card { grid-template-columns: 1fr; padding: 20px; }
  .contact-h1 { grid-area: auto; }
  .contact-intro { grid-area: auto; margin: 10px 0 7%; }
  .contact-form { grid-area: auto; grid-template-rows: none; }
  .form-success { grid-area: auto; grid-column: 1 / 3; margin-top: 6px; }
  .submit-circle { grid-area: auto; }
  .submit-circle:hover { background: transparent; color: var(--accent); }
  .hq-card { grid-template-rows: minmax(20vw, max-content) 30vw auto; }
  .hq-office { grid-template-columns: 1fr; row-gap: 15px; padding: 20px 20px 20px; grid-template-rows: none; }
  .hq-rule { grid-area: auto; }
  .hq-col { width: 100%; }

  .footer-card { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 20px; padding: 20px; }
  .f-copy { grid-column: 1 / -1; margin-top: 10px; }
}
