/* ============================================
   NAK AIRCON SERVICES — Stylesheet
   Palette: deep blue-navy + icy white + electric cyan + steel-grey
   Type: Barlow Condensed (display) / Barlow (body) / JetBrains Mono (labels)
   ============================================ */

:root {
  --navy:       #0B1829;
  --navy-mid:   #132238;
  --navy-soft:  #1E3552;
  --cyan:       #00C2D4;
  --cyan-pale:  #D4F5F7;
  --white:      #FFFFFF;
  --ice:        #F0F6FA;
  --ice-deep:   #DDE9F2;
  --steel:      #6B7E94;
  --line-light: rgba(11, 24, 41, 0.10);
  --line-dark:  rgba(255, 255, 255, 0.10);

  --font-disp:  "Barlow Condensed", sans-serif;
  --font-body:  "Barlow", sans-serif;
  --font-mono:  "JetBrains Mono", monospace;

  --max-w: 1200px;
  --r:     10px;
  --r-lg:  20px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   EMERGENCY BAND
   ============================================ */
.emergency-band {
  background: var(--cyan);
  padding: 9px 0;
}

.eb-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

.eb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
  flex: none;
  box-shadow: 0 0 0 0 rgba(11, 24, 41, 0.5);
  animation: eb-pulse 2s ease-in-out infinite;
}

@keyframes eb-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(11, 24, 41, 0.45); }
  50%       { box-shadow: 0 0 0 6px rgba(11, 24, 41, 0); }
}

.eb-text a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 24, 41, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.logo-emblem {
  width: 38px;
  height: 38px;
  flex: none;
}

.logo-emblem svg {
  width: 100%;
  height: 100%;
  stroke: var(--cyan);
  fill: var(--cyan);
}

.logo-light .logo-emblem svg { stroke: var(--cyan); fill: var(--cyan); }

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
}

.logo-light .logo-main { color: var(--white); }

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  line-height: 1;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  gap: 30px;
  font-size: 0.94rem;
  font-weight: 500;
}

.main-nav a {
  color: rgba(255,255,255,0.78);
  position: relative;
  padding: 4px 0;
  transition: color 0.18s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--cyan);
  transition: width 0.2s;
}

.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

/* CALL PILL */
.call-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: var(--navy);
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  border-radius: 100px;
  transition: background 0.18s, transform 0.18s;
  white-space: nowrap;
}

.call-pill:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.cp-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.cp-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   TYPE HELPERS
   ============================================ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.eyebrow.center { justify-content: center; }

.ey-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cyan);
  flex: none;
}

.ey-badge {
  display: inline-flex;
  align-items: center;
  background: var(--cyan);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 100px;
}

.section-title {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.12;
  color: var(--navy);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-title.center { text-align: center; }

.section-sub {
  margin-top: 14px;
  color: var(--steel);
  font-size: 1rem;
  max-width: 500px;
}

.section { padding: 96px 0; }

.sh {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.sh-lead {
  color: var(--steel);
  font-size: 1.04rem;
  max-width: 420px;
  padding-bottom: 4px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r);
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.18s, box-shadow 0.18s;
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 10px 28px -14px rgba(0, 194, 212, 0.7);
}

.btn-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -18px rgba(0, 194, 212, 0.6);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-block { width: 100%; justify-content: center; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ============================================
   IMAGE PLACEHOLDERS
   ============================================ */
.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(11, 24, 41, 0.05) 0px 10px,
      rgba(11, 24, 41, 0.01) 10px 20px
    ),
    var(--ice-deep);
  border: 1.5px dashed rgba(107, 126, 148, 0.55);
  border-radius: var(--r);
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
  overflow: hidden;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 0;
}

/* subtle grid overlay */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 194, 212, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 212, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 90px;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero-sub {
  max-width: 460px;
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  overflow: hidden;
  width: fit-content;
}

.hs-item {
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
}

.hs-val {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--cyan);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hs-key {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
}

.hs-sep {
  width: 1px;
  height: 40px;
  background: var(--line-dark);
  flex: none;
}

/* hero media */
.hero-media { position: relative; z-index: 2; }

.hero-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(0, 194, 212, 0.25);
}

.hero-cert {
  position: absolute;
  left: -36px;
  bottom: 36px;
  background: var(--cyan);
  color: var(--navy);
  border-radius: var(--r);
  padding: 16px 18px;
  max-width: 210px;
  box-shadow: 0 18px 40px -20px rgba(0, 194, 212, 0.6);
}

.cert-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.cert-icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cert-top strong {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
}

.hero-cert p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

