@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+Lao:wght@400;600;700;800&display=swap");

:root {
  --ink: #151922;
  --muted: #5f6673;
  --line: #e3e6ea;
  --soft: #f5f6f8;
  --paper: #ffffff;
  --red: #ed1b2f;
  --teal: #12a6a6;
  --green: #6f9b45;
  --steel: #343b46;
  --shadow: 0 18px 45px rgba(21, 25, 34, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Noto Sans Lao", "Noto Sans Thai", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 94px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand img {
  width: 220px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
}

.main-nav a {
  padding: 8px 0;
  color: #4a505a;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--red);
}

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

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--paper);
}

.lang-switch a {
  min-width: 40px;
  padding: 7px 9px;
  color: #444b55;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.lang-switch a.active {
  color: #fff;
  background: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 8px 22px rgba(237, 27, 47, 0.22);
}

.btn-dark {
  color: #fff;
  background: var(--ink);
}

.btn-light {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.text-link {
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: 690px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(21, 25, 34, 0.94), rgba(21, 25, 34, 0.78)),
    url("../img/hero-infrastructure.png") center right / auto 100% no-repeat,
    #242a33;
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 48px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1,
.detail-hero h1 {
  margin: 10px 0 18px;
  max-width: 820px;
  font-size: 56px;
  line-height: 1.04;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-copy p,
.page-hero p,
.detail-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-actions,
.action-row,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.badge-row span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-visual {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
}

.stats-band {
  background: var(--red);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat strong {
  font-size: 42px;
  line-height: 1;
}

.stat span {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 38px;
}

.section-heading.between {
  display: flex;
  max-width: none;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.section-heading h2,
.split-grid h2,
.cta-grid h2 {
  margin: 8px 0 12px;
  font-size: 38px;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-heading p,
.split-grid p,
.cta-grid p {
  color: var(--muted);
}

.service-grid,
.portfolio-grid,
.product-grid,
.solution-grid,
.testimonial-grid,
.process-grid {
  display: grid;
  gap: 24px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-grid.large {
  grid-template-columns: repeat(2, 1fr);
}

.service-card,
.solution-card,
.portfolio-card,
.product-card,
.quote-box,
blockquote,
.contact-panel,
.contact-form,
.detail-copy,
.gallery {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-card {
  min-height: 270px;
  padding: 28px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover,
.portfolio-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card span,
.portfolio-card span,
.product-card span {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card h3,
.service-card h2,
.portfolio-card h2,
.portfolio-card h3,
.product-card h2,
.solution-card h2 {
  margin: 12px 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-card p,
.portfolio-card p,
.product-card p,
.solution-card li {
  color: var(--muted);
}

.split-section,
.process-section,
.partner-section {
  background: var(--soft);
}

.split-grid,
.detail-grid,
.contact-grid,
.detail-layout,
.shop-layout,
.cta-grid {
  display: grid;
  gap: 40px;
}

.split-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-list article {
  padding: 24px;
  border-left: 4px solid var(--red);
  background: #fff;
}

.feature-list h3 {
  margin: 0 0 8px;
  text-transform: uppercase;
}

.process-grid {
  grid-template-columns: repeat(5, 1fr);
}

.process-grid article {
  min-height: 230px;
  padding: 24px;
  border-top: 4px solid var(--red);
  background: #fff;
}

.process-grid span {
  color: var(--red);
  font-size: 24px;
  font-weight: 900;
}

.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-card,
.product-card {
  overflow: hidden;
}

.portfolio-card img,
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.portfolio-card div,
.product-card div {
  padding: 20px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.partner-grid span,
.vendor-logo {
  min-height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: #4c535e;
  font-weight: 900;
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

blockquote {
  margin: 0;
  padding: 28px;
}

blockquote p {
  margin-top: 0;
  color: var(--ink);
  font-size: 18px;
}

blockquote cite {
  display: flex;
  flex-direction: column;
  font-style: normal;
  font-weight: 900;
}

blockquote cite span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.cta-band {
  padding: 64px 0;
  color: #fff;
  background: var(--steel);
}

.cta-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.page-hero,
.detail-hero {
  padding: 96px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(21, 25, 34, 0.96), rgba(52, 59, 70, 0.88)),
    #343b46;
}

.page-hero.compact {
  padding: 80px 0;
}

.section-visual {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.solution-grid {
  grid-template-columns: repeat(3, 1fr);
}

.solution-card {
  padding: 28px;
}

.solution-card ul,
.red-list {
  padding: 0;
  list-style: none;
}

.solution-card li,
.red-list li {
  position: relative;
  padding-left: 18px;
  margin: 10px 0;
}

.solution-card li::before,
.red-list li::before {
  position: absolute;
  left: 0;
  content: "";
  width: 7px;
  height: 7px;
  top: 0.75em;
  border-radius: 50%;
  background: var(--red);
}

.shop-layout {
  grid-template-columns: 310px 1fr;
  align-items: start;
}

.shop-sidebar {
  display: grid;
  gap: 22px;
}

.search-form {
  display: grid;
  gap: 10px;
}

.search-form input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
}

.search-form button {
  border: 0;
  border-radius: 4px;
  padding: 12px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
}

.category-list {
  display: grid;
  gap: 8px;
}

.category-list a {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 13px;
  color: var(--muted);
  font-weight: 800;
}

.category-list a.active {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.quote-box {
  padding: 22px;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.product-meta strong {
  color: var(--red);
  font-size: 22px;
}

.product-meta span {
  color: var(--green);
  font-size: 12px;
}

.detail-grid {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.detail-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.gallery {
  padding: 24px;
}

.main-gallery-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 6px;
  background: var(--soft);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.thumb-row img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.detail-copy {
  padding: 30px;
}

.price-panel {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.price-panel strong {
  color: var(--red);
  font-size: 30px;
}

.spec-table {
  display: grid;
  gap: 10px;
}

.spec-table div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.spec-table dt {
  color: var(--muted);
}

.spec-table dd {
  margin: 0;
  font-weight: 800;
}

.contact-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.contact-panel,
.contact-form {
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.contact-direct-panel {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(22, 25, 31, 0.1);
  border-radius: 18px;
  padding: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 24, 45, 0.22), transparent 34%),
    #11151b;
  box-shadow: var(--lovable-shadow);
}

.contact-direct-panel h2 {
  margin: 8px 0 14px;
  color: #fff;
  font-family: "Barlow Condensed", "Noto Sans Lao", Inter, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
  text-transform: uppercase;
}

.contact-direct-panel p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.75;
}

.contact-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  color: #d9dde4;
  background: #151922;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding: 64px 0;
}

.footer-logo {
  width: min(250px, 100%);
  margin-bottom: 16px;
  border-radius: 6px;
  background: #fff;
}

.footer-grid h3 {
  color: #fff;
  margin-top: 0;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: #b9c0cc;
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aab1bd;
  font-size: 13px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-actions {
    grid-column: 1 / -1;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .main-nav.open {
    display: flex;
  }

  .header-actions {
    display: none;
    justify-content: flex-start;
  }

  .site-header.menu-open .header-actions {
    display: flex;
  }

  .hero-grid,
  .split-grid,
  .detail-layout,
  .shop-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .service-grid,
  .portfolio-grid,
  .product-grid,
  .solution-grid,
  .testimonial-grid,
  .process-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 76px;
    padding: 12px 14px;
  }

  .brand img {
    width: 148px;
  }

  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero {
    min-height: 610px;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-hero h1 {
    font-size: 36px;
  }

  .section {
    padding: 64px 0;
  }

  .stats-grid,
  .service-grid,
  .portfolio-grid,
  .product-grid,
  .solution-grid,
  .testimonial-grid,
  .process-grid,
  .partner-grid,
  .feature-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading.between,
  .detail-grid,
  .cta-grid,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .spec-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Design polish layer: closer to a premium industrial/IT services theme. */
:root {
  --ink: #16191f;
  --muted: #68707b;
  --line: #dde2e8;
  --soft: #f4f5f7;
  --paper: #ffffff;
  --red: #ef182d;
  --teal: #0b9fa4;
  --green: #6f9b45;
  --steel: #2f343c;
  --shadow: 0 24px 70px rgba(22, 25, 31, 0.14);
  --sharp-shadow: 0 14px 30px rgba(22, 25, 31, 0.08);
}

body {
  background: #f7f8fa;
  color: var(--ink);
}

.site-header {
  min-height: 112px;
  gap: 24px;
  background: rgba(255, 255, 255, 0.985);
  border-bottom: 1px solid rgba(22, 25, 31, 0.08);
  box-shadow: none;
}

.site-header::before {
  display: none;
}

.brand img {
  width: 236px;
  max-height: 72px;
  object-fit: contain;
}

.main-nav {
  gap: 26px;
  font-size: 15px;
  letter-spacing: 0;
}

.main-nav a {
  position: relative;
  color: #565d68;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  content: "";
  background: var(--red);
  transition: width 0.18s ease;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  width: 100%;
}

.lang-switch {
  border-color: #d8dde4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.btn {
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 2px;
  box-shadow: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  box-shadow: 0 12px 24px rgba(239, 24, 45, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 18px 30px rgba(239, 24, 45, 0.3);
}

.btn-dark {
  background: #171a20;
}

.btn-light {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero {
  position: relative;
  min-height: clamp(560px, 72vh, 700px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 9, 14, 0.97) 0%, rgba(7, 9, 14, 0.88) 43%, rgba(12, 33, 52, 0.5) 100%),
    linear-gradient(135deg, rgba(239, 24, 45, 0.26), transparent 30%),
    linear-gradient(180deg, rgba(7, 9, 14, 0.1), rgba(7, 9, 14, 0.58)),
    url("../img/home-hero-server-rack.jpg") center right / cover no-repeat,
    #171a20;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(239, 24, 45, 0.16), transparent 28%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 42%);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(42vw, 520px);
  height: 6px;
  content: "";
  background: var(--red);
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 780px);
}

.hero-visual {
  display: none;
}

.hero-copy {
  padding: 28px 0 18px;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 0.98;
  font-family: "Barlow Condensed", "Noto Sans Lao", Inter, sans-serif;
  letter-spacing: 0;
}

.industrial-title {
  display: grid;
  gap: 0;
}

.industrial-title span {
  display: block;
}

.industrial-title .accent {
  color: var(--red);
}

.hero-copy p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.eyebrow {
  position: relative;
  padding-left: 28px;
  color: var(--red);
  font-size: 12px;
}

.eyebrow::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 18px;
  height: 2px;
  content: "";
  background: currentColor;
}

.badge-row span {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.stats-band {
  position: relative;
  z-index: 5;
  background: transparent;
  color: var(--ink);
}

.stats-grid {
  margin-top: 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sharp-shadow);
}

.stat {
  min-height: 118px;
  padding: 22px 26px;
  border-right: 1px solid var(--line);
  border-top: 4px solid var(--red);
}

.stat strong {
  color: var(--ink);
  font-size: 40px;
}

.stat span {
  color: var(--muted);
}

.section {
  padding: 86px 0;
  background: #fff;
}

.section:nth-of-type(even) {
  background: #f7f8fa;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading h2,
.split-grid h2,
.cta-grid h2 {
  font-family: "Barlow Condensed", "Noto Sans Lao", Inter, sans-serif;
  letter-spacing: 0;
  font-size: clamp(32px, 3.3vw, 48px);
  line-height: 1.04;
}

.section-heading p,
.split-grid p,
.cta-grid p {
  max-width: 720px;
  font-size: 17px;
}

.service-grid {
  gap: 22px;
}

.service-card,
.solution-card,
.portfolio-card,
.product-card,
.quote-box,
blockquote,
.contact-panel,
.contact-form,
.detail-copy,
.gallery {
  border-color: rgba(22, 25, 31, 0.1);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(22, 25, 31, 0.02);
}

.service-card {
  position: relative;
  min-height: 292px;
  padding: 34px 30px 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff, #fff),
    linear-gradient(90deg, var(--teal), var(--red));
}

.service-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--red));
}

.service-card::after {
  position: absolute;
  right: -26px;
  bottom: -36px;
  width: 120px;
  height: 120px;
  content: "";
  border: 18px solid rgba(11, 159, 164, 0.08);
  border-radius: 50%;
}

.service-card:hover,
.portfolio-card:hover,
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card h3,
.service-card h2,
.portfolio-card h2,
.portfolio-card h3,
.product-card h2,
.solution-card h2 {
  color: var(--ink);
}

.service-card a,
.service-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.split-section,
.process-section,
.partner-section {
  background: #f1f3f5;
}

.split-section {
  position: relative;
}

.split-section::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  content: "";
  background: var(--red);
}

.feature-list article {
  border-left: 0;
  border-top: 4px solid var(--red);
  border-radius: 6px;
  box-shadow: var(--sharp-shadow);
}

.process-grid {
  gap: 14px;
}

.process-grid article {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff),
    radial-gradient(circle at 100% 0%, rgba(239, 24, 45, 0.11), transparent 35%);
  box-shadow: var(--sharp-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.process-grid article::before {
  position: absolute;
  inset: auto 0 0;
  height: 0;
  content: "";
  background: #11151b;
  transition: height 0.22s ease;
  z-index: 0;
}

.process-grid article > * {
  position: relative;
  z-index: 1;
}

.process-grid article:hover {
  transform: translateY(-5px);
  border-color: #11151b;
  box-shadow: 0 18px 45px rgba(17, 21, 27, 0.14);
}

.process-grid article:hover::before {
  height: 100%;
}

.process-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.process-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(239, 24, 45, 0.18);
  border-radius: 50%;
  color: var(--red);
  background: rgba(239, 24, 45, 0.06);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.process-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-grid article:hover .process-icon {
  transform: rotate(-8deg) scale(1.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  background: var(--red);
}

.process-grid h3 {
  line-height: 1.18;
  transition: color 0.2s ease;
}

.process-grid p {
  transition: color 0.2s ease;
}

.process-grid article:hover span {
  color: rgba(255, 255, 255, 0.18);
}

.process-grid article:hover h3 {
  color: #fff;
}

.process-grid article:hover p {
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-card,
.product-card {
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.portfolio-card img,
.product-card img {
  aspect-ratio: 16 / 11;
}

.portfolio-card div,
.product-card div {
  padding: 24px;
}

.portfolio-card h2,
.portfolio-card h3,
.product-card h2 {
  font-size: 20px;
}

.partner-grid span,
.vendor-logo {
  border-radius: 4px;
  color: #2f343c;
  box-shadow: var(--sharp-shadow);
}

blockquote {
  position: relative;
  padding: 34px;
  box-shadow: var(--sharp-shadow);
}

blockquote::before {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  content: "“";
  font-size: 62px;
  font-weight: 900;
  line-height: 0.7;
}

.cta-band {
  padding: 72px 0;
  background:
    linear-gradient(90deg, rgba(22, 25, 31, 0.96), rgba(22, 25, 31, 0.86)),
    url("../img/hero-server-room.jpg") center / cover no-repeat;
}

.detail-hero {
  padding: 94px 0 102px;
  background:
    linear-gradient(90deg, rgba(22, 25, 31, 0.96), rgba(22, 25, 31, 0.82)),
    url("../img/hero-server-room.jpg") center right / cover no-repeat,
    #171a20;
}

.page-hero {
  position: relative;
  padding: 94px 0 102px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.08)),
    #a5a7aa;
  overflow: hidden;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 72px 72px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.detail-hero h1 {
  color: inherit;
  font-family: "Barlow Condensed", "Noto Sans Lao", Inter, sans-serif;
  letter-spacing: 0;
  font-size: clamp(38px, 4.4vw, 62px);
}

.page-hero p {
  color: #4f5660;
}

.section-visual {
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.solution-card {
  position: relative;
  min-height: 270px;
  padding: 34px;
  overflow: hidden;
  box-shadow: var(--sharp-shadow);
}

.solution-card::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  content: "";
  background: var(--teal);
}

.shop-layout {
  gap: 34px;
}

.shop-sidebar {
  position: sticky;
  top: 124px;
}

.search-form input,
.contact-form input,
.contact-form textarea {
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(22, 25, 31, 0.02);
}

.category-list a,
.quote-box {
  box-shadow: var(--sharp-shadow);
}

.product-card img {
  object-fit: contain;
  padding: 18px;
}

.product-meta {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-meta span {
  border-radius: 3px;
  padding: 5px 8px;
  color: var(--teal);
  background: rgba(11, 159, 164, 0.08);
  font-weight: 900;
}

.gallery,
.detail-copy,
.contact-panel,
.contact-form {
  box-shadow: var(--sharp-shadow);
}

.site-footer {
  background:
    linear-gradient(180deg, #171a20, #101216);
}

.footer-grid {
  padding: 70px 0;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.16);
}

@media (max-width: 1040px) {
  .hero {
    min-height: 620px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 82px;
  }

  .brand img {
    width: 162px;
    max-height: 58px;
  }

  .hero {
    min-height: 590px;
    background-position: center;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .stats-grid {
    margin-top: 0;
  }

  .stat {
    min-height: 104px;
  }

  .service-grid.large,
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* Lovable-match refinement layer. */
:root {
  --lovable-radius: 18px;
  --lovable-card: #ffffff;
  --lovable-surface: #f5f6f8;
  --lovable-border: rgba(22, 25, 31, 0.12);
  --lovable-shadow: 0 18px 55px rgba(22, 25, 31, 0.08);
}

.site-header {
  grid-template-columns: auto 1fr auto;
  min-height: 112px;
  padding-block: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 236px;
}

.brand-logo {
  display: block;
  width: 236px;
  max-height: 72px;
  object-fit: contain;
}

.hero {
  min-height: clamp(610px, 76vh, 760px);
  background:
    linear-gradient(90deg, rgba(7, 9, 14, 0.98) 0%, rgba(7, 9, 14, 0.9) 40%, rgba(9, 26, 42, 0.58) 78%, rgba(7, 9, 14, 0.66) 100%),
    radial-gradient(circle at 8% 18%, rgba(239, 24, 45, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(239, 24, 45, 0.22), transparent 34%),
    url("../img/home-hero-server-rack.jpg") center right / cover no-repeat,
    #11151c;
}

.hero::before {
  background:
    radial-gradient(circle at 18% 14%, rgba(239, 24, 45, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.56));
}

.hero::after {
  width: min(62vw, 760px);
  height: 5px;
}

.hero-copy h1 {
  max-width: 840px;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.88;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.hero-copy p {
  position: relative;
  margin-top: 30px;
  max-width: 730px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  font-weight: 700;
}

.hero-copy p::before {
  display: block;
  width: 86px;
  height: 4px;
  margin-bottom: 24px;
  content: "";
  background: var(--red);
}

.hero .eyebrow {
  padding: 9px 13px;
  color: #fff;
  background: var(--red);
  letter-spacing: 3px;
}

.hero .eyebrow::before {
  display: none;
}

.hero-actions .btn {
  min-width: 208px;
  min-height: 54px;
  border-radius: 0;
  font-size: 14px;
}

.hero-actions .btn-primary::after,
.product-meta a::after,
.text-link::after {
  margin-left: 12px;
  content: "→";
}

.hero-actions .btn-light {
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.88);
}

.badge-row span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.badge-row span::before {
  width: 14px;
  height: 14px;
  border: 1px solid var(--red);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 0 4px rgba(239, 24, 45, 0.16);
}

.stats-band {
  padding: 76px 0;
  color: #fff;
  background: #11151c;
}

.stats-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) 1.28fr;
  gap: 48px;
  align-items: center;
}

.stats-intro span {
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.stats-intro h2 {
  margin: 8px 0 18px;
  max-width: 330px;
  color: #fff;
  font-family: "Barlow Condensed", "Noto Sans Lao", Inter, sans-serif;
  font-size: clamp(46px, 5vw, 78px);
  line-height: 0.88;
  text-transform: uppercase;
}

.stats-intro p {
  color: rgba(255, 255, 255, 0.64);
}

.stats-grid {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  box-shadow: none;
}

.stat {
  min-height: 154px;
  padding: 32px;
  border-top: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat strong {
  color: #fff;
  font-family: "Barlow Condensed", "Noto Sans Lao", Inter, sans-serif;
  font-size: 62px;
}

.stat span {
  color: rgba(255, 255, 255, 0.68);
}

.page-hero {
  min-height: 350px;
  display: flex;
  align-items: center;
  padding: 88px 0;
  background:
    linear-gradient(90deg, rgba(160, 162, 164, 0.98), rgba(184, 186, 188, 0.88)),
    #a7a9ac;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.92;
}

.page-hero p {
  max-width: 760px;
  font-size: 18px;
}

.service-card,
.solution-card,
.contact-card,
.contact-form,
.quote-box {
  border-radius: var(--lovable-radius);
  border-color: var(--lovable-border);
}

.service-card {
  min-height: 330px;
  padding: 30px;
}

.service-card::before {
  display: none;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  border-radius: 10px;
  background: rgba(239, 24, 45, 0.08);
}

.service-icon::before {
  color: var(--red);
  font-size: 25px;
  font-style: normal;
  font-weight: 900;
  content: "⌘";
}

.service-icon-2::before { content: "◇"; }
.service-icon-3::before { content: "↺"; }
.service-icon-4::before { content: "☁"; }
.service-icon-5::before { content: "</>"; font-size: 18px; }
.service-icon-6::before { content: "24"; font-size: 18px; }

.feature-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.feature-chips small,
.solution-card li {
  border-radius: 4px;
  background: #eff1f4;
  color: #444b55;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.feature-chips small {
  padding: 8px 10px;
}

.solution-card {
  min-height: 0;
  padding: 0;
}

.solution-card::before,
.solution-card li::before {
  display: none;
}

.solution-card ul {
  display: grid;
  gap: 10px;
  margin: 0 30px 22px;
}

.solution-card li {
  margin: 0;
  padding: 10px 12px;
}

.solution-media {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.solution-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 12px;
  object-fit: contain;
  transition: transform 0.24s ease;
}

.solution-card:hover .solution-media img {
  transform: scale(1.03);
}

.solution-card-body {
  padding: 26px 30px 18px;
}

.solution-card-body .service-icon {
  margin-bottom: 18px;
}

.solution-card-body h2 {
  margin-bottom: 12px;
}

.solution-card-body p {
  margin: 0;
  color: var(--muted);
}

.solution-card > .text-link {
  display: inline-flex;
  margin: 0 30px 30px;
  color: var(--red);
}

.solution-detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: start;
}

.solution-detail-image {
  margin: 0;
  border: 1px solid var(--lovable-border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--lovable-shadow);
}

.solution-detail-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 14px;
  object-fit: contain;
}

.solution-detail-copy {
  display: grid;
  gap: 16px;
}

.solution-detail-copy h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  text-transform: uppercase;
}

.solution-detail-copy p {
  margin: 0;
  color: var(--muted);
}

.solution-detail-copy .red-list {
  margin: 0;
}

.shop-catalog {
  display: grid;
  gap: 26px;
}

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.catalog-search {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
}

.catalog-search input {
  min-height: 54px;
  border-radius: 12px 0 0 12px;
  padding-left: 18px;
}

.catalog-search button {
  min-width: 110px;
  border-radius: 0 12px 12px 0;
  background: #11151c;
}

.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  align-items: center;
}

.currency-switch {
  display: inline-flex;
  border: 1px solid var(--lovable-border);
  border-radius: 999px;
  background: #fff;
  padding: 3px;
}

.currency-switch span,
.currency-switch button {
  padding: 6px 13px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.currency-switch .active,
.currency-switch button.active {
  color: #fff;
  background: var(--red);
}

.catalog-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.catalog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-categories a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: none;
}

.category-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  place-items: center;
  color: inherit;
}

.category-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-categories a span:not(.category-icon) {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(286px, 1fr));
  gap: 24px;
}

.product-card {
  border-radius: 16px;
  box-shadow: var(--lovable-shadow);
}

.product-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.product-media::after {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--red) 0 56px, var(--teal) 56px 92px, transparent 92px);
  opacity: 0.9;
}

.product-card img {
  aspect-ratio: 4 / 3;
  padding: 24px;
  background: #fff;
  object-fit: contain;
  transition: transform 0.24s ease;
}

.product-card:hover img {
  transform: scale(1.04);
}

.stock-ribbon,
.brand-chip {
  position: absolute;
  z-index: 1;
  top: 14px;
  border-radius: 3px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stock-ribbon {
  left: 14px;
  color: #fff;
  background: var(--red);
}

.brand-chip {
  right: 14px;
  color: #58606b;
  background: rgba(255, 255, 255, 0.88);
}

.product-body {
  min-height: 246px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.product-card h2 {
  font-size: 21px;
}

.product-meta {
  margin-top: auto;
  padding: 16px 0 0;
}

.product-meta a {
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.catalog-quote {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 26px 30px;
  background:
    linear-gradient(90deg, rgba(17, 21, 28, 0.96), rgba(17, 21, 28, 0.82)),
    url("../img/hero-server-room.jpg") center / cover no-repeat;
  color: #fff;
}

.catalog-quote p {
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}

.home-portfolio-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.home-portfolio-grid .portfolio-body {
  padding: 22px;
}

.home-portfolio-grid .portfolio-body h3 {
  font-size: 22px;
  line-height: 1.08;
}

.home-portfolio-grid .portfolio-body p {
  font-size: 15px;
  line-height: 1.6;
}

.portfolio-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--lovable-shadow);
}

.portfolio-media {
  position: relative;
  display: block;
  background: #11151c;
}

.portfolio-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 34%, rgba(17, 21, 28, 0.72));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.portfolio-card:hover .portfolio-media::after {
  opacity: 1;
}

.portfolio-media > span {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.portfolio-card img {
  aspect-ratio: 16 / 10;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.portfolio-card:hover img {
  transform: scale(1.04);
  filter: grayscale(0.2);
}

.portfolio-body {
  padding: 26px;
}

.portfolio-body h2,
.portfolio-body h3 {
  font-size: 24px;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
}

.contact-card i {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--red);
  background: rgba(239, 24, 45, 0.08);
  font-style: normal;
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.contact-card strong {
  display: block;
  margin-top: 2px;
  font-size: 17px;
}

.contact-map-section {
  padding-top: 0;
}

.contact-map-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1.28fr);
  gap: 22px;
  align-items: stretch;
}

.contact-map-copy,
.facebook-panel {
  border: 1px solid rgba(22, 25, 31, 0.1);
  border-radius: 18px;
  padding: 30px;
  background: #fff;
  box-shadow: var(--lovable-shadow);
}

.contact-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-map-copy h2 {
  margin: 8px 0 14px;
  color: #11151b;
  font-family: "Barlow Condensed", "Noto Sans Lao", Inter, sans-serif;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 0.98;
  text-transform: uppercase;
}

.contact-map-copy p,
.facebook-panel p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-map-frame {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(22, 25, 31, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--lovable-shadow);
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.18) contrast(1.05);
}

.facebook-panel {
  grid-column: 1 / -1;
  display: flex;
  gap: 18px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 96% 12%, rgba(255, 255, 255, 0.16), transparent 26%),
    #11151b;
}

.facebook-panel span {
  display: grid;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: #1877f2;
  font-size: 36px;
  font-weight: 900;
  font-family: Arial, sans-serif;
}

.facebook-panel h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
}

.facebook-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.facebook-panel strong {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-social-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.74fr) minmax(320px, 1.26fr);
  gap: 22px;
  align-items: stretch;
  border: 1px solid rgba(22, 25, 31, 0.1);
  border-radius: 18px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(239, 24, 45, 0.08), transparent 34%),
    #fff;
  box-shadow: var(--lovable-shadow);
}

.contact-social-panel > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-social-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.contact-social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.contact-social-card {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid rgba(22, 25, 31, 0.1);
  border-radius: 14px;
  padding: 18px;
  color: #11151b;
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 25, 31, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 24, 45, 0.3);
  box-shadow: 0 18px 42px rgba(22, 25, 31, 0.1);
}

.contact-social-card.placeholder {
  cursor: default;
}

.contact-channel-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--red);
}

.contact-channel-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-channel-icon-whatsapp { background: #25d366; }
.contact-channel-icon-youtube { background: #ff0033; }
.contact-channel-icon-telegram { background: #229ed9; }
.contact-channel-icon-line { background: #06c755; }

.contact-social-card strong {
  color: #11151b;
  font-size: 17px;
}

.contact-social-card span:not(.contact-channel-icon) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.gallery {
  position: relative;
  border-radius: 18px;
}

.detail-badge {
  position: absolute;
  z-index: 2;
  left: 22px;
  top: 22px;
  border-radius: 3px;
  padding: 6px 10px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-gallery-image {
  border-radius: 14px;
}

.detail-copy {
  border-radius: 18px;
}

.detail-service-cards {
  display: grid;
  gap: 12px;
  margin: 18px 0 26px;
}

.detail-service-cards span,
.portfolio-kicker {
  border: 1px solid var(--lovable-border);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
  font-weight: 800;
}

.portfolio-kicker {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.portfolio-kicker span {
  color: var(--red);
  font-weight: 950;
}

.portfolio-detail-copy h2 {
  margin: 18px 0 10px;
  color: #1d232d;
  font-family: Inter, "Noto Sans Lao", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
}

.portfolio-detail-copy p {
  color: #3f4652;
  font-size: 15px;
  line-height: 1.7;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #0f766e;
  background: rgba(15, 118, 110, 0.1);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-status::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: currentColor;
}

.project-status.in_progress {
  color: var(--red);
  background: rgba(239, 24, 45, 0.1);
}

.project-status.planning {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.project-status.on_hold {
  color: #a16207;
  background: rgba(161, 98, 7, 0.12);
}

.product-detail-page {
  padding: 28px 0 70px;
  background: #fff;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 34px;
  padding: 16px 0;
  color: #4f5660;
  font-size: 13px;
}

.product-breadcrumb a:hover {
  color: var(--red);
}

.product-breadcrumb strong {
  color: var(--ink);
  font-weight: 800;
}

.advice-product-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.22fr) 310px;
  gap: 30px;
  align-items: start;
}

.advice-gallery,
.advice-product-summary,
.advice-side-panel a,
.product-tabs,
.product-info-grid > article {
  border: 1px solid var(--lovable-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(22, 25, 31, 0.06);
}

.advice-gallery {
  padding: 24px;
}

.advice-main-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  border-radius: 14px;
  background: #f4f6f8;
}

.advice-main-image .main-gallery-image {
  max-height: 330px;
  object-fit: contain;
  background: transparent;
}

.gallery-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  color: #4f5660;
  font-size: 13px;
}

.gallery-actions button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.gallery-actions button:hover {
  color: var(--red);
}

.advice-product-summary {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.product-brand {
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.product-title-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.advice-product-summary h1 {
  margin: 8px 0 14px;
  font-family: "Barlow Condensed", "Noto Sans Lao", Inter, sans-serif;
  font-size: clamp(20px, 1.9vw, 30px);
  line-height: 1.12;
  text-transform: uppercase;
}

.advice-product-summary > p {
  color: var(--muted);
  font-size: 14px;
}

.detail-currency {
  margin: 18px 0;
  width: max-content;
}

.advice-price-card {
  border: 1px solid var(--lovable-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.advice-price-card > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.advice-price-card span {
  color: #4f5660;
  font-size: 13px;
  font-weight: 600;
}

.advice-price-card strong {
  color: var(--red);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 700;
  line-height: 1.18;
}

.advice-price-card s {
  color: #4f5660;
  font-size: 13px;
}

.advice-price-card .red-list li {
  font-size: 14px;
}

.advice-product-meta {
  font-size: 13px;
}

.advice-price-card .red-list {
  margin: 0;
  padding: 14px 22px 18px;
}

.advice-product-meta {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.advice-product-meta div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
}

.advice-product-meta dt {
  color: var(--muted);
}

.advice-product-meta dd {
  margin: 0;
  font-weight: 800;
}

.advice-buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--lovable-border);
  border-radius: 999px;
  overflow: hidden;
}

.qty-control button,
.qty-control span {
  display: grid;
  min-width: 40px;
  height: 46px;
  place-items: center;
  border: 0;
  background: #fff;
  color: #4f5660;
  font-weight: 850;
}

.advice-side-panel {
  display: grid;
  gap: 12px;
}

.advice-side-panel a {
  display: block;
  padding: 18px;
}

.advice-side-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.advice-side-panel span {
  color: var(--muted);
  font-size: 13px;
}

.product-tabs-section {
  background: #f7f8fa;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px;
}

.product-tabs a {
  border-radius: 999px;
  padding: 10px 16px;
  color: #4f5660;
  font-size: 13px;
  font-weight: 850;
}

.product-tabs a:first-child {
  color: #fff;
  background: var(--red);
}

.product-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 320px;
  gap: 22px;
  align-items: start;
}

.product-info-grid .quote-box {
  padding: 28px;
}

.shop-catalog .catalog-search input {
  min-height: 48px;
  padding: 0 16px;
  color: #303744;
  font-size: 15px;
  font-weight: 400;
}

.shop-catalog .catalog-search button {
  min-width: 96px;
  min-height: 48px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
}

.shop-catalog .currency-switch button {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
}

.shop-catalog .catalog-count {
  font-size: 13px;
  font-weight: 500;
}

.shop-catalog .catalog-categories a {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
}

.shop-catalog .catalog-categories a.active {
  font-weight: 700;
}

.shop-catalog .catalog-categories a span:not(.category-icon) {
  min-width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: 600;
}

.shop-catalog .stock-ribbon,
.shop-catalog .brand-chip {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.shop-catalog .stock-ribbon {
  display: none;
}

.shop-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: #9aa3b1;
  font-size: 13px;
  font-weight: 700;
}

.shop-breadcrumb a {
  color: #8a94a5;
}

.shop-breadcrumb strong {
  color: #20242b;
  font-weight: 800;
}

.shop-catalog .product-body {
  min-height: 320px;
  padding: 16px 18px 18px;
  background: #fff;
}

.shop-catalog .product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 0;
}

.shop-catalog .product-tags > span:first-child {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.condition-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border: 1px solid rgba(18, 166, 166, 0.28);
  border-radius: 999px;
  padding: 4px 9px;
  color: #0d7f7f;
  background: rgba(18, 166, 166, 0.08);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.condition-pill.used {
  border-color: rgba(237, 27, 47, 0.25);
  color: #b41626;
  background: rgba(237, 27, 47, 0.08);
}

[data-lightbox-src] {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(8, 11, 16, 0.86);
}

.image-lightbox.open {
  display: grid;
}

.image-lightbox figure {
  position: relative;
  max-width: min(1120px, 94vw);
  max-height: 88vh;
  margin: 0;
  display: grid;
  gap: 10px;
}

.image-lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.image-lightbox figcaption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  text-align: center;
}

.image-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.shop-catalog .product-card h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 40px;
  margin: 10px 0 6px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.34;
  text-transform: none;
}

.shop-catalog .product-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 39px;
  color: #667080;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.shop-catalog .product-meta {
  width: 100%;
  box-sizing: border-box;
  display: block;
  align-items: center;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding: 16px 0 0;
}

.shop-catalog .product-card .product-price-stack {
  min-width: 0;
  display: grid;
  gap: 8px;
  overflow: hidden;
  padding: 0;
}

.shop-catalog .product-card .product-price-stack span {
  width: max-content;
  color: #5e6674;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1;
  text-transform: uppercase;
}

.shop-catalog .product-meta strong {
  display: block;
  overflow: hidden;
  color: #20242b;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: max-content;
  margin-top: 12px;
  color: var(--red);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: none;
}

.shop-card-link span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: inherit;
}

.shop-online-note {
  display: block;
  margin-top: 10px;
  color: #8b94a4;
  font-size: 10px;
  line-height: 1.3;
}

.advice-shop-layout {
  max-width: min(1720px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 14px;
}

.shop-filter-card {
  overflow: hidden;
  border: 1px solid rgba(239, 24, 45, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(22, 25, 31, 0.08);
}

.shop-filter-card::before {
  display: block;
  height: 4px;
  content: "";
  background: var(--red);
}

.shop-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
}

.shop-filter-head h2 {
  margin: 0;
  color: #11151b;
  font-size: 15px;
  line-height: 1.1;
}

.shop-filter-head a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.shop-category-menu {
  display: grid;
  padding: 8px;
}

.shop-category-menu a {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  border-radius: 10px;
  padding: 12px 10px;
  color: #3f4652;
  font-size: 14px;
  font-weight: 700;
}

.shop-category-menu a:hover,
.shop-category-menu a.active {
  color: var(--red);
  background: rgba(239, 24, 45, 0.07);
}

.shop-category-menu strong {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #5f6671;
  background: #f1f3f6;
  font-size: 12px;
}

.shop-category-menu a.active strong {
  color: #fff;
  background: var(--red);
}

.shop-check-list {
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
  color: #3f4652;
  font-size: 14px;
  font-weight: 700;
}

.shop-check-list span,
.shop-check-list a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #3f4652;
}

.shop-check-list i {
  width: 18px;
  height: 18px;
  border: 2px solid #c7d4e3;
  border-radius: 5px;
  background: #fff;
}

.shop-check-list a.active i,
.shop-check-list a:hover i {
  border-color: var(--red);
  background: linear-gradient(135deg, var(--red) 0 52%, #fff 52% 62%, var(--red) 62%);
}

.shop-filter-card .currency-switch {
  width: calc(100% - 32px);
  margin: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.advice-shop-toolbar {
  border: 1px solid rgba(22, 25, 31, 0.1);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(22, 25, 31, 0.07);
}

.advice-shop-toolbar h2 {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 16px 0 0;
  color: #11151b;
  font-size: 24px;
  line-height: 1.1;
}

.advice-shop-toolbar h2 > span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  color: var(--red);
  background: rgba(239, 24, 45, 0.07);
}

.advice-shop-toolbar h2 small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.advice-shop-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 260px);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(22, 25, 31, 0.1);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(22, 25, 31, 0.05);
}

.advice-shop-search label {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr);
  gap: 8px;
  align-items: center;
  color: #20242b;
  font-size: 13px;
  font-weight: 800;
}

