/* Kades Ecommerce - stylesheet.
   Palette: deep sea blue header, bright cyan accents, pale harbour-grey paper.
   Written for this site only. */

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", Verdana, Geneva, sans-serif;
  background: #eef4f9;
  color: #12293d;
  line-height: 1.55;
}
a { color: #0369a1; }
img { max-width: 100%; }
.wrap { max-width: 1340px; margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
.site-header {
  background: linear-gradient(118deg, #062a44 0%, #084a75 55%, #0369a1 100%);
  border-bottom: 4px solid #22b8e6;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 4px 18px rgba(6, 42, 68, .28);
}
.header-in {
  max-width: 1340px; margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .mark { width: 44px; height: 44px; flex: none; }
.brand .name {
  color: #fff; font-size: 1.42rem; font-weight: 700; letter-spacing: .2px;
  font-family: "Trebuchet MS", "Avenir Next", sans-serif;
}
.brand .name em { font-style: normal; color: #5fd7f7; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.main-nav a {
  color: #d9eefb; text-decoration: none; font-size: .96rem; font-weight: 600;
  padding: 8px 12px; border-radius: 999px;
}
.main-nav a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.main-nav a.calc-link {
  background: linear-gradient(120deg, #0ea5cf, #38cdf5);
  color: #04263c; font-weight: 700;
}
.main-nav a.calc-link:hover { filter: brightness(1.08); color: #04263c; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 340px at 85% -60px, rgba(56, 205, 245, .35), rgba(56, 205, 245, 0)),
    linear-gradient(120deg, #07304e, #075985 70%, #0284c7);
  color: #eaf6fd; padding: 52px 0 58px;
}
.hero h1 {
  font-family: "Trebuchet MS", "Avenir Next", sans-serif;
  font-size: 2.65rem; line-height: 1.12; margin: 0 0 14px; color: #fff; max-width: 640px;
}
.hero h1 .accent { color: #5fd7f7; }
.hero p { font-size: 1.12rem; max-width: 560px; margin: 0 0 22px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: start; }
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: 0;
  background: linear-gradient(120deg, #0284c7, #22b8e6);
  color: #fff; font-weight: 700; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(2, 132, 199, .35);
}
.btn:hover { filter: brightness(1.09); }
.btn.ghost { background: rgba(255, 255, 255, .12); box-shadow: none; border: 1px solid rgba(255, 255, 255, .45); }

/* ---------- sections and cards ---------- */
.section { padding: 40px 0 8px; }
.section h2 {
  font-family: "Trebuchet MS", "Avenir Next", sans-serif;
  font-size: 1.9rem; margin: 0 0 8px; color: #07304e;
}
.lede { font-size: 1.06rem; color: #33536d; max-width: 820px; margin: 0 0 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(295px, 1fr)); gap: 18px; }
.card {
  background: #fff; border-radius: 16px; padding: 20px;
  border: 1px solid #d7e6f1;
  box-shadow: 0 10px 24px rgba(7, 48, 78, .08);
}
.card h3 { margin: 0 0 8px; font-size: 1.13rem; color: #07304e; }
.card p { margin: 0 0 14px; color: #3c5a72; font-size: .97rem; }
.catband {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #0369a1; background: #e0f3fc;
  padding: 3px 9px; border-radius: 999px; margin-bottom: 10px;
}
.openbtn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: .93rem;
  color: #fff; background: linear-gradient(120deg, #0369a1, #0ea5cf);
  padding: 9px 16px; border-radius: 999px;
}
.openbtn:hover { filter: brightness(1.1); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 6px 0 4px; }
.stat {
  background: #fff; border: 1px solid #d7e6f1; border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 8px 18px rgba(7, 48, 78, .06);
}
.stat .num { font-size: 1.7rem; font-weight: 800; color: #0369a1; font-family: "Trebuchet MS", sans-serif; }
.stat .lbl { color: #33536d; font-size: .92rem; }

/* ---------- calculator ---------- */
.calc-card {
  background: #fff; border-radius: 18px; padding: 24px;
  border: 1px solid #cfe2ef;
  box-shadow: 0 16px 34px rgba(7, 48, 78, .13);
  color: #12293d;
}
.calc-card h2, .calc-card h3 { color: #07304e; margin-top: 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 5px; color: #1d4258; }
.field .hint { font-weight: 400; color: #5b7a90; font-size: .82rem; display: block; margin-top: 3px; }
.field input, .field select {
  width: 100%; padding: 11px 12px; font-size: 1rem; color: #12293d;
  border: 1.5px solid #b9d2e2; border-radius: 10px; background: #fbfdff;
}
.field input:focus, .field select:focus { outline: 2px solid #38cdf5; border-color: #0ea5cf; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.result-box {
  margin-top: 16px; background: #eaf7fd; border: 1.5px solid #a8dcf2;
  border-radius: 12px; padding: 16px 18px; min-height: 54px;
}
.result-box:empty { display: none; }
.result-box .big { font-size: 1.45rem; font-weight: 800; color: #075985; margin: 0 0 8px; }
.result-box table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.result-box td { padding: 4px 0; border-bottom: 1px dashed #bfe3f2; }
.result-box td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.result-box tr.total td { border-bottom: 0; border-top: 2px solid #7ccdee; font-size: 1.04rem; }
.result-box .note { font-size: .86rem; color: #33536d; margin: 10px 0 0; }
.fineprint { font-size: .86rem; color: #5b7a90; }
.source-box {
  background: #fff8e8; border: 1.5px solid #f0d48a; border-radius: 12px;
  padding: 16px 18px; margin-top: 22px; font-size: .93rem; color: #5c4a12;
}
.source-box h3 { margin: 0 0 6px; color: #7a5c00; font-size: 1rem; }
.source-box p { margin: 0 0 6px; }

/* ---------- prose ---------- */
.prose h3 { color: #07304e; margin: 22px 0 6px; font-size: 1.22rem; }
.prose p { max-width: 860px; color: #24435a; }
.prose ul { max-width: 860px; color: #24435a; }
.prose table.fees { border-collapse: collapse; margin: 12px 0; background: #fff; }
.prose table.fees th, .prose table.fees td { border: 1px solid #cfe2ef; padding: 8px 12px; text-align: left; font-size: .95rem; }
.prose table.fees th { background: #e0f3fc; color: #07304e; }

/* ---------- footer ---------- */
.site-footer { background: #062a44; color: #c8e4f4; margin-top: 52px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding: 38px 0 8px;
}
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 1.02rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #9fd8f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding: 16px 0 22px; margin-top: 18px; font-size: .9rem; color: #8fb8cf;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-in { gap: 12px; }
  .main-nav { margin-left: 0; }
  .hero { padding: 36px 0 42px; }
  .section h2 { font-size: 1.55rem; }
}
