/* O&N Cooling and Heating, oncooling.com */
:root {
  --navy: #14318f;
  --navy-900: #0b1d57;
  --cyan: #1fb3e0;
  --cyan-50: #e8f7fc;
  --orange: #ee7a2c;
  --orange-600: #d6651a;
  --ink: #142033;
  --ink-2: #4a5870;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --ok: #16a34a;
  --warn: #d97706;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(11, 29, 87, .25);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--orange-600); margin-bottom: .6em; }
.eyebrow--light { color: #ffb47e; }
.lead { font-size: 1.12rem; color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; font-family: inherit; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-600); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--cyan-50); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--call { background: var(--navy); color: #fff; }
.btn--call:hover { background: var(--navy-900); }
.btn--call svg { width: 16px; height: 16px; fill: currentColor; }
.btn--sm { padding: 9px 16px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.topbar__row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 40px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-size: 1.35rem; font-weight: 900; font-family: Georgia, "Times New Roman", serif; }
.brand__text span { font-size: .8rem; color: var(--orange-600); font-weight: 600; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem; }
.nav a:hover { color: var(--navy); }
.nav .nav__signin { color: var(--navy); }
.topbar__actions { display: flex; align-items: center; gap: 10px; }
.lang { font: inherit; font-weight: 800; font-size: .85rem; border: 1.5px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 6px 11px; cursor: pointer; }
.lang:hover { border-color: var(--navy); }
.menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 80px;
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(31,179,224,.18), transparent 70%),
    radial-gradient(600px 400px at 100% 100%, rgba(238,122,44,.16), transparent 70%),
    var(--bg-soft); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .95rem; font-weight: 600; }
.trust li::before { content: "✓"; color: var(--ok); font-weight: 900; margin-right: 6px; }

.status-card { margin: 0; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 22px; border: 1px solid var(--line); }
.status-card__head { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.status-card__title { margin: 0; font-weight: 800; }
.status-card__state { margin: 0; color: var(--ok); font-weight: 600; font-size: .92rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 5px rgba(22,163,74,.15); }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.metrics div { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
.metrics dt { font-size: .8rem; color: var(--ink-2); font-weight: 600; }
.metrics dd { margin: 2px 0 0; font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.metrics dd span { font-size: .9rem; font-weight: 700; color: var(--ink-2); margin-left: 2px; }
.spark { height: 56px; margin-bottom: 10px; }
.spark svg { width: 100%; height: 100%; }
.spark path { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; }
.status-card__note { margin: 0 0 10px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.status-card__caption { font-size: .78rem; color: var(--ink-2); font-style: italic; border-top: 1px dashed var(--line); padding-top: 10px; }

/* Sections */
.section { padding: 88px 0; }
.section__head { max-width: 720px; margin-bottom: 44px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; background: var(--bg-soft); }
.card__body { padding: 22px; }
.card__body p { color: var(--ink-2); margin: 0; }

/* Cloud */
.cloud { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, #1b5fb8 100%); color: #fff; }
.cloud .lead { color: rgba(255,255,255,.85); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 24px; }
.feature p { color: rgba(255,255,255,.8); margin: 0; font-size: .97rem; }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(31,179,224,.2); display: grid; place-items: center; margin-bottom: 16px; }
.feature__icon svg { width: 24px; height: 24px; fill: none; stroke: #7fdcf7; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cloud__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Know */
.know { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.know__col { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; }
.know__col > p { color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks--warn li::before { background: var(--warn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M12 6v8M12 18.5v.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Contact */
.contact { background: var(--bg-soft); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact__info > p { color: var(--ink-2); }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; flex-direction: column; }
.contact__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); font-weight: 700; }
.contact__list a { font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }

.form { background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: .92rem; }
.field abbr { color: var(--orange-600); text-decoration: none; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(31,179,224,.18); }
.field [aria-invalid="true"] { border-color: #dc2626; }
.field textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha { margin: 4px 0 16px; min-height: 0; }
.form__status { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: #dc2626; }

/* Footer */
.footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding: 28px 0; font-size: .92rem; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand--footer { color: rgba(255,255,255,.85); }
.brand--footer img { width: 32px; background: #fff; border-radius: 8px; padding: 3px; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer__links a:hover { color: #fff; text-decoration: underline; }

/* Responsive */
@media (max-width: 1020px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .know { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .menu { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none; box-shadow: 0 12px 20px -16px rgba(0,0,0,.3); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .topbar__actions { margin-left: auto; }
  .hero { padding: 48px 0 56px; }
  .hero__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .btn--call span { display: none; }
  .btn--call.btn--sm { padding: 10px; }
  .brand__text span { display: none; }
  .cards, .features, .field-row { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .form { padding: 22px; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}
