/* ==========================================================================
   Kanvas web style: section styles taken from real client sites
   (Lion Pride Petroleum, MFB Consultants). No framework, no build step.
   Pick a preset with <html data-theme="lionpride"> or data-theme="mfb",
   or override the variables below for a new client.
   ========================================================================== */

:root {
  /* brand */
  --brand: #c1a081;          /* the one bold colour, used in big flat areas */
  --brand-strong: #a8876a;   /* buttons on light backgrounds, hover */
  --brand-ink: #ffffff;      /* text on brand */
  --accent: #6d1a6e;         /* a second colour, used sparingly (profile frame) */
  /* neutrals */
  --ink: #000000;            /* headings */
  --body: #444444;           /* paragraphs */
  --muted: #9a9a9a;          /* addresses, small print */
  --paper: #ffffff;
  --tint: #f1ebe1;           /* warm panel behind long text */
  --grey: #f4f4f4;
  --mid: #505050;            /* dark band */
  --dark: #3f434e;           /* darker band */
  --night: #000000;          /* footer */
  /* type */
  --font-head: "Montserrat", Arial, sans-serif;
  --font-body: "Abel", "Arial Narrow", Arial, sans-serif;
  --head-weight: 400;        /* big headings are light or regular, never heavy */
  /* layout */
  --container: 1140px;
  --gutter: 20px;
  --band-pad: 80px;
}

/* MFB Consultants: red, dark greys, Open Sans */
[data-theme="mfb"] {
  --brand: #ff4141;
  --brand-strong: #d24136;
  --brand-ink: #ffffff;
  --accent: #8a2d8c;
  --ink: #333333;
  --body: #555555;
  --muted: #a2aab1;
  --tint: #e6eaee;
  --grey: #f2f2f2;
  --mid: #444444;
  --dark: #555555;
  --night: #232122;
  --font-body: "Open Sans", Arial, sans-serif;
  --head-weight: 300;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--body); font: 16px/1.5 var(--font-body); }
[data-theme="mfb"] body { font-size: 14px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-family: var(--font-head); font-weight: var(--head-weight); line-height: 1.1; }
h1 { font-size: clamp(30px, 4vw, 46px); }
h2 { font-size: clamp(26px, 3.2vw, 42px); }
h3 { font-size: 20px; }
h4 { font-size: 18px; font-weight: 400; }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.caps { text-transform: uppercase; letter-spacing: .04em; }
.small { font-size: 12px; }
.sep { padding: 0 .35em; }                                    /* the ● / ❖ between items */

/* Buttons: small, square, flat. The site's work is the hero, not the button. */
.btn {
  display: inline-block; padding: 11px 16px; border: 2px solid var(--brand-strong); border-radius: 0;
  background: var(--brand-strong); color: var(--brand-ink); font: 13px/1 var(--font-body);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: transparent; color: var(--brand-strong); }
