/* Theme speedgate — port từ _mockup/cuacuacuonnhanhkad.com. Mọi selector scope dưới .theme-speedgate,
   biến riêng dùng tiền tố --sg-* (không đụng --primary/--muted... do getThemeStyles bơm inline). */
.theme-speedgate .speedgate-root,
.speedgate-root {
  --sg-display: var(--font-sg-display), Arial, sans-serif;
  --sg-body: var(--font-sg-body), Arial, sans-serif;
  font-family: var(--sg-body);
}
body.theme-speedgate {
  --sg-primary: var(--color-primary, #c71926);
  --sg-ink: #202b35;
  --sg-gold: var(--color-tertiary, #c71926);
  --sg-paper: #f5f7f9;
  --sg-muted: #59646e;
  --sg-border: #dce1e4;
  --sg-ring: #9f1420;
  color: var(--sg-ink);
  background: #fff;
  font-family: var(--sg-body);
  font-synthesis: none;
}
.theme-speedgate * {
  box-sizing: border-box;
}
body.theme-speedgate {
  margin: 0;
}
.theme-speedgate button,
.theme-speedgate input,
.theme-speedgate textarea,
.theme-speedgate select {
  font: inherit;
}
.theme-speedgate button,
.theme-speedgate a,
.theme-speedgate summary,
.theme-speedgate select {
  cursor: pointer;
}
.theme-speedgate button,
.theme-speedgate a {
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.theme-speedgate button:disabled {
  cursor: default;
  opacity: 0.65;
}
.theme-speedgate a {
  text-decoration: none;
  color: inherit;
}
.theme-speedgate button {
  color: inherit;
}
.theme-speedgate img {
  display: block;
  max-width: 100%;
}
.theme-speedgate p {
  line-height: 1.7;
  margin: 0 0 1em;
}
.theme-speedgate h1,
.theme-speedgate h2,
.theme-speedgate h3 {
  margin: 0;
  font-weight: 600;
}
.theme-speedgate h1,
.theme-speedgate h2 {
  white-space: pre-line;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.theme-speedgate h2 {
  font-size: clamp(32px, 3.3vw, 48px);
}
.theme-speedgate h3 {
  font-size: 19px;
  line-height: 1.4;
}
.theme-speedgate h1 {
  font-size: clamp(38px, 5vw, 68px);
}
.theme-speedgate :focus-visible {
  outline: 3px solid var(--sg-ring);
  outline-offset: 4px;
}
.theme-speedgate .container {
  width: calc(100% - 96px);
  max-width: 1320px;
  margin-inline: auto;
}
.theme-speedgate .section-space {
  margin-top: 100px;
  margin-bottom: 100px;
}
.theme-speedgate .topbar {
  background: var(--sg-primary);
  color: #fff7da;
  font-size: 13px;
}
.theme-speedgate .topbar .container {
  display: flex;
  justify-content: space-between;
  padding-block: 9px;
}
.theme-speedgate .topbar span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-speedgate header {
  position: relative;
  background: white;
  z-index: 30;
}
.theme-speedgate .header-inner {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.theme-speedgate .brand {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.theme-speedgate .brand img {
  width: 58px;
  height: 58px;
}
.theme-speedgate .brand strong {
  display: block;
  font-size: 23px;
  letter-spacing: 0.025em;
  line-height: 1.1;
}
.theme-speedgate .brand small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.theme-speedgate .desktop-nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}
.theme-speedgate .nav-item {
  position: relative;
}
.theme-speedgate .nav-item a {
  display: block;
  padding-block: 12px;
}
.theme-speedgate .nav-item a:hover,
.theme-speedgate .nav-item a.active {
  color: var(--sg-primary);
}
.theme-speedgate summary {
  display: flex;
  gap: 5px;
  align-items: center;
  list-style: none;
}
.theme-speedgate summary::-webkit-details-marker {
  display: none;
}
.theme-speedgate summary svg {
  transition: transform 0.2s;
}
.theme-speedgate details[open] > summary svg {
  transform: rotate(180deg);
}
.theme-speedgate .submenu {
  position: absolute;
  left: -18px;
  top: 100%;
  padding: 14px 20px;
  background: var(--sg-paper);
  min-width: 220px;
}
.theme-speedgate .header-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.theme-speedgate .button {
  min-height: 48px;
  padding: 13px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: var(--sg-primary);
  color: white;
  border: 0;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
}
.theme-speedgate .button:hover {
  background: var(--sg-primary-dark);
  transform: translateY(-2px);
}
.theme-speedgate .button.secondary {
  background: transparent;
  color: var(--sg-primary);
}
.theme-speedgate .icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 3px;
  flex-shrink: 0;
}
.theme-speedgate .icon-button:hover {
  background: #e8ecdf;
}
.theme-speedgate .bsg-button {
  position: relative;
}
.theme-speedgate .bsg-button > span {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  background: var(--sg-gold);
  color: var(--sg-ink);
  font-size: 11px;
  display: grid;
  place-items: center;
  animation: sg-pop 0.3s;
}
.theme-speedgate .mobile-toggle,
.theme-speedgate .mobile-nav {
  display: none;
}
.theme-speedgate .hero {
  margin-top: 6px;
}
.theme-speedgate .hero-scene {
  position: relative;
  padding: 36px;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.theme-speedgate .hero-paper {
  background: var(--sg-paper);
  width: 500px;
  padding: 32px 38px 22px;
  position: relative;
}
.theme-speedgate .paper-top {
  display: flex;
  gap: 14px;
  align-items: center;
}
.theme-speedgate .paper-top p {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0;
}
.theme-speedgate .paper-top svg {
  color: #9b7628;
  flex-shrink: 0;
}
.theme-speedgate .hero h1 {
  font-family: var(--sg-display);
  font-weight: 400;
  font-size: clamp(64px, 6.4vw, 92px);
  line-height: 1.17;
  letter-spacing: -0.025em;
  margin: 26px 0 19px;
}
.theme-speedgate .hero h1 span {
  color: var(--sg-primary);
}
.theme-speedgate .hero-description {
  max-width: 390px;
  color: #485244;
  font-size: 16px;
  line-height: 1.65;
}
.theme-speedgate .hero-actions {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  flex-direction: column;
  margin-top: 23px;
}
.theme-speedgate .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 0;
}
.theme-speedgate .text-link:hover {
  color: #96680d;
}
.theme-speedgate .hero-sign {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 18px;

  font-size: 10px;
  letter-spacing: 0.13em;
}
.theme-speedgate .hero-caption {
  position: absolute;
  right: 30px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 12px;
  background: #202b35d9;
  padding: 10px 14px;
}
.theme-speedgate .slider-controls {
  position: absolute;
  right: 28px;
  top: 28px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--sg-paper);
  padding: 2px 5px;
}
.theme-speedgate .dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.theme-speedgate .dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 20px;
  background: #a6ae9b;
  padding: 0;
  position: relative;
}
.theme-speedgate .dots button:after {
  content: "";
  position: absolute;
  inset: -16px -4px;
}
.theme-speedgate .dots button.active {
  width: 24px;
  background: var(--sg-primary);
}
.theme-speedgate .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 34px;
}
.theme-speedgate .stats > div {
  display: flex;
  gap: 17px;
  align-items: center;
  padding-left: 25px;
}
.theme-speedgate .stats > div:first-child {
  padding-left: 0;
}
.theme-speedgate .stats > div:last-child {
  border: 0;
}
.theme-speedgate .stats svg {
  color: #7b862f;
}
.theme-speedgate .stats strong {
  display: block;
  font-size: 18px;
}
.theme-speedgate .stats small {
  display: block;
  font-size: 12px;
  color: var(--sg-muted);
  margin-top: 5px;
}
.theme-speedgate .paper-section {
  background: var(--sg-paper);
  padding-block: 70px;
  margin-top: 0;
}
.theme-speedgate .section-note {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #53643f;
  margin-bottom: 16px;
}
.theme-speedgate .section-heading {
  max-width: 620px;
}
.theme-speedgate .section-heading > p:last-child:not(.section-note) {
  color: var(--sg-muted);
  margin-top: 18px;
  margin-bottom: 0;
  max-width: 540px;
}
.theme-speedgate .heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 35px;
}
.theme-speedgate .product-filter {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 26px 0;
}
.theme-speedgate .tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.theme-speedgate .tabs button,
.theme-speedgate .chips button {
  padding: 12px 18px;
  border: 0;
  background: transparent;
  font-size: 14px;
  border-radius: 3px;
}
.theme-speedgate .tabs button.active {
  background: var(--sg-primary);
  color: white;
}
.theme-speedgate .tabs button:hover:not(.active) {
  background: #e2e7d9;
}
.theme-speedgate .crop-select {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.theme-speedgate .crop-select select {
  background: transparent;
  padding: 12px 5px;
  border: 0;
  max-width: 200px;
}
.theme-speedgate .product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.theme-speedgate .product-card {
  min-width: 0;
}
.theme-speedgate .product-image {
  background: #e9ebdf;
  aspect-ratio: 1/0.98;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.theme-speedgate .product-image.olive {
  background: #e6e9da;
}
.theme-speedgate .product-image.gold {
  background: #f0e7d1;
}
.theme-speedgate .product-image.teal {
  background: #e0eae3;
}
.theme-speedgate .product-image img {
  height: 85%;
  width: 85%;
  object-fit: contain;
  transition: transform 0.35s;
}
.theme-speedgate .product-image:hover img {
  transform: rotate(-2deg) scale(1.05);
}
.theme-speedgate .product-category,
.theme-speedgate .product-weight {
  position: absolute;
  font-size: 10px;
  z-index: 1;
}
.theme-speedgate .product-category {
  top: 15px;
  left: 15px;
}
.theme-speedgate .product-weight {
  right: 14px;
  bottom: 12px;
}
.theme-speedgate .product-info {
  padding-top: 19px;
}
.theme-speedgate .product-info h3 {
  font-size: 17px;
}
.theme-speedgate .product-info p {
  font-size: 13px;
  color: var(--sg-muted);
  margin: 7px 0;
}
.theme-speedgate .product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}
.theme-speedgate .add-product {
  background: #e0e6d6;
  width: 36px;
  height: 36px;
}
.theme-speedgate .catalog-note {
  font-size: 12px;
  color: var(--sg-muted);
  margin: 24px 0 0;
}
.theme-speedgate .features-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.theme-speedgate .features-picture {
  position: relative;
}
.theme-speedgate .features-picture > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.theme-speedgate .picture-stamp {
  position: absolute;
  bottom: 25px;
  right: -20px;
  background: var(--sg-gold);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-direction: column;
  transform: rotate(-9deg);
  padding: 25px;
  text-align: center;
}
.theme-speedgate .picture-stamp span {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.theme-speedgate .feature-list {
  margin-top: 28px;
}
.theme-speedgate .feature-list > div {
  display: flex;
  gap: 22px;
  padding: 20px 0;
}
.theme-speedgate .feature-list svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.theme-speedgate .feature-list h3 {
  font-size: 17px;
}
.theme-speedgate .feature-list p {
  font-size: 14px;
  color: var(--sg-muted);
  margin: 7px 0 0;
}
.theme-speedgate .news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.theme-speedgate .news-image {
  aspect-ratio: 1.55;
  overflow: hidden;
}
.theme-speedgate .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.theme-speedgate .news-image:hover img {
  transform: scale(1.04);
}
.theme-speedgate .news-category {
  font-size: 11px;
  color: #5b6747;
  margin: 20px 0 10px;
}
.theme-speedgate .news-grid h3 {
  font-size: 21px;
  display: flex;
  align-items: start;
  gap: 16px;
}
.theme-speedgate .news-grid h3 svg {
  flex-shrink: 0;
  margin-top: 4px;
}
.theme-speedgate .news-grid article > p {
  font-size: 14px;
  color: var(--sg-muted);
  margin: 13px 0;
}
.theme-speedgate .cta-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: var(--sg-paper);
}
.theme-speedgate .cta-paper {
  padding: 50px 55px;
}
.theme-speedgate .cta-paper > svg {
  color: #96742d;
  margin-bottom: 25px;
}
.theme-speedgate .cta-paper h2 {
  font-size: 42px;
  line-height: 1.18;
}
.theme-speedgate .cta-paper h2 span {
  color: var(--sg-primary);
}
.theme-speedgate .cta-paper > p:not(.section-note) {
  color: var(--sg-muted);
  max-width: 430px;
  margin-top: 22px;
  font-size: 15px;
}
.theme-speedgate .cta-actions {
  display: flex;
  gap: 15px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.theme-speedgate .cta-section > img {
  width: 100%;
  height: 100%;
  max-height: 550px;
  object-fit: cover;
}
.theme-speedgate footer {
  background: var(--sg-footer);
  color: #f5f4df;
  padding: 65px 0 25px;
}
.theme-speedgate .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.9fr 1fr;
  gap: 45px;
}
.theme-speedgate footer .brand img {
  width: 52px;
  height: 52px;
}
.theme-speedgate footer .brand strong {
  font-size: 24px;
}
.theme-speedgate footer h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 23px;
}
.theme-speedgate footer p,
.theme-speedgate footer a:not(.brand) {
  font-size: 13px;
  line-height: 1.8;
}
.theme-speedgate footer .footer-brand p {
  max-width: 300px;
  margin-top: 23px;
  color: #d7e0cf;
}
.theme-speedgate footer .footer-grid > div > a:not(.brand) {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.theme-speedgate footer a:hover {
  color: var(--sg-gold);
}
/* Cột liên hệ: icon + text một hàng; khung icon cao đúng 1 dòng (1.8em = line-height) nên
   icon luôn căn giữa dòng đầu, kể cả khi địa chỉ xuống nhiều dòng. */
.theme-speedgate footer .footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 10px;
}
.theme-speedgate footer .footer-contact-row .fc-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 1.8em;
}
.theme-speedgate .newsletter {
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 35px 0;
}
.theme-speedgate .newsletter h3 {
  margin: 0;
}
.theme-speedgate .newsletter form {
  display: flex;
  width: 320px;
}
.theme-speedgate .newsletter input {
  background: #ffffff10;
  border: 1px solid #a1b8a4;
  border-right: 0;
  padding: 12px;
  color: white;
  width: 100%;
  min-width: 0;
}
.theme-speedgate .newsletter input::placeholder {
  color: #d7e0cf;
}
.theme-speedgate .newsletter button {
  border: 0;
  background: var(--sg-gold);
  padding: 10px 16px;
  color: var(--sg-ink);
}
.theme-speedgate .footer-bottom {
  display: flex;
  justify-content: space-between;

  padding-top: 24px;
  font-size: 12px;
}
.theme-speedgate .demo-note,
.theme-speedgate .credits {
  font-size: 11px !important;
  color: #c5d2be;
  margin: 18px 0 0;
}
.theme-speedgate .credits {
  margin-top: 6px;
}
.theme-speedgate .floating-contact {
  position: fixed;
  bottom: 24px;
  right: 22px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sg-gold);
  z-index: 35;
  color: var(--sg-ink);
}
.theme-speedgate .floating-contact:hover {
  transform: translateY(-3px);
}
.theme-speedgate .page-hero {
  background: var(--sg-paper);
  padding: 55px 0;
}
.theme-speedgate .page-hero a {
  font-size: 13px;
}
.theme-speedgate .page-hero h1 {
  max-width: 850px;
  margin: 0 0 22px;
}
.theme-speedgate .page-hero p {
  max-width: 600px;
  margin: 0;
  color: var(--sg-muted);
}
.theme-speedgate .about-image {
  height: 520px;
  width: 100%;
  object-fit: cover;
}
.theme-speedgate .about-note {
  font-size: 24px;
  color: var(--sg-primary);
  margin-top: 40px;
}
.theme-speedgate .timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.theme-speedgate .timeline article {
  background: var(--sg-paper);
  padding: 32px;
}
.theme-speedgate .timeline span {
  color: #6b7747;
  font-size: 14px;
}
.theme-speedgate .timeline h2 {
  font-size: 28px;
  margin: 25px 0 18px;
}
.theme-speedgate .timeline p {
  font-size: 15px;
}
.theme-speedgate .form-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 70px;
  align-items: start;
}
.theme-speedgate .dynamic-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.theme-speedgate .dynamic-form label {
  font-size: 14px;
  font-weight: 500;
}
.theme-speedgate .dynamic-form input,
.theme-speedgate .dynamic-form select,
.theme-speedgate .dynamic-form textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--sg-border);
  border-radius: 3px;
  padding: 14px;
  margin-top: 10px;
  background: #fff;
  min-width: 0;
  font-size: 15px;
}
.theme-speedgate .dynamic-form textarea {
  resize: vertical;
}
.theme-speedgate .full {
  grid-column: 1/-1;
}
.theme-speedgate .form-note {
  font-size: 13px;
  color: var(--sg-muted);
}
.theme-speedgate .form-status {
  background: #edf1e6;
  padding: 20px;
}
.theme-speedgate .aside-panel {
  background: var(--sg-paper);
  padding: 30px;
  margin-bottom: 25px;
}
.theme-speedgate .aside-panel h2 {
  font-size: 23px;
  margin-bottom: 20px;
}
.theme-speedgate .aside-panel p {
  font-size: 14px;
  color: var(--sg-muted);
}
.theme-speedgate .estimate-item {
  margin-top: 20px;
}
.theme-speedgate .estimate-item h3 {
  font-size: 15px;
}
.theme-speedgate .map-placeholder {
  background: #e8ecdf;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 260px;
  margin-bottom: 90px;
  padding: 30px;
  text-align: center;
}
.theme-speedgate .map-placeholder p {
  margin: 20px 0 0;
}
.theme-speedgate .modal-backdrop {
  position: fixed;
  inset: 0;
  background: #102a20aa;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.theme-speedgate .modal {
  background: var(--sg-paper);
  width: 650px;
  max-height: 90dvh;
  overflow: auto;
  padding: 34px;
  border-radius: 4px;
}
.theme-speedgate .modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.theme-speedgate .modal h2 {
  font-size: 30px;
}
.theme-speedgate .search-form {
  display: flex;
  align-items: center;
  position: relative;
  margin: 25px 0;
}
.theme-speedgate .search-form input {
  background: white;
  min-width: 0;
  width: 100%;
  padding: 17px 55px 17px 20px;
  border: 1px solid var(--sg-border);
  border-radius: 35px;
}
.theme-speedgate .search-form > .icon-button {
  position: absolute;
  right: 7px;
}
.theme-speedgate .search-form + .chips {
  margin-top: 20px;
}
.theme-speedgate .chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.theme-speedgate .chips button {
  background: #e4eadc;
}
.theme-speedgate .drawer-backdrop {
  justify-content: end;
  padding: 0;
}
.theme-speedgate .drawer {
  height: 100dvh;
  max-height: 100dvh;
  width: 470px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}