/* WAVE DIVIDER */
.hero-divider {
  position: relative;
  z-index: 2;
  margin-bottom: -4px;
}

.hero-divider svg {
  width: 100%;
  height: 64px;
  display: block;
}

.hero-divider polygon { fill: var(--ice); }

/* ============================================
   SERVICES
   ============================================ */
.services { background: var(--ice); }

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

.svc-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px -22px rgba(11, 24, 41, 0.28);
  border-color: var(--cyan);
}

.svc-featured {
  background: var(--navy);
  border-color: var(--navy-soft);
}

.svc-featured:hover { border-color: var(--cyan); }

.svc-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.svc-featured .svc-icon-wrap { background: var(--navy-soft); }

.svc-icon-wrap svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-featured .svc-icon-wrap svg { stroke: var(--cyan); }

.svc-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.svc-card:not(.svc-featured) .svc-tag { color: var(--steel); }

.svc-card h3 {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.24;
}

.svc-featured h3 { color: var(--white); }

.svc-card p {
  color: var(--steel);
  font-size: 0.94rem;
}

.svc-featured p { color: rgba(255,255,255,0.68); }

.svc-img {
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
  border-radius: var(--r);
}

/* ============================================
   WHY US
   ============================================ */
.why-us { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.why-media { position: relative; }

.why-img {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.why-callout {
  position: absolute;
  right: -28px;
  bottom: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r);
  padding: 18px 20px;
  max-width: 220px;
  box-shadow: 0 18px 40px -22px rgba(11, 24, 41, 0.55);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.wc-icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}

.why-callout p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
}

.why-copy { padding-top: 8px; }

.why-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-light);
}

.why-item:last-child { border-bottom: none; padding-bottom: 0; }

.wi-num {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--cyan);
  flex: none;
  width: 44px;
  text-align: center;
  letter-spacing: 0.02em;
}

.why-item h3 {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

.why-item p {
  color: var(--steel);
  font-size: 0.96rem;
}

/* ============================================
   PROCESS
   ============================================ */
.process { background: var(--navy); }
.process .section-title { color: var(--white); }
.process .eyebrow { color: var(--cyan); }

.process-track {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 44px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1.5px;
  background: linear-gradient(90deg, var(--cyan), rgba(0, 194, 212, 0.3));
  z-index: 0;
}

.pt-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.pt-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--navy-soft);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 0 0 6px rgba(0, 194, 212, 0.12);
}

.pt-circle span {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

.pt-connector { display: none; }

.pt-step h3 {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.pt-step p {
  color: rgba(255,255,255,0.65);
  font-size: 0.96rem;
  max-width: 240px;
}

/* ============================================
   OUR WORK
   ============================================ */
.work { background: var(--ice); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}

.wk-img { height: 100%; }
.wk-wide { grid-column: span 2; }

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--navy-mid); }
.contact .section-title { color: var(--white); }
.contact .eyebrow { color: var(--cyan); }
.contact .section-sub { color: rgba(255,255,255,0.62); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
}

.cd-list {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cd-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}

.cd-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-top: 3px;
}

.cd-val {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  line-height: 1.6;
}

.cd-val a:hover { color: var(--cyan); }

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; }

.form-row label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 13px 16px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255,255,255,0.3); }

.form-row select option { background: var(--navy-mid); color: var(--white); }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--cyan);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--navy); color: var(--white); }

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 32px 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.55);
  max-width: 250px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.footer-col p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 24px 32px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-cert { left: 0; }
  .why-callout { right: 0; }
}

@media (max-width: 980px) {
  .main-nav       { display: none; }
  .hero-inner     { grid-template-columns: 1fr; }
  .hero-media     { order: -1; }
  .hero-cert      { display: none; }
  .sh             { grid-template-columns: 1fr; gap: 18px; }
  .service-grid   { grid-template-columns: 1fr 1fr; }
  .why-grid       { grid-template-columns: 1fr; }
  .why-callout    { display: none; }
  .process-track  { grid-template-columns: 1fr; gap: 36px; }
  .process-track::before { display: none; }
  .pt-step        { align-items: flex-start; text-align: left; }
  .work-grid      { grid-template-columns: 1fr 1fr; }
  .wk-wide        { grid-column: span 2; }
  .contact-grid   { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container  { padding: 0 20px; }
  .section    { padding: 64px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .work-grid  { grid-template-columns: 1fr; }
  .wk-wide    { grid-column: span 1; }
  .hero-stats { flex-wrap: wrap; width: 100%; }
  .hs-sep     { width: 100%; height: 1px; }
  .cd-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .process-track { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .eb-dot { animation: none; }
  * { transition: none !important; }
}