.btn--light { background: #fff; border-color: #fff; color: #222; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--dark { background: #222; border-color: #222; color: #fff; width: 100%; }
[data-theme="lionpride"] .btn { text-transform: uppercase; font-size: 12px; letter-spacing: .03em; }

/* Photo slots. Until a real photo is set (style="--img:url(...)"), they show what photo belongs there. */
.photo { background: var(--img, repeating-linear-gradient(135deg, #d9d9d9 0 14px, #cfcfcf 14px 28px)) center / cover no-repeat; position: relative; }
.photo[data-need]:not([style*="--img"])::after {
  content: "PHOTO NEEDED: " attr(data-need); position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  padding: 4px 8px; background: rgba(0,0,0,.6); color: #fff; font: 11px/1.4 Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-head { position: sticky; top: 0; z-index: 50; background: #fff; }
.site-head .container { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #505050; font: 400 16px var(--font-head); text-transform: uppercase; }
.brand img, .brand .mark { height: 40px; width: auto; }
.nav ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.nav a { text-decoration: none; color: #222; font: 13px var(--font-body); }
[data-theme="lionpride"] .nav a { text-transform: uppercase; font-size: 12px; letter-spacing: .02em; }
[data-theme="mfb"] .nav a { color: #777; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand-strong); }
.site-head--centre .nav { margin-right: auto; margin-left: auto; }   /* MFB: logo left, links centred */
.menu-toggle { display: none; width: 40px; height: 40px; padding: 10px 8px; border: 0; background: none; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #222; }
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; display: none; padding: 10px var(--gutter) 24px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: center; gap: 14px; }
  .site-head--centre .nav { margin: 0; }
}

/* --------------------------------------------------------------------------
   Heroes
   -------------------------------------------------------------------------- */
/* A. Photo + text panel set to one side (Lion Pride) */
.hero-panel { min-height: 560px; display: flex; align-items: flex-start; padding: 60px 0; }
.hero-panel .panel { width: min(420px, 100% - 2 * var(--gutter)); margin-left: max(var(--gutter), 6vw); padding: 36px; background: rgba(255,255,255,.86); }
.hero-panel .panel img { height: 90px; width: auto; margin-bottom: 18px; }
.hero-panel h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; margin-bottom: 26px; }

/* B. Photo + logo box + title card, centred (MFB home) */
.hero-logo { padding: 70px 0 90px; text-align: center; }
.logo-box { display: inline-block; padding: 18px; background: #fff; position: relative; z-index: 2; margin-bottom: -40px; }
.logo-box img { height: 100px; width: auto; }
.title-card { width: min(740px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 70px 30px 46px; color: #fff; }
.title-card h1 { color: #fff; font-weight: 700; font-size: clamp(30px, 4vw, 50px); margin-bottom: 10px; }
.title-card .strap { font: 400 15px/1.5 var(--font-head); text-transform: uppercase; margin-bottom: 28px; }

/* C. Inner page header: photo + logo box, with the page title in a bar overlapping the bottom (MFB inner pages) */
.page-head { padding: 52px 0 70px; text-align: center; }
.page-head .logo-box { margin-bottom: 0; }
.title-bar { position: relative; z-index: 3; width: min(var(--container) - 200px, 100% - 2 * var(--gutter)); margin: -22px auto 0; padding: 12px 20px; background: #fff; border-radius: 6px; text-align: center; }
.title-bar h1 { margin: 0; font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; color: #3a3a3a; }

/* --------------------------------------------------------------------------
   Bands
   -------------------------------------------------------------------------- */
.band { padding: var(--band-pad) 0; }
.band--grey { background: var(--grey); }
.band--tint { background: var(--tint); }
.band--mid { background: var(--mid); }
.band--dark { background: var(--dark); }
.band--night { background: var(--night); }
.band--brand { background: var(--brand); }

/* Photo strip: a row of real job photos under the hero (Lion Pride) */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 26px 0; }
.strip .photo { aspect-ratio: 3 / 1; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* Split: 50/50 photo and a text panel, edge to edge (both sites) */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.split__text { display: flex; flex-direction: column; justify-content: center; padding: var(--band-pad) max(var(--gutter), 6vw); background: var(--tint); }
.split__text > * { max-width: 520px; }
.split--brand .split__text { background: var(--brand); }
.split--brand .split__text, .split--brand h2 { color: var(--brand-ink); }
.split--reverse .split__text { order: 2; }
.rule { width: 40px; height: 2px; margin: 0 0 22px; border: 0; background: currentColor; opacity: .8; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .photo { min-height: 320px; } .split--reverse .split__text { order: 0; } }

/* Feature on side bands: an image + text block centred on a coloured band (Lion Pride core values / services) */
.feature { background: var(--band, var(--mid)); }
.feature__inner { display: grid; grid-template-columns: 1fr 1fr; width: min(1000px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.feature__inner .photo { min-height: 360px; }
.feature__text { padding: 44px 48px; background: var(--panel, var(--grey)); }
.feature--dark .feature__text { --panel: var(--mid); }
.feature--dark .feature__text, .feature--dark h2 { color: #fff; }
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { padding: 2px 0; }
.ticks li::before { content: "\2756"; margin-right: .5em; font-size: .85em; }   /* ❖ */
.ticks--caps li { text-transform: uppercase; font-size: 14px; }
@media (max-width: 760px) { .feature__inner { grid-template-columns: 1fr; } }

/* Service tiles: a 4-column grid of shaded tiles with long, specific lists (MFB services) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); }
.tile { padding: 56px 30px; background: var(--mid); color: #eee; }
.tile:nth-child(even) { background: var(--dark); }
.tile--brand, .tile--brand:nth-child(even) { background: var(--brand-strong); }
.tile svg { width: 26px; height: 26px; margin-bottom: 14px; stroke: var(--icon, #9be3a8); fill: none; stroke-width: 2; }
.tile h3 { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.tile ul { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.tile li::before { content: "\25CF"; font-size: .7em; margin-right: .45em; }   /* ● */
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* Tiers: packages side by side; what is NOT included is struck through, not left out (MFB packages) */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); }
.tier { padding: 50px 30px; background: var(--tint); }
.tier:nth-child(even) { background: color-mix(in srgb, var(--tint), #000 6%); }
.medal { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 50%; color: #fff; font: 700 9px var(--font-head); text-transform: uppercase; box-shadow: inset 0 0 0 4px rgba(255,255,255,.35); }
.medal--bronze { background: #b0723c; } .medal--silver { background: #9ea3a8; } .medal--gold { background: #d1a536; } .medal--platinum { background: #6f7e8f; }
.tier h3 { font-weight: 700; font-size: 28px; text-transform: uppercase; margin-bottom: 4px; }
.tier .price { font: 700 13px/1.4 var(--font-head); color: var(--muted); text-transform: uppercase; margin-bottom: 18px; }
.tier ul { margin: 0; padding: 0; list-style: none; font-size: 12.5px; font-weight: 700; color: #555; }
.tier li::before { content: "\25CF"; font-size: .7em; margin-right: .45em; }
.tier del { font-weight: 400; opacity: .7; }
@media (max-width: 1000px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }

/* Profile: a real portrait in an off-centre frame, then the person's actual record (MFB founder) */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: center; }
.portrait { position: relative; border: 14px solid var(--accent); border-top-width: 0; padding-top: 0; margin-top: 60px; }
.portrait .photo { aspect-ratio: 4 / 5; margin-top: -60px; }
.profile h2 { margin-bottom: 4px; }
.profile .role { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 22px; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .portrait { max-width: 300px; } }

/* Call to action: dark band, faint logo, one line, one small button (Lion Pride) */
.cta { text-align: center; }
.cta img { height: 70px; width: auto; margin: 0 auto 18px; opacity: .45; filter: grayscale(1) brightness(2); }
.cta p { font: 300 20px var(--font-head); color: #aaa; margin-bottom: 24px; }

/* Headline band: photo, two-line headline (light then bold caps), button on the right (MFB) */
.headline-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 60px 0; }
.headline-band .lead { font: 300 34px/1.1 var(--font-head); color: #fff; margin: 0; }
.headline-band .lead b { display: block; font-weight: 700; text-transform: uppercase; }
@media (max-width: 760px) { .headline-band .container { flex-direction: column; align-items: flex-start; } }

/* Accreditations: the bodies the business is registered with (MFB) */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 60px; padding: 60px 0; }
.logos img { height: 46px; width: auto; }
.logos .photo { width: 140px; height: 46px; }

/* Contact: dark photo, the details on the left, a plain form card on the right (MFB); see also .contact--panel */
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 80px 0; }
.details { margin: 22px 0 0; padding: 0; list-style: none; color: #eee; }
.details li { display: flex; gap: 10px; padding: 6px 0; }
.details b { min-width: 64px; font-weight: 700; color: #fff; }
.form-card { padding: 40px 30px; background: #fff; }
.form-card h3 { font-weight: 300; font-size: 26px; margin-bottom: 18px; }
.field { display: block; width: 100%; margin-bottom: 14px; padding: 10px 6px; border: 0; border-bottom: 1px solid #ccc; font: inherit; background: transparent; }
textarea.field { min-height: 90px; resize: vertical; }
.form-card .note { margin: 14px 0 0; font-size: 11px; color: var(--muted); }
/* Lion Pride's version: boxed fields straight on the photo, small brand button */
.contact--panel .field { border: 0; background: rgba(255,255,255,.85); padding: 10px; }
@media (max-width: 860px) { .contact .container { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.foot-brand { padding: 60px 0; text-align: center; }
.foot-brand img { height: 70px; width: auto; margin: 0 auto 12px; }
.foot-brand .tag { font: 400 16px var(--font-head); color: #222; margin-bottom: 4px; }
.foot-brand .small { color: var(--muted); text-transform: uppercase; }
.branches { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 40px; padding: 60px 0 30px; }
.branches h4 { color: var(--brand); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 16px; }
[data-theme="mfb"] .branches h4 { color: #fff; font-weight: 700; font-size: 14px; }
.branches address { font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.6; }
[data-theme="mfb"] .branches address { font-style: italic; color: #ddd; }
.branches .tel { display: block; margin-top: 10px; font-weight: 700; color: #ddd; text-decoration: none; }
.copyright { padding: 18px 0 30px; font-size: 11px; color: #888; }
@media (max-width: 860px) { .branches { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .branches { grid-template-columns: 1fr; } }