.theme-speedgate .drawer > .button {
  margin-top: auto;
}
.theme-speedgate .bsg-row {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 18px 0;

  font-size: 14px;
}
.theme-speedgate .bsg-row img {
  width: 60px;
  height: 75px;
  object-fit: contain;
}
.theme-speedgate .bsg-row span {
  flex: 1;
}
.theme-speedgate .pricing-table {
  background: var(--sg-paper);
  padding: 35px;
  margin-top: 35px;
}
.theme-speedgate .pricing-table h3 {
  margin-bottom: 15px;
}
.theme-speedgate .price-row {
  display: grid;
  grid-template-columns: 1.6fr 0.5fr 1fr;
  gap: 20px;
  padding: 22px 0;

  font-size: 15px;
}
.theme-speedgate .price-row a {
  font-weight: 600;
  color: var(--sg-primary);
}
.theme-speedgate .project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  margin-top: 35px;
}
.theme-speedgate .project-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.theme-speedgate .project-grid .section-note {
  margin-top: 25px;
}
.theme-speedgate .project-grid h3 {
  font-size: 27px;
  margin-bottom: 15px;
}
.theme-speedgate .service-hero img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.theme-speedgate .service-list {
  margin: 30px 0;
}
.theme-speedgate .service-list > a {
  display: flex;
  align-items: start;
  gap: 40px;
  padding: 35px 0;
}
.theme-speedgate .service-list > a > svg {
  margin-left: auto;
  flex-shrink: 0;
}
.theme-speedgate .service-list h2 {
  font-size: 32px;
}
.theme-speedgate .service-list p {
  margin: 15px 0 0;
  color: var(--sg-muted);
}
.theme-speedgate .detail > .text-link {
  margin-bottom: 40px;
}
.theme-speedgate .detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.theme-speedgate .detail-grid > img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}
.theme-speedgate .detail-grid > img.detail-product {
  object-fit: contain;
  background: var(--sg-paper);
  padding: 35px;
}
.theme-speedgate .detail h1 {
  font-size: 45px;
  margin-bottom: 25px;
}
.theme-speedgate .detail .lead {
  font-size: 20px;
}
.theme-speedgate .detail p,
.theme-speedgate .detail ul {
  margin: 20px 0;
  line-height: 1.8;
}
.theme-speedgate .detail ul {
  list-style: disc;
  padding-left: 25px;
}
.theme-speedgate .detail .button {
  margin: 10px 15px 10px 0;
}
.theme-speedgate .search-result {
  display: block;
  margin-top: 40px;
}
.theme-speedgate .search-result h2 {
  font-size: 26px;
}
.theme-speedgate .empty-state {
  padding-block: 55px;
  min-height: 250px;
}
.theme-speedgate .empty-state h1 {
  margin-bottom: 25px;
}
.theme-speedgate .reveal.revealed {
  animation: sg-reveal 0.65s both;
  animation-delay: var(--sg-delay, 0ms);
}
@keyframes sg-reveal {
  from {
    opacity: 0.5;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sg-paper-in {
  from {
    transform: translateY(16px);
    opacity: 0.6;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes sg-pop {
  50% {
    transform: translateY(-5px);
  }
}
@media (min-width: 1600px) {
  .theme-speedgate .hero-scene {
    min-height: 670px;
  }
  .theme-speedgate .hero-paper {
    width: 540px;
    padding: 45px;
  }
}
@media (max-width: 1200px) {
  .theme-speedgate .container {
    width: calc(100% - 64px);
  }
  .theme-speedgate .desktop-nav {
    gap: 14px;
    font-size: 13px;
  }
  .theme-speedgate .header-actions > .button {
    padding-inline: 14px;
    font-size: 12px;
  }
  .theme-speedgate .brand strong {
    font-size: 21px;
  }
  .theme-speedgate .brand img {
    width: 48px;
    height: 48px;
  }
  .theme-speedgate .header-inner {
    gap: 12px;
  }
  .theme-speedgate .features-section {
    gap: 55px;
  }
  .theme-speedgate .stats > div {
    padding-left: 15px;
    gap: 12px;
  }
  .theme-speedgate .stats small {
    font-size: 11px;
  }
  .theme-speedgate .hero-paper {
    width: 470px;
  }
  .theme-speedgate .footer-grid {
    gap: 25px;
  }
  .theme-speedgate .product-grid {
    gap: 16px;
  }
}
@media (max-width: 1023px) {
  .theme-speedgate .desktop-nav {
    display: none;
  }
  .theme-speedgate .mobile-toggle {
    display: inline-flex;
  }
  .theme-speedgate .mobile-nav {
    display: block;
    padding-block: 15px;
  }
  .theme-speedgate .mobile-nav .submenu {
    position: static;

    padding: 5px 18px;
    background: var(--sg-paper);
  }
  .theme-speedgate .mobile-nav > .nav-item {
    padding: 3px 0;
  }
  .theme-speedgate .mobile-nav summary {
    justify-content: space-between;
  }
  .theme-speedgate .header-inner {
    height: 85px;
  }
  .theme-speedgate .hero-scene {
    padding: 25px;
    min-height: 590px;
  }
  .theme-speedgate .hero-paper {
    width: 430px;
    padding: 28px;
  }
  .theme-speedgate .hero h1 {
    font-size: 77px;
  }
  .theme-speedgate .hero-caption {
    max-width: 220px;
    right: 20px;
    bottom: 20px;
    line-height: 1.7;
  }
  .theme-speedgate .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .theme-speedgate .stats > div:nth-child(2) {
    border: 0;
  }
  .theme-speedgate .stats > div:nth-child(3) {
    padding-left: 0;
  }
  .theme-speedgate .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .theme-speedgate .features-section {
    gap: 40px;
  }
  .theme-speedgate .features-picture > img {
    height: 520px;
  }
  .theme-speedgate .picture-stamp {
    width: 130px;
    height: 130px;
    right: -10px;
  }
  .theme-speedgate .news-grid {
    gap: 20px;
  }
  .theme-speedgate .news-grid h3 {
    font-size: 18px;
  }
  .theme-speedgate .cta-paper {
    padding: 35px;
  }
  .theme-speedgate .cta-paper h2 {
    font-size: 34px;
  }
  .theme-speedgate .cta-actions {
    gap: 10px;
  }
  .theme-speedgate .cta-actions .button {
    font-size: 12px;
    padding: 12px;
  }
  .theme-speedgate .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
  }
  .theme-speedgate .timeline {
    gap: 20px;
  }
  .theme-speedgate .timeline article {
    padding: 24px;
  }
  .theme-speedgate .timeline h2 {
    font-size: 24px;
  }
  .theme-speedgate .form-layout {
    gap: 30px;
    grid-template-columns: 1.3fr 1fr;
  }
  .theme-speedgate .dynamic-form {
    gap: 20px;
  }
  .theme-speedgate .dynamic-form label {
    grid-column: 1/-1;
  }
  .theme-speedgate .product-filter {
    align-items: start;
    flex-direction: column;
  }
  .theme-speedgate .detail-grid {
    gap: 35px;
  }
  .theme-speedgate .detail h1 {
    font-size: 36px;
  }
}
@media (max-width: 639px) {
  .theme-speedgate .container {
    width: calc(100% - 36px);
  }
  .theme-speedgate .section-space {
    margin-top: 65px;
    margin-bottom: 65px;
  }
  .theme-speedgate .topbar .container {
    justify-content: center;
    font-size: 11px;
    padding-block: 7px;
  }
  .theme-speedgate .topbar span:last-child {
    display: none;
  }
  .theme-speedgate .header-inner {
    height: 78px;
    gap: 6px;
  }
  .theme-speedgate .brand {
    gap: 6px;
  }
  .theme-speedgate .brand img {
    width: 40px;
    height: 40px;
  }
  .theme-speedgate .brand strong {
    font-size: 18px;
  }
  .theme-speedgate .brand small {
    font-size: 8px;
  }
  .theme-speedgate .header-actions {
    gap: 0;
  }
  .theme-speedgate .header-actions > .button {
    display: none;
  }
  .theme-speedgate .header-actions .icon-button {
    width: 39px;
  }
  .theme-speedgate .hero {
    width: 100%;
    margin-top: 0;
  }
  .theme-speedgate .hero-scene {
    padding: 20px 18px 200px;
    min-height: 0;
    background-position: 65% center;
  }
  .theme-speedgate .hero-paper {
    width: 100%;
    padding: 25px 25px 18px;
  }
  .theme-speedgate .paper-top p {
    font-size: 9px;
    letter-spacing: 0.03em;
  }
  .theme-speedgate .hero h1 {
    font-size: 73px;
    margin: 22px 0 16px;
  }
  .theme-speedgate .hero-description {
    font-size: 15px;
  }
  .theme-speedgate .hero-actions {
    margin-top: 20px;
    gap: 10px;
  }
  .theme-speedgate .hero-sign {
    font-size: 9px;
    margin-top: 20px;
    padding-top: 14px;
  }
  .theme-speedgate .slider-controls {
    top: auto;
    bottom: 22px;
    right: 18px;
  }
  .theme-speedgate .hero-caption {
    left: 18px;
    bottom: 85px;
    right: auto;
    max-width: 290px;
    font-size: 11px;
    padding: 7px 10px;
  }
  .theme-speedgate .stats {
    padding-block: 28px;
    gap: 24px 10px;
  }
  .theme-speedgate .stats > div {
    gap: 10px;
    padding-left: 10px;
  }
  .theme-speedgate .stats strong {
    font-size: 16px;
  }
  .theme-speedgate .stats small {
    font-size: 10px;
    max-width: 125px;
    line-height: 1.6;
  }
  .theme-speedgate .stats svg {
    width: 22px;
  }
  .theme-speedgate .paper-section {
    padding-block: 45px;
    margin-top: 0;
  }
  .theme-speedgate .heading-row {
    display: block;
    margin-bottom: 24px;
  }
  .theme-speedgate .heading-row > .text-link {
    margin-top: 20px;
  }
  .theme-speedgate .section-heading h2 {
    font-size: 34px;
  }
  .theme-speedgate .section-heading > p:last-child:not(.section-note) {
    font-size: 15px;
    margin-top: 15px;
  }
  .theme-speedgate .section-note {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .theme-speedgate .product-filter {
    gap: 15px;
    margin: 24px 0;
  }
  .theme-speedgate .tabs {
    gap: 3px;
  }
  .theme-speedgate .tabs button {
    font-size: 11px;
    padding: 10px 9px;
    min-height: 44px;
  }
  .theme-speedgate .crop-select {
    font-size: 13px;
  }
  .theme-speedgate .product-grid {
    gap: 25px 13px;
  }
  .theme-speedgate .product-category {
    font-size: 8px;
    top: 9px;
    left: 9px;
  }
  .theme-speedgate .product-weight {
    font-size: 8px;
    bottom: 8px;
    right: 8px;
  }
  .theme-speedgate .product-image {
    aspect-ratio: 0.82;
  }
  .theme-speedgate .product-image img {
    width: 95%;
    height: 88%;
  }
  .theme-speedgate .product-info {
    padding-top: 14px;
  }
  .theme-speedgate .product-info h3 {
    font-size: 15px;
    line-height: 1.5;
  }
  .theme-speedgate .product-info p {
    font-size: 12px;
    line-height: 1.6;
    min-height: 38px;
  }
  .theme-speedgate .product-bottom {
    font-size: 11px;
    gap: 3px;
    align-items: center;
  }
  .theme-speedgate .add-product {
    width: 36px;
    height: 44px;
  }
  .theme-speedgate .catalog-note {
    font-size: 10px;
  }
  .theme-speedgate .features-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .theme-speedgate .features-picture > img {
    height: 380px;
  }
  .theme-speedgate .picture-stamp {
    right: 15px;
    bottom: 20px;
  }
  .theme-speedgate .feature-list > div {
    padding: 16px 0;
    gap: 20px;
  }
  .theme-speedgate .news-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .theme-speedgate .news-grid h3 {
    font-size: 23px;
  }
  .theme-speedgate .news-category {
    margin-top: 17px;
  }
  .theme-speedgate .news-grid article > p {
    margin-top: 10px;
  }
  .theme-speedgate .cta-section {
    grid-template-columns: 1fr;
  }
  .theme-speedgate .cta-paper {
    padding: 32px 25px;
  }
  .theme-speedgate .cta-paper h2 {
    font-size: 34px;
  }
  .theme-speedgate .cta-paper > svg {
    width: 38px;
    margin-bottom: 20px;
  }
  .theme-speedgate .cta-section > img {
    height: 240px;
    object-position: center;
  }
  .theme-speedgate .cta-actions .button {
    font-size: 12px;
  }
  .theme-speedgate .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
  }
  .theme-speedgate .footer-brand {
    grid-column: 1/-1;
  }
  .theme-speedgate footer {
    padding-top: 45px;
  }
  .theme-speedgate .footer-grid > div:last-child {
    grid-column: 1/-1;
  }
  .theme-speedgate footer h3 {
    margin-bottom: 17px;
  }
  .theme-speedgate .newsletter {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .theme-speedgate .newsletter form {
    width: 100%;
  }
  .theme-speedgate .newsletter p {
    margin: 0;
  }
  .theme-speedgate .footer-bottom {
    gap: 20px;
    line-height: 1.6;
    font-size: 10px;
  }
  .theme-speedgate .demo-note,
  .theme-speedgate .credits {
    font-size: 10px !important;
  }
  .theme-speedgate .floating-contact {
    width: 44px;
    height: 44px;
    right: 14px;
    bottom: 14px;
  }
  .theme-speedgate .page-hero {
    padding: 35px 0;
  }
  .theme-speedgate .page-hero h1 {
    font-size: 38px;
  }
  .theme-speedgate .page-hero p {
    font-size: 15px;
  }
  .theme-speedgate .about-image {
    height: 350px;
  }
  .theme-speedgate .timeline {
    grid-template-columns: 1fr;
  }
  .theme-speedgate .timeline article {
    padding: 30px;
  }
  .theme-speedgate .timeline h2 {
    font-size: 28px;
  }
  .theme-speedgate .form-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .theme-speedgate .dynamic-form {
    gap: 23px;
  }
  .theme-speedgate .aside-panel {
    padding: 25px;
  }
  .theme-speedgate .price-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
    font-size: 13px;
  }
  .theme-speedgate .price-row > a {
    grid-column: 1/-1;
  }
  .theme-speedgate .pricing-table {
    padding: 25px 20px;
  }
  .theme-speedgate .project-grid {
    grid-template-columns: 1fr;
  }
  .theme-speedgate .project-grid img {
    height: 260px;
  }
  .theme-speedgate .project-grid h3 {
    font-size: 26px;
  }
  .theme-speedgate .service-hero img {
    height: 250px;
  }
  .theme-speedgate .service-list > a {
    gap: 18px;
  }
  .theme-speedgate .service-list h2 {
    font-size: 25px;
  }
  .theme-speedgate .service-list p {
    font-size: 14px;
  }
  .theme-speedgate .service-list > a > svg {
    width: 24px;
  }
  .theme-speedgate .detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .theme-speedgate .detail-grid > img {
    height: 350px;
  }
  .theme-speedgate .detail h1 {
    font-size: 37px;
  }
  .theme-speedgate .detail .lead {
    font-size: 18px;
  }
  .theme-speedgate .modal {
    padding: 25px 20px;
  }
  .theme-speedgate .modal h2 {
    font-size: 25px;
  }
  .theme-speedgate .modal-backdrop {
    padding: 15px;
  }
  .theme-speedgate .drawer-backdrop {
    padding: 0;
  }
  .theme-speedgate .drawer {
    width: min(100%, 440px);
  }
  .theme-speedgate .search-form input {
    font-size: 14px;
  }
  .theme-speedgate .chips button {
    font-size: 12px;
  }
  .theme-speedgate .modal > p {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .theme-speedgate *,
  .theme-speedgate *:before,
  .theme-speedgate *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Final readability and Taste review refinements */
.theme-speedgate .hero-sign,
.theme-speedgate .footer-bottom {
  border: 0;
}
.theme-speedgate .hero-sign {
  letter-spacing: 0;
  font-size: 13px;
}
.theme-speedgate .hero h1 {
  margin-top: 18px;
}
.theme-speedgate .picture-stamp span {
  font-size: 13px;
  letter-spacing: 0;
}
.theme-speedgate .hero-sign,
.theme-speedgate .category-label,
.theme-speedgate .product-category,
.theme-speedgate .product-weight,
.theme-speedgate .catalog-note,
.theme-speedgate .topbar,
.theme-speedgate .stats small,
.theme-speedgate .brand small,
.theme-speedgate .demo-note,
.theme-speedgate .credits,
.theme-speedgate .news-category {
  font-size: 13px !important;
  letter-spacing: 0;
}
.theme-speedgate .brand small {
  font-size: 10px !important;
}
.theme-speedgate .product-info p,
.theme-speedgate .feature-list p,
.theme-speedgate .news-grid article > p,
.theme-speedgate footer p,
.theme-speedgate footer a:not(.brand),
.theme-speedgate .cta-paper > p:not(.section-note) {
  font-size: 16px;
}
.theme-speedgate .product-info p {
  min-height: 54px;
}
.theme-speedgate .product-info h3 {
  font-size: 19px;
}
.theme-speedgate .product-bottom {
  font-size: 14px;
}
.theme-speedgate .hero-caption {
  font-size: 13px;
}
.theme-speedgate .stats > div {
  border: 0;
}
.theme-speedgate .section-note {
  font-size: 13px;
  letter-spacing: 0;
}
.theme-speedgate .category-label {
  margin-bottom: 14px;
}
.theme-speedgate .paper-top {
  height: 28px;
}
.theme-speedgate .section-heading h2 {
  margin-bottom: 20px;
}
@media (max-width: 639px) {
  .theme-speedgate .hero h1 {
    font-size: 68px;
  }
  .theme-speedgate .hero-sign {
    font-size: 13px;
  }
  .theme-speedgate .hero-paper {
    padding: 22px;
  }
  .theme-speedgate .hero-caption {
    bottom: 95px;
    max-width: calc(100% - 36px);
    font-size: 13px;
  }
  .theme-speedgate .slider-controls {
    right: 75px;
  }
  .theme-speedgate .stats > div {
    padding: 0;
    gap: 8px;
  }
  .theme-speedgate .stats small {
    font-size: 13px;
    max-width: 140px;
  }
  .theme-speedgate .stats strong {
    font-size: 16px;
  }
  .theme-speedgate .product-category,
  .theme-speedgate .product-weight {
    font-size: 13px !important;
  }
  .theme-speedgate .product-info h3 {
    font-size: 17px;
  }
  .theme-speedgate .product-info p {
    font-size: 16px;
    min-height: 100px;
  }
  .theme-speedgate .product-bottom {
    font-size: 13px;
    flex-wrap: wrap;
  }
  .theme-speedgate .tabs button {
    font-size: 13px;
  }
  .theme-speedgate .product-image {
    aspect-ratio: 0.76;
  }
  .theme-speedgate .picture-stamp {
    width: 150px;
    height: 150px;
  }
  .theme-speedgate .cta-paper h2 {
    font-size: 38px;
  }
  .theme-speedgate .hero-sign {
    margin-top: 10px;
  }
  .theme-speedgate .topbar {
    font-size: 13px;
  }
  .theme-speedgate .cta-actions .button {
    font-size: 13px;
  }
  .theme-speedgate .brand small {
    font-size: 9px !important;
  }
}

.theme-speedgate .brand small {
  font-size: 13px !important;
}
.theme-speedgate .footer-bottom {
  font-size: 13px;
}
.theme-speedgate .hero-description,
.theme-speedgate .section-heading > p:last-child:not(.section-note),
.theme-speedgate .product-info p,
.theme-speedgate .feature-list p,
.theme-speedgate .news-grid article > p {
  color: var(--sg-ink);
}
.theme-speedgate .button,
.theme-speedgate .header-actions > .button,
.theme-speedgate .cta-actions .button {
  font-size: 14px;
}
.theme-speedgate .add-product {
  width: 44px;
  height: 44px;
}
@media (max-width: 639px) {
  .theme-speedgate .header-actions .icon-button {
    width: 44px;
  }
  .theme-speedgate .button,
  .theme-speedgate .header-actions > .button,
  .theme-speedgate .cta-actions .button {
    font-size: 13px;
  }
}
body.theme-speedgate {
  --sg-on-primary: #fff;
  --sg-secondary: var(--color-secondary, #174a79);
  --sg-destructive: #a72a25;
}

.theme-speedgate .button.secondary {
  border: 1px solid var(--sg-primary);
}
@media (max-width: 639px) {
  .theme-speedgate .topbar .container {
    font-size: 13px;
  }
}

/* Navigation, language, fluid hero and editorial layouts */
.theme-speedgate .nav-parent {
  display: flex;
  align-items: center;
}
.theme-speedgate .submenu-toggle {
  border: 0;
  background: transparent;
  min-width: 24px;
  min-height: 44px;
  display: grid;
  place-items: center;
}
.theme-speedgate .submenu-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.theme-speedgate .nav-branch {
  position: relative;
}
.theme-speedgate .submenu {
  top: 100%;
  z-index: 40;
}
.theme-speedgate .language-switch {
  position: relative;
}
.theme-speedgate .language-current {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 7px;
  border: 0;
  background: transparent;
  font-size: 13px;
}
.theme-speedgate .language-current svg:first-child {
  width: 20px;
  height: 15px;
}
.theme-speedgate .language-options {
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--sg-paper);
  width: 190px;
  padding: 8px;
  z-index: 45;
}
.theme-speedgate .language-options a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  font-size: 14px;
}
.theme-speedgate .language-options a:hover {
  background: #e1e7d8;
}
.theme-speedgate .language-options a > svg:first-child {
  width: 22px;
  height: 16px;
}
.theme-speedgate .language-options a > svg:last-child {
  margin-left: auto;
}
.theme-speedgate .desktop-nav {
  gap: 16px;
}
.theme-speedgate .hero.hero-fluid {
  width: 100%;
  max-width: none;
  margin: 0;
}
.theme-speedgate .hero-fluid .hero-scene {
  padding-left: max(48px, calc((100vw - 1320px) / 2));
  padding-right: max(48px, calc((100vw - 1320px) / 2));
}
.theme-speedgate .hero-fluid .hero-caption {
  right: max(48px, calc((100vw - 1320px) / 2));
}
.theme-speedgate .hero-fluid .slider-controls {
  right: max(48px, calc((100vw - 1320px) / 2));
}
.theme-speedgate .news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 55px;
  align-items: start;
}
.theme-speedgate .news-archive .news-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px 25px;
}
.theme-speedgate .news-sidebar {
  position: sticky;
  top: 25px;
}
.theme-speedgate .news-sidebar-block {
  background: var(--sg-paper);
  padding: 27px;
  margin-bottom: 28px;
}
.theme-speedgate .news-sidebar-block h2 {
  font-size: 24px;
  margin-bottom: 25px;
}
.theme-speedgate .news-sidebar-block > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  font-size: 15px;
}
.theme-speedgate .news-sidebar-block > a.selected {
  color: var(--sg-primary);
  font-weight: 600;
}
.theme-speedgate .featured-posts > a {
  align-items: start;
  padding: 15px 0;
}
.theme-speedgate .featured-posts img {
  width: 82px;
  height: 78px;
  object-fit: cover;
  flex-shrink: 0;
}
.theme-speedgate .featured-posts h3 {
  font-size: 15px;
  line-height: 1.5;
}
.theme-speedgate .featured-posts small {
  display: block;
  font-size: 13px;
  color: var(--sg-muted);
  margin-bottom: 6px;
}
.theme-speedgate .service-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--sg-paper);
}
.theme-speedgate .service-intro > div {
  padding: 50px;
}
.theme-speedgate .service-intro h2 {
  margin: 22px 0;
}
.theme-speedgate .service-intro p {
  margin-bottom: 25px;
}
.theme-speedgate .service-intro > img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.theme-speedgate .visual-service-list {
  margin: 90px 0;
}
.theme-speedgate .visual-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
  margin-bottom: 75px;
}
.theme-speedgate .visual-service:nth-child(even) .service-photo {
  order: 2;
}
.theme-speedgate .service-photo {
  display: block;
  overflow: hidden;
}
.theme-speedgate .service-photo img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  transition: transform 0.4s;
}
.theme-speedgate .service-photo:hover img {
  transform: scale(1.04);
}
.theme-speedgate .service-copy h2 {
  font-size: 38px;
  margin: 22px 0;
}
.theme-speedgate .service-copy p {
  color: var(--sg-muted);
}
.theme-speedgate .service-copy ul {
  list-style: none;
  margin: 22px 0;
  padding: 0;
}
.theme-speedgate .service-copy li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  font-size: 15px;
}
.theme-speedgate .service-copy li svg {
  color: var(--sg-primary);
  flex-shrink: 0;
}
.theme-speedgate .service-process {
  background: var(--sg-paper);
  padding: 50px;
}
.theme-speedgate .service-process > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin: 40px 0;
}
.theme-speedgate .service-process article h3 {
  margin: 20px 0 12px;
}
.theme-speedgate .service-process article p {
  font-size: 15px;
  margin-bottom: 0;
}
@media (max-width: 1250px) and (min-width: 1024px) {
  .theme-speedgate .desktop-nav {
    gap: 9px;
  }
  .theme-speedgate .header-inner {
    gap: 8px;
  }
  .theme-speedgate .header-actions > .button {
    padding-inline: 10px;
  }
  .theme-speedgate .language-current {
    padding: 0 3px;
  }
  .theme-speedgate .brand strong {
    font-size: 19px;
  }
  .theme-speedgate .brand small {
    font-size: 11px !important;
  }
}
@media (max-width: 1023px) {
  .theme-speedgate .mobile-nav .nav-parent {
    justify-content: space-between;
  }
  .theme-speedgate .mobile-nav .submenu-toggle {
    width: 44px;
  }
  .theme-speedgate .hero-fluid .hero-scene {
    padding-left: 32px;
    padding-right: 32px;
  }
  .theme-speedgate .news-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 25px;
  }
  .theme-speedgate .news-archive .news-grid {
    grid-template-columns: 1fr;
  }
  .theme-speedgate .news-sidebar-block {
    padding: 20px;
  }
  .theme-speedgate .service-intro > div {
    padding: 30px;
  }
  .theme-speedgate .visual-service {
    gap: 35px;
  }
  .theme-speedgate .service-copy h2 {
    font-size: 32px;
  }
  .theme-speedgate .service-process {
    padding: 30px;
  }
  .theme-speedgate .service-process > div {
    gap: 25px;
  }
}
@media (max-width: 639px) {
  .theme-speedgate .header-inner .brand strong {
    font-size: 16px;
  }
  .theme-speedgate .header-inner .brand small {
    font-size: 10px !important;
  }
  .theme-speedgate .header-inner .brand img {
    width: 34px;
    height: 34px;
  }
  .theme-speedgate .header-actions .icon-button {
    width: 36px;
  }
  .theme-speedgate .language-current {
    gap: 3px;
    padding: 0 4px;
    font-size: 12px;
  }
  .theme-speedgate .language-current > svg:first-child {
    display: none;
  }
  .theme-speedgate .language-options a > svg:first-child {
    display: block;
  }
  .theme-speedgate .hero-fluid .hero-scene {
    padding-left: 18px;
    padding-right: 18px;
  }
  .theme-speedgate .hero-fluid .hero-caption {
    right: auto;
    left: 18px;
  }
  .theme-speedgate .hero-fluid .slider-controls {
    right: 75px;
  }
  .theme-speedgate .news-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .theme-speedgate .news-sidebar {
    position: static;
  }
  .theme-speedgate .news-archive .news-grid {
    grid-template-columns: 1fr;
  }
  .theme-speedgate .service-intro {
    grid-template-columns: 1fr;
  }
  .theme-speedgate .service-intro > div {
    padding: 30px 24px;
  }
  .theme-speedgate .service-intro > img {
    height: 250px;
  }
  .theme-speedgate .visual-service-list {
    margin: 60px 0;
  }
  .theme-speedgate .visual-service {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 55px;
  }
  .theme-speedgate .visual-service:nth-child(even) .service-photo {
    order: 0;
  }
  .theme-speedgate .service-photo img {
    height: 290px;
  }
  .theme-speedgate .service-copy h2 {
    font-size: 32px;
  }
  .theme-speedgate .service-process {
    padding: 30px 24px;
  }
  .theme-speedgate .service-process h2 {
    font-size: 32px;
  }
  .theme-speedgate .service-process > div {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .theme-speedgate .service-process article {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 0 18px;
  }
  .theme-speedgate .service-process article h3 {
    margin: 0 0 10px;
  }
  .theme-speedgate .service-process article p {
    grid-column: 2;
  }
}
.theme-speedgate .language-options a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.theme-speedgate .language-options a > svg:first-child {
  width: 22px;
  height: 16px;
  margin: 0;
}
.theme-speedgate .language-name {
  white-space: nowrap;
}
.theme-speedgate .language-check {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
}
.theme-speedgate .product-details,
.theme-speedgate .service-detail-body {
  margin-top: 70px;
}
.theme-speedgate .detail-tabs {
  display: flex;
  gap: 8px;
  background: var(--sg-paper);
  padding: 8px;
}
.theme-speedgate .detail-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 15px 28px;
  border: 0;
  background: transparent;
  font-weight: 600;
}
.theme-speedgate .detail-tabs button[aria-selected="true"] {
  background: var(--sg-primary);
  color: white;
}
.theme-speedgate .detail-tabs button:hover:not([aria-selected="true"]) {
  background: #e4eadc;
}
.theme-speedgate .detail-tab-panel {
  padding: 40px 0 0;
}
.theme-speedgate .detail-tab-panel[hidden] {
  display: none;
}
.theme-speedgate .detail-tab-panel h2 {
  font-size: 32px;
  margin-bottom: 24px;
}
.theme-speedgate .product-overview {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.theme-speedgate .product-highlight {
  background: var(--sg-paper);
  padding: 28px;
}
.theme-speedgate .product-highlight h3 {
  margin-top: 18px;
}
.theme-speedgate .detail .product-highlight p {
  margin-bottom: 0;
}
.theme-speedgate .detail-notice {
  display: flex;
  align-items: start;
  gap: 12px;
  background: #edf1e7;
  padding: 20px 24px;
  margin-top: 28px;
}
.theme-speedgate .detail-notice svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.theme-speedgate .detail .detail-notice p {
  margin: 0;
  font-size: 14px;
}
.theme-speedgate .specification-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.theme-speedgate .specification-table th,
.theme-speedgate .specification-table td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: top;
}
.theme-speedgate .specification-table th {
  width: 35%;
  font-weight: 600;
}
.theme-speedgate .specification-table tr:nth-child(odd) {
  background: var(--sg-paper);
}
.theme-speedgate .service-detail-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 65px;
  align-items: start;
}
.theme-speedgate .service-detail-intro h2 {
  font-size: 38px;
}
.theme-speedgate .service-preparation {
  padding: 30px;
  background: var(--sg-paper);
}
.theme-speedgate .service-preparation h3 {
  margin-top: 20px;
  font-size: 23px;
}
.theme-speedgate .detail .service-preparation ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}
.theme-speedgate .service-preparation li {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-top: 15px;
  font-size: 15px;
}
.theme-speedgate .service-preparation li svg {
  flex-shrink: 0;
  margin-top: 5px;
}
.theme-speedgate .service-method-title {
  font-size: 32px;
  margin: 55px 0 30px;
}
.theme-speedgate .service-detail-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
}
.theme-speedgate .service-detail-steps h3 {
  margin-top: 20px;
  font-size: 22px;
}
.theme-speedgate .detail .service-detail-steps p {
  font-size: 16px;
}
.theme-speedgate .service-detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: var(--sg-paper);
  padding: 30px;
  margin-top: 30px;
}
.theme-speedgate .detail .service-detail-cta p {
  margin: 0;
  max-width: 700px;
}
.theme-speedgate .detail .service-detail-cta .button {
  flex-shrink: 0;
  margin: 0;
}
@media (max-width: 1023px) {
  .theme-speedgate .service-detail-intro,
  .theme-speedgate .product-overview {
    gap: 30px;
  }
  .theme-speedgate .service-detail-steps {
    gap: 24px;
  }
}
@media (max-width: 639px) {
  .theme-speedgate .product-details,
  .theme-speedgate .service-detail-body {
    margin-top: 45px;
  }
  .theme-speedgate .detail-tabs {
    gap: 4px;
    padding: 5px;
  }
  .theme-speedgate .detail-tabs button {
    flex: 1;
    padding: 12px 8px;
    font-size: 13px;
    gap: 7px;
  }
  .theme-speedgate .detail-tabs button svg {
    width: 18px;
    flex-shrink: 0;
  }
  .theme-speedgate .product-overview,
  .theme-speedgate .service-detail-intro,
  .theme-speedgate .service-detail-steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .theme-speedgate .detail-tab-panel {
    padding-top: 28px;
  }
  .theme-speedgate .detail-tab-panel h2,
  .theme-speedgate .service-detail-intro h2,
  .theme-speedgate .service-method-title {
    font-size: 29px;
  }
  .theme-speedgate .specification-table th,
  .theme-speedgate .specification-table td {
    padding: 16px 12px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }
  .theme-speedgate .specification-table th {
    width: 42%;
  }
  .theme-speedgate .service-detail-cta {
    flex-direction: column;
    align-items: start;
    padding: 25px;
    gap: 20px;
  }
  .theme-speedgate .service-detail-steps article {
    padding: 25px;
    background: var(--sg-paper);
  }
}
html[lang="en"] .theme-speedgate .hero h1 {
  font-size: 80px;
}
@media (max-width: 1023px) {
  html[lang="en"] .theme-speedgate .hero h1 {
    font-size: 68px;
  }
}
@media (max-width: 639px) {
  html[lang="en"] .theme-speedgate .hero h1 {
    font-size: 60px;
  }
}

