:root {
  --bg: #f7f4ec;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #fffdf8;
  --text: #142433;
  --muted: #556676;
  --brand: #0f5f8f;
  --brand-deep: #083c5a;
  --accent: #ef9d24;
  --shadow: 0 24px 60px rgba(9, 35, 53, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
}

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

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(239, 157, 36, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 95, 143, 0.18), transparent 24%),
    linear-gradient(180deg, #fbfaf5 0%, #f3efe5 100%);
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(239, 157, 36, 0.55);
  outline-offset: 3px;
}

.site-shell { min-height: 100vh; }
.container { width: min(calc(100% - 2rem), var(--max-width)); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-deep);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(251, 250, 245, 0.82);
  border-bottom: 1px solid rgba(20, 36, 51, 0.08);
}

.header-inner,
.header-actions,
.brand,
.button-row,
.hero-highlights {
  display: flex;
  align-items: center;
}

.header-inner {
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand { gap: 0.9rem; }

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-copy strong,
.brand-copy span,
.art-card strong,
.art-card span,
.stat-box strong,
.stat-box span,
.contact-card strong,
.contact-card span {
  display: block;
}

.brand-copy span { color: var(--muted); font-size: 0.92rem; }

.header-actions { gap: 0.75rem; }
.header-call {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.82rem;
  color: var(--muted);
}

.header-call a {
  color: #1170d4;
  font-size: 1.45rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--brand); }

.lang-toggle,
.button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.lang-toggle {
  padding: 0.7rem 1rem;
  font-weight: 700;
  color: var(--brand-deep);
  background: linear-gradient(135deg, #ffffff 0%, #f3e3c4 100%);
  box-shadow: 0 12px 24px rgba(20, 36, 51, 0.08);
}

.lang-toggle:hover,
.button:hover { transform: translateY(-1px); }

.hero { padding: 2rem 0; }

.hero-home {
  background:
    linear-gradient(135deg, rgba(66, 130, 242, 0.96), rgba(79, 150, 241, 0.94)),
    url("images/hero-hvac.jpg");
  background-size: cover;
  background-position: center;
}

.hero-simple {
  padding: 2.75rem 0 1rem;
}

.hero-panel {
  text-align: center;
  color: #fff;
  padding: 1.8rem 0 2.4rem;
}

.hero-panel-light {
  color: var(--brand-deep);
  padding: 0.4rem 0 0.8rem;
}

.hero-panel h1 {
  max-width: 14ch;
  margin: 0 auto;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.hero-panel-light h1 {
  max-width: none;
  font-size: clamp(2.3rem, 4.8vw, 3.4rem);
  line-height: 1.04;
}

.hero-subline,
.hero-callout {
  color: rgba(255, 255, 255, 0.96);
}

.hero-subline {
  margin-top: 1.5rem;
  font-size: clamp(1.15rem, 2.4vw, 1.8rem);
}

.hero-callout {
  margin-top: 0.35rem;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 700;
}

.hero-subline-dark,
.hero-callout-dark {
  color: var(--brand-deep);
}

.hero-subline-dark {
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.button-row-center { justify-content: center; }

.button-accent {
  background: #ffd126;
  color: #111;
  box-shadow: none;
}

.hero-grid,
.grid-2,
.grid-3,
.trust-grid,
.gallery-grid,
.faq-grid,
.contact-grid,
.footer-grid,
.service-row {
  display: grid;
  gap: 1rem;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 95, 143, 0.1);
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-top: 1rem;
}

.hero-copy p,
.section-intro p,
.card p,
.panel p,
.faq-item p,
.footer-copy p,
.contact-card p,
.contact-card span,
.map-box p,
.form-box p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy p { margin-top: 1.2rem; font-size: 1.05rem; max-width: 58ch; }

.button-row,
.hero-highlights {
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button-row { margin-top: 1.6rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--brand) 0%, #1a7cb6 100%);
  box-shadow: 0 16px 30px rgba(15, 95, 143, 0.22);
}

.button-secondary {
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 95, 143, 0.12);
}

.hero-highlights { display: none; }

.hero-highlights span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 36, 51, 0.08);
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-art {
  min-height: 480px;
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  background:
    linear-gradient(145deg, rgba(8, 60, 90, 0.84), rgba(15, 95, 143, 0.58)),
    url("images/hero-hvac.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-home .hero-grid,
.hero-home .hero-copy,
.hero-home .hero-art {
  display: none;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.hero-art::before {
  width: 230px;
  height: 230px;
  background: rgba(255, 213, 155, 0.18);
  top: -70px;
  right: -40px;
}

.hero-art::after {
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.06);
  bottom: -130px;
  left: -80px;
}

.art-card,
.card,
.panel,
.contact-card,
.faq-item,
.map-box,
.form-box,
.gallery-card,
.cta-band {
  box-shadow: var(--shadow);
}

.art-card {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  padding: 1.2rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
}

.art-card strong { font-size: 1.1rem; }
.art-card span { margin-top: 0.4rem; color: rgba(255, 255, 255, 0.82); }

.art-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 7rem;
}

.stat-box {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-deep);
}

