/* Mithr International — site styles
   Colours come from the Mithr logo (pink-magenta to amber). */

:root {
  --pink: #e8255f;
  --pink-dark: #c01a50;   /* buttons and links: readable on white */
  --orange: #f5a623;
  --brand-gradient: linear-gradient(90deg, #e8255f 0%, #f5a623 100%);
  --ink: #1e1a22;
  --muted: #5e5864;
  --line: #ece6e1;
  --bg: #ffffff;
  --bg-soft: #f3f6f9;
  --bg-dark: #073a5c;   /* deep blue from the Mithr logo */
  --radius: 14px;
  --shadow: 0 1px 2px rgba(30, 26, 34, 0.06), 0 8px 24px rgba(30, 26, 34, 0.06);
  --max: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Keep jump-to sections clear of the sticky header. */
[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--pink-dark); text-underline-offset: 3px; }
a:hover { color: var(--pink); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; color: #0b2f4a; letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Placeholder for anything Mahesh has not yet confirmed.
   Remove the span once the wording is confirmed. */
.confirm {
  display: inline-block;
  background: #fff4c2;
  color: #6b4b00;
  border: 1px dashed #d9a400;
  border-radius: 6px;
  padding: 0 6px;
  font-size: 0.8em;
  font-weight: 600;
  line-height: 1.6;
  vertical-align: middle;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: ""; display: block; height: 4px; background: var(--brand-gradient);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 68px; height: 68px; border-radius: 6px; }
.brand-name { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1.1; }
.brand-name small { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; cursor: pointer; color: var(--ink);
}
.nav-toggle-bar { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 550;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--pink-dark); }
.site-nav .nav-cta a { background: var(--pink-dark); color: #fff; margin-left: 8px; }
.site-nav .nav-cta a:hover { background: var(--pink); color: #fff; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 18px; gap: 2px; }
  .site-nav a { border-radius: 10px; padding: 12px 14px; }
  .site-nav .nav-cta a { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-weight: 650; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; font-size: 1rem; font-family: inherit; line-height: 1.2;
}
.btn-primary { background: var(--pink-dark); color: #fff; }
.btn-primary:hover { background: var(--pink); color: #fff; }
.btn-secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-soft); color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.85); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--bg-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--pink-dark); margin-bottom: 10px;
}
.lead { font-size: 1.15rem; color: var(--muted); }

/* Light text for use on the deep-blue and photo backgrounds */
.eyebrow-light { color: var(--orange); }

/* ---------- Home banner (full-width photo) ---------- */
.hero-banner {
  position: relative; color: #fff;
  min-height: min(78vh, 680px); display: flex; align-items: center;
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(4, 36, 58, 0.94) 0%, rgba(7, 58, 92, 0.82) 45%, rgba(7, 58, 92, 0.25) 100%),
    url("/images/banners/port.jpg") center / cover no-repeat;
}
.hero-copy { max-width: 640px; }
.hero-banner h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero-banner .lead { color: #dbe8f2; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-banner .btn-row { margin-top: 32px; }
@media (max-width: 700px) {
  .hero-banner { min-height: 0; padding: 64px 0 72px; background-position: 65% center; }
  .hero-banner { background:
    linear-gradient(180deg, rgba(4, 36, 58, 0.88) 0%, rgba(7, 58, 92, 0.78) 100%),
    url("/images/banners/port.jpg") 65% center / cover no-repeat; }
}

/* ---------- Markets strip under the home banner ---------- */
.markets-strip { background: #fff; border-bottom: 1px solid var(--line); }
.markets-strip::before { content: ""; display: block; height: 4px; background: var(--brand-gradient); }
.markets-inner { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.markets-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.markets-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.markets-list li {
  font-weight: 650; color: var(--bg-dark); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 0.95rem;
}

/* ---------- Page header (inner pages) ---------- */
.page-banner {
  position: relative; color: #fff; padding: 72px 0 64px;
  background: linear-gradient(120deg, #04243a 0%, var(--bg-dark) 55%, #0b5585 100%);
}
.page-banner.has-photo {
  padding: 96px 0 80px;
  background:
    linear-gradient(90deg, rgba(4, 36, 58, 0.93) 0%, rgba(7, 58, 92, 0.80) 50%, rgba(7, 58, 92, 0.35) 100%),
    var(--banner) center / cover no-repeat;
}
.page-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--brand-gradient); }
.page-banner h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
.page-banner .lead { color: #dbe8f2; max-width: 720px; }
.page-banner .btn-row { margin-top: 28px; }
.breadcrumb { font-size: 0.9rem; color: #b9cfe0; margin-bottom: 14px; }
.breadcrumb a { color: #fff; }
@media (max-width: 700px) {
  .page-banner, .page-banner.has-photo { padding: 56px 0 52px; }
  .page-banner.has-photo { background:
    linear-gradient(180deg, rgba(4, 36, 58, 0.90) 0%, rgba(7, 58, 92, 0.80) 100%),
    var(--banner) center / cover no-repeat; }
}

/* ---------- Product line tiles (photo with text over it) ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tile-grid, .tile-grid-2 { grid-template-columns: 1fr; } }
.tile {
  position: relative; display: flex; align-items: flex-end;
  min-height: 400px; border-radius: 18px; overflow: hidden;
  color: #fff; text-decoration: none; background: var(--bg-dark);
  box-shadow: var(--shadow);
}
.tile-grid-2 .tile { min-height: 360px; }
@media (max-width: 560px) { .tile, .tile-grid-2 .tile { min-height: 300px; } }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 36, 58, 0) 30%, rgba(4, 36, 58, 0.88) 78%, rgba(4, 36, 58, 0.95) 100%);
}
.tile-body { position: relative; z-index: 1; padding: 24px 24px 26px; }
.tile h3 { font-size: 1.35rem; font-weight: 750; margin-bottom: 8px; color: #fff; }
.tile p { color: #dbe8f2; font-size: 0.97rem; margin-bottom: 14px; }
.tile-count { display: inline-block; margin-left: 4px; font-weight: 650; color: #fff; }
.tile-link { font-weight: 700; color: var(--orange); }
a.tile:hover { color: #fff; }
a.tile:hover img { transform: scale(1.05); }

/* ---------- Product cards (name, description, pack sizes) ---------- */
.range-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.range-head h2 { margin: 0; }
.count-pill {
  display: inline-block; background: var(--bg-dark); color: #fff; border-radius: 999px;
  padding: 4px 14px; font-size: 0.9rem; font-weight: 650;
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
@media (max-width: 520px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.product {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(7, 58, 92, 0.12); }
/* Every photo sits on the same soft background, so photos with
   white backgrounds and full photos look like one set. */
.product-media { background: #eef3f7; aspect-ratio: 1 / 1; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.product-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.1rem; font-weight: 750; color: var(--bg-dark); margin-bottom: 6px; }
.product-body p { font-size: 0.93rem; color: var(--muted); margin-bottom: 10px; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.chips-label { width: 100%; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink-dark); }
.chip {
  font-size: 0.82rem; font-weight: 600; color: var(--bg-dark);
  background: #fff4e3; border: 1px solid #f7dcae; border-radius: 999px; padding: 3px 10px;
}
@media (max-width: 520px) {
  .product-body { padding: 10px 12px 14px; }
  .product-body h3 { font-size: 0.98rem; }
  .product-body p { font-size: 0.85rem; }
  .chip { font-size: 0.75rem; padding: 2px 8px; }
}

/* ---------- "Why buy" band ---------- */
.why-band { background: linear-gradient(120deg, #04243a 0%, var(--bg-dark) 60%, #0b5585 100%); color: #fff; }
.why-band h2 { color: #fff; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.features li {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px; padding: 20px 22px; font-weight: 600; font-size: 1.02rem;
}
.feature-icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; background: var(--brand-gradient);
}
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Two column text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.info-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-box h3 { margin-top: 0; }
.plain-list { padding-left: 1.2em; margin: 0 0 1em; }
.plain-list li { margin-bottom: 6px; }

/* ---------- Call to action band ---------- */
.cta-band { background: var(--bg-dark); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand-gradient); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; color: #fff; }
.cta-band p { margin: 0; color: #cfe0ec; }

/* ---------- Contact and form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-details dt { font-weight: 700; margin-top: 18px; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-details dd { margin: 4px 0 0; }
.contact-details address { font-style: normal; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .form-card { padding: 22px 18px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #d8d0ca; border-radius: 10px; background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pink-dark); box-shadow: 0 0 0 3px rgba(232, 37, 95, 0.15); }
.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 14px; }
.hidden-field { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #cfe0ec; padding: 56px 0 28px; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: #fff; font-weight: 700; font-size: 1.1rem; }
.footer-brand img { width: 96px; height: 96px; border-radius: 8px; }
.site-footer h3 { color: #fff; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; }

/* ---------- Simple centred pages (thank you, 404) ---------- */
.centre-page { text-align: center; padding: 110px 0; }
.centre-page p { max-width: 560px; margin-left: auto; margin-right: auto; }
.centre-page .btn-row { justify-content: center; }

.narrow { max-width: 760px; }
