/* ============================================================
   MKV INTERNATIONAL — London trade house theme
   Navy + gold, serif display headings
   ============================================================ */

:root {
  --navy:       #0f2440;
  --navy-deep:  #0a1a30;
  --navy-soft:  #16304f;
  --gold:       #c8a04b;
  --gold-light: #e3c98a;
  --ivory:      #f8f6f1;
  --white:      #ffffff;
  --ink:        #1d2733;
  --muted:      #5b6675;
  --line:       #e4dfd4;
  --serif:      'Fraunces', Georgia, serif;
  --sans:       'Inter', -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.2; }

a { color: var(--navy); }

img { max-width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #b9c2cf;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 7px; padding-bottom: 7px; gap: 12px; flex-wrap: wrap;
}
.topbar a { color: var(--gold-light); text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar-sep { margin: 0 10px; color: #3a4c66; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px; gap: 20px;
}
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; display: block; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 20px;
  color: var(--navy); letter-spacing: 0.12em; line-height: 1;
}
.brand-tag {
  font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--gold); display: flex; align-items: center; gap: 8px; line-height: 1;
}
.brand-tag::before, .brand-tag::after { content: ""; width: 20px; height: 1px; background: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--navy); border-bottom-color: var(--gold-light); }
.site-nav a.active { color: var(--navy); border-bottom-color: var(--gold); }
.site-nav a.nav-cta {
  background: var(--gold); color: var(--navy-deep); font-weight: 600;
  padding: 10px 20px; border-bottom: none; transition: background 0.2s;
}
.site-nav a.nav-cta:hover { background: var(--gold-light); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--navy);
  margin: 5px 0; transition: 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 75% 20%, rgba(200,160,75,0.14), transparent 55%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  color: var(--white);
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 22h44M22 0v44' stroke='%23ffffff' stroke-opacity='0.028' stroke-width='1'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 34px; height: 1px;
  background: var(--gold); vertical-align: middle; margin-right: 12px;
}
.hero h1 {
  color: var(--white); font-size: clamp(34px, 5vw, 54px); font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p.lead {
  font-size: 18.5px; color: #c4cddb; max-width: 640px; margin-bottom: 34px;
}
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 15.5px;
  padding: 14px 30px; letter-spacing: 0.02em; transition: all 0.2s; border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: rgba(255,255,255,0.45); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--ivory); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  padding: 30px 24px;
}
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { flex-shrink: 0; margin-top: 3px; }
.trust-item strong { display: block; font-size: 14.5px; color: var(--navy); }
.trust-item span { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--ivory); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { color: var(--gold); }
.section-head .eyebrow::before { background: var(--gold); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Category cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  padding: 30px 26px; transition: all 0.25s; position: relative;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.card:hover { border-color: #d8d2c2; box-shadow: 0 14px 34px rgba(15,36,64,0.08); transform: translateY(-3px); }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.card .card-hubs {
  font-size: 12.5px; color: var(--navy); letter-spacing: 0.03em;
  border-top: 1px solid var(--line); padding-top: 12px;
}
.card .card-hubs strong { color: var(--gold); font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 0.14em; display: block; margin-bottom: 4px; }
.card a.card-link { font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; }
.card a.card-link:hover { color: var(--gold); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: var(--white); border: 1px solid var(--line); }
.step-num {
  font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--navy-deep);
  background: var(--gold); width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* Timeline (process page) */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.t-item { position: relative; padding: 0 0 42px 72px; }
.t-item:last-child { padding-bottom: 0; }
.t-num {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--gold); border: 2px solid var(--gold);
  font-family: var(--serif); font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.t-item h3 { font-size: 20px; margin-bottom: 8px; }
.t-item p { color: var(--muted); font-size: 15.5px; max-width: 640px; }

/* ---------- Why partner ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-item {
  display: flex; gap: 16px; background: var(--white);
  border: 1px solid var(--line); padding: 24px;
}
.why-icon {
  flex-shrink: 0; width: 44px; height: 44px; background: var(--ivory);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
}
.why-item h3 { font-size: 17.5px; margin-bottom: 6px; }
.why-item p { font-size: 14.5px; color: var(--muted); }

/* ---------- Clusters ---------- */
.clusters { text-align: center; }
.cluster-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 860px; margin: 0 auto; }
.chip {
  background: var(--white); border: 1px solid var(--line); color: var(--navy);
  font-size: 14px; font-weight: 500; padding: 9px 18px; border-radius: 999px;
}
.chip strong { color: var(--gold); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200,160,75,0.16), transparent 55%),
    linear-gradient(150deg, var(--navy-deep), var(--navy));
  color: var(--white); padding: 76px 0; text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.cta-band p { color: #c4cddb; max-width: 560px; margin: 0 auto 30px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(155deg, var(--navy-deep), var(--navy));
  color: var(--white); padding: 64px 0 56px;
}
.page-banner h1 { color: var(--white); font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.page-banner p { color: #c4cddb; max-width: 640px; font-size: 17.5px; }

/* ---------- Facts table ---------- */
.facts-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.facts-table th, .facts-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.facts-table th { width: 240px; color: var(--muted); font-weight: 600; background: var(--ivory); white-space: nowrap; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: none; }
.facts-table a { color: var(--navy); font-weight: 600; }

/* ---------- Industry sections ---------- */
.industry-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
  padding: 52px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.industry-block:last-child { border-bottom: none; }
.industry-block h2 { font-size: 27px; margin-bottom: 14px; }
.industry-block p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.spec-box { background: var(--ivory); border: 1px solid var(--line); padding: 26px; }
.spec-box h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--gold); margin-bottom: 10px; font-family: var(--sans);
}
.spec-box ul { list-style: none; margin-bottom: 18px; }
.spec-box ul:last-child { margin-bottom: 0; }
.spec-box li { font-size: 14.5px; padding: 5px 0 5px 22px; position: relative; color: var(--ink); }
.spec-box li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* ---------- Forms ---------- */
.form-wrap { background: var(--white); border: 1px solid var(--line); padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-field label .opt { color: var(--muted); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfc9bb; background: var(--white);
  outline: none; transition: border 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 26px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert {
  padding: 16px 20px; margin-bottom: 28px; font-size: 15px; border: 1px solid;
}
.alert-success { background: #f0f7ee; border-color: #b9d8b0; color: #2d5a26; }
.alert-error { background: #fbf0ee; border-color: #e3b8ae; color: #8a3324; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); background: var(--white); margin-bottom: 12px; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--navy);
  font-size: 16px; list-style: none; position: relative; padding-right: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 22px; font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: var(--white); border: 1px solid var(--line); padding: 24px; }
.contact-card h3 { font-size: 16px; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--muted); text-decoration: none; }
.contact-card a:hover { color: var(--navy); }
.map-embed { border: 1px solid var(--line); margin-top: 48px; }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aab5c4; font-size: 14.5px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; gap: 40px;
  padding: 62px 24px 48px;
}
.footer-col h4 {
  color: var(--white); font-family: var(--sans); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 16px;
}
.footer-col a { display: block; color: #aab5c4; text-decoration: none; padding: 4px 0; }
.footer-col a:hover { color: var(--gold-light); }
.footer-about p { margin-top: 16px; max-width: 320px; }
.footer-lang { color: var(--gold-light); font-size: 13.5px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-tag { color: #7f8da0; }
.footer-contact-line { margin-bottom: 10px; }
.footer-contact-line a { display: inline; padding: 0; color: var(--gold-light); }
.footer-hours { font-size: 13px; color: #7f8da0; }
.footer-legal {
  border-top: 1px solid #1d3452; padding: 22px 0; font-size: 12.5px; color: #7f8da0;
}
.footer-legal .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .industry-block { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 20px;
    box-shadow: 0 18px 30px rgba(15,36,64,0.1);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a.nav-cta { text-align: center; margin-top: 12px; border-bottom: none; }
  .hero { padding: 64px 0 52px; }
  .section { padding: 60px 0; }
  .card-grid, .steps, .why-grid, .form-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-wrap { padding: 26px 20px; }
  .facts-table th { width: auto; }
  .facts-table th, .facts-table td { display: block; }
  .facts-table th { border-bottom: none; padding-bottom: 4px; }
}

/* ---------- Mobile refinement: compact scale (overrides above rules on phones) ---------- */
@media (max-width: 720px) {
  body { font-size: 15px; line-height: 1.6; }
  .container { padding: 0 18px; }
  .topbar { font-size: 11.5px; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  .brand-mark { width: 42px; height: 42px; font-size: 15px; }
  .brand-name { font-size: 15.5px; }
  .brand-tag { font-size: 9px; letter-spacing: 0.18em; }

  .hero { padding: 44px 0 40px; }
  .hero h1 { font-size: 27px; margin-bottom: 14px; }
  .hero p.lead { font-size: 15px; margin-bottom: 22px; }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.18em; margin-bottom: 14px; }
  .eyebrow::before { width: 22px; margin-right: 8px; }
  .btn { padding: 11px 20px; font-size: 14px; }

  .trust-grid { padding: 20px 18px; gap: 14px; }
  .trust-item strong { font-size: 13.5px; }
  .trust-item span { font-size: 12px; }

  .section { padding: 44px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 23px; }
  .section-head p { font-size: 14.5px; }

  .card { padding: 20px 18px; }
  .card h3 { font-size: 17.5px; }
  .card p { font-size: 13.5px; margin-bottom: 10px; }
  .card .card-hubs { font-size: 11.5px; }

  .step { padding: 18px 16px; }
  .step-num { width: 28px; height: 28px; font-size: 13px; margin-bottom: 10px; }
  .step h3 { font-size: 15.5px; }
  .step p { font-size: 13px; }

  .why-item { padding: 16px; gap: 12px; }
  .why-icon { width: 36px; height: 36px; }
  .why-item h3 { font-size: 15.5px; }
  .why-item p { font-size: 13.5px; }

  .chip { font-size: 12px; padding: 7px 13px; }

  .cta-band { padding: 44px 0; }
  .cta-band h2 { font-size: 22px; }
  .cta-band p { font-size: 14.5px; margin-bottom: 20px; }

  .page-banner { padding: 36px 0 32px; }
  .page-banner h1 { font-size: 25px; }
  .page-banner p { font-size: 14.5px; }

  .timeline::before { left: 17px; }
  .t-num { width: 36px; height: 36px; font-size: 14px; }
  .t-item { padding: 0 0 30px 58px; }
  .t-item h3 { font-size: 17px; }
  .t-item p { font-size: 14px; }

  .industry-block { padding: 32px 0; gap: 18px; }
  .industry-block h2 { font-size: 21px; }
  .industry-block p { font-size: 14px; }
  .spec-box { padding: 18px; }
  .spec-box li { font-size: 13px; }

  .form-wrap { padding: 20px 16px; }
  .form-grid { gap: 14px; }
  .form-field label { font-size: 12.5px; }
  .form-field input, .form-field select, .form-field textarea { padding: 10px 12px; font-size: 14px; }

  .faq-item summary { font-size: 14.5px; padding: 14px 40px 14px 16px; }
  .faq-item summary::after { right: 16px; }
  .faq-item .faq-body { font-size: 13.5px; padding: 0 16px 16px; }

  .contact-card { padding: 18px; }
  .facts-table th, .facts-table td { padding: 10px 14px; font-size: 13.5px; }
  .map-embed iframe { height: 260px; }

  .footer-grid { padding: 40px 18px 30px; gap: 24px; }
  .site-footer { font-size: 13.5px; }
  .footer-legal { font-size: 11px; }
}

/* ---------- Mobile: smaller logo + titles ---------- */
@media (max-width: 720px) {
  .brand-mark { width: 33px; height: 33px; }
  .brand-name { font-size: 13.5px; letter-spacing: 0.05em; }
  .brand-tag { font-size: 7.5px; letter-spacing: 0.13em; }
  .header-inner { gap: 10px; padding-top: 8px; padding-bottom: 8px; }
  .topbar { font-size: 10.5px; }
  .hero h1 { font-size: 24px; }
  .page-banner h1 { font-size: 22px; }
  .section-head h2 { font-size: 21px; }
  .cta-band h2 { font-size: 20px; }
}
@media (max-width: 400px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 12.5px; }
}

/* ---------- Wordmark: mobile scale ---------- */
@media (max-width: 720px) {
  .brand { gap: 3px; }
  .brand-name { font-size: 12.5px; letter-spacing: 0.1em; }
  .brand-tag { font-size: 6px; letter-spacing: 0.22em; gap: 6px; display: flex; }
  .brand-tag::before, .brand-tag::after { width: 12px; }
  .footer-brand .brand-name { font-size: 13px; }
}