.advice-shop-search select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  color: #3f4652;
  background: #fff;
  font: inherit;
}

.advice-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.advice-tabs span {
  position: relative;
  padding: 0 0 12px;
  color: #20242b;
  font-size: 14px;
  font-weight: 800;
}

.advice-tabs .active {
  color: var(--red);
}

.advice-tabs .active::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  content: "";
  background: var(--red);
}

.catalog-tools button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #667080;
  background: #fff;
  font-size: 20px;
  font-weight: 800;
}

.catalog-tools button.active {
  color: var(--red);
  background: rgba(239, 24, 45, 0.07);
}

.shop-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.shop-product-grid .product-card {
  overflow: hidden;
  border: 1px solid rgba(22, 25, 31, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(22, 25, 31, 0.07);
}

.shop-product-grid .product-card img {
  padding: 32px 18px 20px;
  aspect-ratio: 1 / 0.92;
}

.shop-product-grid .product-media {
  border: 5px solid rgba(239, 24, 45, 0.1);
  border-bottom: 1px solid var(--line);
}

.shop-product-grid .product-body {
  min-height: 318px;
  padding: 16px 18px 18px;
}

.shop-product-grid .product-card h2 {
  font-size: 13.5px;
}

.shop-product-grid .product-card p {
  font-size: 13px;
}

.service-grid {
  gap: 0;
  border: 1px solid rgba(22, 25, 31, 0.14);
  background: #fff;
}

.service-grid.large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  min-height: 292px;
  padding: 32px;
  border: 0;
  border-right: 1px solid rgba(22, 25, 31, 0.12);
  border-bottom: 1px solid rgba(22, 25, 31, 0.12);
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: none;
  color: #fff;
  background: #11151b;
  box-shadow: inset 0 0 0 1px #11151b;
}

