:root {
  --navy: #0f2233;
  --navy-2: #1a3a55;
  --blue: #7cc4ef;        /* light blue: buttons, accents */
  --blue-hover: #5bb2e8;
  --blue-deep: #1f6fa8;   /* readable blue for small text on white */
  --ice: #eef6fb;
  --line: #d6e6f1;
  --text: #1b2a36;
  --muted: #5b6b78;
  --white: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Archivo", system-ui, sans-serif; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1100px, 92%); margin: 0 auto; }
.narrow { max-width: 720px; }
.small { font-size: .92rem; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: var(--blue); margin-bottom: .6em; }
.eyebrow.dark { color: var(--blue-deep); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  padding: .85em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--blue);
  transition: background .15s, border-color .15s, transform .15s;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); transform: translateY(-1px); }
.btn-small { padding: .5em 1em; font-size: .9rem; white-space: nowrap; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 1.2rem; padding: .7rem 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--navy); margin-right: auto; }
.nav { display: flex; gap: 1.4rem; }
.nav a { text-decoration: none; font-weight: 600; color: var(--navy-2); padding: .3em 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--blue); }
@media (max-width: 700px) {
  .header-row { gap: .5rem 1rem; }
  .nav { order: 3; width: 100%; justify-content: space-between; gap: .5rem; font-size: .95rem; }
}

