/* ============================================================
   Clear Sky Consulting - Stylesheet
   ============================================================ */

:root {
  --sky-900: #0b3a66;
  --sky-700: #145da0;
  --sky-500: #2f8fd8;
  --sky-300: #7fc1ec;
  --sky-100: #e7f3fb;
  --ink: #12212e;
  --slate: #52667a;
  --cloud: #f6fafd;
  --white: #ffffff;
  --line: #dde8f1;
  --sun: #f5b301;
  --shadow: 0 10px 30px rgba(11, 58, 102, 0.10);
  --shadow-sm: 0 4px 14px rgba(11, 58, 102, 0.08);
  --radius: 14px;
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sky-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; color: var(--sky-900); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--slate); }

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

.section { padding: 72px 0; }
.section--tint { background: var(--cloud); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__head p { font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--sky-500);
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--sky-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--sky-900); }
.btn--ghost { background: transparent; color: var(--sky-900); border-color: var(--sky-300); }
.btn--ghost:hover { background: var(--sky-100); }
.btn--light { background: #fff; color: var(--sky-900); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--sky-900); font-size: 1.12rem; }
.brand:hover { text-decoration: none; }
.brand__logo { width: 38px; height: 38px; }
.brand small { display: block; font-size: .72rem; font-weight: 500; color: var(--slate); letter-spacing: .04em; }

.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .96rem;
}
.nav__links a:hover { background: var(--sky-100); text-decoration: none; }
.nav__links a.active { color: var(--sky-700); font-weight: 600; }
.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--sky-900); margin: 5px 0; transition: .3s; }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 14px; }
  .nav__cta { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--sky-900) 0%, var(--sky-700) 55%, var(--sky-500) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 15%, rgba(255,255,255,.18), transparent 45%),
              radial-gradient(circle at 15% 90%, rgba(255,255,255,.10), transparent 40%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0;
}
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.9); font-size: 1.12rem; max-width: 32ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__photo {
  justify-self: center;
  width: 300px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  border: 4px solid rgba(255,255,255,.25);
  background: var(--sky-100);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badges { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero__badge { font-size: .9rem; color: rgba(255,255,255,.85); }
.hero__badge strong { display: block; font-size: 1.5rem; color: #fff; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; padding: 60px 0; gap: 32px; }
  .hero p { max-width: none; margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__badges { justify-content: center; }
  .hero__photo { width: 220px; height: 220px; order: -1; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--sky-100);
  color: var(--sky-700);
  margin-bottom: 16px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; font-size: .96rem; }

.price-tag { font-weight: 700; color: var(--sky-700); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: center; }
.split__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sky-100); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { position: relative; padding: 6px 0 6px 32px; color: var(--slate); }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px;
  background: var(--sky-100); color: var(--sky-700);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .75rem; font-weight: 700;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step__num {
  counter-increment: step;
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sky-700); color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
}
.step__num::before { content: counter(step); }
.step h3 { margin: 4px 0 4px; }
.step p { margin: 0; }

/* ---------- Contact / info ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic {
  flex: 0 0 auto; width: 44px; height: 44px;
  background: var(--sky-100); color: var(--sky-700);
  border-radius: 12px; display: grid; place-items: center;
}
.info-list .ic svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--ink); }
.info-list a { color: var(--sky-700); }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.field .req { color: #d64545; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 3px rgba(47,143,216,.18);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.hint { font-size: .85rem; color: var(--slate); margin-top: 6px; }
.form-note { font-size: .85rem; color: var(--slate); margin-top: 14px; }

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #e6f6ec;
  color: #1f7a44;
  border: 1px solid #b9e5c7;
  font-weight: 500;
}
.form-status.show { display: block; }

/* ---------- Coming soon ---------- */
.coming {
  text-align: center;
  padding: 90px 0;
  background: linear-gradient(160deg, var(--sky-100), var(--white));
}
.coming__badge {
  display: inline-block;
  background: var(--sun);
  color: #4a3600;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 22px;
}
.coming__icon { width: 90px; height: 90px; margin: 0 auto 24px; color: var(--sky-500); }
.methods { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 28px; opacity: .8; }
.method { padding: 10px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 600; color: var(--slate); font-size: .9rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--sky-900), var(--sky-700));
  color: #fff;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.9); }
.cta-banner .btn { margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cdd8e2;
  padding: 56px 0 28px;
}
.site-footer a { color: var(--sky-300); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand small { color: #9fb2c4; }
.site-footer .brand { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: #9fb2c4;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--sky-900), var(--sky-700));
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto; }

.utility-bar {
  background: var(--sky-900);
  color: rgba(255,255,255,.9);
  font-size: .85rem;
}
.utility-bar .container { display: flex; justify-content: flex-end; gap: 22px; padding-top: 8px; padding-bottom: 8px; }
.utility-bar a { color: #fff; }
@media (max-width: 620px) { .utility-bar .container { justify-content: center; } }