/* ===================== Bổ sung cho bản port CMS ===================== */
body.theme-speedgate {
  --sg-primary-dark: color-mix(in srgb, var(--sg-primary) 70%, #000);
  --sg-footer: color-mix(in srgb, var(--sg-primary) 62%, #000);
  font-family: var(--font-sg-work), 'Work Sans', Arial, sans-serif;
}
.theme-speedgate .container {
  padding-inline: 0;
}
.theme-speedgate .skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--sg-paper);
  padding: 10px 16px;
}
.theme-speedgate .skip-link:focus {
  top: 12px;
}
.theme-speedgate .topbar a:hover {
  text-decoration: underline;
}
.theme-speedgate .sg-marquee {
  overflow: hidden;
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .theme-speedgate .sg-marquee > a,
  .theme-speedgate .sg-marquee {
    animation: sg-marquee 18s linear infinite;
  }
  .theme-speedgate .sg-marquee:hover,
  .theme-speedgate .sg-marquee:focus-within {
    animation-play-state: paused;
  }
}
@keyframes sg-marquee {
  from {
    transform: translateX(30%);
  }
  to {
    transform: translateX(-30%);
  }
}
.theme-speedgate .brand-fallback {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sg-primary);
  color: var(--sg-gold);
  border: 3px solid var(--sg-gold);
  flex-shrink: 0;
}
.theme-speedgate .brand img {
  object-fit: contain;
}
.theme-speedgate .header-actions > .button {
  white-space: nowrap;
}
.theme-speedgate .mobile-nav .mobile-quote {
  margin-top: 12px;
  width: 100%;
}
.theme-speedgate .submenu .nav-item a {
  white-space: nowrap;
}

/* Hero: ảnh nền là <img> ưu tiên (LCP), không dùng background-image */
.theme-speedgate .hero-scene > .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.theme-speedgate .hero-scene > .img-fallback-gradient.hero-bg {
  display: block;
}
.theme-speedgate .hero-paper,
.theme-speedgate .hero-caption,
.theme-speedgate .slider-controls {
  z-index: 1;
}
.theme-speedgate .hero-paper {
  animation: none;
}
.theme-speedgate .hero-paper.is-changing {
  animation: sg-paper-in 0.65s ease-out;
}
@media (max-width: 639px) {
  .theme-speedgate .hero-scene > .hero-bg {
    object-position: 65% center;
  }
}

/* Placeholder ảnh trống: watermark lấy từ Shortname tenant */
.theme-speedgate .img-fallback-gradient,
.theme-speedgate .img-fallback-plain {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 60px;
  position: relative;
  background: linear-gradient(135deg, #e6e9da, var(--sg-paper));
}
.theme-speedgate .img-fallback-gradient::before {
  content: var(--sg-watermark, 'Chưa có ảnh');
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--sg-primary) 45%, transparent);
  font-size: 13px;
}
.theme-speedgate .features-picture > .img-fallback-gradient {
  height: 560px;
}
.theme-speedgate .cta-section > .img-fallback-gradient,
.theme-speedgate .service-intro > .img-fallback-gradient {
  min-height: 320px;
}

/* Section heading khi đóng vai H1 của trang danh sách */
.theme-speedgate .section-heading h1 {
  font-size: clamp(32px, 3.3vw, 48px);
  margin-bottom: 20px;
}
.theme-speedgate .section-heading > p {
  color: var(--sg-ink);
  margin: 0;
  max-width: 560px;
}
.theme-speedgate .paper-band {
  background: var(--sg-paper);
  padding: 50px;
}
.theme-speedgate .about-intro .section-heading {
  max-width: 560px;
}
.theme-speedgate .about-intro .section-heading h1,
.theme-speedgate .about-intro .section-heading h2 {
  font-size: clamp(34px, 3.3vw, 48px);
  color: var(--sg-ink);
}
.theme-speedgate .about-intro .about-note {
  font-size: 22px;
}
.theme-speedgate .value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.theme-speedgate .value-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.theme-speedgate .value-grid article,
.theme-speedgate .timeline article {
  background: var(--sg-paper);
  padding: 32px;
}
.theme-speedgate .value-grid h3 {
  margin: 18px 0 10px;
  font-size: 21px;
}
.theme-speedgate .timeline h3 {
  font-size: 28px;
  margin: 25px 0 18px;
  line-height: 1.2;
}
.theme-speedgate .empty-note {
  color: var(--sg-muted);
  padding: 30px 0;
}
.theme-speedgate .sg-pagination {
  margin-top: 40px;
}
.theme-speedgate .sg-pagination a,
.theme-speedgate .sg-pagination span {
  border-radius: 3px;
}

/* Sản phẩm */
.theme-speedgate .product-image .img-fallback-gradient {
  position: absolute;
  inset: 0;
}
.theme-speedgate .product-info > a:hover h3 {
  color: var(--sg-primary);
}
.theme-speedgate .add-product:disabled {
  background: var(--sg-primary);
  color: #fff;
  opacity: 1;
}
.theme-speedgate .detail-back {
  margin-top: 60px;
}
.theme-speedgate .detail-back + .detail,
.theme-speedgate .detail-back + section {
  margin-top: 30px;
}
.theme-speedgate .detail {
  margin-bottom: 100px;
}
.theme-speedgate .detail .detail-title {
  font-size: 45px;
  margin-bottom: 25px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.theme-speedgate .detail-media .gallery-main {
  display: block;
  width: 100%;
  border: 0;
  padding: 35px;
  background: var(--sg-paper);
  cursor: zoom-in;
}
.theme-speedgate .detail-media .gallery-main img,
.theme-speedgate .detail-media .gallery-main .img-fallback-gradient {
  width: 100%;
  height: 480px;
  object-fit: contain;
}
.theme-speedgate .detail-media.cover .gallery-main {
  padding: 0;
}
.theme-speedgate .detail-media.cover img,
.theme-speedgate .detail-media.cover .img-fallback-gradient {
  width: 100%;
  height: 550px;
  object-fit: cover;
}
.theme-speedgate .gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.theme-speedgate .gallery-thumbs button {
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid transparent;
  background: var(--sg-paper);
  overflow: hidden;
}
.theme-speedgate .gallery-thumbs button[aria-pressed='true'] {
  border-color: var(--sg-primary);
}
.theme-speedgate .gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-speedgate .lightbox img {
  width: 100%;
  max-height: 70dvh;
  object-fit: contain;
}
.theme-speedgate .lightbox-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.theme-speedgate .detail-price {
  font-size: 24px;
  font-weight: 600;
  color: var(--sg-primary);
}
.theme-speedgate .detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}
.theme-speedgate .detail .detail-actions .button {
  margin: 0;
}
.theme-speedgate .variant-selects {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}
.theme-speedgate .variant-selects select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--sg-border);
  border-radius: 3px;
  background: #fff;
}
.theme-speedgate .field-error {
  display: block;
  color: #a72a25;
  font-size: 13px;
  margin-top: 6px;
}
.theme-speedgate .detail-tab-panel .article-body,
.theme-speedgate .product-overview .prose {
  max-width: 72ch;
}
.theme-speedgate .project-gallery {
  margin-top: 50px;
}

/* Rich text trong theme: giữ cỡ chữ đọc dài, không thừa kế h2 48px */
.theme-speedgate .prose {
  color: var(--sg-ink);
  font-size: 16px;
  line-height: 1.75;
}
.theme-speedgate .prose h2 {
  font-size: 28px;
  margin: 1.4em 0 0.6em;
}
.theme-speedgate .prose h3 {
  font-size: 22px;
  margin: 1.2em 0 0.5em;
}
.theme-speedgate .prose a {
  color: var(--sg-primary);
  text-decoration: underline;
}
.theme-speedgate .prose img,
.theme-speedgate .prose table {
  max-width: 100%;
}

