/* ============ JPR Aircon Services — Landing Page ============ */

:root {
  --navy: #06283D;
  --navy-2: #0A4D68;
  --cyan: #22D3EE;
  --cyan-deep: #0891B2;
  --green: #22C55E;
  --green-deep: #16A34A;
  --ice: #F0FBFF;
  --ink: #0C3B4E;
  --ink-muted: #4A6B7A;
  --line: #D6EEF7;
  --radius: 20px;
  --shadow: 0 14px 40px rgba(6, 40, 61, 0.10);
  --fast: 200ms ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #FFFFFF;
}

h1, h2, h3 { font-family: 'Outfit', sans-serif; line-height: 1.12; }
img, svg { max-width: 100%; }

.ic { width: 1.25em; height: 1.25em; flex: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 26px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--fast), box-shadow var(--fast), color var(--fast), border-color var(--fast);
}
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.btn-lg { padding: 17px 34px; font-size: 19px; }

.btn-cta {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
}
.btn-cta:hover { background: linear-gradient(135deg, #2FD56C, #17B04F); box-shadow: 0 14px 36px rgba(34, 197, 94, 0.5); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #E6FAFF;
  border: 1.5px solid rgba(165, 243, 252, 0.5);
}
.btn-ghost:hover { background: rgba(165, 243, 252, 0.16); border-color: #A5F3FC; }

.btn-outline {
  background: #FFFFFF;
  color: var(--cyan-deep);
  border: 1.5px solid var(--cyan-deep);
}
.btn-outline:hover { background: #E9FBFF; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 40, 61, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(165, 243, 252, 0.15);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(145deg, var(--cyan), var(--cyan-deep));
  color: var(--navy);
  font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.brand-text { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 19px; color: #FFFFFF; }
.brand-text b { color: var(--cyan); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: #CFFAFE; text-decoration: none; font-weight: 500; font-size: 16px;
  transition: color var(--fast);
}
.nav-links a:hover { color: #FFFFFF; }
.nav-cta { padding: 10px 22px; font-size: 15px; white-space: nowrap; }
.nav-toggle {
  display: none;
  background: none; border: none; color: #CFFAFE; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  color: #FFFFFF;
  background:
    radial-gradient(900px 550px at 85% -10%, rgba(34, 211, 238, 0.33), transparent 60%),
    radial-gradient(700px 500px at -10% 80%, rgba(8, 145, 178, 0.4), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #073B4C 55%, #052A3A 100%);
  padding: 88px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34, 197, 94, 0.15);
  border: 1.5px solid rgba(74, 222, 128, 0.5);
  color: #86EFAC;
  border-radius: 999px; padding: 8px 18px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.4rem); font-weight: 900; margin-top: 20px; }
.hero .accent { color: var(--cyan); text-shadow: 0 0 36px rgba(34, 211, 238, 0.45); }
.hero-sub { margin-top: 18px; font-size: 20px; color: #CFFAFE; max-width: 560px; }
.hero-sub strong { color: #FFFFFF; }
.hero-actions { margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; }
.trust-chips { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; list-style: none; }
.trust-chips li {
  border: 1.5px solid rgba(165, 243, 252, 0.35);
  background: rgba(8, 145, 178, 0.25);
  color: #CFFAFE;
  border-radius: 999px; padding: 7px 16px;
  font-size: 14px; font-weight: 600;
}

.hero-visual { display: flex; justify-content: center; }
.ac-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(165, 243, 252, 0.25);
  border-radius: 28px;
  padding: 34px 30px;
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px rgba(2, 20, 30, 0.4);
  overflow: hidden;
}
.ac-flake { position: absolute; top: -30px; right: -30px; width: 170px; height: 170px; color: #A5F3FC; opacity: 0.12; }
.ac-num { display: block; font-family: 'Outfit', sans-serif; font-size: 64px; font-weight: 900; color: #4ADE80; line-height: 1; }
.ac-label { color: #A5F3FC; font-size: 16px; }
.ac-rows { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.ac-row {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(8, 145, 178, 0.2);
  border: 1px solid rgba(165, 243, 252, 0.2);
  border-radius: 14px; padding: 12px 18px;
  color: #E6FAFF; font-weight: 500; font-size: 16px;
}
.ac-row .ok { color: #4ADE80; font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tint { background: var(--ice); }
.eyebrow {
  color: var(--cyan-deep);
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.section h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); font-weight: 800; margin-top: 10px; }
.section-sub { margin-top: 12px; color: var(--ink-muted); max-width: 640px; }

/* ---------- Price cards ---------- */
.price-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: box-shadow var(--fast), border-color var(--fast);
}
.price-card:hover { border-color: var(--cyan); box-shadow: 0 18px 48px rgba(8, 145, 178, 0.18); }
.price-card.featured { border: 2px solid var(--cyan-deep); }
.badge {
  position: absolute; top: -14px; left: 26px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  color: var(--navy);
  border-radius: 999px; padding: 5px 16px;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.price-card h3 { font-size: 24px; font-weight: 800; }
.from { color: var(--ink-muted); margin-top: 4px; }
.from b { color: var(--green-deep); font-family: 'Outfit', sans-serif; font-size: 30px; font-weight: 900; }
.price-card ul { list-style: none; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 0; flex: 1; }
.price-card li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 16px;
}
.price-card li span { color: var(--ink-muted); }
.price-card li small { display: block; font-size: 13px; }
.price-card li b { white-space: nowrap; color: var(--ink); }

/* ---------- Rate rows ---------- */
.rate-rows { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.rate-row {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 20px 26px;
  box-shadow: var(--shadow);
}
.rate-row b { font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 700; display: block; }
.rate-row span { color: var(--ink-muted); font-size: 15px; }
.rate { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 800; color: var(--green-deep); white-space: nowrap; }
.note { margin-top: 24px; color: var(--ink-muted); }

/* ---------- Why grid ---------- */
.why-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: var(--ice);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.why-card:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.why-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(145deg, var(--cyan), var(--cyan-deep));
  color: var(--navy);
}
.why-ic .ic { width: 26px; height: 26px; }
.why-card h3 { font-size: 19px; font-weight: 700; margin-top: 16px; }
.why-card p { margin-top: 8px; color: var(--ink-muted); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; counter-reset: step; }
.steps li {
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 20px;
}
.steps h3 { font-size: 20px; font-weight: 700; margin-top: 14px; }
.steps p { margin-top: 6px; color: var(--ink-muted); font-size: 15px; }
.section .center { margin-top: 40px; }

/* ---------- FAQ ---------- */
#faq details {
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  margin-top: 14px;
  overflow: hidden;
}
#faq details:first-of-type { margin-top: 36px; }
#faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 24px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 17px;
  position: relative;
  transition: color var(--fast);
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after {
  content: '+';
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px; color: var(--cyan-deep);
  transition: transform var(--fast);
}
#faq details[open] summary::after { content: '−'; }
#faq summary:hover { color: var(--cyan-deep); }
#faq details p { padding: 0 24px 20px; color: var(--ink-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  color: #FFFFFF;
  background:
    radial-gradient(700px 400px at 50% -20%, rgba(34, 211, 238, 0.3), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 84px 0;
}
.cta-band h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); font-weight: 900; }
.cta-band p { margin: 14px 0 30px; color: #CFFAFE; font-size: 19px; }

/* ---------- Footer ---------- */
.footer { background: #04202F; color: #CFFAFE; padding: 48px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer .brand-text { font-size: 21px; }
.footer .muted { margin-top: 8px; color: #7FB8CC; font-size: 15px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  display: inline-flex; align-items: center; gap: 10px;
  color: #CFFAFE; text-decoration: none; font-weight: 500;
  transition: color var(--fast);
}
.footer-links a:hover { color: var(--cyan); }
.copyright { text-align: center; margin-top: 40px; color: #5E93A8; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; display: none; }
}

@media (max-width: 860px) {
  .price-grid, .steps { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
  .nav-links {
    display: none;
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(165, 243, 252, 0.15);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { margin-left: auto; }
  .brand { margin-right: 0; }
  .nav-inner { justify-content: space-between; }
}

@media (max-width: 480px) {
  .nav .brand-text { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 72px; }
  .rate-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-actions .btn { width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