/* Home hero */
.hero {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(15,34,51,.45) 0%, rgba(15,34,51,.3) 45%, rgba(15,34,51,.85) 100%),
    url("images/frozen-lake-sunset.jpg") center 60% / cover no-repeat,
    var(--navy);
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
}
.hero-inner { padding: 7rem 0 4rem; }
.hero h1 { max-width: 18ch; }
.hero .eyebrow, .page-hero .eyebrow { color: #cdeaff; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.lede { font-size: 1.2rem; max-width: 40ch; opacity: .95; }

/* Inner page hero */
.page-hero { background: var(--ice); padding: 4rem 0 3rem; }
.page-hero .eyebrow { color: var(--blue-deep); text-shadow: none; }
.page-hero .lede { color: var(--muted); }
.page-hero.has-img {
  color: #fff;
  background-color: var(--navy);
  background-position: center 60%;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 7rem 0 3.5rem;
}
.page-hero.has-img .eyebrow { color: #cdeaff; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.page-hero.has-img .lede { color: #fff; }

/* Sections */
.section { padding: 4.5rem 0; }
.section.alt { background: var(--ice); }
.two-col { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 820px) { .two-col { grid-template-columns: 1.2fr .8fr; } }

/* Category cards */
.cats { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .cats { grid-template-columns: repeat(3, 1fr); } }
.cat {
  display: flex; flex-direction: column;
  text-decoration: none; border: 1.5px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cat:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,34,51,.12); border-color: var(--blue); }
.cat-img { height: 170px; background: var(--navy) center/cover no-repeat; }
.cat-icon { display: grid; place-items: center; color: var(--blue); background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.cat-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.cat-body p { color: var(--muted); font-size: .97rem; flex: 1; }
.more { font-weight: 700; color: var(--blue-deep); }

/* Feature */
.feature { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 820px) { .feature { grid-template-columns: 1.1fr .9fr; } }
.feature-img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(15,34,51,.18); width: 100%; height: auto; }
.price-inline { font-family: "Archivo", sans-serif; font-size: 2.2rem; font-weight: 800; margin: .2em 0 0; }
.price-inline span { font-size: 1rem; font-weight: 500; color: var(--muted); font-family: "Inter", sans-serif; }

/* Price box */
.price-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.8rem; }
.price-box .price { font-family: "Archivo", sans-serif; font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: .4em; }
.price-box .price span { font-size: 1rem; font-weight: 500; opacity: .8; }
.price-box .price-sm { font-family: "Archivo", sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: .3em; }
.price-box .small { opacity: .75; margin: 1rem 0 0; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; }
@media (min-width: 560px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { padding-left: 1.7rem; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230f2233' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0 1.5rem; display: grid; gap: 1rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: #fff; border-radius: var(--radius); padding: 1.4rem 1.4rem 1.4rem 4rem; position: relative; box-shadow: 0 2px 10px rgba(15,34,51,.06); }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1.2rem; top: 1.3rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--blue); color: var(--navy); font-weight: 800;
  display: grid; place-items: center; font-family: "Archivo", sans-serif;
}
.rules { padding-left: 1.2rem; margin: 1rem 0 1.5rem; }
.rules li { margin-bottom: .35rem; }
.safety { background: var(--ice); border-left: 4px solid var(--blue); padding: 1rem 1.2rem; border-radius: 8px; }

/* Equipment items */
.items { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
@media (min-width: 600px) { .items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .items { grid-template-columns: repeat(3, 1fr); } }
.item { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: flex; flex-direction: column; }
.item h3 { margin-bottom: .3em; }
.item p { color: var(--muted); font-size: .95rem; flex: 1; margin-bottom: .8em; }
.item-rate { align-self: flex-start; background: var(--ice); color: var(--blue-deep); font-weight: 600; font-size: .85rem; padding: .3em .8em; border-radius: 999px; }
.cta-bar { background: var(--ice); border-radius: var(--radius); padding: 1.5rem 1.8rem; }
.cta-bar p { margin: 0; }
.cta-bar .hero-actions { margin-bottom: 0; }

/* Contact */
.contact { background: var(--navy); color: var(--white); }
.contact .eyebrow { color: var(--blue); }
.contact-line { font-size: 1.3rem; font-weight: 600; margin-bottom: .4rem; }
.contact-line a { text-decoration: none; border-bottom: 2px solid var(--blue); }
.social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.social a { text-decoration: none; border: 1.5px solid rgba(255,255,255,.5); padding: .5em 1em; border-radius: 999px; }
.form { background: var(--white); color: var(--text); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: .9rem; }
.form label { display: grid; gap: .3rem; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: .7em .8em;
  border: 1.5px solid #cfdbe3; border-radius: 10px; background: #fff; color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.hidden-field { display: none; }

/* Footer */
.site-footer { background: #0a1825; color: rgba(255,255,255,.85); padding: 2.2rem 0; font-size: .95rem; text-align: center; }
.site-footer p { margin: .2rem 0; }
.site-footer a { text-decoration: none; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.3rem; margin-bottom: 1rem; }
.footer-nav a:hover { color: var(--blue); }

/* Simple pages */
.simple { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; background: var(--ice); }

/* v3 additions */
.item-combo { border-color: var(--blue); background: linear-gradient(180deg, var(--ice), #fff 60%); }
.tag { align-self: flex-start; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25em .7em; border-radius: 999px; margin-bottom: .6rem; }
.item-rate { font-size: 1rem; font-weight: 700; color: var(--navy); background: #dff0fb; }
.price-box a:not(.btn) { color: var(--blue); }
.policy h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.policy ul { padding-left: 1.2rem; }
.policy li { margin-bottom: .45rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--ice); font-weight: 700; }
.cta-bar a:not(.btn) { color: var(--blue-deep); font-weight: 600; }
.item-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.item-dep { font-size: .85rem; color: var(--muted); }
.policy a { color: var(--blue-deep); font-weight: 600; }

/* ===== v4: catalog + detail pages ===== */
.grid { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.pcard {
  display: flex; flex-direction: column; text-decoration: none; background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.pcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,34,51,.12); border-color: var(--blue); }
.card-img { height: 180px; background: var(--navy) center/cover no-repeat; }
.icon-panel { display: grid; place-items: center; color: var(--blue); background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.pcard-body { padding: 1.1rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { margin-bottom: .25em; }
.pcard-body p { color: var(--muted); font-size: .96rem; flex: 1; margin-bottom: .8em; }
.pcard-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; margin-bottom: .7rem; }
.card-price { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--navy); }
.card-price small, .big-price small { font-family: "Inter", sans-serif; font-weight: 500; font-size: .85rem; color: var(--muted); margin-left: 2px; }
.card-dep { font-size: .85rem; color: var(--muted); }
.count { font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: .5rem; }
.tags { display: flex; gap: .4rem; }
.tags:empty { display: none; }
.tag { display: inline-block; align-self: flex-start; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25em .7em; border-radius: 999px; margin-bottom: .6rem; }
.tag-soft { background: #dff0fb; color: var(--blue-deep); }
.page-hero .eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.cat-note { margin-top: 1.5rem; }
.cat-note a { color: var(--blue-deep); font-weight: 600; }

/* detail page */
.section.detail { padding: 2rem 0 3rem; }
.section.tight { padding: 1rem 0 4rem; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { color: var(--blue-deep); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.detail-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 860px) { .detail-grid { grid-template-columns: 1.15fr .85fr; gap: 3rem; } }
.detail-img { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--navy) center/cover no-repeat; }
.detail-img.icon-panel svg { width: 140px; height: 140px; }
.thumbs { display: flex; gap: .6rem; margin-top: .7rem; flex-wrap: wrap; }
.thumbs img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; border: 1.5px solid var(--line); }
.detail-info h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.lede-dark { font-size: 1.15rem; color: var(--muted); }
.buy-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.6rem; margin-top: 1.2rem; }
.buy-box p { margin: 0 0 .6rem; }
.buy-box .small { opacity: .75; margin-top: .6rem; }
.big-price { display: block; font-family: "Archivo", sans-serif; font-weight: 800; font-size: 2.8rem; line-height: 1; margin-bottom: .5rem; }
.big-price small { color: rgba(255,255,255,.7); font-size: 1rem; }
.buy-box .dep { color: #cdeaff; font-weight: 600; }
.btn-block { display: block; text-align: center; width: 100%; margin-top: .6rem; }
.detail-body { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .detail-body { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.detail-body h2 { font-size: 1.45rem; margin-top: 1.8rem; }
.detail-body > div > h2:first-child { margin-top: 0; }
.detail-body .steps { grid-template-columns: 1fr; margin-top: 1rem; }
.detail-body .steps li { background: var(--ice); box-shadow: none; }
.detail-body .checks { grid-template-columns: 1fr; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: .6rem .2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; color: var(--muted); font-weight: 600; background: none; }
.detail-body .safety { margin-top: 1rem; }
.detail-body a { color: var(--blue-deep); font-weight: 600; }

/* v5: logo */
.brand-logo { height: 50px; width: auto; display: block; }
@media (max-width: 480px) { .brand-logo { height: 34px; } }
.footer-logo { height: 46px; width: auto; margin: 0 auto 1.2rem; display: block; }