.stat-box strong { font-size: 2rem; letter-spacing: -0.04em; }
.stat-box span { margin-top: 0.45rem; color: var(--muted); }

.section { padding: 2rem 0; }
.section-intro { margin-bottom: 1.5rem; }

.section-intro h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-intro p { margin-top: 0.75rem; max-width: 60ch; }

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

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

.card,
.panel,
.contact-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 36, 51, 0.08);
  border-radius: var(--radius-md);
}

.service-card-home,
.simple-card {
  display: block;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(20, 36, 51, 0.08);
  box-shadow: var(--shadow);
  color: inherit;
}

.card,
.panel,
.contact-card,
.faq-item,
.map-box,
.form-box { padding: 1.3rem; }

.card h3,
.panel h3,
.faq-item h3,
.contact-card h3 { font-size: 1.18rem; margin-bottom: 0.6rem; }

.service-row {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  margin-bottom: 1rem;
}

.service-visual {
  min-height: 280px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.visual-cooling {
  background:
    linear-gradient(160deg, rgba(8, 60, 90, 0.16), rgba(8, 60, 90, 0.56)),
    url("images/service-cooling.jpg");
  background-size: cover;
  background-position: center;
}

.visual-heating {
  background:
    linear-gradient(160deg, rgba(239, 157, 36, 0.18), rgba(20, 36, 51, 0.48)),
    url("images/service-heating.jpg");
  background-size: cover;
  background-position: center;
}

.visual-indoor {
  background:
    linear-gradient(160deg, rgba(46, 125, 90, 0.22), rgba(20, 36, 51, 0.48)),
    url("images/service-indoor-air.jpg");
  background-size: cover;
  background-position: center right;
}

.panel ul,
.footer-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.panel li,
.footer-list li { padding: 0.45rem 0; color: var(--muted); }

.service-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  margin-bottom: 1rem;
  background-size: cover;
  background-position: center;
}

.thumb-cooling { background-image: url("images/service-cooling.jpg"); }
.thumb-heating { background-image: url("images/service-heating.jpg"); }
.thumb-maintenance { background-image: url("images/service-indoor-air.jpg"); }

.inline-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: #2f61ff;
  font-weight: 600;
}

.service-card-home:hover,
.service-card-home:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 95, 143, 0.22);
}

.simple-card h3 {
  margin-bottom: 0.55rem;
}

.gallery-card {
  min-height: 220px;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  align-items: flex-end;
  color: white;
}

.gallery-card:nth-child(1) {
  background:
    linear-gradient(160deg, rgba(8, 60, 90, 0.18), rgba(8, 60, 90, 0.72)),
    url("images/gallery-family.jpg");
  background-size: cover;
  background-position: center;
}

.gallery-card:nth-child(2) {
  background:
    linear-gradient(160deg, rgba(239, 157, 36, 0.16), rgba(20, 36, 51, 0.66)),
    url("images/gallery-van.jpg");
  background-size: cover;
  background-position: center;
}

.gallery-card:nth-child(3) {
  background:
    linear-gradient(160deg, rgba(46, 125, 90, 0.2), rgba(20, 36, 51, 0.7)),
    url("images/gallery-tech-detail.jpg");
  background-size: cover;
  background-position: center;
}

.gallery-card h3 {
  max-width: 18ch;
  line-height: 1.15;
}