.service-card::after {
  display: none;
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 0;
  background: var(--red);
  transition: background 0.22s ease, transform 0.22s ease;
}

.service-card:hover .service-icon {
  transform: translateY(-2px);
  background: var(--red);
}

.service-icon::before {
  color: #fff;
  font-size: 24px;
}

.service-card > span {
  position: absolute;
  top: 18px;
  right: 20px;
  max-width: 150px;
  color: rgba(22, 25, 31, 0.46);
  font-size: 10px;
  line-height: 1.2;
  text-align: right;
  letter-spacing: 0.07em;
}

.service-card:hover > span {
  color: rgba(255, 255, 255, 0.58);
}

.service-card h2,
.service-card h3 {
  max-width: 330px;
  margin: 12px 0 12px;
  color: #11151b;
  font-size: 28px;
  line-height: 1.05;
}

.service-card:hover h2,
.service-card:hover h3 {
  color: #fff;
}

.service-card p {
  max-width: 360px;
  color: #4f5660;
  font-size: 15px;
  line-height: 1.65;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.74);
}

.service-card a {
  margin-top: 18px;
  color: var(--red);
  letter-spacing: 0.08em;
}

.service-more {
  margin-top: 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card a::after,
.service-more::after {
  content: "  →";
}

.service-card .feature-chips {
  display: none;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.service-detail-copy {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 16px;
  padding: 34px;
}

.service-detail-copy .service-icon {
  margin: 0;
}

.service-detail-copy h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
  text-transform: uppercase;
}

.service-detail-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.service-detail-panels {
  display: grid;
  gap: 18px;
}

.service-detail-panels article {
  padding: 30px;
  border: 1px solid rgba(22, 25, 31, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--lovable-shadow);
}

.service-detail-panels h3 {
  margin: 8px 0 16px;
  color: #11151b;
  font-size: 26px;
  line-height: 1.1;
  text-transform: uppercase;
}

.service-detail-panels .red-list {
  margin: 0;
}

.about-hero {
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  position: absolute;
  right: 8%;
  bottom: -70px;
  width: 220px;
  height: 220px;
  content: "";
  border: 28px solid rgba(239, 24, 45, 0.12);
  border-radius: 50%;
}

.section.about-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 11, 27, 0.25) 0%, rgba(8, 11, 27, 0.7) 44%, rgba(8, 11, 27, 0.94) 100%),
    url("../img/company-profile-bg.jpg") left center / cover no-repeat;
}

