/* =========================================================================
   Manish Steel Traders — stylesheet
   Navy + gold, product-forward, professional. (Layout after the approved
   reference, recoloured to the brand gold.)
   ========================================================================= */

:root {
  --navy:      #16232f;   /* dark sections / hero / trust / footer */
  --navy-2:    #1d2e3c;
  --navy-3:    #24384a;
  --ink:       #1f2733;   /* text on light */
  --muted:     #5f6b78;
  --paper:     #ffffff;
  --paper-2:   #f4f4f2;   /* light band / products */
  --line:      #e4e4e1;
  --line-2:    #d5d5d1;
  --line-dark: #2c3d4d;   /* dividers on navy */
  --gold:      #b8860b;   /* accent (muted brass) */
  --gold-2:    #c9a54a;
  --gold-deep: #8a6408;
  --on-dark:   #e9edf1;
  --on-dark-mut:#9fb1c0;

  --radius: 4px;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-head: "Barlow", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper);
  line-height: 1.6; font-size: 17px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold-deep); }

/* Inline text links — gold and underlined so they are visible in prose.
   The blanket rule above leaves links the same colour as body text with no
   underline, which makes them invisible in a paragraph; hover-only colour is
   no help at all on a phone.

   Scoped on purpose. Nav, footer and breadcrumb links already read as links
   from their position, and their own rules (.footer-grid a, .crumb a) are
   more specific than these so they are untouched. Buttons are excluded
   explicitly because .btn is often wrapped in a <p>.

   Gold is 5.4:1 on white, but only 2.8:1 against the surrounding body text
   — under the 3:1 where colour alone can carry the distinction. The
   underline is what actually does the work; do not remove it and keep the
   colour. */
p a:not(.btn):not(.more),
.list a:not(.btn):not(.more),
.info-list a,
.measure a:not(.btn):not(.more) {
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
p a:not(.btn):not(.more):hover,
.list a:not(.btn):not(.more):hover,
.info-list a:hover,
.measure a:not(.btn):not(.more):hover {
  color: var(--navy);
  text-decoration-thickness: 2px;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(48px, 7vw, 84px) 0; }
.band { background: var(--paper-2); border-block: 1px solid var(--line); }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.center .lead { margin-inline: auto; }
.measure { max-width: 64ch; }

/* eyebrow with gold dash */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head);
  font-weight: 600; text-transform: uppercase; letter-spacing: .13em; font-size: .77rem;
  color: var(--muted); margin-bottom: .8rem; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold); }
.hero-dark .eyebrow { color: var(--on-dark-mut); }
.rule { width: 38px; height: 2px; background: var(--gold); border: 0; margin: 0 0 1.3rem; }
.center .rule { margin-inline: auto; }

/* centered section heading with a small underline */
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head h2 { display: inline-block; }
.sec-head h2::after { content: ""; display: block; width: 38px; height: 2px; background: var(--gold); margin: 12px auto 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head);
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: .78em 1.4em; border-radius: var(--radius); border: 1px solid var(--navy);
  background: var(--navy); color: #fff; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: #eaeef2; color: var(--navy); border-color: #eaeef2; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ondark { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ondark:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn--wa { background: #128C7E; color: #fff; border-color: #128C7E; }
