/* =====================================================================
   MRV International – page design as per "Website Design – Rest of the Site" PDF (Dec 2026)
   Loaded last. All page blocks use the m- prefix so the old CSS cannot clash.
   ===================================================================== */
:root {
  --m-red: #e3242b; --m-red-d: #b9161d;
  --m-blue: #2b8fd8; --m-blue-d: #1a5fa6; --m-blue-t: #1d5fa8;
  --m-yellow: #fbc02d; --m-yellow-d: #d99a00; --m-yellow-t: #8a6200;
  --m-green: #2fb36d; --m-green-d: #1f8a50; --m-green-t: #1d7a45;
  --m-ink: #1c1c1c; --m-text: #3d4350; --m-muted: #5c6370;
  --m-line: #e1eaf4; --m-shadow: #dce6f1;
  --m-cream: #fdf8ec; --m-sky: #eef5fc;
  --m-head: 'Baloo 2', 'Poppins', sans-serif;
  --m-body: 'Poppins', sans-serif;
}

/* ---------- accents ---------- */
.a-red { --ac: var(--m-red); --ac-d: var(--m-red-d); --ac-t: var(--m-red); --ac-soft: #fde8e9; }
.a-blue { --ac: var(--m-blue); --ac-d: var(--m-blue-d); --ac-t: var(--m-blue-t); --ac-soft: #e3f0fb; }
.a-yellow { --ac: var(--m-yellow); --ac-d: var(--m-yellow-d); --ac-t: var(--m-yellow-t); --ac-soft: #fef4d8; }
.a-green { --ac: var(--m-green); --ac-d: var(--m-green-d); --ac-t: var(--m-green-t); --ac-soft: #e2f5ea; }

/* ---------- sections ---------- */
.m-sec { position: relative; padding: 84px 0; font-family: var(--m-body); color: var(--m-text); overflow: hidden; }
.m-sec--tight { padding: 56px 0; }
.m-sec--cream { background-color: var(--m-cream); background-image: radial-gradient(rgba(0,0,0,.055) 1px, transparent 1.2px); background-size: 22px 22px; }
.m-sec--sky { background-color: var(--m-sky); background-image: radial-gradient(rgba(43,143,216,.11) 1px, transparent 1.2px); background-size: 22px 22px; }
.m-sec--blob::after { content: ""; position: absolute; right: -70px; top: -70px; width: 190px; height: 190px; border-radius: 50%; background: #f5ecd2; z-index: 0; }
.m-sec > .container-xl { position: relative; z-index: 1; }

.m-head { text-align: center; max-width: 820px; margin: 0 auto 44px; }
.m-head--left { text-align: left; margin-left: 0; }
.m-sub { display: inline-flex; align-items: center; gap: 10px; color: var(--m-red); font-weight: 600; font-size: .95rem; margin: 0 0 6px; }
.m-sub::before, .m-sub::after { content: ""; width: 22px; height: 2px; background: var(--m-red); border-radius: 2px; }
.m-head--left .m-sub::after { display: none; }
.m-title { font-family: var(--m-head); font-weight: 800; color: var(--m-ink); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; margin: 0 0 14px; }
.m-title--red { color: var(--m-red); }
.m-intro { color: var(--m-muted); font-size: 1rem; line-height: 1.75; margin: 0 auto; }
.m-tagline { color: var(--m-blue-t); font-weight: 600; margin: -4px 0 12px; }
.m-center { text-align: center; }
.m-mt { margin-top: 36px; }

/* ---------- buttons ---------- */
.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--m-body); font-weight: 600; font-size: .95rem;
  padding: 12px 26px; border-radius: 16px; border: 2px solid transparent; text-decoration: none; line-height: 1.2; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease; }
.m-btn:hover { transform: translateY(-2px); }
.m-btn:active { transform: translateY(2px); }
.m-btn--red { background: var(--m-red); color: #fff; box-shadow: 0 4px 0 var(--m-red-d); }
.m-btn--red:hover { color: #fff; }
.m-btn--yellow { background: var(--m-yellow); color: var(--m-ink); box-shadow: 0 4px 0 var(--m-yellow-d); }
.m-btn--yellow:hover { color: var(--m-ink); }
.m-btn--outline { background: #fff; color: var(--m-blue-t); border-color: var(--m-blue); box-shadow: 0 4px 0 var(--m-blue); }
.m-btn--outline:hover { color: var(--m-blue-t); }
.m-btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.m-btn--ghost:hover { color: #fff; background: rgba(255,255,255,.1); }
.m-btn--block { width: 100%; }
.m-btn--sm { padding: 9px 18px; font-size: .88rem; border-radius: 14px; }
.m-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.m-btns--center { justify-content: center; }
.m-link { color: var(--m-blue-t); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.m-link:hover { color: var(--m-red); }

/* ---------- page hero (sky + hills) ---------- */
.m-hero { position: relative; overflow: hidden; padding: calc(var(--header-h, 120px) + 48px) 0 150px; font-family: var(--m-body);
  background: linear-gradient(180deg, #dcefff 0%, #eef7ff 55%, #fbfdff 100%); }
.m-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath d='M0 48 C 180 14 360 58 560 40 C 760 22 900 4 1100 26 C 1260 44 1360 30 1440 18 L1440 110 L0 110 Z' fill='%23bfe8cf'/%3E%3Cpath d='M0 72 C 220 40 420 82 640 66 C 860 50 1040 36 1240 56 C 1340 66 1400 60 1440 54 L1440 110 L0 110 Z' fill='%232fb36d'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.m-hero--flowers::before { content: ""; position: absolute; left: 0; right: 0; bottom: 48px; height: 54px; z-index: 1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='54' viewBox='0 0 200 54'%3E%3Cpath d='M100 18 V54' stroke='%231f8a50' stroke-width='2'/%3E%3Ccircle cx='100' cy='10' r='5' fill='%23e3242b'/%3E%3Ccircle cx='93' cy='16' r='5' fill='%23e3242b'/%3E%3Ccircle cx='107' cy='16' r='5' fill='%23e3242b'/%3E%3Ccircle cx='100' cy='22' r='5' fill='%23e3242b'/%3E%3Ccircle cx='100' cy='16' r='3.5' fill='%23fbc02d'/%3E%3C/svg%3E") 0 0 / 200px 54px repeat-x; }
.m-hero .container-xl { position: relative; z-index: 2; }
.m-hero--center { text-align: center; }
.m-hero--center .m-hero-lead { margin-left: auto; margin-right: auto; }
.m-hero--center .m-hero-text { margin-left: auto; margin-right: auto; max-width: 680px; }
.m-cloud { position: absolute; width: 92px; height: 34px; background: #fff; border-radius: 40px; opacity: .95; z-index: 1; }
.m-cloud::before, .m-cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.m-cloud::before { width: 44px; height: 44px; left: 14px; top: -22px; }
.m-cloud::after { width: 30px; height: 30px; left: 46px; top: -14px; }
.m-cloud--1 { left: 5%; top: 34px; } .m-cloud--2 { right: 6%; top: 46px; transform: scale(.8); } .m-cloud--3 { left: 46%; top: 60px; transform: scale(.7); }
.m-star { position: absolute; color: var(--m-yellow); font-size: 1.2rem; z-index: 1; } .m-star--1 { left: 40%; top: 32px; } .m-star--2 { right: 7%; top: 40px; }
.m-kicker { display: inline-block; padding: 5px 14px; border: 2px dashed var(--m-red); border-radius: 30px; background: #fff; color: var(--m-red); font-weight: 600; font-size: .82rem; margin-bottom: 14px; }
.m-hero-title { font-family: var(--m-head); font-weight: 800; color: var(--m-red); font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.1; margin: 0 0 16px;
  text-shadow: 0 3px 0 rgba(185,22,29,.18); }
.m-hero-lead { font-family: var(--m-head); font-weight: 700; color: var(--m-ink); font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.5; max-width: 760px; margin: 0 0 6px; }
.m-hero-text { color: var(--m-text); line-height: 1.8; max-width: 560px; margin: 0 0 26px; }
.m-crumb { font-size: .85rem; margin-bottom: 10px; color: var(--m-muted); }
.m-crumb a { color: var(--m-blue-t); text-decoration: underline; }

/* hero photo: tilted card inside a dashed frame */
.m-hero-photo { position: relative; max-width: 330px; margin: 0 auto; padding: 14px; border: 2px dashed var(--m-yellow); border-radius: 22px; }
.m-hero-photo-card { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #e6f1fb; border: 8px solid #fff; box-shadow: 0 14px 34px rgba(25,70,120,.18); transform: rotate(4deg); }
.m-hero-photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-hero-photo--wide { max-width: 420px; }
.m-hero-photo--wide .m-hero-photo-card { aspect-ratio: 4 / 3; transform: rotate(-2deg); }
.m-tag { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%) rotate(-4deg); background: var(--m-yellow); color: var(--m-ink); font-weight: 700; font-size: .8rem;
  padding: 5px 14px; border-radius: 14px; white-space: nowrap; box-shadow: 0 3px 0 var(--m-yellow-d); z-index: 2; }
.m-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }

/* ---------- chips / pills ---------- */
.m-chip { display: inline-block; padding: 6px 14px; border: 2px solid var(--ac, var(--m-red)); border-radius: 30px; background: #fff; color: var(--m-ink); font-weight: 600; font-size: .85rem; text-decoration: none; }
a.m-chip:hover { background: var(--ac-soft); color: var(--m-ink); }
.m-chip--fill { background: var(--ac); color: #fff; border-color: var(--ac); box-shadow: 0 3px 0 var(--ac-d); }
.m-chip--fill.a-yellow { color: var(--m-ink); }

/* ---------- cards ---------- */
.m-card { position: relative; height: 100%; background: #fff; border: 1.5px solid var(--m-line); border-top: 4px solid var(--ac, var(--m-red)); border-radius: 16px;
  box-shadow: 0 5px 0 var(--m-shadow); padding: 24px 22px; color: var(--m-text); }
.m-card h3 { font-family: var(--m-head); font-weight: 800; color: var(--m-ink); font-size: 1.15rem; line-height: 1.3; margin: 0 0 6px; }
.m-card p { font-size: .92rem; line-height: 1.65; margin: 0 0 8px; }
.m-card p:last-child { margin-bottom: 0; }
.m-card--center { text-align: center; }
.m-card--side { display: flex; gap: 16px; align-items: flex-start; border-top-width: 1.5px; border-left: 4px solid var(--ac, var(--m-red)); padding: 18px 20px; }
.m-card--side h3 { font-size: 1.05rem; margin-bottom: 4px; }
.m-card--side p { margin: 0 0 4px; }
.m-ic { flex: 0 0 auto; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ac, var(--m-red)); color: #fff; font-size: 1.1rem;
  box-shadow: 0 0 0 5px var(--ac-soft, #fde8e9); }
.a-yellow .m-ic, .m-ic.a-yellow { color: var(--m-ink); }
.m-card--center .m-ic { margin: 4px auto 16px; }
.m-age { display: block; color: var(--ac-t); font-weight: 700; font-size: .85rem; margin: 0 0 6px; }
.m-card .m-link { font-size: .88rem; }
.m-stack { display: grid; gap: 14px; }

/* ---------- ERUDITION ---------- */
.m-step { height: 100%; text-align: center; background: #fff; border: 3px solid var(--ac); border-radius: 16px; box-shadow: 0 6px 0 var(--ac-d); padding: 22px 16px 20px; }
.m-step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ac); color: #fff; font-weight: 800; font-family: var(--m-head); font-size: 1.15rem; margin-bottom: 10px; }
.a-yellow .m-step-num { color: var(--m-ink); }
.m-step h3 { font-family: var(--m-head); font-weight: 800; color: var(--ac-t); font-size: 1.2rem; margin: 0; }
.m-box { background: #fff; border: 1.5px solid var(--m-line); border-radius: 18px; box-shadow: 0 5px 0 var(--m-shadow); padding: 24px; text-align: center; }
.m-box h3 { font-family: var(--m-head); font-weight: 800; color: var(--m-ink); font-size: 1.2rem; margin: 0 0 16px; }
.m-chain { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.m-chain .bi { color: var(--m-ink); font-size: .9rem; }
.m-lede { font-family: var(--m-head); font-weight: 700; color: var(--m-blue-t); font-size: 1.1rem; text-align: center; max-width: 820px; margin: 40px auto 26px; line-height: 1.5; }

/* ---------- photo placeholders / frames ---------- */
.m-frame { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border: 2px dashed var(--ac, var(--m-red)); border-radius: 14px; overflow: hidden; background: #fff; padding: 0; }
.m-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-frame figcaption, .m-frame .m-cap { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.95); border-radius: 10px; padding: 4px 10px; font-size: .8rem; font-weight: 600; color: var(--m-ink); }
.m-frame--empty { display: grid; place-items: center; font-weight: 600; font-size: .88rem; color: var(--m-text); }

/* ---------- red CTA band ---------- */
.m-cta { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 22px; padding: 48px 28px 52px;
  background-color: var(--m-red); background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px), linear-gradient(135deg, #e8262d, #c81a21); background-size: 18px 18px, 100% 100%;
  box-shadow: 0 8px 0 var(--m-red-d), 0 22px 40px rgba(200,26,33,.18); }
.m-cta::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; background: #e2552a; }
.m-cta > * { position: relative; z-index: 1; }
.m-cta h2 { font-family: var(--m-head); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; color: #fff; }
.m-cta p { max-width: 620px; margin: 0 auto 22px; line-height: 1.7; opacity: .95; }

/* ---------- forms ---------- */
.m-form { background: #fff; border-radius: 20px; border-top: 5px solid var(--m-yellow); box-shadow: 0 16px 40px rgba(25,70,120,.1); padding: 30px 28px; font-family: var(--m-body); }
.m-form h3 { font-family: var(--m-head); font-weight: 800; color: var(--m-ink); font-size: 1.45rem; margin: 0 0 4px; }
.m-form-sub { color: var(--m-muted); font-size: .9rem; margin: 0 0 18px; }
.m-form label { display: block; font-weight: 600; font-size: .85rem; color: var(--m-ink); margin-bottom: 6px; }
.m-form label small { font-weight: 400; color: var(--m-muted); }
.m-form .form-control, .m-form .form-select { border: 1.5px solid #d6e3f0; border-radius: 12px; padding: 11px 14px; font-size: .95rem; }
.m-form .form-control:focus, .m-form .form-select:focus { border-color: var(--m-blue); box-shadow: 0 0 0 3px rgba(43,143,216,.15); }
.m-form .form-consent { text-align: center; font-size: .8rem; color: var(--m-muted); margin: 6px 0 12px; }
.m-form .ct-error { color: var(--m-red); font-size: .8rem; }
.m-form .ct-alert { border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-size: .9rem; }
.m-form .ct-alert--ok { background: #e2f5ea; color: var(--m-green-t); }
.m-form .ct-alert--err { background: #fde8e9; color: var(--m-red-d); }
.m-form .ct-hp { position: absolute; left: -9999px; }
.m-note { text-align: center; margin-top: 18px; font-weight: 600; font-size: .92rem; }

/* ---------- testimonials ---------- */
.m-quote { text-align: center; }
.m-quote .m-ic { margin: 0 auto 16px; font-size: 1.3rem; }
.m-quote p { font-size: .92rem; line-height: 1.75; margin-bottom: 12px; }
.m-quote strong { color: var(--m-ink); font-size: .9rem; }
.m-rating { font-weight: 700; color: var(--m-text); }

/* ---------- about: founder ---------- */
.m-founder { height: 100%; border-radius: 20px; padding: 28px; color: #fff; background: linear-gradient(140deg, #1e64b0, #2b8fd8); box-shadow: 0 6px 0 #154a86; }
.m-founder-photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: #fdf3d6; border: 5px solid #fff; display: grid; place-items: center; color: var(--m-ink); font-size: .8rem; font-weight: 600; margin-bottom: 18px; }
.m-founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.m-founder-photo span { font-family: var(--m-head); font-size: 2.4rem; font-weight: 800; color: var(--m-red); }
.m-founder small { display: block; color: var(--m-yellow); font-weight: 700; margin-bottom: 2px; }
.m-founder h3 { font-family: var(--m-head); font-weight: 800; font-size: 1.6rem; margin: 0 0 4px; color: #fff; }
.m-founder .m-role { font-weight: 700; margin: 0 0 2px; }
.m-founder p { font-size: .9rem; line-height: 1.7; margin: 0 0 10px; opacity: .95; }
.m-pullquote { max-width: 760px; margin: 30px auto 0; background: #fff8e6; border-left: 5px solid var(--m-yellow); border-radius: 12px; padding: 18px 22px;
  font-family: var(--m-head); font-weight: 700; font-size: 1.15rem; line-height: 1.55; color: var(--m-ink); }

/* ---------- people ---------- */
.m-avatar { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--ac-soft, #fde8e9);
  color: var(--ac-t, var(--m-red)); font-family: var(--m-head); font-weight: 800; font-size: 1.3rem; }
.m-avatar img { width: 100%; height: 100%; object-fit: cover; }
.m-avatar--lg { width: 84px; height: 84px; margin: 0 auto 14px; font-size: 1.6rem; }
.m-person-role { display: block; color: var(--ac-t, var(--m-red)); font-weight: 700; font-size: .82rem; margin-bottom: 4px; }
.m-group-title { font-family: var(--m-head); font-weight: 800; color: var(--m-blue-t); font-size: 1.25rem; text-align: center; margin: 0 0 22px; }

/* ---------- timeline ---------- */
.m-tl { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: grid; gap: 14px; }
.m-tl li { display: flex; gap: 26px; align-items: center; background: #fff; border: 1.5px solid var(--m-line); border-left: 4px solid var(--ac); border-radius: 12px; box-shadow: 0 4px 0 var(--m-shadow); padding: 16px 22px; }
.m-tl b { font-family: var(--m-head); font-weight: 800; color: var(--ac-t); font-size: 1.25rem; min-width: 52px; }
.m-tl span { font-size: .92rem; }

/* ---------- centres ---------- */
.m-centre { text-align: center; padding: 14px 14px 22px; }
.m-centre-photo { display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--ac-soft); margin-bottom: 18px; }
.m-centre-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-centre .m-strong { font-weight: 700; color: var(--m-ink); font-size: .9rem; }
.m-centre .m-strong a { color: inherit; text-decoration: none; }
.m-centre .m-btns { justify-content: center; margin-top: 16px; gap: 10px; }
.m-map { height: 100%; min-height: 300px; background: #fff; border-radius: 20px; box-shadow: 0 16px 40px rgba(25,70,120,.1); padding: 10px; display: flex; flex-direction: column; }
.m-map iframe { flex: 1; width: 100%; min-height: 260px; border: 0; border-radius: 14px; background: var(--m-sky); }
.m-map .m-btn { margin: 12px auto 4px; }

/* ---------- gallery ---------- */
.m-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.m-filters .gal-filter { font-family: var(--m-body); font-weight: 600; font-size: .9rem; padding: 9px 20px; border-radius: 16px; background: #fff; color: var(--m-blue-t); border: 2px solid var(--m-blue); box-shadow: 0 4px 0 var(--m-blue); cursor: pointer; }
.m-filters .gal-filter.is-active { background: var(--m-red); border-color: var(--m-red); color: #fff; box-shadow: 0 4px 0 var(--m-red-d); }
.m-gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.m-gal .gal-item { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; margin: 0; border: 2px dashed var(--ac); border-radius: 14px; overflow: hidden; background: #fff; cursor: zoom-in; grid-column: auto !important; grid-row: auto !important; }
.m-gal .gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.m-gal .gal-item:hover img { transform: scale(1.04); }
.m-gal .gal-item .m-cap { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.95); border-radius: 10px; padding: 3px 10px; font-size: .78rem; font-weight: 600; color: var(--m-ink); }
.m-gal .gal-item.is-hidden { display: none; }
@media (max-width: 991.98px) { .m-gal { grid-template-columns: repeat(2, 1fr); } }

/* ---------- footer social as text links (PDF) ---------- */
.ft-social--text { display: flex; gap: 14px; flex-wrap: wrap; }
.ft-social--text a { width: auto !important; height: auto !important; background: none !important; border-radius: 0 !important; color: #fff !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; }

@media (max-width: 767.98px) {
  .m-sec { padding: 60px 0; }
  .m-hero { padding: calc(var(--header-h, 110px) + 28px) 0 120px; }
  .m-tl li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .m-form { padding: 24px 18px; }
}

/* contact form labels inside m-form (contact page) */
.m-form .m-lbl { display: block; font-weight: 600; font-size: .85rem; color: var(--m-ink); margin-bottom: 6px; }
.m-form .form-control.is-invalid, .m-form .form-select.is-invalid { border-color: var(--m-red); }
.m-card--side p a, .m-card p a { color: var(--m-blue-t, #1b6fae); }
.m-gal .gal-item { height: auto; box-shadow: 0 5px 0 rgba(25,70,120,.06); text-align: left; }
.m-gal .gal-item::after { display: none; }
.m-gal .gal-item:hover, .m-gal .gal-item:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(25,70,120,.14); }