.about-profile {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr);
  justify-content: end;
  align-items: center;
  min-height: 640px;
}

.about-visual-card {
  position: relative;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(22, 25, 31, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--lovable-shadow);
}

.about-visual-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 5px;
  height: 100%;
  content: "";
  border-radius: 18px 0 0 18px;
  background: var(--red);
}

.about-visual-card img {
  width: 100%;
  border-radius: 10px;
  background: #f4f6f8;
}

.about-visual-card figcaption {
  margin-top: 14px;
  color: #2f343c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-copy {
  display: grid;
  gap: 16px;
  max-width: 860px;
  border-left: 4px solid var(--red);
  padding: 34px 0 34px 34px;
}

.about-copy h2,
.about-capability-panel h2 {
  margin: 0;
  color: #fff;
  font-family: "Barlow Condensed", "Noto Sans Lao", Inter, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
  text-transform: uppercase;
}

.about-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.8;
}

.about-copy .eyebrow {
  color: #fff;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.about-metrics article {
  min-height: 112px;
  padding: 20px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.about-metrics strong {
  display: block;
  color: var(--red);
  font-size: 34px;
  line-height: 1;
}

.about-metrics span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.about-values-section {
  background: #fff;
}

.about-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(22, 25, 31, 0.12);
  background: #fff;
}

