/* =========================================================
   HEATPUMP-SOLUTION WEBSITE V2
   Official CI colors are defined here for easy editing.
   ========================================================= */

:root {
  --brand-blue: #004590;
  --brand-sky: #1395ce;
  --brand-cyan: #35c8ee;
  --brand-green: #339357;
  --brand-lime: #d2ea36;
  --navy-950: #041524;
  --navy-900: #071b2d;
  --navy-800: #0b2c43;
  --ink: #133247;
  --muted: #627985;
  --line: #dce7eb;
  --surface: #f3f8fa;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(5, 35, 54, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 11px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans Thai", "Sukhumvit Set", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
code { font-size: 0.9em; }
.container { width: min(1180px, calc(100% - 42px)); margin-inline: auto; }
.skip-link { position: absolute; left: -10000px; top: 10px; z-index: 9999; background: #fff; padding: 10px 14px; }
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,69,144,0.10);
}
.nav-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { flex: 0 1 310px; }
.brand img { width: 310px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 700; }
.main-nav > a:not(.nav-cta) { position: relative; padding: 27px 0; }
.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-sky), var(--brand-green));
  transition: right 0.2s ease;
}
.main-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-sky));
  box-shadow: 0 12px 25px rgba(0,69,144,0.20);
}
.menu-button { display: none; background: transparent; border: 0; padding: 9px; cursor: pointer; }
.menu-button span { display: block; width: 27px; height: 2px; background: var(--ink); margin: 6px 0; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 0;
  color: #fff;
  background:
    radial-gradient(circle at 75% 12%, rgba(53,200,238,.22), transparent 30%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800) 62%, #07546a);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to right, #000, transparent 90%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.orb-one { width: 440px; height: 440px; right: -210px; top: 90px; border: 1px solid rgba(53,200,238,.26); box-shadow: 0 0 0 80px rgba(53,200,238,.035), 0 0 0 160px rgba(53,200,238,.018); }
.orb-two { width: 160px; height: 160px; left: 36%; bottom: 10%; background: rgba(210,234,54,.06); filter: blur(30px); }

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  align-items: center;
  gap: 55px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #7ee5df;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.eyebrow.dark { color: var(--brand-blue); }
.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 5.3vw, 67px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}
.hero h1 strong {
  display: block;
  color: #52d7d6;
  font-weight: 800;
}
.hero-text { max-width: 680px; margin: 25px 0 29px; color: #d4e4ea; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-sky));
  box-shadow: 0 15px 34px rgba(19,149,206,.30);
}
.button-primary:hover { box-shadow: 0 20px 40px rgba(19,149,206,.38); }
.button-outline { color: #fff; border-color: rgba(255,255,255,.62); background: rgba(255,255,255,.03); }
.button-outline:hover { color: var(--navy-900); background: #fff; }
.button-dark { color: #fff; background: var(--navy-900); }
.button-full { width: 100%; border: 0; cursor: pointer; }
.hero-points { list-style: none; padding: 0; margin: 27px 0 0; display: flex; flex-wrap: wrap; gap: 20px; color: #bcd1d9; font-size: 13px; }
.hero-points li::before { content: "✓"; color: var(--brand-lime); font-weight: 900; margin-right: 7px; }

.hero-media {
  position: relative;
  min-width: 0;
}
.hero-media picture, .hero-media img { width: 100%; }
.hero-media img {
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 34px 80px rgba(0,0,0,.35);
}
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 215px;
  padding: 14px 15px;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 15px;
  background: rgba(4,21,36,.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}
.hero-chip b, .hero-chip small { display: block; }
.hero-chip b { color: #7ee5df; font-size: 14px; }
.hero-chip small { color: #d3e2e8; font-size: 11px; line-height: 1.45; }
.chip-icon {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  background: linear-gradient(135deg, var(--brand-sky), var(--brand-green));
}
.chip-one { left: -28px; top: 12%; }
.chip-two { right: -25px; bottom: 10%; }

.trust-row {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  margin-top: 64px;
  color: var(--ink);
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -12px 46px rgba(0,0,0,.16);
}
.trust-row article { display: flex; gap: 13px; align-items: center; padding: 25px 22px; border-right: 1px solid var(--line); }
.trust-row article:last-child { border-right: 0; }
.trust-row article > span { color: var(--brand-sky); font-size: 12px; font-weight: 900; }
.trust-row b, .trust-row small { display: block; }
.trust-row b { font-size: 14px; }
.trust-row small { color: var(--muted); font-size: 11px; line-height: 1.5; }

.section { padding: 105px 0; }
.intro-section { padding: 95px 0 70px; }
.intro-grid, .section-heading, .overview-heading {
  display: grid;
  grid-template-columns: 1fr .78fr;
  align-items: end;
  gap: 75px;
}
.section-title h2, .section-heading h2, .flow-header h2, .industries-copy h2, .overview-heading h2, .quote-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 55px);
  line-height: 1.18;
  letter-spacing: -0.032em;
}
.intro-copy p, .section-heading > p, .overview-heading > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}
.text-link { color: var(--brand-blue); font-weight: 800; }
.text-link span { margin-left: 6px; }

.solutions-section { background: var(--surface); }
.section-heading { margin-bottom: 48px; }
.card-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.solution-card {
  position: relative;
  min-height: 390px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(19,149,206,.45); }
.solution-card.featured { color: #fff; background: linear-gradient(145deg, var(--navy-900), #0b4960); border-color: transparent; }
.solution-card::after {
  content: "";
  position: absolute;
  right: -74px;
  bottom: -74px;
  width: 175px;
  height: 175px;
  border: 1px solid rgba(19,149,206,.16);
  border-radius: 50%;
}
.card-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  border-radius: 16px;
  color: var(--brand-blue);
  font-size: 32px;
  font-weight: 800;
  background: #eaf7fb;
}
.featured .card-icon { color: #fff; background: rgba(255,255,255,.10); }
.card-number { position: absolute; right: 26px; top: 28px; color: #8ba1ac; font-size: 12px; font-weight: 900; }
.solution-card h3 { margin: 0 0 13px; font-size: 22px; line-height: 1.25; }
.solution-card p { margin: 0; color: var(--muted); font-size: 14px; }
.solution-card.featured p { color: #c8d9df; }
.solution-card a { position: absolute; left: 28px; bottom: 27px; color: var(--brand-blue); font-weight: 800; font-size: 14px; }
.solution-card.featured a { color: #7ee5df; }

.flow-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 5%, rgba(53,200,238,.14), transparent 28%),
    var(--navy-900);
}
.flow-section::after {
  content: "";
  position: absolute;
  right: -210px;
  bottom: -320px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(53,200,238,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(53,200,238,.025), 0 0 0 180px rgba(53,200,238,.012);
}
.flow-header { position: relative; z-index: 2; max-width: 810px; margin-bottom: 55px; }
.flow-header p { max-width: 720px; color: #b8ccd4; }
.flow-line {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 25px;
}
.flow-line article { min-height: 245px; padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-md); background: rgba(255,255,255,.035); }
.flow-circle {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 21px;
  border-radius: 50%;
  font-weight: 900;
  background: linear-gradient(145deg, var(--brand-blue), var(--brand-cyan));
  box-shadow: 0 0 0 7px rgba(53,200,238,.08);
}
.flow-circle.output { background: linear-gradient(145deg, #ea744d, #d94b42); box-shadow: 0 0 0 7px rgba(234,116,77,.08); }
.flow-line h3 { margin: 0 0 8px; font-size: 20px; }
.flow-line p { margin: 0; color: #b7cad2; font-size: 13px; }
.flow-arrow { color: var(--brand-cyan); font-size: 37px; }
.hot-arrow { color: #ef7358; }

.industries-grid { display: grid; grid-template-columns: .76fr 1.24fr; gap: 80px; align-items: start; }
.industries-copy { position: sticky; top: 120px; }
.industries-copy p { color: var(--muted); margin: 22px 0 28px; }
.industry-cards { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industry-cards article { min-height: 150px; padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .2s ease; }
.industry-cards article:hover { background: var(--surface); }
.industry-cards span, .industry-cards small { display: block; }
.industry-cards span { font-size: 18px; font-weight: 800; }
.industry-cards small { margin-top: 7px; color: var(--muted); font-size: 12px; }

.process-section { background: var(--surface); }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--line); }
.process-list li { padding: 28px 22px; border-right: 1px solid var(--line); }
.process-list li:last-child { border-right: 0; }
.process-list > li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 900;
  background: #e3f4fa;
}
.process-list h3 { margin: 20px 0 8px; font-size: 17px; line-height: 1.35; }
.process-list p { margin: 0; color: var(--muted); font-size: 12px; }

.overview-section { background: #fff; }
.overview-heading { margin-bottom: 35px; }
.overview-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: var(--navy-900);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.overview-card img { width: 100%; height: auto; }
.overview-card > span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: rgba(4,21,36,.82);
  backdrop-filter: blur(8px);
}

.quote-section {
  padding: 100px 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(53,200,238,.16), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}
.quote-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 75px; align-items: start; }
.quote-copy p { color: #b7cbd3; font-size: 17px; }
.contact-links { display: grid; gap: 9px; margin-top: 30px; }
.contact-links a { padding: 13px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(255,255,255,.035); }
.contact-links small, .contact-links b { display: block; }
.contact-links small { color: #7ee5df; }
.contact-links b { font-size: 14px; }

.quote-form { padding: 30px; border-radius: 22px; color: var(--ink); background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.30); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 800; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #d6e2e7;
  border-radius: 9px;
  outline: none;
  color: var(--ink);
  background: #f9fbfc;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--brand-sky); box-shadow: 0 0 0 3px rgba(19,149,206,.12); }
.form-note { display: block; text-align: center; margin-top: 9px; color: #788c96; font-size: 11px; }

.contact-section { padding: 82px 0; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.contact-brand img { width: 440px; }
.contact-brand p { color: var(--muted); }
.contact-info h2 { margin: 0; font-size: 42px; }
.contact-info > p { color: var(--muted); }
.contact-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 25px; }
.contact-info-grid a { padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; }
.contact-info-grid small, .contact-info-grid b { display: block; }
.contact-info-grid small { color: var(--muted); font-size: 11px; }
.contact-info-grid b { color: var(--brand-blue); font-size: 14px; }

.site-footer { padding: 37px 0; color: #b8cad2; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer-mark { display: flex; align-items: center; gap: 12px; }
.footer-mark img { width: 54px; height: 54px; object-fit: contain; }
.footer-mark b, .footer-mark small { display: block; }
.footer-mark b { color: #fff; }
.footer-mark small { font-size: 11px; }
.footer-grid nav { display: flex; gap: 20px; font-size: 13px; }
.footer-grid > small { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.10); font-size: 11px; }

.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: 9px; }
.floating-actions a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 900; box-shadow: 0 16px 34px rgba(0,0,0,.23); }
.float-phone { background: var(--brand-blue); font-size: 20px; }
.float-line { background: #20b457; font-size: 11px; }

.lightbox {
  width: min(96vw, 1500px);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #061725;
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.lightbox::backdrop { background: rgba(0,0,0,.82); }
.lightbox-close {
  position: fixed;
  right: 18px;
  top: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  background: rgba(0,0,0,.62);
  cursor: pointer;
}
.lightbox-scroll { overflow: auto; max-height: 92vh; }
.lightbox-scroll img { width: max(1200px, 100%); max-width: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .brand { flex-basis: 255px; }
  .brand img { width: 255px; }
  .main-nav { gap: 15px; font-size: 13px; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 15px; }
  .hero-copy { max-width: 850px; }
  .hero-media { max-width: 820px; margin-inline: auto; }
  .hero-media img { aspect-ratio: 1.45 / 1; }
  .chip-one { left: 14px; }
  .chip-two { right: 14px; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-row article:nth-child(2) { border-right: 0; }
  .trust-row article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid, .quote-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .industries-copy { position: static; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li { border-bottom: 1px solid var(--line); }
  .process-list li:nth-child(even) { border-right: 0; }
  .contact-brand img { width: min(500px,100%); }
}
@media (max-width: 860px) {
  .nav-row { min-height: 72px; }
  .brand img { width: 235px; }
  .menu-button { display: block; }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 13px 21px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 45px rgba(5,35,54,.14);
  }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.nav-cta) { padding: 11px 0; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 8px; justify-content: center; }
  .section, .quote-section { padding: 82px 0; }
  .intro-grid, .section-heading, .overview-heading { grid-template-columns: 1fr; gap: 22px; }
  .flow-line { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); text-align: center; }
  .industry-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 650px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand { flex-basis: 205px; }
  .brand img { width: 205px; }
  .hero { padding-top: 62px; }
  .hero h1 { font-size: 39px; }
  .hero-text { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-points { display: grid; gap: 7px; }
  .hero-media { margin-top: 5px; }
  .hero-media img {
    aspect-ratio: 4 / 5;
    object-position: center center;
    border-radius: 21px;
  }
  .hero-chip { width: 178px; padding: 11px; }
  .chip-one { left: 8px; top: 9%; }
  .chip-two { right: 8px; bottom: 7%; }
  .chip-icon { flex-basis: 35px; height: 35px; font-size: 18px; }
  .hero-chip b { font-size: 12px; }
  .hero-chip small { font-size: 9px; }
  .trust-row { grid-template-columns: 1fr; border-radius: 18px 18px 0 0; }
  .trust-row article { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-row article:last-child { border-bottom: 0; }
  .card-grid, .process-list, .contact-info-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 345px; }
  .process-list li { border-right: 0; }
  .overview-card { border-radius: 14px; }
  .overview-card > span { right: 9px; bottom: 9px; }
  .quote-form { padding: 21px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid nav { display: grid; grid-template-columns: 1fr 1fr; }
  .lightbox { width: 100vw; height: 100dvh; border-radius: 0; }
  .lightbox-scroll { max-height: 100dvh; padding-top: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