/* Dịch vụ */
.theme-speedgate .service-intro.no-image {
  grid-template-columns: 1fr;
}
.theme-speedgate .service-photo {
  aspect-ratio: auto;
}
.theme-speedgate .service-copy h2 a:hover {
  color: var(--sg-primary);
}
.theme-speedgate .service-process > p {
  max-width: 640px;
  margin-top: 16px;
}
.theme-speedgate .service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 35px;
}
.theme-speedgate .service-card {
  display: block;
}
.theme-speedgate .service-card-photo {
  aspect-ratio: 1.5;
  overflow: hidden;
  margin-bottom: 20px;
}
.theme-speedgate .service-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.theme-speedgate .service-card:hover img {
  transform: scale(1.04);
}
.theme-speedgate .service-card h3 {
  font-size: 22px;
  margin: 14px 0 10px;
}
.theme-speedgate .service-card p {
  color: var(--sg-muted);
  font-size: 15px;
}
.theme-speedgate .other-services h2 {
  font-size: 32px;
}
.theme-speedgate .service-detail-intro.single {
  grid-template-columns: 1fr;
}
.theme-speedgate .service-detail-intro .prose h2:first-child {
  font-size: 38px;
  margin-top: 0;
}
.theme-speedgate .service-detail-cta h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

/* Tin tức */
.theme-speedgate .news-layout {
  grid-template-columns: var(--sg-columns, minmax(0, 1fr) 320px);
}
.theme-speedgate .column-main > * + * {
  margin-top: 60px;
}
.theme-speedgate .news-sidebar-block > a > span {
  font-size: 13px;
  font-weight: 600;
}
.theme-speedgate .featured-posts img,
.theme-speedgate .featured-posts .img-fallback-plain {
  width: 82px;
  height: 78px;
  min-height: 0;
  flex-shrink: 0;
  object-fit: cover;
}
.theme-speedgate .news-image .img-fallback-gradient {
  height: 100%;
}
.theme-speedgate .news-grid a:hover h3 {
  color: var(--sg-primary);
}
.theme-speedgate .news-article header h1,
.theme-speedgate .news-article header h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  margin: 6px 0 18px;
}
.theme-speedgate .news-article .lead {
  font-size: 19px;
  color: var(--sg-ink);
}
.theme-speedgate .news-article .article-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.7;
  object-fit: cover;
  margin: 28px 0;
}
.theme-speedgate .news-article .article-body {
  max-width: 72ch;
  font-size: 17px;
}

/* Dự án & video */
.theme-speedgate .project-grid article > a:hover h3 {
  color: var(--sg-primary);
}
.theme-speedgate .project-grid .category-label {
  margin-top: 12px;
}
.theme-speedgate .project-grid .img-fallback-gradient {
  height: 320px;
}
.theme-speedgate .video-grid {
  grid-template-columns: repeat(var(--sg-video-cols, 3), minmax(0, 1fr));
}
.theme-speedgate .video-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.theme-speedgate .video-card .news-image {
  display: block;
  position: relative;
}
.theme-speedgate .video-card h3 {
  margin-top: 18px;
  font-size: 20px;
}
.theme-speedgate .video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--sg-gold);
  color: var(--sg-ink);
  display: grid;
  place-items: center;
}
.theme-speedgate .video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}
.theme-speedgate .video-page .video-grid {
  grid-template-columns: 1fr;
}
.theme-speedgate .empty-state {
  min-height: 0;
}

/* Bảng giá */
.theme-speedgate .pricing-title {
  font-size: 19px;
  letter-spacing: 0;
  margin-bottom: 15px;
}
.theme-speedgate .price-row a:first-child:hover {
  color: var(--sg-primary);
}
.theme-speedgate .price-link {
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  font-weight: 600;
  color: var(--sg-primary);
}
.theme-speedgate .price-link:hover {
  text-decoration: underline;
}
.theme-speedgate .pricing-table.empty-state .button {
  margin-top: 10px;
}

/* Form, liên hệ, báo giá */
.theme-speedgate .form-heading {
  margin-bottom: 30px;
}
.theme-speedgate .form-heading h2 {
  font-size: 32px;
  margin-bottom: 12px;
}
.theme-speedgate .dynamic-form input[aria-invalid='true'],
.theme-speedgate .dynamic-form select[aria-invalid='true'],
.theme-speedgate .dynamic-form textarea[aria-invalid='true'] {
  border-color: #a72a25;
}
.theme-speedgate .dynamic-form > .button {
  justify-self: start;
  min-width: 260px;
}
.theme-speedgate .form-status.error {
  background: #f8e6e4;
  color: #7a1e1a;
}
.theme-speedgate .contact-panel p {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.theme-speedgate .contact-panel svg {
  flex-shrink: 0;
  margin-top: 4px;
}
.theme-speedgate .contact-panel a:hover {
  color: var(--sg-primary);
}
.theme-speedgate .map-frame {
  margin-bottom: 90px;
}
.theme-speedgate .map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
.theme-speedgate .selected-products h2 {
  font-size: 23px;
  margin-bottom: 20px;
}
.theme-speedgate .bsg-row img,
.theme-speedgate .bsg-row .img-fallback-plain {
  width: 60px;
  height: 75px;
  min-height: 0;
  object-fit: contain;
  flex-shrink: 0;
}
.theme-speedgate .bsg-row small {
  display: block;
  color: var(--sg-muted);
}
.theme-speedgate .bsg-qty {
  width: 64px;
  padding: 8px;
  border: 1px solid var(--sg-border);
  border-radius: 3px;
  background: #fff;
}
.theme-speedgate .drawer > .button {
  margin-top: auto;
}
.theme-speedgate .search-summary {
  color: var(--sg-muted);
}
.theme-speedgate .search-result:hover h2 {
  color: var(--sg-primary);
}
.theme-speedgate .search-result .category-label {
  margin-bottom: 6px;
}

/* Footer */
.theme-speedgate footer {
  background: var(--sg-footer);
}
.theme-speedgate footer .brand strong {
  color: #fff;
}
.theme-speedgate footer .brand-fallback {
  width: 52px;
  height: 52px;
}
.theme-speedgate .footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.theme-speedgate .newsletter > div p {
  margin: 4px 0 0;
  color: #d7e0cf;
  font-size: 14px;
}
.theme-speedgate .footer-bottom .copyright a {
  color: inherit;
}

/* Contact FAB */
/* ContactFAB (block): viên thuốc phụ đề + tiêu đề, mở danh sách kênh động */
.sg-fab {
  position: fixed;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.sg-fab.is-left {
  align-items: flex-start;
}
.sg-fab .sg-fab-main {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  border: 0;
  border-radius: 999px;
  background: var(--sg-primary, #c71926);
  color: #fff;
  box-shadow: 0 12px 32px #202b3533;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sg-fab .sg-fab-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px #202b3540;
}
.sg-fab-ping {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--sg-primary, #c71926);
  opacity: 0.35;
  animation: sg-fab-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}
@keyframes sg-fab-ping {
  75%,
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sg-fab-ping {
    animation: none;
    display: none;
  }
}
.sg-fab .sg-fab-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--sg-gold, #c71926);
  color: #202b35;
}
.sg-fab .sg-fab-text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}
.sg-fab .sg-fab-text small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.9);
}
.sg-fab .sg-fab-text strong {
  font-size: 15px;
  font-weight: 700;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sg-fab .sg-fab-main:focus-visible,
.sg-fab-channels a:focus-visible {
  outline: 3px solid #9f1420;
  outline-offset: 3px;
}
.sg-fab-channels {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 210px;
}
.sg-fab-channels a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 18px 6px 6px;
  border: 1px solid var(--sg-border, #dce1e4);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px #202b351f;
  font-size: 14px;
  font-weight: 600;
  color: #202b35;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sg-fab-channels a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px #202b352b;
}
.sg-fab-channels a > span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
@media (max-width: 639px) {
  .sg-fab .sg-fab-main {
    padding: 5px 14px 5px 5px;
  }
  .sg-fab .sg-fab-icon {
    width: 40px;
    height: 40px;
  }
  .sg-fab .sg-fab-text strong {
    font-size: 14px;
  }
}
.theme-speedgate .sg-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  translate: -50% 0;
  z-index: 120;
  background: var(--sg-ink);
  color: #fff;
  padding: 12px 18px;
  font-size: 14px;
}

/* Testimonials / Team / Spotlight (khối tuỳ chọn) */
.theme-speedgate .testimonial-grid,
.theme-speedgate .team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 35px;
}
.theme-speedgate .testimonial-grid figure,
.theme-speedgate .team-grid article {
  background: var(--sg-paper);
  padding: 28px;
  margin: 0;
}
.theme-speedgate .team-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 16px;
}
.theme-speedgate .stars {
  display: flex;
  gap: 2px;
  color: var(--sg-ring);
}
.theme-speedgate .spotlight {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: start;
}
.theme-speedgate .spotlight img {
  width: 100%;
  height: auto;
}
.theme-speedgate .page-content {
  max-width: 1320px;
}

@media (max-width: 1023px) {
  .theme-speedgate .value-grid,
  .theme-speedgate .service-cards,
  .theme-speedgate .testimonial-grid,
  .theme-speedgate .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .theme-speedgate .detail-media.cover img,
  .theme-speedgate .detail-media .gallery-main img {
    height: 420px;
  }
  .theme-speedgate .news-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .theme-speedgate .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .theme-speedgate .value-grid,
  .theme-speedgate .value-grid.two,
  .theme-speedgate .service-cards,
  .theme-speedgate .testimonial-grid,
  .theme-speedgate .team-grid,
  .theme-speedgate .spotlight,
  .theme-speedgate .video-grid {
    grid-template-columns: 1fr;
  }
  .theme-speedgate .paper-band {
    padding: 30px 22px;
  }
  .theme-speedgate .features-picture > .img-fallback-gradient {
    height: 380px;
  }
  .theme-speedgate .detail .detail-title {
    font-size: 34px;
  }
  .theme-speedgate .detail-media .gallery-main {
    padding: 18px;
  }
  .theme-speedgate .detail-media.cover img,
  .theme-speedgate .detail-media .gallery-main img {
    height: 320px;
  }
  .theme-speedgate .news-layout {
    grid-template-columns: 1fr;
  }
  .theme-speedgate .detail-back {
    margin-top: 35px;
  }
  .theme-speedgate .dynamic-form > .button {
    width: 100%;
    min-width: 0;
  }
  .theme-speedgate .detail {
    margin-bottom: 65px;
  }
  .theme-speedgate .map-frame iframe {
    height: 300px;
  }
}
.theme-speedgate .product-info .product-title {
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: normal;
}
@media (max-width: 639px) {
  .theme-speedgate .product-info .product-title {
    font-size: 17px;
    line-height: 1.5;
  }
}
.theme-speedgate .brand-fallback {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.theme-speedgate .paper-top p {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sg-secondary, #174a79);
}
.theme-speedgate .section-heading .section-note,
.theme-speedgate .cta-paper .section-note,
.theme-speedgate .service-intro .section-note,
.theme-speedgate .form-heading .section-note {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  color: var(--sg-secondary, #174a79);
}
.theme-speedgate .cta-dark {
  background: var(--sg-primary);
}
.theme-speedgate .cta-dark .cta-paper,
.theme-speedgate .cta-dark .cta-paper h2,
.theme-speedgate .cta-dark .cta-paper h2 span,
.theme-speedgate .cta-dark .cta-paper > p,
.theme-speedgate .cta-dark .section-note {
  color: #fff;
}
.theme-speedgate .cta-dark .button {
  background: var(--sg-gold);
  color: var(--sg-ink);
}
.theme-speedgate .cta-dark .button.secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.theme-speedgate .cta-section.no-image {
  grid-template-columns: 1fr;
}
.theme-speedgate .pricing-heading {
  margin: 30px 0 0;
}
/* Breadcrumb thống nhất (hero giấy + trang danh sách/chi tiết) */
.theme-speedgate .sg-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.5;
}
.theme-speedgate .sg-breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.theme-speedgate .sg-breadcrumb li + li::before {
  content: "/";
  margin: 0 10px;
  color: rgb(255 255 255 / 0.45);
}
.theme-speedgate .sg-breadcrumb a {
  color: rgb(255 255 255 / 0.8);
  text-decoration: none;
}
.theme-speedgate .sg-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}
.theme-speedgate .sg-breadcrumb a:focus-visible {
  outline: 2px solid var(--sg-gold);
  outline-offset: 2px;
}
.theme-speedgate .sg-breadcrumb [aria-current="page"] {
  color: #fff;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60vw;
}
/* Dải nền primary full-width: padding đều trên/dưới, chữ thẳng mép trái với .container */
.theme-speedgate .sg-breadcrumb-bar {
  background: var(--sg-primary);
  padding: 30px 0;
}
.theme-speedgate .sg-breadcrumb-bar + .section-space,
.theme-speedgate .sg-breadcrumb-bar + section,
.theme-speedgate .sg-breadcrumb-bar + article {
  margin-top: 36px;
}
.theme-speedgate .sg-breadcrumb-bar + .page-hero {
  margin-top: 0;
}
.theme-speedgate .sg-breadcrumb-bar + .product-section {
  margin-top: 0;
  padding-top: 36px;
}

/* Danh sách sản phẩm đã chọn: nền xen kẽ từng dòng */
.theme-speedgate .selected-products .bsg-row {
  padding: 12px 14px;
  border-radius: 3px;
}
.theme-speedgate .selected-products .bsg-row:nth-of-type(odd) {
  background: #fff;
}
.theme-speedgate .selected-products .bsg-row:nth-of-type(even) {
  background: color-mix(in srgb, var(--sg-primary) 5%, var(--sg-paper));
}
.theme-speedgate .selected-products .bsg-row + .bsg-row {
  margin-top: 6px;
}
@media (max-width: 639px) {
  .theme-speedgate .sg-breadcrumb-bar {
    padding: 12px 0;
  }
  .theme-speedgate .selected-products .bsg-row {
    padding: 10px;
    gap: 10px;
  }
}

/* ===== Video: thẻ, nhãn nền tảng, khung nhúng theo tỷ lệ ===== */
.theme-speedgate .video-card .news-image {
  position: relative;
  background: var(--sg-ink);
}
.theme-speedgate .video-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffffb3;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #475569, #1e293b);
}
.theme-speedgate .video-fallback.youtube {
  background: linear-gradient(135deg, #dc2626, #1e293b);
}
.theme-speedgate .video-fallback.facebook {
  background: linear-gradient(135deg, #1877f2, #1e293b);
}
.theme-speedgate .video-fallback.tiktok {
  background: linear-gradient(135deg, #334155, #701a75 55%, #164e63);
}
.theme-speedgate .video-platform {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  background: #000000a6;
  color: #fff;
  font-size: 12px;
}
.theme-speedgate .video-frame {
  width: 100%;
  margin: 28px 0;
  background: #000;
  overflow: hidden;
}
.theme-speedgate .video-frame.vertical {
  max-width: 420px;
  margin-inline: auto;
}
.theme-speedgate .video-frame .video-embed,
.theme-speedgate .video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Bảng giá ===== */
.theme-speedgate .price-row > span small.price-note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--sg-muted);
}
.theme-speedgate .price-row > strong {
  color: var(--sg-primary);
  font-weight: 600;
}
.theme-speedgate .price-head {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sg-muted);
  padding-block: 12px;
}
.theme-speedgate .pricing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}
.theme-speedgate .pricing-title a:hover {
  color: var(--sg-primary);
}
.theme-speedgate .pricing-cover {
  margin: 28px 0;
}
.theme-speedgate .pricing-cover img {
  height: 420px;
}
.theme-speedgate .pricing-page .pricing-table {
  margin-top: 28px;
}
.theme-speedgate .pricing-note {
  margin-top: 16px;
}