.about-value-grid article {
  position: relative;
  min-height: 260px;
  padding: 30px;
  overflow: hidden;
  border-right: 1px solid rgba(22, 25, 31, 0.12);
  background: #fff;
  transition: transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.about-value-grid article:last-child {
  border-right: 0;
}

.about-value-grid article::before {
  position: absolute;
  inset: auto 0 0;
  height: 0;
  content: "";
  background: #11151b;
  transition: height 0.22s ease;
  z-index: 0;
}

.about-value-grid article > * {
  position: relative;
  z-index: 1;
}

.about-value-grid article > span {
  display: block;
  margin-bottom: 18px;
  color: rgba(239, 24, 45, 0.2);
  font-size: 46px;
  font-weight: 950;
  line-height: 1;
}

.about-value-grid .process-icon {
  position: absolute;
  top: 28px;
  right: 28px;
}

.about-value-grid h3 {
  margin: 0 0 12px;
  color: #11151b;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
}

.about-value-grid p {
  margin: 0;
  color: #5f6671;
  line-height: 1.65;
}

.about-value-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(17, 21, 27, 0.16);
}

.about-value-grid article:hover::before {
  height: 100%;
}

.about-value-grid article:hover > span {
  color: rgba(255, 255, 255, 0.16);
}

.about-value-grid article:hover h3 {
  color: #fff;
}