.btn--wa:hover { background: #0f7a6d; border-color: #0f7a6d; color: #fff; }
/* auto phone / WhatsApp glyph on any Call or WhatsApp button (matches text colour) */
.btn[href^="tel:"]::before, .btn[href*="wa.me"]::before {
  content: ""; display: inline-block; width: 1.05em; height: 1.05em; flex: none;
  background-color: currentColor;
  -webkit-mask: var(--bic) no-repeat center / contain; mask: var(--bic) no-repeat center / contain; }
.btn[href^="tel:"]::before { --bic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .57 3.6 1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.btn[href*="wa.me"]::before { --bic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2a9.9 9.9 0 0 0-8.5 15l-1.3 4.8 4.92-1.29A9.9 9.9 0 1 0 12.04 2m-2.3 5.2c.15 0 .37-.06.55.36.22.48.69 1.7.75 1.82.06.12.1.26.02.42-.08.16-.12.26-.24.4-.12.14-.25.31-.36.42-.12.12-.25.25-.11.49.14.24.63 1.04 1.35 1.68.93.83 1.72 1.09 1.96 1.21.24.12.38.1.52-.06.14-.16.61-.72.77-.96.16-.24.33-.2.55-.12.22.08 1.43.68 1.67.8.24.12.4.18.46.28.06.11.06.59-.14 1.16-.21.57-1.21 1.12-1.66 1.16-.45.04-.87.21-2.93-.62-2.49-1-4.07-3.54-4.19-3.7-.12-.16-.99-1.31-.99-2.51 0-1.19.63-1.78.85-2.02.22-.24.48-.3.64-.3z'/%3E%3C/svg%3E"); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* ---------------- header ---------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand .bt { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.32rem;
  line-height: 1; letter-spacing: .01em; }
.brand .bs { display: block; font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .34em; color: var(--gold-deep); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.phone) { font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; color: var(--ink); padding: 10px 14px; font-size: .9rem;
  border-bottom: 2px solid transparent; }
.nav-links a:not(.phone):hover { color: var(--gold-deep); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--gold); }
.phone { display: inline-flex; align-items: center; gap: .5em; margin-left: 10px;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700;
  padding: .7em 1.15em; border-radius: var(--radius); font-size: .95rem; }
.phone:hover { background: var(--navy-2); color: #fff; }
.phone svg { width: 15px; height: 15px; fill: var(--gold-2); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .brand .bt { font-size: 1.15rem; }
  .nav-links { position: fixed; inset: 71px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 26px rgba(0,0,0,.07);
    padding: 6px var(--gutter) 18px; transform: translateY(-160%); transition: transform .22s ease;
    max-height: calc(100vh - 71px); overflow-y: auto; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a:not(.phone) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a.active { border-bottom-color: var(--line); color: var(--gold-deep); }
  .phone { margin: 16px 0 0; justify-content: center; }
}

/* ---------------- hero (dark, image right) ---------------- */
.hero-dark { background: var(--navy); color: #fff; }
.hero-top { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0 0 0 38%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 8%, rgba(22,35,47,.72) 45%, rgba(22,35,47,.15) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: 620px; padding-block: clamp(48px, 8vw, 96px); }
.hero-inner h1 { color: #fff; margin-bottom: .6rem; }
.hero-inner h1 .hl { color: var(--gold-2); }
.hero-inner p { color: var(--on-dark-mut); font-size: 1.12rem; max-width: 46ch; margin-bottom: 1.6rem; }
.hero-dark .eyebrow::before { background: var(--gold-2); }

/* feature row on hero */
.hero-features { position: relative; background: var(--navy); border-top: 1px solid var(--line-dark); }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 26px 26px 30px 0; border-right: 1px solid var(--line-dark); }
.feature:last-child { border-right: 0; }
.feature:not(:first-child) { padding-left: 26px; }
.feature .fi { flex: none; width: 34px; height: 34px; }
.feature .fi svg { width: 34px; height: 34px; fill: var(--gold-2); }
.feature h3 { color: #fff; font-size: .98rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 3px; }
.feature p { color: var(--on-dark-mut); font-size: .9rem; margin: 0; }
@media (max-width: 900px) {
  .hero-bg { inset: 0; opacity: .28; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(22,35,47,.75), rgba(22,35,47,.9)); }
  .hero-inner { max-width: none; }
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature { border-right: 0; padding: 20px 16px; }
  .feature:nth-child(odd) { border-right: 1px solid var(--line-dark); }
}
@media (max-width: 520px) { .feature-row { grid-template-columns: 1fr; } .feature:nth-child(odd){border-right:0;} .feature{border-bottom:1px solid var(--line-dark);} }

/* ---------------- products strip ---------------- */
.products-grid { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden; background: #fff; }
.product { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 26px 14px; border-right: 1px solid var(--line); color: var(--ink); transition: background .15s; }
.product:last-child { border-right: 0; }
.product:hover { background: var(--paper-2); color: var(--ink); }
.product .pic { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; background: var(--paper-2); }
.product .plabel { font-family: var(--font-head); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
@media (max-width: 1040px) { .products-grid { grid-template-columns: repeat(4, 1fr); }
  .product:nth-child(4n) { border-right: 0; } .product { border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product:nth-child(n) { border-right: 1px solid var(--line); } .product:nth-child(2n) { border-right: 0; } }

/* ---------------- trust bar ---------------- */
.trust-bar { background: var(--navy); color: var(--on-dark); }
.trust-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 30px; }
.tb { display: flex; gap: 14px; align-items: center; }
.tb .ti { flex: none; width: 34px; height: 34px; }
.tb .ti svg { width: 34px; height: 34px; fill: none; stroke: var(--gold-2); stroke-width: 1.6; }
.tb h3 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 2px; }
.tb p { color: var(--on-dark-mut); font-size: .86rem; margin: 0; }
@media (max-width: 820px) { .trust-bar .container { grid-template-columns: 1fr 1fr; gap: 22px 18px; } }

/* ---------------- inner page components ---------------- */
.page-hero { background: var(--navy); color: #fff; }
.page-hero .container { padding-block: clamp(40px, 6vw, 72px); }
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero .lead { color: var(--on-dark-mut); margin: 0; }
.crumb { font-family: var(--font-head); font-size: .82rem; letter-spacing: .04em; color: var(--on-dark-mut); margin-bottom: 12px; }
.crumb a { color: var(--gold-2); } .crumb a:hover { color: #fff; }

.head { max-width: 62ch; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

/* TMT spec chips + property tiles */
.spec-row { display: flex; flex-wrap: wrap; gap: 22px; margin: 4px 0 18px; }
.spec-row .k { font-family: var(--font-head); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: block; margin-bottom: 6px; }
.prop { text-align: center; padding: 22px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.prop .pi { width: 34px; height: 34px; margin: 0 auto 10px; }
.prop .pi svg { width: 34px; height: 34px; fill: var(--gold-deep); }
.prop h3 { font-size: 1rem; margin: 0 0 2px; }
.prop p { color: var(--muted); font-size: .88rem; margin: 0; }
.editable { border-bottom: 1px dashed var(--gold); }

/* brand / client logo strip */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 820px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logos { grid-template-columns: repeat(2, 1fr); } }
.logo-ph { aspect-ratio: 3/2; border: 1px solid var(--line); border-radius: 4px; background: #fff;
  display: grid; place-items: center; text-align: center; padding: 10px;
  color: #b6b6b0; font-family: var(--font-head); font-weight: 600; font-size: .76rem; letter-spacing: .02em; }
.logos img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.intro-copy p { font-size: 1.06rem; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tile h3 { margin-bottom: .35rem; } .tile p { color: var(--muted); margin: 0; }
.tile-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 4px; margin-bottom: 16px; display: block; }
.quote { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 24px 26px; height: 100%; margin: 0; }
.quote p { color: var(--ink); font-style: italic; margin: 0 0 14px; }
.quote footer { font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: .92rem; }
.tile .more { margin-top: 16px; display: inline-flex; gap: 6px; font-family: var(--font-head); font-weight: 700; color: var(--gold-deep); font-size: .9rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.split--rev .split-media { order: -1; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--rev .split-media { order: 0; } }
.photo { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; color: #a9a9a4; aspect-ratio: 4/3; padding: 20px; text-align: center; }
.photo span { font-family: var(--font-head); font-weight: 600; font-size: .85rem; }
.photo--tall { aspect-ratio: auto; min-height: 320px; height: 100%; }
img.photo { width: 100%; height: auto; aspect-ratio: auto; object-fit: cover; padding: 0; background: none; border: 1px solid var(--line); }
img.photo.photo--tall { min-height: 0; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); color: var(--ink); }
.list li:last-child { border-bottom: 0; }
.list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; background: var(--gold); border-radius: 1px; }
.pill { display: inline-block; border: 1px solid var(--line-2); color: var(--ink); font-size: .84rem; font-family: var(--font-head); font-weight: 700; padding: 5px 12px; border-radius: 3px; margin: 0 6px 8px 0; }

/* homepage brand logo row — 5 across.
   The five logos have very different native shapes (Sarthak 258x75, Lodha
   225x225), so sizing purely to fit the box makes the wide ones collapse to a
   thin strip next to the square ones. Capping BOTH height and width instead
   keeps them at a similar optical weight and centred in a uniform frame. */
.logos--5 { grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center; }
@media (max-width: 820px) { .logos--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logos--5 { grid-template-columns: repeat(2, 1fr); } }
.logo-box { width: 100%; aspect-ratio: 3/2; border: 1px solid var(--line); border-radius: 4px;
  background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px; }
/* .logos .logo-box wins outright over the older `.logos img` rule above */
.logos .logo-box img { display: block; width: auto; height: auto;
  max-width: 88%; max-height: 64px; object-fit: contain; padding: 0; margin: 0; }

/* brand cards — logo sits above the write-up. Swap the .logo-ph box for an
   <img class="brand-logo"> once real logo files are in assets/img/. */
.brand-logo { display: block; max-width: 170px; max-height: 72px; width: auto; height: auto;
  object-fit: contain; object-position: left center; margin-bottom: 18px; }
.brand-card .logo-ph { max-width: 170px; margin-bottom: 20px; }
.brand-card h3 { margin-bottom: .4rem; }
.brand-card p { color: var(--muted); margin: 0 0 .9rem; }
.brand-card .specs { margin: 0; }

.strip { text-align: center; }
.strip h2 { margin-bottom: .5rem; } .strip .lead { margin: 0 auto 1.3rem; }

/* ---- floating WhatsApp button (injected by main.js) ---- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  background: #128C7E; color: #fff; border-radius: 999px; padding: 13px 20px 13px 17px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  box-shadow: 0 6px 22px rgba(0,0,0,.26); transition: background .15s, transform .15s; }
.wa-float:hover { background: #0f7a6d; color: #fff; transform: translateY(-1px); }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
@media (max-width: 520px) { .wa-float { padding: 14px; right: 14px; bottom: 14px; }
  .wa-float span { display: none; } }
@media print { .wa-float { display: none; } }

/* ---- stat band ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 26px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); }
.stat .n { display: block; font-family: var(--font-head); font-weight: 800; line-height: 1.05;
  font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--gold-deep); }
.stat .l { display: block; margin-top: 8px; font-family: var(--font-head); font-weight: 600;
  font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ---- enquiry form ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.calc-field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: .7em .8em; resize: vertical; }
.calc-field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ---- TMT weight calculator ---- */
.calc-field { margin-bottom: 16px; }
.calc-field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .84rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.calc-field select, .calc-field input { width: 100%; font-family: var(--font-body, inherit); font-size: 1rem;
  color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: .7em .8em; }
.calc-field select:focus, .calc-field input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.calc-out { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.calc-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; }
.calc-out div + div { border-top: 1px solid var(--line); }
.calc-out .k { font-family: var(--font-head); font-weight: 600; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); }
.calc-out .v { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.calc-out .v.big { color: var(--gold-deep); }

.table-wrap { overflow-x: auto; margin-top: 26px; }
.ref-table { width: 100%; border-collapse: collapse; min-width: 460px; background: #fff; }
.ref-table th, .ref-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.ref-table th { font-family: var(--font-head); font-weight: 700; font-size: .8rem; text-transform: uppercase;
  letter-spacing: .07em; color: var(--muted); background: var(--paper-2); }
.ref-table td { font-size: .97rem; }
.ref-table tr:last-child td { border-bottom: 0; }
.note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 780px) { .contact-cards { grid-template-columns: 1fr; } }
.ccard { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: block; }
.ccard:hover { border-color: var(--navy); }
.ccard .ic svg { width: 34px; height: 34px; fill: var(--gold-deep); margin-bottom: 12px; }
.ccard .k { font-family: var(--font-head); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ccard .v { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin-top: 4px; word-break: break-word; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { display: block; font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.map-embed { border: 1px solid var(--line); width: 100%; height: 360px; border-radius: var(--radius); }

/* ---------------- footer ---------------- */
.site-footer { background: var(--navy); color: var(--on-dark-mut); padding: 56px 0 26px; border-top: 1px solid var(--line-dark); }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 34px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-grid a { color: var(--on-dark-mut); } .footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand strong { color: #fff; font-family: var(--font-head); font-size: 1.02rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 20px; font-size: .84rem;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