/* ===== Dự án / công trình ===== */
.theme-speedgate .project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0;
  background: var(--sg-border);
  border: 1px solid var(--sg-border);
}
.theme-speedgate .project-facts > div {
  background: var(--sg-paper);
  padding: 14px 16px;
}
.theme-speedgate .project-facts dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sg-muted);
}
.theme-speedgate .project-facts dd {
  margin: 4px 0 0;
  font-weight: 600;
}
.theme-speedgate .project-solutions,
.theme-speedgate .project-gallery {
  margin-top: 56px;
}
.theme-speedgate .project-solutions h2,
.theme-speedgate .project-gallery h2 {
  font-size: 30px;
  margin-bottom: 20px;
}
.theme-speedgate .project-solutions ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 30px;
}
.theme-speedgate .project-solutions li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.theme-speedgate .project-solutions li svg {
  color: var(--sg-primary);
  flex-shrink: 0;
  margin-top: 4px;
}
.theme-speedgate .project-content {
  margin-top: 40px;
  max-width: 72ch;
}
.theme-speedgate .project-status {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: var(--sg-paper);
  color: var(--sg-ink);
}
.theme-speedgate .project-status.completed {
  background: color-mix(in srgb, var(--sg-primary) 14%, #fff);
  color: var(--sg-primary);
}
.theme-speedgate .project-status.ongoing {
  background: color-mix(in srgb, var(--sg-gold) 30%, #fff);
}
.theme-speedgate .gallery-caption {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--sg-muted);
}
@media (max-width: 639px) {
  .theme-speedgate .project-facts,
  .theme-speedgate .project-solutions ul {
    grid-template-columns: 1fr;
  }
  .theme-speedgate .pricing-cover img {
    height: 240px;
  }
  .theme-speedgate .price-head {
    display: none;
  }
}
/* Chấm slide: vùng bấm 24x24 (WCAG target-size), chấm hiển thị vẫn nhỏ */
.theme-speedgate .dots {
  gap: 0;
}
.theme-speedgate .dots button,
.theme-speedgate .dots button.active {
  width: 24px;
  height: 24px;
  background: transparent;
  display: grid;
  place-items: center;
}
.theme-speedgate .dots button.active {
  width: 32px;
}
.theme-speedgate .dots button::after {
  content: "";
  position: static;
  inset: auto;
  width: 8px;
  height: 8px;
  border-radius: 20px;
  background: #a6ae9b;
}
.theme-speedgate .dots button.active::after {
  width: 24px;
  background: var(--sg-primary);
}


body.theme-speedgate {
  --sg-color-primary: var(--color-primary, #c71926);
  --sg-color-on-primary: #fff;
  --sg-color-secondary: var(--color-secondary, #174a79);
  --sg-color-accent: var(--sg-primary);
  --sg-color-background: #fff;
  --sg-color-foreground: #202b35;
  --sg-color-muted: #f3f5f6;
  --sg-color-muted-foreground: #59646e;
  --sg-color-border: #dce1e4;
  --sg-color-destructive: #b91c1c;
  --sg-color-ring: var(--sg-secondary);
  --sg-shadow-card: 0 12px 36px #172b3a0a;
  --sg-shadow-modal: 0 24px 80px #101e3540;
}
.theme-speedgate * {
  box-sizing: border-box;
}
body.theme-speedgate {
  scroll-behavior: smooth;
}
body.theme-speedgate {
  margin: 0;
  color: var(--sg-color-foreground);
  background: var(--sg-color-background);
  font-family: var(--sg-body);
  font-size: 15px;
  line-height: 1.7;
}
.theme-speedgate h1,
.theme-speedgate h2,
.theme-speedgate h3,
.theme-speedgate h4 {
  font-family: var(--sg-display);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.theme-speedgate h1,
.theme-speedgate h2,
.theme-speedgate h3,
.theme-speedgate h4,
.theme-speedgate p {
  margin: 0;
}
.theme-speedgate h2 {
  font-size: clamp(27px, 3vw, 39px);
}
.theme-speedgate h3 {
  font-size: 20px;
}
.theme-speedgate p {
  color: var(--sg-color-muted-foreground);
}
.theme-speedgate a,
.theme-speedgate button,
.theme-speedgate input,
.theme-speedgate select,
.theme-speedgate textarea,
.theme-speedgate summary {
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.theme-speedgate a,
.theme-speedgate button,
.theme-speedgate summary,
.theme-speedgate select,
.theme-speedgate input[type="checkbox"] {
  cursor: pointer;
}
.theme-speedgate button:disabled {
  cursor: default;
  opacity: 0.65;
}
.theme-speedgate a {
  color: inherit;
  text-decoration: none;
}
.theme-speedgate button,
.theme-speedgate input,
.theme-speedgate select,
.theme-speedgate textarea {
  font: inherit;
}
.theme-speedgate button {
  background: none;
  border: 0;
}
.theme-speedgate button:focus-visible,
.theme-speedgate a:focus-visible,
.theme-speedgate input:focus-visible,
.theme-speedgate textarea:focus-visible,
.theme-speedgate select:focus-visible,
.theme-speedgate summary:focus-visible {
  outline: 3px solid var(--sg-color-ring);
  outline-offset: 4px;
}
.theme-speedgate #main:focus {
  outline: none;
}
.theme-speedgate img {
  max-width: 100%;
  display: block;
}
.theme-speedgate .container {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.theme-speedgate .section {
  padding: 88px 0;
}
.theme-speedgate .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  color: var(--sg-color-primary);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.theme-speedgate .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 14px 23px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  border: 1px solid transparent;
  border-radius: 3px;
  white-space: normal;
}
.theme-speedgate .button-primary {
  color: #fff;
  background: var(--sg-color-primary);
}
.theme-speedgate .button-primary:hover {
  background: #a71320;
}
.theme-speedgate .button-outline {
  border-color: var(--sg-color-border);
  color: var(--sg-color-foreground);
  background: transparent;
}
.theme-speedgate .button-outline:hover {
  border-color: var(--sg-color-secondary);
  background: var(--sg-secondary)08;
}
.theme-speedgate .button-text {
  padding-inline: 0;
  color: var(--sg-color-foreground);
}
.theme-speedgate .button-text:hover {
  color: var(--sg-color-primary);
}
.theme-speedgate .button-white {
  background: #fff;
  color: var(--sg-color-primary);
}
.theme-speedgate .button-white:hover {
  background: #f3f5f6;
}
.theme-speedgate .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 4px;
}
.theme-speedgate .icon-button:hover {
  background: var(--sg-color-muted);
}
.theme-speedgate .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  min-height: 44px;
}
.theme-speedgate .text-link:hover {
  color: var(--sg-color-primary);
}
.theme-speedgate .topbar {
  background: #f4f5f6;
  border-bottom: 1px solid #e9ebed;
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 34px;
  color: #59646e;
}
.theme-speedgate .topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.theme-speedgate .topbar a:hover {
  color: var(--sg-color-primary);
}
.theme-speedgate .header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fffffff5;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sg-color-border);
}
.theme-speedgate .header-inner {
  height: 91px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.theme-speedgate .brand {
  width: 118px;
  flex-shrink: 0;
}
.theme-speedgate .brand img {
  width: 118px;
  height: 62px;
  object-fit: contain;
}
.theme-speedgate .desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 12px;
  font-weight: 600;
}
.theme-speedgate .nav-item {
  position: relative;
}
.theme-speedgate .nav-item > a,
.theme-speedgate .nav-item summary {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
}
.theme-speedgate .nav-item .active {
  color: var(--sg-color-primary);
}
.theme-speedgate summary {
  list-style: none;
}
.theme-speedgate summary::-webkit-details-marker {
  display: none;
}
.theme-speedgate .nav-item details[open] > summary .nav-chevron svg {
  transform: rotate(180deg);
}
.theme-speedgate .submenu {
  position: absolute;
  top: 100%;
  left: -15px;
  width: 265px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--sg-color-border);
  box-shadow: var(--sg-shadow-card);
  z-index: 40;
}
.theme-speedgate .submenu a {
  padding: 8px 0;
  min-height: 44px;
}
.theme-speedgate .header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.theme-speedgate .header-cta {
  margin-left: 13px;
  padding: 13px 17px;
  min-height: 44px;
  font-size: 10px;
  gap: 10px;
}
.theme-speedgate .bag {
  position: relative;
}
.theme-speedgate .bag-count {
  position: absolute;
  right: 0;
  top: 0;
  border: 2px solid #fff;
  border-radius: 20px;
  min-width: 20px;
  height: 20px;
  background: var(--sg-color-secondary);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  animation: bag-bounce 0.4s;
}
.theme-speedgate .hamburger,
.theme-speedgate .mobile-nav {
  display: none;
}
.theme-speedgate .hero {
  position: relative;
  background: #f6f7f8;
  overflow: hidden;
}
.theme-speedgate .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-height: 575px;
  align-items: center;
}
.theme-speedgate .hero-copy {
  position: relative;
  z-index: 2;
  padding: 52px 0 35px;
  /* Không fade-in khi tải: khối trên cùng mờ dần làm chậm Speed Index/LCP. */
}
.theme-speedgate .hero-copy .eyebrow {
  font-size: 9px;
  display: flex;
  gap: 8px;
  align-items: center;
  letter-spacing: 0.11em;
}
.theme-speedgate .tiny-square {
  width: 6px;
  height: 6px;
  background: var(--sg-color-primary);
  flex-shrink: 0;
}
.theme-speedgate .hero h1 {
  font-size: clamp(34px, 3.7vw, 55px);
  line-height: 1.3;
  letter-spacing: -0.055em;
  font-weight: 600;
}
.theme-speedgate .hero h1 span {
  color: var(--sg-color-primary);
}
.theme-speedgate .hero-copy > p {
  max-width: 450px;
  font-size: 13px;
  line-height: 1.9;
  margin-top: 25px;
}
.theme-speedgate .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}
.theme-speedgate .hero-buttons .button {
  font-size: 11px;
  gap: 13px;
}
.theme-speedgate .hero-proof {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #59646e;
  font-size: 10px;
  margin-top: 34px;
}
.theme-speedgate .proof-icon {
  color: var(--sg-color-secondary);
  border-right: 1px solid #cfd6dc;
  padding-right: 11px;
}
.theme-speedgate .hero-art {
  height: 560px;
  position: relative;
  align-self: end;
}
.theme-speedgate .hero-art > img {
  width: calc(100% + 90px);
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.theme-speedgate .hero-art-label {
  position: absolute;
  bottom: 36px;
  left: 40px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffffed;
  backdrop-filter: blur(10px);
  padding: 15px 12px;
  border: 1px solid #fff;
  font-size: 10px;
  box-shadow: var(--sg-shadow-card);
}
.theme-speedgate .status-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--sg-color-secondary);
}
.theme-speedgate .art-line {
  height: 14px;
  width: 1px;
  background: var(--sg-color-border);
  margin: 0 7px;
}
.theme-speedgate .vertical-caption {
  position: absolute;
  right: -27px;
  top: 33px;
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: #59646e;
}
.theme-speedgate .hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 21px;
}
.theme-speedgate .dots {
  display: flex;
  align-items: center;
  gap: 4px;
}
.theme-speedgate .dots button {
  position: relative;
  width: 28px;
  height: 44px;
}
.theme-speedgate .dots button:after {
  content: "";
  display: block;
  width: 8px;
  height: 5px;
  background: #b2bac2;
  border-radius: 5px;
  margin: auto;
}
.theme-speedgate .dots button.active:after {
  width: 26px;
  background: var(--sg-color-primary);
}
.theme-speedgate .slide-counter {
  font-size: 10px;
  color: #59646e;
  margin-right: 15px;
}
.theme-speedgate .slider-arrow {
  height: 38px;
  width: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #cfd6dc;
  border-radius: 2px;
}
.theme-speedgate .slider-arrow:hover {
  background: #fff;
}
.theme-speedgate .stats {
  border-block: 1px solid var(--sg-color-border);
}
.theme-speedgate .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.theme-speedgate .stat {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 26px 21px;
  border-right: 1px solid var(--sg-color-border);
}
.theme-speedgate .stat:first-child {
  padding-left: 0;
}
.theme-speedgate .stat:last-child {
  border-right: 0;
}
.theme-speedgate .stat > svg {
  color: var(--sg-color-secondary);
}
.theme-speedgate .stat span {
  font-size: 10px;
  color: #64717c;
  letter-spacing: 0.1em;
}
.theme-speedgate .stat .stat-label {
  font-size: 12px;
  letter-spacing: -0.02em;
  margin-top: 3px;
}
.theme-speedgate .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}
.theme-speedgate .section-heading p {
  font-size: 13px;
  line-height: 1.9;
  margin-top: 14px;
  max-width: 560px;
}
.theme-speedgate .section-heading:empty {
  display: none;
}
.theme-speedgate .section-heading > div:empty {
  display: none;
}
.theme-speedgate .section-heading:has(> div:empty):not(:has(.button)) {
  display: none;
}
.theme-speedgate .product-grid,
.theme-speedgate .content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.theme-speedgate .product-card {
  border: 1px solid var(--sg-color-border);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.theme-speedgate .product-card:hover {
  box-shadow: var(--sg-shadow-card);
  transform: translateY(-3px);
}
.theme-speedgate .product-image {
  position: relative;
  display: block;
  background: #f1f3f4;
  overflow: hidden;
  aspect-ratio: 1.3;
}
.theme-speedgate .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.theme-speedgate .product-image:hover img {
  transform: scale(1.035);
}
.theme-speedgate .product-index {
  position: absolute;
  top: 19px;
  left: 20px;
  color: #65717b;
  font-size: 10px;
  z-index: 1;
}
.theme-speedgate .product-badge {
  position: absolute;
  bottom: 15px;
  left: 18px;
  background: #ffffffec;
  padding: 5px 9px;
  font-size: 9px;
}
.theme-speedgate .image-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  right: 15px;
  bottom: 16px;
}
.theme-speedgate .product-body {
  padding: 24px;
}
.theme-speedgate .product-body .eyebrow {
  font-size: 9px;
  letter-spacing: 0.14em;
  margin-bottom: 9px;
}
.theme-speedgate .product-body h3 {
  font-size: 18px;
}
.theme-speedgate .product-body p {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.8;
  min-height: 44px;
}
.theme-speedgate .product-bottom {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #e7ebee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.theme-speedgate .add-button {
  width: 44px;
  height: 44px;
  border: 1px solid #dce1e4;
  border-radius: 3px;
  display: grid;
  place-items: center;
}
.theme-speedgate .add-button:hover {
  color: var(--sg-color-primary);
  border-color: var(--sg-color-primary);
}
.theme-speedgate .filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.theme-speedgate .filter-tabs button,
.theme-speedgate .chip {
  min-height: 44px;
  border: 1px solid var(--sg-color-border);
  border-radius: 3px;
  padding: 9px 16px;
  font-size: 12px;
}
.theme-speedgate .filter-tabs button.active {
  background: var(--sg-color-secondary);
  border-color: var(--sg-color-secondary);
  color: #fff;
}
.theme-speedgate .filter-tabs button:hover,
.theme-speedgate .chip:hover {
  border-color: var(--sg-color-secondary);
}
.theme-speedgate .features-section {
  background: #f3f5f6;
}
.theme-speedgate .feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.theme-speedgate .feature-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--sg-color-secondary);
  padding-bottom: 28px;
}
.theme-speedgate .feature-top span {
  font-size: 10px;
  color: #59646e;
}
.theme-speedgate .feature h3 {
  font-size: 16px;
  letter-spacing: -0.03em;
}
.theme-speedgate .feature p {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 15px;
}
.theme-speedgate .testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.theme-speedgate .testimonial {
  background: #f7f8f9;
  padding: 32px;
  border: 1px solid #e6eaed;
}
.theme-speedgate .testimonial > svg {
  color: #a51b29;
}
.theme-speedgate .testimonial blockquote {
  font-size: 18px;
  line-height: 1.8;
  margin: 20px 0 30px;
  font-family: var(--sg-display);
}
.theme-speedgate .testimonial strong {
  font-size: 12px;
}
.theme-speedgate .testimonial p {
  font-size: 11px;
}
.theme-speedgate .testimonial img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.theme-speedgate .content-card {
  border: 1px solid var(--sg-color-border);
  border-radius: 3px;
  overflow: hidden;
}
.theme-speedgate .card-image {
  position: relative;
  display: block;
  aspect-ratio: 1.7;
  background: #f3f5f6;
  overflow: hidden;
}
.theme-speedgate .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-speedgate .card-body {
  padding: 23px;
}
.theme-speedgate .card-body .eyebrow {
  font-size: 9px;
}
.theme-speedgate .card-body h3 {
  font-size: 18px;
}
.theme-speedgate .card-body p {
  margin-top: 13px;
  font-size: 12px;
}
.theme-speedgate .card-body .text-link {
  margin-top: 12px;
}
.theme-speedgate .cta-section {
  background: #a91422;
  color: #fff;
  padding: 68px 0;
  position: relative;
  overflow: hidden;
}
.theme-speedgate .cta-section:after {
  content: "";
  position: absolute;
  right: 5%;
  top: -80px;
  width: 300px;
  height: 500px;
  border: 1px solid #ffffff14;
  transform: rotate(30deg);
  pointer-events: none;
}
.theme-speedgate .cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.theme-speedgate .cta-section .eyebrow {
  color: #fff;
  font-size: 10px;
  opacity: 0.85;
}
.theme-speedgate .cta-section h2 {
  font-size: clamp(28px, 3vw, 40px);
}
.theme-speedgate .cta-section p {
  color: #fff;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 18px;
  max-width: 520px;
}
.theme-speedgate .cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.theme-speedgate .cta-section .button-outline {
  border-color: #ffffff88;
  color: #fff;
}
.theme-speedgate .cta-section .button-outline:hover {
  background: #ffffff12;
}
.theme-speedgate .footer {
  background: #142632;
  color: #e2e7ea;
}
.theme-speedgate .newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid #ffffff26;
  padding: 40px 0;
}
.theme-speedgate .newsletter h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.theme-speedgate .newsletter p {
  font-size: 12px;
  color: #c6d0d8;
  margin-top: 9px;
}
.theme-speedgate .footer .button-outline {
  color: #fff;
  border-color: #ffffff66;
}
.theme-speedgate .footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.1fr;
  gap: 80px;
  padding: 55px 0;
}
.theme-speedgate .footer-logo {
  width: 130px;
  background: #fff;
  padding: 6px;
  margin-bottom: 22px;
  border-radius: 3px;
}
.theme-speedgate .footer p,
.theme-speedgate .footer li,
.theme-speedgate .footer a {
  font-size: 12px;
  line-height: 1.9;
  color: #c6d0d8;
}
.theme-speedgate .footer h3 {
  font-size: 14px;
  margin-bottom: 21px;
  letter-spacing: 0;
  color: #fff;
}
.theme-speedgate .footer li {
  margin: 8px 0;
}
.theme-speedgate .footer a:hover {
  color: #fff;
}
.theme-speedgate .footer-phone {
  display: block !important;
  color: #fff !important;
  font-size: 23px !important;
  font-weight: 600;
  margin: 15px 0 5px;
}
.theme-speedgate .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ffffff26;
  padding: 22px 0;
  font-size: 10px;
  color: #c6d0d8;
}
.theme-speedgate .footer-bottom span {
  font-size: 9px;
  letter-spacing: 0.12em;
}
.theme-speedgate .floating-widgets {
  position: fixed;
  right: 20px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 25;
}
.theme-speedgate .floating-widgets a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sg-color-primary);
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 3px 18px #172b3a24;
}
.theme-speedgate .floating-widgets .widget-zalo {
  background: var(--sg-color-secondary);
}
.theme-speedgate .floating-widgets a:hover {
  transform: translateY(-3px);
}
.theme-speedgate .page-hero {
  background: #f3f5f6;
  padding: 26px 0 60px;
  border-bottom: 1px solid var(--sg-color-border);
}
.theme-speedgate .breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: #59646e;
  margin-bottom: 42px;
  overflow-wrap: anywhere;
}
.theme-speedgate .page-hero h1 {
  font-size: clamp(30px, 4vw, 51px);
  max-width: 850px;
}
.theme-speedgate .page-hero > div > p {
  margin-top: 20px;
  font-size: 14px;
  max-width: 650px;
}
.theme-speedgate .split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.theme-speedgate .features-image {
  position: relative;
  min-width: 0;
}
.theme-speedgate .features-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #edf1f4;
}
.theme-speedgate .image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  color: var(--sg-color-primary);
  padding: 17px 25px;
  font-family: var(--sg-display);
  font-weight: 700;
}
.theme-speedgate .check-row {
  display: flex;
  gap: 15px;
  margin-top: 24px;
}
.theme-speedgate .check-row > svg {
  color: var(--sg-color-primary);
  flex-shrink: 0;
}
.theme-speedgate .check-row h3 {
  font-size: 15px;
}
.theme-speedgate .check-row p {
  margin-top: 7px;
  font-size: 12px;
}
.theme-speedgate .muted-section {
  background: #f3f5f6;
}
.theme-speedgate .timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  margin-top: 40px;
}
.theme-speedgate .timeline article {
  border-top: 1px solid #bdc8d0;
  padding-top: 24px;
}
.theme-speedgate .timeline span {
  color: var(--sg-color-primary);
  font-size: 28px;
  font-weight: 600;
}
.theme-speedgate .timeline h3 {
  margin: 13px 0;
  font-size: 18px;
}
.theme-speedgate .timeline p {
  font-size: 12px;
}
.theme-speedgate .team-card {
  border: 1px solid var(--sg-color-border);
  padding: 30px;
}
.theme-speedgate .team-card > svg {
  color: var(--sg-color-secondary);
  margin-bottom: 24px;
}
.theme-speedgate .team-card .eyebrow {
  display: block;
  font-size: 9px;
  margin-top: 10px;
}
.theme-speedgate .team-card p {
  font-size: 12px;
}
.theme-speedgate .service-hero {
  position: relative;
  background: #e7edf1;
}
.theme-speedgate .service-hero > img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center 55%;
}
.theme-speedgate .service-stats {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 25px;
  background: #fff;
  padding: 15px 25px;
}
.theme-speedgate .service-stats > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.theme-speedgate .service-stats strong {
  color: var(--sg-color-primary);
  font-size: 24px;
}
.theme-speedgate .service-stats span {
  font-size: 12px;
}
.theme-speedgate .service-card {
  position: relative;
  border: 1px solid var(--sg-color-border);
  padding: 30px 30px 70px;
}
.theme-speedgate .service-card > svg {
  color: var(--sg-color-secondary);
  margin-bottom: 24px;
}
.theme-speedgate .service-card h3 {
  font-size: 20px;
}
.theme-speedgate .service-card p {
  font-size: 13px;
  margin-top: 15px;
}
.theme-speedgate .service-card .image-arrow {
  border: 1px solid var(--sg-color-border);
}
.theme-speedgate .detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
  gap: 60px;
}
.theme-speedgate .prose > img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  background: #f3f5f6;
  margin-bottom: 30px;
}
.theme-speedgate .prose p {
  margin: 20px 0;
  line-height: 1.9;
}
.theme-speedgate .prose .button {
  margin-top: 20px;
}
.theme-speedgate .sidebar {
  border: 1px solid var(--sg-color-border);
  padding: 25px;
  height: max-content;
}
.theme-speedgate .sidebar h3 {
  font-size: 17px;
  margin-bottom: 15px;
}
.theme-speedgate .sidebar a {
  display: block;
  border-top: 1px solid #e3e7ea;
  padding: 13px 0;
  font-size: 13px;
}
.theme-speedgate .sidebar a:hover {
  color: var(--sg-color-primary);
}
.theme-speedgate .pricing-card {
  border: 1px solid var(--sg-color-border);
  background: #f8f9fa;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 50px;
}
.theme-speedgate .pricing-card p {
  margin: 20px 0;
  font-size: 13px;
}
.theme-speedgate .pricing-card ul {
  align-self: center;
}
.theme-speedgate .pricing-card li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--sg-color-border);
  font-size: 13px;
}
.theme-speedgate .pricing-card li > svg {
  color: var(--sg-color-primary);
  flex-shrink: 0;
}
.theme-speedgate .price-label {
  display: block;
  font-size: 25px;
  margin-bottom: 25px;
}
.theme-speedgate .video-grid {
  display: grid;
  gap: 30px;
}
.theme-speedgate .columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.theme-speedgate .columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.theme-speedgate .columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.theme-speedgate .video-image {
  position: relative;
  display: block;
  aspect-ratio: 1.65;
  background: #f3f5f6;
}
.theme-speedgate .video-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-speedgate .video-image > span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--sg-color-primary);
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.theme-speedgate .video-card h3 {
  margin-top: 20px;
}
.theme-speedgate .video-card p {
  font-size: 13px;
  margin: 15px 0;
}
.theme-speedgate .form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 35px;
  align-items: start;
}
.theme-speedgate .form-card {
  padding: 35px;
  border: 1px solid var(--sg-color-border);
  background: #fff;
  border-radius: 4px;
}
.theme-speedgate .form-card h2 {
  font-size: 25px;
}
.theme-speedgate .form-card > p {
  margin-top: 12px;
  font-size: 13px;
}
.theme-speedgate .notice {
  background: #f1f5f8;
  color: #334d62;
  padding: 14px 17px;
  border-left: 3px solid var(--sg-secondary);
  font-size: 12px !important;
}
.theme-speedgate .dynamic-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px 20px;
  margin-top: 28px;
}
.theme-speedgate .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.theme-speedgate .field > span {
  font-size: 12px;
  font-weight: 600;
}
.theme-speedgate .field > span > span {
  color: var(--sg-color-primary);
}
.theme-speedgate .full {
  grid-column: 1/-1;
}
.theme-speedgate .field input,
.theme-speedgate .field select,
.theme-speedgate .field textarea {
  background: #fff;
  border: 1px solid #b6c1c9;
  border-radius: 3px;
  padding: 12px 14px;
  width: 100%;
  min-width: 0;
  font-size: 13px;
  min-height: 48px;
}
.theme-speedgate .field textarea {
  resize: vertical;
}
.theme-speedgate .field input::placeholder,
.theme-speedgate .field textarea::placeholder {
  color: #64717b;
}
.theme-speedgate .consent {
  display: flex;
  gap: 10px;
  font-size: 12px;
  align-items: flex-start;
}
.theme-speedgate .consent input {
  margin-top: 4px;
  min-width: 16px;
  height: 16px;
  accent-color: var(--sg-color-primary);
}
.theme-speedgate .side-card {
  padding: 28px;
  border: 1px solid var(--sg-color-border);
  background: #f7f8f9;
  border-radius: 4px;
  margin-bottom: 24px;
}
.theme-speedgate .side-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
}
.theme-speedgate .side-card > p {
  font-size: 12px;
}
.theme-speedgate .estimate-item {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}
.theme-speedgate .estimate-item > span {
  color: var(--sg-color-primary);
  font-size: 12px;
}
.theme-speedgate .estimate-item h4 {
  font-size: 13px;
}
.theme-speedgate .estimate-item p {
  font-size: 12px;
  margin-top: 8px;
}
.theme-speedgate .form-feedback {
  margin-top: 30px;
  background: #f1f5f8;
  padding: 20px;
}
.theme-speedgate .form-feedback > p {
  font-size: 13px;
}
.theme-speedgate .bag-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--sg-color-border);
  margin-bottom: 15px;
}
.theme-speedgate .bag-item img {
  width: 80px;
  height: 70px;
  object-fit: cover;
}
.theme-speedgate .bag-item a,
.theme-speedgate .bag-item strong {
  font-size: 13px;
}
.theme-speedgate .bag-item .text-link {
  display: flex;
  color: var(--sg-color-primary);
  font-size: 11px;
}
.theme-speedgate .contact-info > svg {
  margin-top: 24px;
  color: var(--sg-color-secondary);
}
.theme-speedgate .contact-info > p {
  margin-top: 12px;
}
.theme-speedgate .contact-info > a {
  display: block;
  font-size: 15px;
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.theme-speedgate .contact-info h2 {
  font-size: 26px;
}
.theme-speedgate .contact-map {
  margin-top: 40px;
  width: 100%;
  height: 350px;
  background: #eef1f3;
  border: 1px solid var(--sg-color-border);
}
.theme-speedgate .contact-map iframe {
  border: 0;
  width: 100%;
  height: 100%;
}
.theme-speedgate .contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 35px;
}
.theme-speedgate .product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.theme-speedgate .detail-gallery > img {
  width: 100%;
  background: #f3f5f6;
}
.theme-speedgate .product-detail h2 {
  font-size: 29px;
}
.theme-speedgate .product-detail p {
  font-size: 14px;
  margin: 20px 0;
}
.theme-speedgate .product-detail h3 {
  font-size: 17px;
  margin-top: 25px;
}
.theme-speedgate .spec-list {
  padding-left: 20px;
  list-style: disc;
  font-size: 13px;
  color: #59646e;
  margin: 17px 0;
}
.theme-speedgate .spec-list li {
  margin: 12px 0;
}
.theme-speedgate .search-result {
  padding: 24px 0;
  border-bottom: 1px solid var(--sg-color-border);
}
.theme-speedgate .search-result h2 {
  font-size: 23px;
}
.theme-speedgate .search-result p {
  font-size: 13px;
  margin-top: 12px;
}
.theme-speedgate .modal {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 35px;
  width: min(650px, calc(100% - 32px));
  max-height: 85dvh;
  border: 0;
  border-radius: 5px;
  box-shadow: var(--sg-shadow-modal);
  color: var(--sg-color-foreground);
}
.theme-speedgate .modal::backdrop {
  background: #10233199;
  backdrop-filter: blur(4px);
}
.theme-speedgate .modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.theme-speedgate .modal h2 {
  font-size: 25px;
}
.theme-speedgate .modal.drawer {
  inset: 0 0 0 auto;
  margin: 0;
  width: min(450px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
}
.theme-speedgate .search-input {
  display: flex;
  border: 1px solid #b6c1c9;
  border-radius: 40px;
  align-items: center;
  padding: 5px 8px 5px 20px;
  gap: 10px;
  background: #fff;
}
.theme-speedgate .search-input > input {
  border: 0;
  flex: 1;
  min-width: 0;
  font-size: 16px;
  padding: 10px 0;
  background: transparent;
}
.theme-speedgate .search-input > input:focus {
  outline: 0;
}
.theme-speedgate .search-input:focus-within {
  outline: 3px solid var(--sg-color-ring);
  outline-offset: 3px;
}
.theme-speedgate .skip-link {
  position: fixed;
  top: 5px;
  left: 10px;
  z-index: 100;
  background: #fff;
  color: var(--sg-secondary);
  padding: 12px;
  transform: translateY(-150%);
}
.theme-speedgate .skip-link:focus {
  transform: translateY(0);
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bag-bounce {
  50% {
    transform: translateY(-5px);
  }
}
@media (min-width: 1500px) {
  .theme-speedgate .hero-grid {
    min-height: 650px;
  }
  .theme-speedgate .hero-art {
    height: 620px;
  }
  .theme-speedgate .hero h1 {
    font-size: 59px;
  }
}
@media (max-width: 1250px) {
  .theme-speedgate .container {
    width: calc(100% - 64px);
  }
  .theme-speedgate .desktop-nav {
    gap: 15px;
    font-size: 11px;
  }
  .theme-speedgate .header-inner {
    gap: 15px;
  }
  .theme-speedgate .header-cta {
    padding: 12px;
    font-size: 9px;
    margin-left: 6px;
  }
  .theme-speedgate .brand,
  .theme-speedgate .brand img {
    width: 100px;
  }
  .theme-speedgate .hero-copy .eyebrow {
    font-size: 8px;
  }
  .theme-speedgate .hero-buttons .button {
    padding: 13px 16px;
  }
  .theme-speedgate .hero-grid {
    min-height: 530px;
  }
  .theme-speedgate .hero-art {
    height: 520px;
  }
  .theme-speedgate .footer-grid {
    gap: 40px;
  }
  .theme-speedgate .stat {
    gap: 12px;
    padding: 24px 15px;
  }
}
@media (max-width: 1100px) {
  .theme-speedgate .desktop-nav {
    display: none;
  }
  .theme-speedgate .hamburger {
    display: inline-flex;
  }
  .theme-speedgate .mobile-nav {
    display: block;
    padding: 15px 0 25px;
    max-height: 70dvh;
    overflow: auto;
  }
  .theme-speedgate .mobile-nav .nav-item {
    border-bottom: 1px solid #e8ecef;
    font-size: 14px;
  }
  .theme-speedgate .mobile-nav summary {
    justify-content: space-between;
  }
  .theme-speedgate .mobile-nav summary > a {
    flex: 1;
    padding: 12px 0;
  }
  .theme-speedgate .mobile-nav .submenu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 0;
    padding: 0 20px;
    background: #f5f7f8;
  }
  .theme-speedgate .mobile-nav .nav-item > a {
    padding: 9px 0;
  }
  .theme-speedgate .header-inner {
    height: 77px;
  }
  .theme-speedgate .hero h1 {
    font-size: 39px;
  }
  .theme-speedgate .hero-copy {
    padding-top: 35px;
  }
  .theme-speedgate .hero-art-label {
    left: 10px;
    right: 0;
    font-size: 9px;
    gap: 6px;
  }
  .theme-speedgate .vertical-caption {
    right: -20px;
  }
  .theme-speedgate .hero-buttons {
    gap: 9px;
  }
  .theme-speedgate .hero-buttons .button {
    font-size: 10px;
    padding: 12px;
  }
  .theme-speedgate .hero-proof {
    font-size: 9px;
  }
  .theme-speedgate .section {
    padding: 64px 0;
  }
  .theme-speedgate .feature-grid {
    gap: 22px;
  }
  .theme-speedgate .feature h3 {
    font-size: 15px;
  }
  .theme-speedgate .stat .stat-label {
    font-size: 11px;
  }
  .theme-speedgate .form-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
  }
  .theme-speedgate .form-card {
    padding: 25px;
  }
  .theme-speedgate .form-layout .dynamic-form {
    grid-template-columns: 1fr;
  }
  .theme-speedgate .dynamic-form .field {
    grid-column: 1/-1;
  }
  .theme-speedgate .cta-inner {
    gap: 25px;
  }
  .theme-speedgate .cta-actions {
    flex-direction: column;
  }
  .theme-speedgate .product-body {
    padding: 20px;
  }
  .theme-speedgate .product-body h3 {
    font-size: 16px;
  }
  .theme-speedgate .split-section {
    gap: 35px;
  }
}
@media (max-width: 767px) {
  .theme-speedgate .container {
    width: calc(100% - 40px);
  }
  .theme-speedgate .topbar {
    font-size: 8px;
    line-height: 29px;
  }
  .theme-speedgate .topbar .flex.gap-6 {
    gap: 14px;
  }
  .theme-speedgate .topbar .flex.gap-6 > a:not(:last-child) {
    display: none;
  }
  .theme-speedgate .header-inner {
    height: 73px;
  }
  .theme-speedgate .brand,
  .theme-speedgate .brand img {
    width: 95px;
  }
  .theme-speedgate .brand img {
    height: 51px;
  }
  .theme-speedgate .header-cta {
    display: none;
  }
  .theme-speedgate .header-actions {
    gap: 0;
  }
  .theme-speedgate .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }
  .theme-speedgate .hero-copy {
    padding: 37px 0 10px;
  }
  .theme-speedgate .hero-copy .eyebrow {
    font-size: 8px;
  }
  .theme-speedgate .hero h1 {
    font-size: clamp(34px, 8.5vw, 48px);
    line-height: 1.3;
  }
  .theme-speedgate .hero-copy > p {
    font-size: 13px;
    max-width: 520px;
    margin-top: 22px;
  }
  .theme-speedgate .hero-buttons {
    margin-top: 24px;
  }
  .theme-speedgate .hero-buttons .button {
    font-size: 11px;
    padding: 13px 17px;
    gap: 12px;
  }
  .theme-speedgate .hero-proof {
    font-size: 10px;
    margin-top: 24px;
  }
  .theme-speedgate .hero-art {
    height: 345px;
    width: 100%;
    margin-top: 12px;
  }
  .theme-speedgate .hero-art > img {
    width: 100%;
    object-position: center 52%;
  }
  .theme-speedgate .hero-art-label {
    bottom: 15px;
    left: 12px;
    right: 12px;
    padding: 12px 8px;
    font-size: 9px;
  }
  .theme-speedgate .vertical-caption {
    display: none;
  }
  .theme-speedgate .hero-controls {
    padding-bottom: 15px;
    padding-top: 0;
  }
  .theme-speedgate .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .theme-speedgate .stat {
    padding: 19px 8px !important;
    gap: 11px;
  }
  .theme-speedgate .stat > svg {
    width: 23px;
  }
  .theme-speedgate .stat:nth-child(2) {
    border-right: 0;
  }
  .theme-speedgate .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--sg-color-border);
  }
  .theme-speedgate .stat .stat-label {
    font-size: 10px;
  }
  .theme-speedgate .stat span {
    font-size: 9px;
  }
  .theme-speedgate .section {
    padding: 48px 0;
  }
  .theme-speedgate .section-heading {
    display: block;
    margin-bottom: 26px;
  }
  .theme-speedgate .section-heading .button {
    margin-top: 7px;
  }
  .theme-speedgate .section-heading p {
    font-size: 12px;
  }
  .theme-speedgate .eyebrow {
    font-size: 9px;
    margin-bottom: 12px;
  }
  .theme-speedgate h2 {
    font-size: 27px;
  }
  .theme-speedgate .product-grid,
  .theme-speedgate .content-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .theme-speedgate .product-image {
    aspect-ratio: 1.5;
  }
  .theme-speedgate .product-body {
    padding: 24px;
  }
  .theme-speedgate .product-body h3 {
    font-size: 20px;
  }
  .theme-speedgate .product-body p {
    min-height: 0;
  }
  .theme-speedgate .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }
  .theme-speedgate .feature-top {
    padding-bottom: 18px;
  }
  .theme-speedgate .feature-top > svg {
    width: 26px;
  }
  .theme-speedgate .feature h3 {
    font-size: 14px;
  }
  .theme-speedgate .feature p {
    font-size: 11px;
    margin-top: 12px;
  }
  .theme-speedgate .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .theme-speedgate .testimonial {
    padding: 25px;
  }
  .theme-speedgate .testimonial blockquote {
    font-size: 16px;
  }
  .theme-speedgate .card-image {
    aspect-ratio: 1.8;
  }
  .theme-speedgate .card-body h3 {
    font-size: 20px;
  }
  .theme-speedgate .cta-section {
    padding: 48px 0;
  }
  .theme-speedgate .cta-inner {
    flex-direction: column;
    align-items: start;
    gap: 25px;
  }
  .theme-speedgate .cta-section h2 {
    font-size: 29px;
  }
  .theme-speedgate .cta-actions {
    flex-direction: row;
    gap: 10px;
  }
  .theme-speedgate .cta-actions .button {
    font-size: 11px;
    padding: 13px 17px;
  }
  .theme-speedgate .newsletter {
    align-items: start;
    flex-direction: column;
    padding: 30px 0;
  }
  .theme-speedgate .newsletter h3 {
    font-size: 19px;
  }
  .theme-speedgate .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 35px 0;
  }
  .theme-speedgate .footer-grid > div:first-child p {
    max-width: 310px;
  }
  .theme-speedgate .footer-bottom {
    flex-direction: column;
    gap: 12px;
    font-size: 9px;
  }
  .theme-speedgate .footer-logo {
    width: 120px;
  }
  .theme-speedgate .floating-widgets {
    right: 11px;
    bottom: 18px;
  }
  .theme-speedgate .floating-widgets a {
    width: 43px;
    height: 43px;
  }
  .theme-speedgate .page-hero {
    padding-bottom: 40px;
  }
  .theme-speedgate .breadcrumb {
    font-size: 9px;
    margin-bottom: 30px;
  }
  .theme-speedgate .page-hero h1 {
    font-size: 34px;
  }
  .theme-speedgate .page-hero > div > p {
    font-size: 13px;
  }
  .theme-speedgate .split-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .theme-speedgate .features-image img {
    aspect-ratio: 1.3;
  }
  .theme-speedgate .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .theme-speedgate .timeline h3 {
    font-size: 17px;
  }
  .theme-speedgate .service-hero > img {
    height: 300px;
  }
  .theme-speedgate .service-stats {
    padding: 12px;
    gap: 12px;
    left: 10px;
    bottom: 10px;
    right: 10px;
  }
  .theme-speedgate .service-stats strong {
    font-size: 20px;
  }
  .theme-speedgate .service-stats span {
    font-size: 9px;
  }
  .theme-speedgate .service-stats > div {
    gap: 8px;
  }
  .theme-speedgate .detail-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .theme-speedgate .pricing-card {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 25px;
  }
  .theme-speedgate .columns-2,
  .theme-speedgate .columns-3,
  .theme-speedgate .columns-4 {
    grid-template-columns: 1fr;
  }
  .theme-speedgate .form-layout {
    grid-template-columns: 1fr;
  }
  .theme-speedgate .form-card {
    padding: 22px;
  }
  .theme-speedgate .dynamic-form {
    gap: 20px;
  }
  .theme-speedgate .form-card h2 {
    font-size: 23px;
  }
  .theme-speedgate .side-card {
    padding: 24px;
  }
  .theme-speedgate .contact-map {
    height: 300px;
  }
  .theme-speedgate .product-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .theme-speedgate .product-detail h2 {
    font-size: 26px;
  }
  .theme-speedgate .modal {
    padding: 23px;
  }
  .theme-speedgate .modal h2 {
    font-size: 22px;
  }
  .theme-speedgate .search-input {
    padding-left: 14px;
  }
  .theme-speedgate .search-input > .button {
    font-size: 10px;
    padding: 10px;
    min-width: 76px;
  }
  .theme-speedgate .search-input > input {
    font-size: 14px;
  }
  .theme-speedgate .hero-copy .button {
    min-height: 47px;
  }
  .theme-speedgate .contact-strip {
    gap: 20px;
    flex-wrap: wrap;
  }
}
body.theme-speedgate {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-22: 88px;
  --radius-control: 3px;
  --radius-card: 4px;
}
@media (pointer: coarse) {
  .theme-speedgate .field input,
  .theme-speedgate .field textarea,
  .theme-speedgate .field select {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .theme-speedgate *,
  .theme-speedgate *:before,
  .theme-speedgate *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  body.theme-speedgate {
    scroll-behavior: auto;
  }
}

@media (max-width: 767px) {
  .theme-speedgate .header-inner {
    gap: 10px;
  }
  .theme-speedgate .brand,
  .theme-speedgate .brand img {
    width: 80px;
  }
  .theme-speedgate .header-cta {
    display: inline-flex;
    font-size: 8px;
    gap: 5px;
    padding: 10px 8px;
    margin-left: 2px;
    min-height: 44px;
  }
  .theme-speedgate .header-cta svg {
    width: 12px;
    height: 12px;
  }
}

.theme-speedgate .nav-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 44px;
  flex-shrink: 0;
}
.theme-speedgate .nav-chevron svg {
  transition: transform 0.2s;
}
@media (max-width: 1100px) {
  .theme-speedgate .nav-chevron {
    min-width: 44px;
  }
}