.about-value-grid article:hover p {
  color: rgba(255, 255, 255, 0.72);
}

.about-capability-section {
  padding-top: 0;
}

.about-capability-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1.25fr);
  gap: 28px;
  align-items: center;
  padding: 38px;
  border-radius: 18px;
  color: #fff;
  background: #11151b;
  box-shadow: 0 24px 60px rgba(17, 21, 27, 0.18);
}

.about-capability-panel h2 {
  color: #fff;
}

.about-capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-capability-list span {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.about-capability-list span::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  content: "";
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(239, 24, 45, 0.13);
}

.home-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(17, 21, 27, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.home-popup.open {
  opacity: 1;
  pointer-events: auto;
}

.home-popup-dialog {
  position: relative;
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.22s ease;
}

.home-popup.open .home-popup-dialog {
  transform: translateY(0) scale(1);
}

.home-popup-dialog > img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  background: #f3f5f8;
}

.home-popup-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.home-popup-content h2 {
  margin: 8px 0 14px;
  color: #11151b;
  font-family: "Barlow Condensed", "Noto Sans Lao", Inter, sans-serif;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.96;
  text-transform: uppercase;
}

.home-popup-content p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.home-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #11151b;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

body.popup-open {
  overflow: hidden;
}

.vendor-logo {
  position: relative;
  min-height: 82px;
  overflow: hidden;
  border-color: rgba(22, 25, 31, 0.1);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff),
    linear-gradient(135deg, rgba(239, 24, 45, 0.08), rgba(18, 160, 166, 0.08));
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.vendor-logo::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: var(--vendor-color, var(--red));
}