.gallery-showcase {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.gallery-showcase img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.gallery-jobs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-job {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(20, 36, 51, 0.08);
  box-shadow: var(--shadow);
}

.gallery-job img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-job:hover img,
.gallery-job:focus-within img {
  transform: scale(1.03);
}

.cta-band {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-deep), #156da3);
  color: white;
}

.cta-band p { margin-top: 0.7rem; color: rgba(255, 255, 255, 0.82); }

.cta-plain {
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(20, 36, 51, 0.08);
}

.cta-plain p { color: var(--muted); }

.cta-call-link {
  align-self: center;
  color: var(--brand);
  font-weight: 700;
}

.card-link {
  display: block;
}

.card-link:hover,
.card-link:focus-visible,
.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 95, 143, 0.22);
}

.card-link h3,
.gallery-card h3 {
  transition: color 150ms ease;
}

.card-link:hover h3,
.card-link:focus-visible h3 {
  color: var(--brand);
}

.faq-item {
  border-radius: var(--radius-md);
  background: #fffdf8;
  border: 1px solid rgba(20, 36, 51, 0.08);
}

.faq-accordion {
  display: grid;
  gap: 0.9rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-size: 1.25rem;
  color: var(--brand);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.85rem;
}

.contact-card strong { font-size: 1.8rem; }
.contact-card span { margin-top: 0.35rem; }

.map-box,
.form-box {
  min-height: 260px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 36, 51, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 244, 236, 0.98));
}

.map-boundary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
  padding: 0.9rem;
  border-radius: 18px;
  border: 2px solid rgba(8, 60, 90, 0.22);
  background: linear-gradient(145deg, rgba(15, 95, 143, 0.08), rgba(255, 255, 255, 0.96));
}

.map-boundary span {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(8, 60, 90, 0.14);
  border: 2px solid rgba(8, 60, 90, 0.26);
  color: #0a3550;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(8, 60, 90, 0.08);
}

.map-frame {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 16px;
  border: 4px solid rgba(8, 60, 90, 0.42);
  box-shadow: 0 22px 42px rgba(8, 60, 90, 0.22);
}

.map-frame iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  filter: saturate(1.06) contrast(1.03);
}

.wechat-card {
  padding: 1.4rem;
}

.wechat-grid {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.qr-placeholder {
  width: 190px;
  height: 190px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(20, 36, 51, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.qr-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wechat-copy strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--brand-deep);
  font-size: 1.1rem;
}

.wechat-copy span {
  display: block;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 3rem;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(239, 157, 36, 0.22), transparent 20%),
    linear-gradient(180deg, #11283b 0%, #09131a 100%);
}

.footer-grid { grid-template-columns: 1.15fr 0.85fr 0.85fr; gap: 1.4rem; }

.footer-copy p,
.footer-list li { color: rgba(255, 255, 255, 0.72); }

.footer-list a:hover { color: white; }

.footer-note {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.mobile-cta {
  position: sticky;
  bottom: 0;
  z-index: 40;
  padding: 0.8rem 0 calc(0.8rem + env(safe-area-inset-bottom, 0px));
  background: rgba(251, 250, 245, 0.96);
  border-top: 1px solid rgba(20, 36, 51, 0.08);
  backdrop-filter: blur(16px);
}

.mobile-cta .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

@media (max-width: 920px) {
  .hero-grid,
  .service-row,
  .grid-2,
  .grid-3,
  .trust-grid,
  .faq-grid,
  .contact-grid,
  .gallery-grid,
  .footer-grid { grid-template-columns: 1fr; }

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

  .header-inner { flex-wrap: wrap; }
  .header-actions { width: 100%; justify-content: space-between; }
  .nav-links { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .hero { padding-top: 3.2rem; }
  .header-actions { flex-direction: column; align-items: stretch; }
  .nav-links { justify-content: center; }
  .lang-toggle,
  .button { width: 100%; }
  .art-grid { margin-top: 4rem; }
  .wechat-grid { grid-template-columns: 1fr; }
  .qr-placeholder { width: 100%; max-width: 220px; }
  .gallery-jobs { grid-template-columns: 1fr; }
  body { padding-bottom: 5.8rem; }
}

@media (min-width: 641px) {
  .mobile-cta {
    display: none;
  }
}