.theme-speedgate {
  --sg-color-primary: var(--color-primary, #c71926);
  --sg-color-secondary: var(--color-secondary, #174a79);
  background: #fff;
  color: #202b35;
}
.theme-speedgate .container,
.theme-speedgate .v3-wrap {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.theme-speedgate h2 {
  font-size: 30px;
  letter-spacing: -0.025em;
}
.theme-speedgate h3 {
  font-size: 19px;
}
.theme-speedgate .section {
  padding: 62px 0;
}
.theme-speedgate .header-inner {
  height: 82px;
}
.theme-speedgate .header {
  backdrop-filter: none;
}
.theme-speedgate .desktop-nav {
  gap: 20px;
}
.theme-speedgate .brand,
.theme-speedgate .brand img {
  width: 108px;
}
.theme-speedgate .button {
  border-radius: 2px;
}
.theme-speedgate .topbar {
  background: var(--sg-secondary);
  color: #fff;
}
.theme-speedgate .hero {
  background: #122c40;
  color: #fff;
  isolation: isolate;
}
.theme-speedgate .hero-grid {
  min-height: 550px;
  position: relative;
  display: block;
  padding-top: 65px;
  padding-bottom: 60px;
}
.theme-speedgate .hero-copy {
  padding: 20px 0;
  max-width: 540px;
  min-height: 390px;
}
.theme-speedgate .hero-copy .eyebrow {
  color: #fff;
  font-size: 11px;
}
.theme-speedgate .hero h1 {
  font-size: 48px;
  line-height: 1.2;
}
.theme-speedgate .hero h1 span {
  color: #fff;
}
.theme-speedgate .hero-copy > p {
  color: #fff;
  font-size: 16px;
  max-width: 480px;
}
.theme-speedgate .hero-art {
  position: absolute;
  inset: 0 calc((1200px - 100vw) / 2);
  height: 100%;
  width: auto;
  z-index: -1;
}
.theme-speedgate .hero-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-speedgate .hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b2133eb, #0b21339c 48%, #0b213315);
}
.theme-speedgate .hero-art-label,
.theme-speedgate .vertical-caption {
  display: none;
}
.theme-speedgate .hero-buttons .button-outline {
  color: #fff;
  border-color: #fff;
}
.theme-speedgate .hero-proof,
.theme-speedgate .proof-icon,
.theme-speedgate .slide-counter {
  color: #fff;
}
.theme-speedgate .hero-controls {
  position: relative;
  z-index: 2;
}
.theme-speedgate .slider-arrow:hover,
.theme-speedgate .hero-controls .icon-button:hover {
  background: var(--sg-secondary);
}
.theme-speedgate .stats {
  background: #f2f6f9;
  border: 0;
}
.theme-speedgate .stat .stat-label {
  font-size: 13px;
}
.theme-speedgate .split-section {
  gap: 50px;
}
.theme-speedgate .features-image img {
  aspect-ratio: 1.3;
}
.theme-speedgate .image-badge {
  font-size: 13px;
  padding: 13px 18px;
}
.theme-speedgate .check-row h3 {
  font-size: 16px;
}
.theme-speedgate .check-row p,
.theme-speedgate .section-heading p {
  font-size: 14px;
}
.theme-speedgate .product-section {
  background: #f5f7f9;
}
.theme-speedgate .product-grid {
  gap: 24px;
}
.theme-speedgate .product-card {
  border: 0;
  border-radius: 3px;
  box-shadow: 0 3px 18px #173a5110;
}
.theme-speedgate .product-image {
  aspect-ratio: 1.5;
}
.theme-speedgate .product-body {
  padding: 22px;
}
.theme-speedgate .product-body h3 {
  font-size: 18px;
}
.theme-speedgate .product-body p,
.theme-speedgate .feature p,
.theme-speedgate .card-body p {
  font-size: 14px;
}
.theme-speedgate .product-index,
.theme-speedgate .feature-top span {
  display: none;
}
.theme-speedgate .feature h3 {
  font-size: 17px;
}
.theme-speedgate .features-section {
  background: var(--sg-secondary);
  color: #fff;
}
.theme-speedgate .features-section p,
.theme-speedgate .features-section .eyebrow,
.theme-speedgate .feature-top {
  color: #fff;
}
.theme-speedgate .testimonial blockquote {
  font-size: 17px;
}
.theme-speedgate .cta-section {
  background: var(--sg-primary);
  padding: 45px 0;
}
.theme-speedgate .cta-section h2 {
  font-size: 30px;
}
.theme-speedgate .v3-home-map {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 45px;
  align-items: center;
  padding: 60px 0;
}
.theme-speedgate .v3-home-map p {
  font-size: 15px;
  margin-top: 17px;
}
.theme-speedgate .v3-home-map address {
  font-style: normal;
  margin-block: 18px;
}
.theme-speedgate .v3-home-map address a {
  display: block;
  margin-top: 10px;
}
.theme-speedgate .v3-home-map .contact-map {
  margin: 0;
  height: 340px;
  border: 0;
}
.theme-speedgate .footer {
  background: #122c40;
}
.theme-speedgate .concept-switcher {
  position: static;
  width: max-content;
  max-width: calc(100% - 40px);
  margin: 20px auto;
  box-shadow: none;
  flex-wrap: wrap;
}
@media (max-width: 1264px) {
  .theme-speedgate .hero-art {
    inset: 0 -32px;
  }
}
@media (max-width: 1100px) {
  .theme-speedgate .desktop-nav {
    display: none;
  }
  .theme-speedgate .hero h1 {
    font-size: 43px;
  }
  .theme-speedgate .split-section {
    gap: 30px;
  }
}
@media (max-width: 767px) {
  .theme-speedgate .container,
  .theme-speedgate .v3-wrap {
    width: calc(100% - 40px);
  }
  .theme-speedgate .header-inner {
    height: 73px;
  }
  .theme-speedgate .brand,
  .theme-speedgate .brand img {
    width: 85px;
  }
  .theme-speedgate .hero-art {
    inset: 0 -20px;
    margin: 0;
  }
  .theme-speedgate .hero-grid {
    padding-top: 30px;
    padding-bottom: 25px;
    min-height: 470px;
  }
  .theme-speedgate .hero-copy {
    padding: 18px 0;
    min-height: 385px;
    max-width: 100%;
  }
  .theme-speedgate .hero h1 {
    font-size: 35px;
  }
  .theme-speedgate .hero-copy > p {
    font-size: 15px;
  }
  .theme-speedgate .hero-art:after {
    background: #0b2133bf;
  }
  .theme-speedgate h2 {
    font-size: 25px;
  }
  .theme-speedgate .section {
    padding: 42px 0;
  }
  .theme-speedgate .split-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .theme-speedgate .product-grid {
    grid-template-columns: 1fr;
  }
  .theme-speedgate .product-body h3 {
    font-size: 20px;
  }
  .theme-speedgate .v3-home-map {
    grid-template-columns: 1fr;
    padding: 40px 0;
    gap: 25px;
  }
  .theme-speedgate .cta-section h2 {
    font-size: 25px;
  }
  .theme-speedgate .v3-home-map .contact-map {
    height: 300px;
  }
}
.theme-speedgate .page-hero {
  background: var(--sg-secondary);
  color: #fff;
  border: 0;
}
.theme-speedgate .page-hero p,
.theme-speedgate .page-hero .eyebrow,
.theme-speedgate .breadcrumb {
  color: #fff;
}
.theme-speedgate .breadcrumb a:hover {
  text-decoration: underline;
}
.theme-speedgate .gallery-stage {
  position: relative;
  background: #f1f4f6;
  overflow: hidden;
}
.theme-speedgate .gallery-zoom {
  width: 100%;
  display: block;
  cursor: zoom-in;
}
.theme-speedgate .gallery-stage img {
  width: 100%;
  height: 400px;
  object-fit: contain;
}
.theme-speedgate .gallery-prev,
.theme-speedgate .gallery-next {
  position: absolute;
  top: calc(50% - 22px);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--sg-secondary);
  color: #fff;
}
.theme-speedgate .gallery-prev {
  left: 10px;
}
.theme-speedgate .gallery-next {
  right: 10px;
}
.theme-speedgate .gallery-prev:hover,
.theme-speedgate .gallery-next:hover {
  background: var(--sg-primary);
}
.theme-speedgate .gallery-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.theme-speedgate .gallery-thumbnails button {
  width: 90px;
  padding: 3px;
  background: #edf2f5;
  border: 2px solid transparent;
}
.theme-speedgate .gallery-thumbnails button[aria-pressed="true"] {
  border-color: var(--sg-secondary);
}
.theme-speedgate .gallery-thumbnails img {
  width: 100%;
  height: 65px;
  object-fit: cover;
}
.theme-speedgate .gallery-caption {
  font-size: 12px !important;
  margin-top: 15px !important;
  color: #59646e;
}
.theme-speedgate .gallery-lightbox img {
  height: auto;
  max-height: 65vh;
  object-fit: contain;
}
.theme-speedgate .gallery-counter {
  text-align: center;
  margin-top: 12px;
}
.theme-speedgate .modal:has(.gallery-lightbox) {
  width: min(1100px, calc(100% - 32px));
}
.theme-speedgate .product-detail-tabs {
  margin-bottom: 45px;
}
.theme-speedgate .product-detail-tabs [role="tablist"] {
  display: flex;
  background: #eef3f7;
  border-bottom: 2px solid var(--sg-secondary);
}
.theme-speedgate .product-detail-tabs [role="tab"] {
  padding: 16px 28px;
  min-height: 48px;
  font-weight: 600;
  color: var(--sg-secondary);
}
.theme-speedgate .product-detail-tabs [aria-selected="true"] {
  background: var(--sg-secondary);
  color: #fff;
}
.theme-speedgate .product-detail-tabs [role="tabpanel"] {
  padding: 28px 0;
}
.theme-speedgate .product-detail-tabs p {
  margin-bottom: 18px;
  line-height: 1.9;
}
.theme-speedgate .product-detail-tabs table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  text-align: left;
}
.theme-speedgate .product-detail-tabs th,
.theme-speedgate .product-detail-tabs td {
  padding: 15px;
  border: 1px solid #dce1e4;
}
.theme-speedgate .product-detail-tabs thead {
  background: #eef3f7;
}
.theme-speedgate .product-detail-tabs tbody th {
  width: 32%;
  font-weight: 500;
}
@media (max-width: 767px) {
  .theme-speedgate .gallery-stage img {
    height: 300px;
  }
  .theme-speedgate .gallery-lightbox img {
    height: auto;
  }
  .theme-speedgate .product-detail-tabs th,
  .theme-speedgate .product-detail-tabs td {
    padding: 12px;
    font-size: 13px;
  }
}
.theme-speedgate .topbar {
  position: relative;
  z-index: 50;
}
.theme-speedgate .topbar > .container {
  align-items: center;
  min-height: 40px;
}
.theme-speedgate .topbar-links {
  align-items: center;
  gap: 22px;
  font-size: 11px;
  letter-spacing: 0;
}
.theme-speedgate .topbar a:hover {
  color: #fff;
  text-decoration: underline;
}
.theme-speedgate .language-control {
  position: relative;
  line-height: 1.5;
}
.theme-speedgate .language-menu summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 8px;
  color: #fff;
  cursor: pointer;
}
.theme-speedgate .language-menu[open] summary > svg:last-child {
  transform: rotate(180deg);
}
.theme-speedgate .language-options {
  position: absolute;
  right: 0;
  top: 100%;
  width: 205px;
  background: #fff;
  color: #202b35;
  padding: 8px;
  box-shadow: 0 8px 30px #102b4033;
}
.theme-speedgate .language-options button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px;
  font-size: 13px;
  text-align: left;
}
.theme-speedgate .language-options button:hover,
.theme-speedgate .language-options button[aria-pressed="true"] {
  background: #edf3f7;
}
.theme-speedgate .language-options button span {
  flex: 1;
}
.theme-speedgate .language-options p {
  font-size: 11px;
  line-height: 1.6;
  padding: 8px;
  color: #59646e;
}
.theme-speedgate .language-status {
  position: absolute;
  right: 0;
  top: 43px;
  width: 240px;
  background: #fff;
  color: #202b35;
  padding: 14px;
  font-size: 12px;
  box-shadow: 0 8px 30px #102b4033;
}
.theme-speedgate .topbar .language-control svg {
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .theme-speedgate .topbar > .container > span {
    display: none;
  }
  .theme-speedgate .topbar > .container {
    justify-content: flex-end;
  }
  .theme-speedgate .topbar .topbar-links {
    display: flex;
    gap: 13px;
    width: 100%;
    justify-content: space-between;
  }
  .theme-speedgate .topbar .topbar-links > a:not(:last-child) {
    display: inline-flex;
  }
  .theme-speedgate .topbar .topbar-links > a {
    font-size: 11px;
    white-space: nowrap;
  }
  .theme-speedgate .language-menu summary {
    padding: 0 2px;
    gap: 5px;
  }
}

