:root {
  --page: #ffffff;
  --soft: #f0f2fb;
  --soft-strong: #e8ebf7;
  --ink: #283142;
  --muted: #536071;
  --accent: #2339a7;
  --accent-dark: #182772;
  --card: #ffffff;
  --cream: #f7f4ec;
  --line: #dfe3ef;
  --shadow: 0 18px 45px rgba(31, 41, 68, 0.08);
  --container: min(100% - 40px, 1160px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 246, 252, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: var(--container);
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.brand-mark path:last-child {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #495365;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  transition: color 180ms ease;
}

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

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: linear-gradient(90deg, var(--soft) 0%, #f8f9fd 50%, #ffffff 50%);
  overflow: hidden;
}

.hero-copy {
  grid-column: 1;
  align-self: center;
  justify-self: end;
  width: min(100% - 40px, 640px);
  padding: 78px 84px 86px 0;
}

.hero-copy h1 {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 700;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy p {
  max-width: 585px;
  margin: 30px 0 42px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 7px;
  background: var(--accent);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(35, 57, 167, 0.18);
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.hero-media {
  grid-column: 2;
  min-height: 640px;
  background-image: url("assets/hero-aircon.jpg");
  background-size: cover;
  background-position: center 38%;
}

.intro,
.feature-band,
.packages,
.services {
  padding: 82px 0;
}

.intro {
  background: linear-gradient(180deg, #ffffff 0%, var(--soft-strong) 100%);
}

.section-heading {
  width: var(--container);
  margin: 0 auto 68px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2,
.service-copy h2 {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 3.8vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
  text-wrap: balance;
}

.section-heading.centered h2,
.section-heading.centered p {
  margin-left: auto;
  margin-right: auto;
}

.section-heading p,
.service-copy p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.image-row {
  width: min(100% - 40px, 860px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.image-row figure {
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.image-row img {
  height: 100%;
  object-fit: cover;
}

.texture-panel {
  background:
    radial-gradient(circle at 20% 30%, rgba(185, 194, 210, 0.4) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 70%, rgba(173, 184, 202, 0.35) 0 1px, transparent 2px),
    linear-gradient(135deg, #ffffff 0%, #f5f7fb 58%, #ffffff 100%);
  position: relative;
}

.texture-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(125deg, transparent 0 42%, rgba(151, 163, 185, 0.2) 43%, transparent 45%),
    linear-gradient(35deg, transparent 0 55%, rgba(151, 163, 185, 0.18) 56%, transparent 58%);
  opacity: 0.6;
}

.feature-band {
  background: var(--soft-strong);
}

.feature-grid {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.feature-card {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  overflow: hidden;
  border-radius: 10px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.feature-card img {
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.feature-card div {
  padding: 44px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card h3,
.package-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
}

.feature-card p,
.package-card p,
.footer p,
.footer address,
.footer-contact {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.feature-card p {
  margin: 22px 0 0;
}

.packages {
  background: #ffffff;
}

.package-grid {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.package-card {
  overflow: hidden;
  border-radius: 4px;
  background: var(--cream);
}

.package-card img {
  height: 300px;
  object-fit: cover;
}

.package-body {
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 24px 22px 30px;
}

.package-card p {
  margin: 10px 0 0;
}

.package-card strong {
  padding-top: 2px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.services {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 90px;
  align-items: start;
}

.service-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-list li {
  min-height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
}

.footer {
  min-height: 220px;
  width: min(100% - 40px, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.05fr;
  gap: 70px;
  align-items: center;
  border-top: 1px solid transparent;
}

.footer h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
}

.footer p {
  margin: 18px 0 0;
}

.footer address {
  font-style: normal;
}

.footer-contact {
  display: grid;
  gap: 7px;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--accent);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero-copy {
    padding-right: 40px;
  }

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

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

  .nav-shell {
    min-height: 78px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    gap: 18px;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 4px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    background: var(--soft);
  }

  .hero-copy,
  .hero-media {
    grid-column: 1;
  }

  .hero-copy {
    width: var(--container);
    margin: 0 auto;
    padding: 70px 8px 58px 0;
  }

  .hero-media {
    min-height: 390px;
    background-position: center top;
  }

  .intro,
  .feature-band,
  .packages,
  .services {
    padding: 64px 0;
  }

  .image-row,
  .feature-grid,
  .package-grid,
  .services,
  .footer {
    grid-template-columns: 1fr;
  }

  .image-row figure {
    min-height: 300px;
  }

  .feature-card img,
  .package-card img {
    height: 280px;
  }

  .services,
  .footer {
    gap: 28px;
  }

  .package-body {
    grid-template-columns: 1fr;
  }

  .footer {
    min-height: auto;
    padding: 58px 0;
  }
}

@media (max-width: 520px) {
  .brand {
    white-space: normal;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .hero-copy p,
  .section-heading p,
  .service-copy p {
    font-size: 16px;
    width: 100%;
    max-width: min(100%, 350px);
  }

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

  .feature-card div {
    padding: 32px 24px;
  }
}
