/* ===========================================================
   Easy Cargo — by Easy Track Solutions
   Shared brand stylesheet (ects.tz)
   =========================================================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,500;0,600;0,700;0,800;1,700;1,800&display=swap");

:root {
  --navy: #13235e;
  --navy2: #0c1a45;
  --navy3: #070f2e;
  --blue: #1391d6;
  --blue2: #33a7e6;
  --cyan: #27c1da;
  --ink: #15202e;
  --muted: #5c6a7d;
  --soft: #f3f7fc;
  --soft2: #eaf1f8;
  --line: #e3eaf3;
  --line2: #d3deea;
  --disp: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --radius: 14px;
  --shadow-sm: 0 10px 26px rgba(12, 26, 69, 0.08);
  --shadow-md: 0 24px 50px rgba(12, 26, 69, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--disp); letter-spacing: -0.015em; margin: 0 0 0.5em; color: var(--navy); line-height: 1.12; }
p { margin: 0 0 1em; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 74px; padding: 0 clamp(16px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { height: 40px; width: auto; }
.brand .brand-word {
  display: flex; flex-direction: column; line-height: 0.9;
  font-family: var(--disp); font-weight: 800; font-style: italic;
  color: var(--navy); font-size: 1.24rem; letter-spacing: -0.02em;
}
.header-right { display: flex; align-items: center; gap: 14px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.site-nav a:hover { color: var(--blue); }
.site-nav a.nav-cta {
  display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px;
  border-radius: 10px; background: var(--blue); color: #fff;
  box-shadow: 0 10px 22px rgba(19, 145, 214, 0.28);
}
.site-nav a.nav-cta:hover { background: var(--navy); color: #fff; }
.menu-toggle {
  display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 0.96rem;
  font-family: var(--body); cursor: pointer; border: 1px solid transparent; transition: background 0.18s ease, transform 0.18s ease;
}
.button.primary { background: var(--blue); color: #fff; box-shadow: 0 16px 34px rgba(19, 145, 214, 0.34); }
.button.primary:hover { background: var(--navy); color: #fff; }
.button.secondary { background: transparent; border-color: var(--line2); color: var(--navy); }
.button.secondary:hover { border-color: var(--blue); color: var(--blue); }
.button.ghost-light { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.24); color: #fff; }
.button.ghost-light:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ---------- Layout ---------- */
.section { padding: clamp(56px, 8vw, 110px) clamp(16px, 5vw, 72px); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.eyebrow { margin: 0 0 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 620px; margin: 16px auto 0; }
.lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Hero (dark) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(36px, 5vw, 72px); align-items: center;
  padding: clamp(56px, 7vw, 100px) clamp(16px, 5vw, 72px);
  background:
    radial-gradient(120% 95% at 82% 6%, rgba(19,145,214,0.32), transparent 52%),
    radial-gradient(90% 80% at 6% 104%, rgba(39,193,218,0.16), transparent 58%),
    linear-gradient(162deg, #0c1a45 0%, #091236 60%, #070f2e 100%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask: radial-gradient(120% 90% at 75% 20%, #000, transparent 75%);
  mask: radial-gradient(120% 90% at 75% 20%, #000, transparent 75%);
}
.hero-copy { position: relative; max-width: 680px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.03; font-weight: 800; }
.hero p { color: #c4d2e6; font-size: clamp(1.02rem, 1.3vw, 1.16rem); max-width: 600px; }
.hero .partner-line { color: #9fd4f3; display: inline-flex; align-items: center; gap: 9px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 18px; }
.hero .partner-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(39,193,218,0.22); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); font-size: 0.8rem; font-weight: 600; color: #d7e2f1; }

/* ---------- Dashboard mock ---------- */
.mock { position: relative; background: #fff; border-radius: 18px; box-shadow: 0 40px 80px rgba(4,10,30,0.5); overflow: hidden; color: var(--ink); }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.mock-head strong { font-size: 0.96rem; font-family: var(--body); }
.mock-live { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 99px; background: #e6f8fb; color: #0c8ea0; font-size: 0.74rem; font-weight: 700; }
.mock-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: ecpulse 1.6s ease-in-out infinite; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; background: var(--soft); }
.mock-stat { display: grid; gap: 4px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.mock-stat span { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.mock-stat strong { font-size: 1.55rem; font-family: var(--disp); color: var(--navy); }
.mock-stat small { font-size: 0.68rem; color: var(--muted); }
.mock-body { padding: 16px; display: grid; gap: 12px; }
.mock-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.8rem; font-weight: 600; }
.mock-row .id { color: var(--blue); }
.mock-row .who { color: var(--muted); }
.pill { padding: 4px 9px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; }
.pill.green { background: #e7f7ef; color: #0c8a45; }
.pill.blue { background: #e8f3fb; color: var(--blue); }
.pill.amber { background: #fff3da; color: #b6810f; }

@keyframes ecpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Product cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: var(--wrap); margin: 0 auto; }
.grid-cards { display: grid; gap: 16px; max-width: var(--wrap); margin: 0 auto; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.auto-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.product-card { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.product-card.feature { border-color: var(--blue); background: linear-gradient(180deg, #fff, #f4fafe); box-shadow: 0 26px 54px rgba(19,145,214,0.12); }
.product-card .pc-top { display: flex; align-items: center; justify-content: space-between; }
.pc-num { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; background: var(--navy); color: #fff; font-family: var(--disp); font-weight: 700; }
.product-card.feature .pc-num { background: var(--blue); }
.pc-tag { padding: 5px 11px; border-radius: 99px; background: #e7f5fc; color: var(--blue); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.pc-tag.muted { background: transparent; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.74rem; }
.product-card h3 { margin: 22px 0 12px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.product-card > p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); font-size: 0.92rem; line-height: 1.5; }
.check-list li::before { content: ""; flex: none; width: 19px; height: 19px; margin-top: 1px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }
.card-link { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 700; font-size: 0.92rem; }
.card-link::after { content: "→"; }

/* feature/module cards */
.feature-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(12,26,69,0.09); }
.feature-card .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #eaf4fb; color: var(--blue); margin-bottom: 16px; }
.feature-card.dark-ic .ic { background: var(--navy); color: #fff; }
.feature-card.blue-ic .ic { background: var(--blue); color: #fff; }
.feature-card h3 { font-size: 1.04rem; margin-bottom: 7px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.ic svg { width: 23px; height: 23px; }

/* ---------- Soft / alt section backgrounds ---------- */
.bg-soft { background: var(--soft); }
.bg-soft2 { background: var(--soft2); }
.bg-dark { background: radial-gradient(90% 120% at 100% 0%, rgba(39,193,218,0.16), transparent 55%), linear-gradient(160deg, #0c1a45, #070f2e); color: #fff; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: #c4d2e6; }

/* ---------- Product hero (interior pages) ---------- */
.product-hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(48px, 6vw, 92px) clamp(16px, 5vw, 72px);
  background:
    radial-gradient(120% 95% at 88% 0%, rgba(19,145,214,0.3), transparent 52%),
    linear-gradient(162deg, #0c1a45 0%, #091236 62%, #070f2e 100%);
  color: #fff; position: relative; overflow: hidden;
}
.product-hero .partner-line { color: #9fd4f3; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 14px; }
.product-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
.product-hero p { color: #c4d2e6; font-size: 1.06rem; max-width: 600px; }
.product-hero-copy { position: relative; z-index: 2; }
.search-card { position: relative; z-index: 2; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; padding: clamp(22px, 3vw, 30px); }
.search-card strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 14px; font-family: var(--disp); }
.search-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.search-card li { display: flex; }
.search-card a { color: #cfe0f2; font-size: 0.92rem; font-weight: 500; }
.search-card a:hover { color: var(--cyan); }
.search-card li::before { content: "→"; color: var(--cyan); margin-right: 9px; }

/* ---------- Product detail blocks ---------- */
.product-detail-section { display: grid; gap: 20px; max-width: var(--wrap); margin: 0 auto; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.product-detail.highlighted-detail { border-color: var(--blue); background: linear-gradient(180deg, #fff, #f4fafe); }
.product-number { display: inline-grid; place-items: center; min-width: 54px; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--navy); color: #fff; font-family: var(--disp); font-weight: 700; font-size: 0.84rem; margin-bottom: 14px; }
.highlighted-detail .product-number { background: var(--blue); }
.product-detail h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.product-detail p { color: var(--muted); margin: 0; }
.detail-panel { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.detail-panel h3 { font-size: 1.05rem; margin-bottom: 12px; }
.detail-panel ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.detail-panel li { position: relative; padding-left: 26px; color: var(--ink); font-size: 0.92rem; line-height: 1.5; }
.detail-panel li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- Comparison table ---------- */
.compare { max-width: 1000px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-head { background: var(--navy); }
.cmp-cell { padding: 17px; font-size: 0.9rem; }
.cmp-head .cmp-cell { color: #fff; font-weight: 700; }
.cmp-head .cmp-cell + .cmp-cell { border-left: 1px solid rgba(255,255,255,0.14); }
.cmp-row:not(.cmp-head) .cmp-cell:first-child { font-weight: 700; color: var(--ink); }
.cmp-row:not(.cmp-head) .cmp-cell + .cmp-cell { border-left: 1px solid var(--line); color: var(--muted); }
.cmp-cell.primary { color: var(--blue) !important; font-weight: 700; }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); max-width: var(--wrap); margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.t-item { min-height: 210px; padding: 28px 24px; border-right: 1px solid var(--line); }
.t-item:last-child { border-right: 0; }
.t-item.active { background: #f4fafe; }
.t-dot { display: block; width: 15px; height: 15px; border-radius: 50%; background: var(--blue); border: 3px solid #cfe6f7; margin-bottom: 18px; }
.t-item.active .t-dot { background: var(--cyan); border-color: #c3eef3; }
.t-item.todo .t-dot { background: #fff; border-color: var(--line2); }
.t-step { font-size: 0.72rem; font-weight: 700; color: var(--blue); letter-spacing: 0.08em; margin-bottom: 6px; }
.t-item.active .t-step { color: #0c8ea0; }
.t-item.todo .t-step { color: var(--muted); }
.t-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.t-item p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- Resource cards ---------- */
.res-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.res-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(12,26,69,0.09); }
.res-card .cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.res-card h3 { margin: 12px 0 8px; font-size: 1.08rem; line-height: 1.25; }
.res-card p { margin: 0; color: var(--muted); font-size: 0.89rem; }
.res-card .more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: 0.86rem; }
.res-card .more::after { content: "→"; }
.tools-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; max-width: var(--wrap); margin: 26px auto 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tools-row strong { font-size: 0.84rem; color: var(--navy); }
.tools-row .sep { color: var(--line2); }

/* ---------- Article (blog) ---------- */
.article-page { max-width: 760px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) clamp(16px, 5vw, 24px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--line2); }
.article-page .partner-line { color: var(--blue); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 12px; }
.article-page h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; margin-bottom: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: var(--muted); font-size: 0.84rem; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article-page h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 34px 0 12px; }
.article-page h3 { font-size: 1.15rem; margin: 24px 0 10px; }
.article-page p, .article-page li { font-size: 1.02rem; color: #2a3645; line-height: 1.72; }
.article-page ul, .article-page ol { padding-left: 22px; margin: 0 0 1.2em; display: grid; gap: 8px; }
.article-page strong { color: var(--navy); }
.key-takeaways { background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 22px 24px; margin: 24px 0 32px; }
.key-takeaways strong { display: block; font-family: var(--disp); color: var(--navy); margin-bottom: 10px; font-size: 0.92rem; letter-spacing: 0.02em; text-transform: uppercase; }
.key-takeaways ul { margin: 0; }
.faq { margin: 32px 0; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 4px 20px; }
.faq summary { cursor: pointer; font-family: var(--disp); font-weight: 700; color: var(--navy); padding: 16px 0; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding: 0 0 16px; margin: 0; }
.article-cta { margin: 36px 0; padding: clamp(26px, 4vw, 38px); border-radius: 18px; background: radial-gradient(80% 120% at 0% 0%, rgba(19,145,214,0.18), transparent 55%), linear-gradient(160deg, #0c1a45, #070f2e); color: #fff; }
.article-cta h2 { color: #fff; margin: 0 0 10px; font-size: 1.5rem; }
.article-cta p { color: #c4d2e6; margin: 0 0 20px; }
.related { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.4rem; margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* ---------- Calculators ---------- */
.calculator-section { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: var(--wrap); margin: 0 auto; }
.calculator-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.calculator-card h2 { font-size: 1.3rem; }
.calculator-card > p { color: var(--muted); font-size: 0.92rem; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 20px; }
.calc-grid label { display: grid; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.calc-grid input { height: 44px; border: 1px solid var(--line2); border-radius: 10px; padding: 0 12px; font: inherit; color: var(--ink); background: var(--soft); }
.calc-grid input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(19,145,214,0.14); }
.calc-result { margin-top: 18px; }
.calc-result dl { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.calc-result dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 0.9rem; }
.calc-result dl > div + div { border-top: 1px solid var(--line); }
.calc-result dt { color: var(--muted); }
.calc-result dd { margin: 0; font-weight: 700; color: var(--navy); font-family: var(--disp); }
.calc-result .total { background: var(--navy); }
.calc-result .total dt, .calc-result .total dd { color: #fff; }
.calc-result > p { font-size: 0.78rem; color: var(--muted); margin: 12px 2px 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(36px, 5vw, 68px); align-items: start; max-width: var(--wrap); margin: 0 auto; }
.contact-list { display: grid; gap: 16px; margin-top: 28px; }
.contact-list .ci { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 0.96rem; color: #fff; }
.contact-list .ci .ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: var(--cyan); }
.contact-list .ci .ic svg { width: 18px; height: 18px; }
.contact-list .ci span.addr { font-weight: 500; color: #c4d2e6; line-height: 1.6; }
.contact-form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 30px); border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; background: rgba(255,255,255,0.05); }
.contact-form label { display: grid; gap: 7px; color: #d8e2ee; font-size: 0.84rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { height: 46px; border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; background: rgba(255,255,255,0.94); color: var(--ink); padding: 0 13px; font: inherit; }
.contact-form textarea { height: auto; min-height: 96px; padding: 12px 13px; resize: vertical; }
.contact-form button { margin-top: 4px; }
.form-status { min-height: 20px; margin: 0; color: #9be7d2; font-size: 0.86rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #070f2e; color: #aebdd0; padding: clamp(40px, 5vw, 60px) clamp(16px, 5vw, 72px) 34px; }
.footer-top { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.footer-brand { max-width: 340px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 38px; width: auto; }
.footer-logo .brand-word { display: flex; flex-direction: column; line-height: 0.9; font-family: var(--disp); font-weight: 800; font-style: italic; color: #fff; font-size: 1.12rem; }
.footer-brand p, .site-footer > span { font-size: 0.9rem; line-height: 1.65; color: #aebdd0; }
.footer-cols { display: flex; gap: clamp(28px, 6vw, 72px); flex-wrap: wrap; }
.footer-col { display: grid; gap: 11px; align-content: start; }
.footer-col strong { color: #fff; font-weight: 700; font-size: 0.84rem; letter-spacing: 0.04em; }
.footer-col a { color: #aebdd0; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: var(--wrap); margin: 30px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.82rem; color: #8a99af; }
/* legacy footer (interior pages that use simple footer) */
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 16px; max-width: var(--wrap); margin: 18px auto 0; }
.site-footer .footer-links a { color: #aebdd0; font-size: 0.88rem; }
.site-footer .footer-links a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; right: 14px; left: 14px; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 12px; border-radius: 9px; }
  .site-nav a.nav-cta { margin-top: 6px; }
  .hero { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .t-item { border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .t-item:last-child { border-bottom: 0; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
  .calculator-section { grid-template-columns: 1fr; }
  .compare .cmp-row { grid-template-columns: 1fr; }
  .compare .cmp-head { display: none; }
  .compare .cmp-row:not(.cmp-head) .cmp-cell + .cmp-cell { border-left: 0; border-top: 1px solid var(--line); }
  .compare .cmp-cell:first-child { background: var(--navy); color: #fff !important; }
}
@media (max-width: 640px) {
  .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .mock-stats { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
