:root {
  color-scheme: light;
  --ink: #17121d;
  --muted: #615b69;
  --paper: #f6f4f0;
  --surface: #ffffff;
  --line: #ded8d0;
  --magenta: #f20aae;
  --cyan: #00c8d8;
  --yellow: #f4d21d;
  --red: #b3202a;
  --dark: #120916;
  --shadow: 0 18px 48px rgba(23, 18, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(23, 18, 29, 0.1);
  background: rgba(246, 244, 240, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 230px;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
}

.brand small {
  font-size: 12px;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--red);
}

.lang-toggle {
  min-width: 48px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 72px 5vw;
  background:
    linear-gradient(90deg, rgba(242, 10, 174, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff, var(--paper));
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.system-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-action,
.secondary-action,
.whatsapp-action,
.contact-form button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.primary-action {
  padding: 0 24px;
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(179, 32, 42, 0.22);
}

.secondary-action {
  padding: 0 22px;
  border: 1px solid rgba(23, 18, 29, 0.18);
  background: #ffffff;
}

.whatsapp-action {
  padding: 0 22px;
  background: #168a56;
  color: #ffffff;
}

.whatsapp-action:hover,
.whatsapp-link:hover {
  background: #107346;
  color: #ffffff;
}

.hero-showcase {
  display: grid;
  gap: 16px;
}

.local-service-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(23, 18, 29, 0.15);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.local-service-band div {
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 24px 5vw;
  background: #ffffff;
}

.local-service-band strong { font-size: 18px; }
.local-service-band span { color: var(--muted); font-size: 14px; }

.lead-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 1.14fr);
  gap: 42px;
  align-items: start;
  padding: 76px 5vw;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.lead-copy {
  max-width: 620px;
}

.lead-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.lead-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lead-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.lead-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 18px;
  line-height: 1.25;
}

.lead-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.showcase-main {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.showcase-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.showcase-strip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.section {
  padding: 88px 5vw;
}

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

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(23, 18, 29, 0.06);
}

.product-card-image {
  width: 100%;
  height: 168px;
  object-fit: cover;
  background: #f0efec;
}

.product-card-content {
  padding: 22px 26px 26px;
}

.product-link {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-link:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 18px 36px rgba(23, 18, 29, 0.12);
}

.icon-box {
  width: 52px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  background: var(--dark);
  color: var(--yellow);
  font-weight: 900;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.25;
}

.product-card p,
.system-list p,
figcaption {
  color: var(--muted);
}

.systems-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 48px;
  padding: 88px 5vw;
  background: var(--dark);
  color: #ffffff;
}

.system-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.system-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.system-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.system-list span {
  color: var(--yellow);
  font-size: 20px;
  font-weight: 900;
}

.system-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.gallery-section {
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

figure img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

figcaption {
  min-height: 62px;
  padding: 16px;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  padding: 88px 5vw;
  background: linear-gradient(135deg, #ffffff 0%, #f5f1e8 100%);
}

.contact-info {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-weight: 900;
}

.contact-info a {
  color: var(--red);
  font-size: 24px;
}

.contact-info .whatsapp-link {
  width: fit-content;
  padding: 8px 14px;
  border-radius: 8px;
  background: #168a56;
  color: #ffffff;
  font-size: 15px;
}

.contact-info .map-link {
  width: fit-content;
  color: var(--ink);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.quote-form-heading {
  display: grid;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.quote-form-heading strong {
  font-size: 22px;
  line-height: 1.2;
}

.quote-form-heading span {
  color: var(--muted);
  font-size: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.contact-form button {
  border: 0;
  background: var(--dark);
  color: #ffffff;
  font: inherit;
}

.form-status {
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5vw;
  color: rgba(255, 255, 255, 0.74);
  background: var(--dark);
}

.site-footer p {
  margin: 0;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(18, 9, 22, 0.9);
  box-shadow: 0 16px 38px rgba(23, 18, 29, 0.24);
  backdrop-filter: blur(14px);
}

.floating-contact a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 900;
  white-space: nowrap;
}

.floating-contact a:first-child {
  background: var(--red);
}

.floating-contact a:last-child {
  background: #168a56;
}

@media (max-width: 1080px) {
  .hero,
  .lead-section,
  .systems-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .gallery-grid,
  .lead-grid,
  .local-service-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    font-size: 14px;
  }

  .hero,
  .section,
  .systems-section,
  .contact-section {
    padding: 58px 5vw;
  }

  h1 {
    font-size: 42px;
  }

  .product-grid,
  .gallery-grid,
  .lead-grid,
  .showcase-strip,
  .local-service-band {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    gap: 12px;
  }

  .showcase-main,
  .showcase-strip img {
    max-height: none;
    object-fit: contain;
  }

  .floating-contact {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .floating-contact a {
    flex: 1;
  }

  .system-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  figure img {
    height: 270px;
  }

  .site-footer {
    flex-direction: column;
  }
}