/* Corporate composition from selected source; shared module behaviour remains data driven. */
body.theme-speedgate { --sg-primary:var(--color-primary,#c71926); --sg-secondary:var(--color-secondary,#174a79); --sg-ink:#202b35; --sg-gold:var(--sg-primary); --sg-paper:#f5f7f9; --sg-muted:#59646e; --sg-display:var(--font-sg-display),Arial,sans-serif; --sg-body:var(--font-sg-body),Arial,sans-serif; background:#fff; color:var(--sg-ink); }
.theme-speedgate .speedgate-root { font-family:var(--sg-body); }
.theme-speedgate h1,.theme-speedgate h2,.theme-speedgate h3,.theme-speedgate h4 {font-family:var(--sg-display);font-weight:600;line-height:1.35;letter-spacing:-.025em;}
.theme-speedgate .container {width:min(1200px,calc(100% - 64px));max-width:1200px;margin-inline:auto;}
.theme-speedgate .section-space {padding-block:62px;}
.theme-speedgate .section-note,.theme-speedgate .eyebrow {color:var(--sg-primary);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;}
.theme-speedgate .heading-row {display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px;}
.theme-speedgate .heading-row .section-heading {margin:0;max-width:760px;}
.theme-speedgate .section-heading h1 {font-size:40px;}
.theme-speedgate .section-heading h2 {font-size:30px;}
.theme-speedgate .section-heading p {font-size:14px;margin-top:12px;}
.theme-speedgate .button {min-height:44px;padding:12px 20px;border:1px solid var(--sg-primary);background:var(--sg-primary);color:#fff;display:inline-flex;gap:18px;align-items:center;justify-content:center;border-radius:2px;font-size:12px;font-weight:600;}
.theme-speedgate .button.secondary {background:transparent;border-color:currentColor;color:inherit;}
.theme-speedgate .button:hover {background:var(--sg-secondary);border-color:var(--sg-secondary);color:#fff;}
.theme-speedgate .text-link {font-size:12px;display:inline-flex;gap:12px;align-items:center;min-height:44px;}
.theme-speedgate header {position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid #e3e7eb;}
.theme-speedgate .header-inner {height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px;}
.theme-speedgate .desktop-nav {display:flex;gap:20px;align-items:center;font-size:12px;white-space:nowrap;}
.theme-speedgate .header-actions {display:flex;gap:12px;align-items:center;}
.theme-speedgate .brand {width:auto;display:flex;gap:10px;align-items:center;flex-shrink:0;}
.theme-speedgate .brand img {width:auto;max-width:108px;height:48px;object-fit:contain;}
.theme-speedgate .brand strong {font-family:var(--sg-display);font-size:16px;}
.theme-speedgate .brand small {font-family:var(--sg-body);color:var(--sg-primary);}
.theme-speedgate .topbar {background:var(--sg-secondary);color:#fff;font-size:11px;padding:9px 0;}
.theme-speedgate .topbar .container {display:flex;justify-content:space-between;align-items:center;}
.theme-speedgate .topbar-meta {display:flex;gap:16px;align-items:center;}
.theme-speedgate .hero {color:#fff;background:#122c40;overflow:hidden;}
.theme-speedgate .hero-grid {min-height:550px;padding-top:65px;padding-bottom:60px;}
.theme-speedgate .hero-copy {max-width:540px;min-height:390px;}
.theme-speedgate .hero-copy h1 {font-size:48px;line-height:1.2;letter-spacing:-.025em;}
.theme-speedgate .hero-copy > p {margin:24px 0;color:#fff;font-size:16px;max-width:480px;}
.theme-speedgate .hero .eyebrow {color:#fff;}
.theme-speedgate .hero-proof {display:flex;gap:12px;align-items:center;margin-top:28px;font-size:13px;}
.theme-speedgate .hero-art {inset:0 calc((1200px - 100vw)/2);}
.theme-speedgate .hero-art > span {display:block;width:100%;height:100%;min-height:550px;}
.theme-speedgate .hero-controls {display:flex;align-items:center;justify-content:space-between;min-height:72px;}
.theme-speedgate .slider-buttons {display:flex;gap:8px;align-items:center;}
.theme-speedgate .hero .icon-button,.theme-speedgate .slider-arrow {color:#fff;border:1px solid #ffffff50;min-width:44px;min-height:44px;}
.theme-speedgate .hero .button.secondary {color:#fff;border-color:#fff;}
.theme-speedgate .stats {padding:32px 0;margin:0;background:#f2f6f9;display:block;border:0;width:100%;max-width:none;}
.theme-speedgate .stats-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.theme-speedgate .stat {display:flex;gap:18px;align-items:center;border:0;padding:0;}
.theme-speedgate .stat svg {color:var(--sg-secondary);}
.theme-speedgate .stat strong {font-size:11px;color:#5f6f7c;font-family:var(--sg-body);}
.theme-speedgate .stat .stat-label {margin:3px 0 0;font-family:var(--sg-display);font-weight:600;line-height:1.35;letter-spacing:-.025em;}
.theme-speedgate .stat .stat-label {font-size:13px;letter-spacing:0;}
.theme-speedgate .sg-features .features-image {position:relative;}
.theme-speedgate .features-image > img,.theme-speedgate .features-image > span {width:100%;aspect-ratio:1.3;object-fit:cover;display:block;}
.theme-speedgate .sg-features .check-row {display:flex;gap:14px;margin-top:22px;}
.theme-speedgate .check-row svg {color:var(--sg-primary);width:18px;flex-shrink:0;}
.theme-speedgate .check-row h3 {font-size:16px;}
.theme-speedgate .check-row p {font-size:14px;}
.theme-speedgate .sg-reverse .features-image {order:2;}
.theme-speedgate .sg-bg-gray {background:#f5f7f9;}
.theme-speedgate .sg-bg-alternate {background:var(--sg-secondary);color:#fff;}
.theme-speedgate .product-section {padding-block:62px;background:#f5f7f9;}
.theme-speedgate .product-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.theme-speedgate .product-card {background:#fff;box-shadow:0 3px 18px #173a5110;border:0;border-radius:3px;overflow:hidden;}
.theme-speedgate .product-image {aspect-ratio:1.5;display:block;position:relative;background:#edf1f3;}
.theme-speedgate .product-image img,.theme-speedgate .product-image > span.img-fallback-gradient {width:100%;height:100%;object-fit:contain;display:block;aspect-ratio:1.5;}
.theme-speedgate .product-info {padding:22px;}
.theme-speedgate .product-title {font-size:18px;}
.theme-speedgate .product-info > p {font-size:14px;margin-top:10px;min-height:46px;}
.theme-speedgate .product-bottom {display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e8ecef;margin-top:14px;padding-top:8px;font-size:12px;}
.theme-speedgate .add-product {border:1px solid #dce1e4;border-radius:0;min-width:44px;min-height:44px;}
.theme-speedgate .product-filter .tabs {display:flex;gap:8px;flex-wrap:wrap;}
.theme-speedgate .product-filter {margin-bottom:24px;}
.theme-speedgate .product-filter button {padding:10px 16px;border:1px solid #dce1e4;font-size:12px;}
.theme-speedgate .product-filter button.active {background:var(--sg-secondary);color:#fff;}
.theme-speedgate .features-section {background:var(--sg-secondary);color:#fff;}
.theme-speedgate .features-section p,.theme-speedgate .features-section .section-note {color:#fff;}
.theme-speedgate .feature-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin-top:32px;}
.theme-speedgate .feature {padding:0;background:transparent;border:0;}
.theme-speedgate .feature-top {margin-bottom:22px;color:#d8e6f1;}
.theme-speedgate .feature h3 {font-size:17px;margin-bottom:12px;}
.theme-speedgate .feature p {font-size:14px;}
.theme-speedgate .sg-features .feature-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
.theme-speedgate .testimonial-grid {display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:24px;}
.theme-speedgate .testimonial-grid figure {flex:0 0 calc(50% - 12px);scroll-snap-align:start;background:#f5f7f9;border:0;padding:30px;}
.theme-speedgate .testimonial-grid blockquote {font-family:var(--sg-body);font-size:17px;font-weight:500;margin:18px 0 24px;}
.theme-speedgate .testimonial-grid figcaption {font-size:12px;}
.theme-speedgate .project-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.theme-speedgate .project-grid article {border:1px solid #dce1e4;background:#fff;padding-bottom:18px;}
.theme-speedgate .project-grid article h3,.theme-speedgate .project-grid article > p,.theme-speedgate .project-grid article .category-label {margin:16px 20px 0;}
.theme-speedgate .project-grid article h3 {font-size:18px;}
.theme-speedgate .project-grid article img {aspect-ratio:1.5;object-fit:cover;}
.theme-speedgate .news-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.theme-speedgate .news-grid article {background:#fff;border:1px solid #dce1e4;padding-bottom:18px;}
.theme-speedgate .news-grid article h3,.theme-speedgate .news-grid article > p,.theme-speedgate .news-grid article .news-category {margin:16px 20px 0;}
.theme-speedgate .news-grid article h3 {font-size:18px;display:block;}
.theme-speedgate .news-grid article h3 svg {display:none;}
.theme-speedgate .news-image {aspect-ratio:1.5;height:auto;overflow:hidden;}
.theme-speedgate .news-image img,.theme-speedgate .news-image > span {width:100%;height:100%;object-fit:cover;display:block;}
.theme-speedgate .news-archive .news-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
.theme-speedgate .sg-cta {background:var(--sg-primary);color:#fff;position:relative;isolation:isolate;overflow:hidden;}
.theme-speedgate .sg-cta > img {z-index:-1;opacity:.15;object-fit:cover;}
.theme-speedgate .sg-cta p,.theme-speedgate .sg-cta .eyebrow {color:#fff;}
.theme-speedgate .cta-inner {display:flex;justify-content:space-between;align-items:center;gap:40px;}
.theme-speedgate .cta-inner > div:first-child {max-width:650px;}
.theme-speedgate .cta-actions {display:flex;gap:12px;flex-wrap:wrap;}
.theme-speedgate .sg-cta .button {background:#fff;color:var(--sg-primary);border-color:#fff;}
.theme-speedgate .sg-cta .button.secondary {background:transparent;color:#fff;}
.theme-speedgate .sg-cta-light {background:#f5f7f9;color:var(--sg-ink);}
.theme-speedgate .sg-cta-light p {color:var(--sg-muted);}
.theme-speedgate .sg-breadcrumb-bar {background:var(--sg-secondary);color:#fff;padding:14px 0;}
.theme-speedgate .sg-breadcrumb {font-size:13px;color:#fff;}
.theme-speedgate .page-hero {background:var(--sg-secondary);color:#fff;padding:58px 0;}
.theme-speedgate .page-hero h1 {font-size:40px;}
.theme-speedgate footer {background:#132f40;color:#fff;padding:0 0 25px;}
.theme-speedgate footer p,.theme-speedgate footer a,.theme-speedgate footer small {color:#d3dfe7;}
.theme-speedgate .footer-grid {gap:64px;padding-block:64px;}
.theme-speedgate .footer-grid h3 {font-size:16px;margin-bottom:20px;}
.theme-speedgate .footer-bottom {border-color:#ffffff20;font-size:11px;}
.theme-speedgate .img-fallback-gradient,.theme-speedgate .img-fallback-plain {background:linear-gradient(145deg,#e9f0f5,#d7e2ec);color:#174a79;}
.theme-speedgate .img-fallback-gradient::before {content:var(--sg-watermark,var(--brand-fallback-text,''));font-family:var(--sg-display);font-size:clamp(16px,2vw,32px);opacity:.22;}
.theme-speedgate .map-placeholder {min-height:300px;background:#edf1f4;display:flex;align-items:center;justify-content:center;gap:16px;margin-block:50px;}
.theme-speedgate .mobile-toggle {display:none;}
.theme-speedgate .detail-title {font-size:36px;}
.theme-speedgate .prose {font-size:17px;line-height:1.75;}
@media(max-width:1199px) {
 .theme-speedgate .desktop-nav {gap:12px;font-size:11px;}
 .theme-speedgate .header-actions {gap:4px;}
 .theme-speedgate .hero-art {inset:0 -32px;}
}
@media(max-width:1023px) {
 .theme-speedgate .desktop-nav,.theme-speedgate .header-actions > .button {display:none;}
 .theme-speedgate .mobile-toggle {display:flex;}
 .theme-speedgate .feature-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .theme-speedgate .news-grid,.theme-speedgate .project-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .theme-speedgate .product-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .theme-speedgate .cta-inner {align-items:flex-start;flex-direction:column;}
}
@media(max-width:767px) {
 .theme-speedgate .container {width:calc(100% - 36px);}
 .theme-speedgate .section,.theme-speedgate .section-space,.theme-speedgate .product-section {padding-block:40px;}
 .theme-speedgate .header-inner {height:72px;}
 .theme-speedgate .hero-grid {padding-top:40px;padding-bottom:35px;min-height:510px;}
 .theme-speedgate .hero-copy {min-height:380px;}
 .theme-speedgate .hero-copy h1 {font-size:36px;}
 .theme-speedgate .hero-art {inset:0 -18px;}
 .theme-speedgate .hero-art:after {background:linear-gradient(90deg,#0b2133e8,#0b2133a0);}
 .theme-speedgate .hero-controls {min-height:64px;}
 .theme-speedgate .stats-grid {grid-template-columns:repeat(2,1fr);gap:24px 12px;}
 .theme-speedgate .stats {padding:28px 0;}
 .theme-speedgate .stat {gap:10px;}
 .theme-speedgate .stat .stat-label {font-size:11px;}
 .theme-speedgate .topbar-meta {display:none;}
 .theme-speedgate .split-section {display:grid;grid-template-columns:1fr;gap:30px;}
 .theme-speedgate .sg-reverse .features-image {order:0;}
 .theme-speedgate .section-heading h2 {font-size:26px;}
 .theme-speedgate .heading-row {align-items:flex-start;}
 .theme-speedgate .heading-row > .text-link {flex-shrink:0;}
 .theme-speedgate .feature-grid,.theme-speedgate .sg-features .feature-grid {grid-template-columns:1fr;}
 .theme-speedgate .product-grid,.theme-speedgate .news-grid,.theme-speedgate .news-archive .news-grid,.theme-speedgate .project-grid {grid-template-columns:1fr;}
 .theme-speedgate .testimonial-grid figure {flex-basis:100%;margin:0;}
 .theme-speedgate .detail-title {font-size:28px;}
 .theme-speedgate .footer-grid {padding-block:40px;gap:32px;}
}
@media(prefers-reduced-motion:reduce) {.theme-speedgate * {animation:none!important;scroll-behavior:auto!important;transition:none!important;}}

.theme-speedgate .section-heading {display:block;}
.theme-speedgate .features-image > span.image-badge {width:auto;height:auto;aspect-ratio:auto;display:inline-block;font-family:var(--sg-display);}
.theme-speedgate .features-section {display:block;}
.theme-speedgate .features-section .section-heading > p:last-child:not(.section-note) {color:#fff;}
.theme-speedgate .product-image.olive,.theme-speedgate .product-image.gold,.theme-speedgate .product-image.teal {background:#edf1f3;}
.theme-speedgate .project-grid img {height:auto;aspect-ratio:1.5;}
.theme-speedgate .stats > .stats-grid {padding:0;display:grid;}

.theme-speedgate .sg-contact-map {display:grid;grid-template-columns:1fr 1.1fr;gap:64px;align-items:center;}
.theme-speedgate .sg-contact-map h2 {font-size:30px;margin-bottom:24px;}
.theme-speedgate .sg-contact-map > div > p {font-size:14px;margin:12px 0;}
.theme-speedgate .sg-contact-map .map-placeholder,.theme-speedgate .sg-contact-map .map-frame {width:100%;margin:0;}
.theme-speedgate .sg-contact-map iframe {width:100%;min-height:340px;}
.theme-speedgate .news-grid article,.theme-speedgate .project-grid article {min-width:0;}
.theme-speedgate .hero .hero-art {pointer-events:none;}
.theme-speedgate .stars {display:none;}
@media(max-width:767px) {.theme-speedgate .sg-contact-map {grid-template-columns:1fr;gap:30px;}}

.theme-speedgate .news-article > header {position:static;border:0;background:transparent;padding:0;z-index:auto;}
.theme-speedgate .news-article .article-body {max-width:75ch;font-size:17px;line-height:1.75;}
.theme-speedgate .lightbox-image {display:block;width:100%;padding:0;cursor:pointer;}
.theme-speedgate .lightbox-thumbs {justify-content:center;margin-top:18px;}
.theme-speedgate .lightbox-thumbs button {width:80px;height:80px;flex-shrink:0;}
.theme-speedgate .lightbox-thumbs img {width:100%;height:100%;object-fit:contain;}
.theme-speedgate .add-product {background:#fff;color:var(--sg-secondary);}
.theme-speedgate .feature-top {color:#d8e6f1;}
.theme-speedgate .product-card .eyebrow {font-size:10px;color:var(--sg-primary);}
.theme-speedgate .news-category,.theme-speedgate .category-label {color:var(--sg-primary);}

.theme-speedgate header .brand img {width:108px;height:52px;object-fit:contain;}
.theme-speedgate footer .brand img {width:120px;height:68px;max-width:120px;background:#fff;padding:5px;border-radius:2px;}
.theme-speedgate .testimonial-grid > figure > svg {color:var(--sg-primary);}
.theme-speedgate .form-layout {gap:34px;padding-block:62px;}
.theme-speedgate .form-card {border:1px solid #dce1e4;border-radius:2px;padding:34px;}
.theme-speedgate .form-heading h2 {font-size:28px;margin-bottom:14px;}
.theme-speedgate .form-heading {margin-bottom:26px;}
.theme-speedgate .page-hero h1 {max-width:1000px;}
@media(max-width:767px) {
 .theme-speedgate .form-card {padding:22px;}
 .theme-speedgate .form-layout {padding-block:40px;}
 .theme-speedgate header .brand img {width:88px;height:44px;}
 .theme-speedgate .page-hero {padding:40px 0;}
}

.theme-speedgate .sg-footer-cta {display:flex;align-items:center;justify-content:space-between;gap:28px;padding:40px 0;border-bottom:1px solid #ffffff25;}
.theme-speedgate .sg-footer-cta h3 {font-size:20px;margin-bottom:10px;}
.theme-speedgate .sg-footer-cta p {font-size:13px;}
.theme-speedgate .sg-footer-cta .button {border-color:#8194a0;color:#fff;}
@media(max-width:767px) {.theme-speedgate .sg-footer-cta {align-items:flex-start;flex-direction:column;}}

/* CMS field variants */
.theme-speedgate .sg-avatars {display:flex;gap:4px;}
.theme-speedgate .sg-avatars img {width:36px;height:36px;border-radius:50%;object-fit:cover;}
.theme-speedgate .sg-hero-specs {display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:18px;font-size:12px;list-style:disc;padding-left:18px;}
.theme-speedgate .sg-rating {display:flex;gap:4px;color:var(--sg-primary);margin:12px 0;}
.theme-speedgate .sg-feature-photos {display:grid;gap:14px;}
.theme-speedgate .sg-feature-photos img,.theme-speedgate .sg-feature-photos > span {width:100%;display:block;aspect-ratio:1.3;object-fit:cover;}
.theme-speedgate .sg-feature-item-image {display:block;width:100%;aspect-ratio:1.5;object-fit:cover;margin-bottom:18px;}
.theme-speedgate .sg-features .sg-grid-two {grid-template-columns:repeat(2,minmax(0,1fr));}
.theme-speedgate .sg-feature-tabs {display:flex;gap:10px;overflow-x:auto;margin:24px 0;}
.theme-speedgate .sg-feature-tabs button {padding:12px 18px;border:1px solid var(--sg-border);min-height:44px;}
.theme-speedgate .sg-feature-tabs button[aria-selected=true] {background:var(--sg-secondary);color:#fff;}
.theme-speedgate .feature[hidden] {display:none;}
.theme-speedgate .sg-feature-tabs + .feature-grid {display:block;}
.theme-speedgate .sg-map-full {width:100%;max-width:none;}
.theme-speedgate .sg-map-left,.theme-speedgate .sg-map-right {display:grid;grid-template-columns:1fr 1fr;gap:32px;width:min(1200px,calc(100% - 64px));margin:50px auto;}
.theme-speedgate .sg-map-left > .form-layout,.theme-speedgate .sg-map-right > .form-layout {width:100%;display:block;padding:0;}
.theme-speedgate .sg-map-left > .map-frame,.theme-speedgate .sg-map-left > .map-placeholder {order:-1;}
.theme-speedgate .sg-map-left > .map-frame,.theme-speedgate .sg-map-right > .map-frame,.theme-speedgate .sg-map-left > .map-placeholder,.theme-speedgate .sg-map-right > .map-placeholder {width:100%;margin:0;align-self:stretch;}
.theme-speedgate .sg-map-left iframe,.theme-speedgate .sg-map-right iframe {height:100%;min-height:400px;width:100%;}
.theme-speedgate .sg-footer-newsletter input {width:100%;min-height:44px;padding:10px;color:var(--sg-ink);}
.theme-speedgate .sg-footer-newsletter button {min-height:44px;padding:10px 16px;background:var(--sg-primary);color:#fff;}
@media(max-width:767px){.theme-speedgate .sg-features .sg-grid-two {grid-template-columns:1fr;}.theme-speedgate .sg-map-left,.theme-speedgate .sg-map-right {grid-template-columns:1fr;width:calc(100% - 36px);}.theme-speedgate .sg-map-left > .map-frame,.theme-speedgate .sg-map-left > .map-placeholder {order:0;}}
/* Speedgate: compact utility bar, red detail actions, visit panel and four-column footer. */
.theme-speedgate .topbar {padding:0;line-height:1.5;}
.theme-speedgate .topbar > .container {min-height:36px;padding-top:0;padding-bottom:0;}
.theme-speedgate .topbar a {min-height:0;}
.theme-speedgate .sg-detail-link {background:var(--sg-primary);color:#fff;padding:10px 16px;border-radius:2px;font-weight:600;}
.theme-speedgate .sg-detail-link:hover {background:#a8101d;color:#fff;}
.theme-speedgate .sg-visit {display:grid;grid-template-columns:0.8fr 1.2fr;gap:64px;padding-block:60px;align-items:start;}
.theme-speedgate .sg-visit-info h2 {font-size:30px;line-height:1.3;margin:0 0 20px;}
.theme-speedgate .sg-visit-info p {margin:0 0 20px;line-height:1.8;}
.theme-speedgate .sg-visit-info > a {display:table;margin-bottom:20px;}
.theme-speedgate .sg-visit-info > .button {display:inline-flex;margin:8px 0 0;}
.theme-speedgate .sg-visit > .map-frame {width:100%;max-width:none;margin:0;padding:0;}
.theme-speedgate .sg-visit .map-frame iframe {width:100%;min-height:340px;max-height:500px;}
.theme-speedgate .footer-grid {grid-template-columns:1.6fr 1fr 1fr 1fr;gap:48px;}
.theme-speedgate .sg-footer-company .footer-brand {margin-bottom:24px;}
.theme-speedgate .sg-footer-company > div:last-child h3 {display:none;}
.theme-speedgate .sg-footer-company .footer-contact-row {display:flex;align-items:baseline;gap:10px;line-height:1.8;margin:0 0 12px;}
.theme-speedgate .sg-footer-company .fc-icon {flex-shrink:0;}
@media(max-width:1023px){.theme-speedgate .footer-grid {grid-template-columns:1.4fr 1fr;gap:32px;}.theme-speedgate .sg-visit {gap:32px;}}
@media(max-width:767px){.theme-speedgate .topbar > .container {min-height:32px;}.theme-speedgate .sg-visit {grid-template-columns:1fr;gap:28px;padding-block:36px;}.theme-speedgate .sg-visit-info h2 {font-size:26px;}.theme-speedgate .footer-grid {grid-template-columns:1fr 1fr;gap:28px;}.theme-speedgate .sg-footer-company {grid-column:1/-1;}}
@media(max-width:420px){.theme-speedgate .footer-grid {grid-template-columns:1fr;}}
/* Project status belongs to its image, shared by home and the project archive. */
.theme-speedgate .sg-project-media {position:relative;overflow:hidden;}
.theme-speedgate .sg-project-media > img {display:block;width:100%;}
.theme-speedgate .sg-project-media .project-status {position:absolute;top:12px;right:12px;z-index:1;margin:0;max-width:calc(100% - 24px);padding:5px 12px;line-height:1.5;box-shadow:0 2px 8px #122c401a;}
.theme-speedgate .sg-project-media .project-status.completed {background:#fce7e9;color:#a8101c;}
/* Compact content pages without changing the home section rhythm. */
.theme-speedgate .pricing-section,.theme-speedgate .news-layout,.theme-speedgate .news-section.section-space,.theme-speedgate .sg-service-list,.theme-speedgate .sg-video-list,.theme-speedgate .service-page,.theme-speedgate .video-page,.theme-speedgate .form-layout,.theme-speedgate .sg-project-archive {padding-block:36px;}
.theme-speedgate .sg-breadcrumb-bar + :is(.pricing-section,.news-layout,.news-section,.sg-service-list,.sg-video-list,.service-page,.video-page) {margin-top:0;}
.theme-speedgate .column-main > :is(.service-page,.video-page) {padding-block:0;}
.theme-speedgate .sg-required {color:#c71926;font-weight:700;}
.theme-speedgate .topbar-meta {gap:0;}
.theme-speedgate .topbar-meta > a + a {border-left:1px solid #ffffff55;margin-left:12px;padding-left:12px;}
.theme-speedgate .sg-project-media .project-status {background:var(--sg-secondary);color:#fff;}
.theme-speedgate .sg-project-media .project-status.completed {background:var(--sg-secondary);color:#fff;}
@media(max-width:767px){.theme-speedgate .pricing-section,.theme-speedgate .news-layout,.theme-speedgate .news-section.section-space,.theme-speedgate .sg-service-list,.theme-speedgate .sg-video-list,.theme-speedgate .service-page,.theme-speedgate .video-page,.theme-speedgate .form-layout,.theme-speedgate .sg-project-archive {padding-block:28px;}.theme-speedgate .column-main > :is(.service-page,.video-page) {padding-block:0;}}
.theme-speedgate :is(.pricing-section,.news-layout,.news-section.section-space,.sg-service-list,.sg-video-list,.service-page,.video-page,.form-layout,.sg-project-archive) {margin-block:0;}
.theme-speedgate .other-services {margin-block:0;padding-block:36px;}
@media(max-width:767px){.theme-speedgate .other-services {padding-block:28px;}}
.theme-speedgate .sg-timeline-section {margin-block:0;padding-block:36px;}
@media(max-width:767px){.theme-speedgate .sg-timeline-section {padding-block:28px;}}
/* Search popup sizes itself to its content; the cart drawer retains full height. */
.theme-speedgate .modal:has(.search-form) {position:relative;inset:auto;margin:0;height:auto;min-height:0;max-height:calc(100dvh - 48px);padding:28px;}
.theme-speedgate .modal:has(.search-form) .modal-top {margin-bottom:20px;}
.theme-speedgate .modal:has(.search-form) .search-form {margin:0 0 20px;}
.theme-speedgate .modal:has(.search-form) .search-form:last-child {margin-bottom:0;}
.theme-speedgate .modal:has(.search-form) .search-form input {height:46px;padding:10px 50px 10px 16px;}
.theme-speedgate .modal:has(.search-form) > p {margin:16px 0 10px;}
@media(max-width:767px){.theme-speedgate .modal:has(.search-form) {padding:20px;width:100%;}.theme-speedgate .modal:has(.search-form) h2 {font-size:22px;}}
/* Header and hero meet without a separator or collapsed hero margin. */
.theme-speedgate .speedgate-root > header {border-bottom:0;box-shadow:none;}
.theme-speedgate .hero {margin-top:0;}
.theme-speedgate .sg-project-home {margin-block:0;padding-block:62px;}
/* Multi-image Features gallery: natural image ratios, flowing Pinterest columns. */
.theme-speedgate .sg-feature-photos.sg-feature-masonry {display:block;columns:2;column-gap:14px;}
.theme-speedgate .sg-feature-masonry img {display:block;position:static;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;margin:0 0 14px;break-inside:avoid;transform:none;}
@media(max-width:767px){.theme-speedgate .sg-project-home {padding-block:40px;}.theme-speedgate .sg-feature-photos.sg-feature-masonry {column-gap:10px;}.theme-speedgate .sg-feature-masonry img {margin-bottom:10px;}}