.vendor-logo::after {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  content: "";
  border: 2px solid var(--vendor-color, var(--red));
  border-radius: 50%;
  opacity: 0.08;
}

.vendor-logo strong {
  position: relative;
  z-index: 1;
  color: var(--vendor-color, #222831);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
}

.vendor-logo:hover {
  transform: translateY(-3px);
  border-color: var(--vendor-color, var(--red));
  box-shadow: 0 18px 40px rgba(22, 25, 31, 0.12);
}

.vendor-fortinet { --vendor-color: #e1261c; }
.vendor-cisco { --vendor-color: #1ba0d7; }
.vendor-hikvision { --vendor-color: #d71920; }
.vendor-dahua { --vendor-color: #1b5fbf; }
.vendor-sangfor { --vendor-color: #e11b22; }
.vendor-ubiquiti { --vendor-color: #0559c9; }
.vendor-ruijie { --vendor-color: #e31b23; }
.vendor-tp-link { --vendor-color: #00a7b5; }
.vendor-mikrotik { --vendor-color: #293241; }
.vendor-synology { --vendor-color: #111827; }
.vendor-aruba { --vendor-color: #f58220; }
.vendor-huawei { --vendor-color: #d71920; }

.vendor-cisco strong {
  letter-spacing: -0.02em;
}

.vendor-tp-link strong,
.vendor-mikrotik strong {
  text-transform: none;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 0;
  }

  .main-nav.open,
  .site-header.menu-open .header-actions {
    padding-top: 12px;
  }

  .stats-layout,
  .shop-toolbar,
  .catalog-quote {
    grid-template-columns: 1fr;
  }

  .catalog-tools {
    justify-content: flex-start;
  }

  .advice-product-layout,
  .product-info-grid,
  .solution-detail-layout,
  .service-detail-layout,
  .about-profile,
  .about-capability-panel,
  .contact-map-layout {
    grid-template-columns: 1fr;
  }

  .contact-social-panel {
    grid-template-columns: 1fr;
  }

  .contact-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-copy {
    position: static;
  }

  .about-metrics,
  .about-value-grid,
  .about-capability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section.about-section {
    background-position: 28% center;
  }

  .about-profile {
    min-height: 0;
  }

  .about-value-grid article {
    border-bottom: 1px solid rgba(22, 25, 31, 0.12);
  }

  .about-value-grid article:nth-child(2n) {
    border-right: 0;
  }

  .advice-side-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid.large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advice-shop-layout {
    max-width: var(--container);
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
  }

  .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .brand {
    min-width: auto;
  }

  .brand-logo,
  .brand img {
    width: 190px;
    max-height: 58px;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-band {
    padding: 58px 0;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .page-hero {
    min-height: 300px;
    padding: 70px 0;
  }

  .page-hero h1 {
    font-size: 48px;
  }

  .catalog-search {
    grid-template-columns: 1fr;
  }

  .catalog-tools {
    gap: 10px;
  }

  .currency-switch {
    box-shadow: var(--lovable-shadow);
  }

  .catalog-categories {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .catalog-categories a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .catalog-search input,
  .catalog-search button {
    border-radius: 12px;
  }

  .feature-chips {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .service-grid.large {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 250px;
    padding: 28px 24px;
  }

  .service-card > span {
    position: static;
    display: block;
    max-width: none;
    margin: -8px 0 18px;
    text-align: left;
  }

  .service-detail-copy,
  .service-detail-panels article {
    padding: 24px;
    border-radius: 14px;
  }

  .about-metrics,
  .about-value-grid,
  .about-capability-list {
    grid-template-columns: 1fr;
  }

  .section.about-section {
    background-position: 18% center;
  }

  .about-copy {
    border-left-width: 3px;
    padding: 24px 0 24px 22px;
  }

  .about-value-grid article {
    border-right: 0;
  }

  .about-capability-panel {
    padding: 26px;
    border-radius: 14px;
  }

  .contact-map-copy,
  .facebook-panel,
  .contact-social-panel,
  .contact-direct-panel {
    padding: 24px;
    border-radius: 14px;
  }

  .contact-social-panel,
  .contact-social-grid {
    grid-template-columns: 1fr;
  }

  .home-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .shop-product-grid {
    grid-template-columns: 1fr;
  }

  .facebook-panel {
    align-items: flex-start;
  }

  .home-popup-dialog {
    grid-template-columns: 1fr;
  }

  .home-popup-dialog > img {
    min-height: 220px;
    max-height: 300px;
  }

  .home-popup-content {
    padding: 28px;
  }

  .product-detail-page {
    padding-top: 18px;
  }

  .product-breadcrumb {
    font-size: 12px;
  }

  .advice-gallery {
    padding: 14px;
  }

  .advice-main-image {
    min-height: 300px;
  }

  .advice-product-summary h1 {
    font-size: 24px;
  }

  .advice-price-card > div,
  .advice-product-meta div {
    grid-template-columns: 1fr;
  }

  .advice-price-card > div {
    display: grid;
  }

  .advice-buy-row .btn,
  .qty-control {
    width: 100%;
  }

  .qty-control {
    justify-content: space-between;
  }

  .advice-side-panel {
    grid-template-columns: 1fr;
  }
}
