/* ============================================================
   Lavage — Model 4 "AQUA TECH"
   Futuristic cinematic detailing studio: deep navy, teal neon,
   glass panels, wet reflections, glowing accents, gold details.
   ============================================================ */

.m4-theme {
  --m4-bg: #03101C;
  --m4-bg2: #061725;
  --m4-card: #0A1C2B;
  --m4-glass: rgba(11, 31, 46, .72);
  --m4-primary: #26D9C7;
  --m4-primary2: #42F5D7;
  --m4-primary-dark: #0EA893;
  --m4-secondary: #0BA7B4;
  --m4-gold: #F6C851;
  --m4-white: #F7FBFF;
  --m4-text: #F5F9FC;
  --m4-muted: #9BB0C0;
  --m4-border: rgba(67, 224, 210, .18);

  background: var(--m4-bg);
  color: var(--m4-text);
  font-family: var(--font-ar-kufi);
}
:root[lang="ar"] .m4-theme { font-family: "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif; }
:root[lang="fr"] .m4-theme { font-family: var(--font-fr-body); }
.m4-theme h1, .m4-theme h2, .m4-theme h3 { font-family: "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif; font-weight: 700; }
:root[lang="fr"] .m4-theme h1,
:root[lang="fr"] .m4-theme h2,
:root[lang="fr"] .m4-theme h3 { font-family: var(--font-fr-display); }

.m4-theme :focus-visible { outline-color: var(--m4-primary); }
.m4-theme ::selection { background: var(--m4-primary); color: var(--m4-bg); }

/* ---------- Buttons ---------- */
.m4-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 12px; font-weight: 700; font-size: .95rem;
  text-decoration: none; border: 1px solid transparent; min-height: 48px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  position: relative; overflow: hidden;
}
.m4-btn:hover { transform: translateY(-2px); }
.m4-btn-primary {
  background: linear-gradient(135deg, var(--m4-primary2), var(--m4-primary-dark));
  color: #022;  box-shadow: 0 8px 26px rgba(38, 217, 199, .3);
}
.m4-btn-primary:hover { box-shadow: 0 12px 36px rgba(38, 217, 199, .5); }
.m4-btn-ghost { border-color: var(--m4-border); color: var(--m4-white); background: rgba(38, 217, 199, .06); }
.m4-btn-ghost:hover { border-color: var(--m4-primary); background: rgba(38, 217, 199, .12); }
.m4-btn-lg { padding: 1rem 2.1rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.m4-header {
  position: sticky; top: 0; z-index: 120;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.m4-header.is-scrolled {
  background: rgba(3, 16, 28, .8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--m4-border), 0 10px 30px rgba(0, 0, 0, .4);
}
.m4-header-inner { display: flex; align-items: center; gap: 1.3rem; padding: .9rem 0; }
.m4-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--m4-white); }
.m4-logo-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(38, 217, 199, .2), rgba(11, 167, 180, .1));
  border: 1px solid var(--m4-border); color: var(--m4-primary2);
}
.m4-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.m4-logo-text b { font-size: 1.2rem; font-weight: 800; letter-spacing: .02em; }
.m4-logo-text span { font-size: .62rem; color: var(--m4-muted); letter-spacing: .04em; }
.m4-nav { margin-inline-start: auto; }
.m4-nav-list { display: flex; gap: 1.3rem; }
.m4-nav-list a {
  position: relative; text-decoration: none; font-size: .87rem; font-weight: 600;
  color: var(--m4-muted); padding: .35rem 0; transition: color .2s ease;
}
.m4-nav-list a::after {
  content: ""; position: absolute; bottom: -2px; inset-inline-start: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--m4-primary2), var(--m4-secondary)); transition: width .25s ease; border-radius: 2px;
}
.m4-nav-list a:hover, .m4-nav-list a.is-current { color: var(--m4-white); }
.m4-nav-list a:hover::after, .m4-nav-list a.is-current::after { width: 100%; }
.m4-header-actions { display: flex; align-items: center; gap: .8rem; }
.m4-header-actions .m4-btn { padding: .6rem 1.1rem; font-size: .84rem; min-height: 42px; }
.m4-theme .lang-switch { background: rgba(255, 255, 255, .08); }
.m4-theme .lang-btn { color: var(--m4-white); }
.m4-theme .lang-btn.is-active { background: var(--m4-primary); color: #022; }
.m4-theme .nav-burger { color: var(--m4-white); }

/* ---------- Hero ---------- */
.m4-hero { position: relative; overflow: hidden; }
.m4-hero-media { position: absolute; inset: 0; z-index: 0; }
.m4-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.m4-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--m4-bg) 8%, rgba(3, 16, 28, .55) 45%, rgba(3, 16, 28, .25) 75%),
    linear-gradient(0deg, var(--m4-bg), transparent 40%);
}
:root[dir="ltr"] .m4-hero-media::after { background: linear-gradient(270deg, var(--m4-bg) 8%, rgba(3,16,28,.55) 45%, rgba(3,16,28,.25) 75%), linear-gradient(0deg, var(--m4-bg), transparent 40%); }
.m4-hero-inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem; align-items: center; padding: 7rem 0 4.5rem; min-height: 90vh;
}
.m4-hero-copy { max-width: 40rem; }
.m4-hero-tag {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.3rem;
  background: rgba(38, 217, 199, .1); border: 1px solid var(--m4-border);
  color: var(--m4-primary2); font-size: .78rem; font-weight: 700;
  padding: .45rem 1rem; border-radius: 999px;
}
.m4-hero-tag span.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--m4-primary); box-shadow: 0 0 10px var(--m4-primary); }
.m4-hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.16; margin-bottom: 1.1rem; }
.m4-hero-hl {
  background: linear-gradient(100deg, var(--m4-primary2), var(--m4-gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--m4-primary2);
}
.m4-hero-desc { color: var(--m4-muted); font-size: 1.06rem; margin-bottom: 1.9rem; }
.m4-hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.m4-hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.m4-hero-trust li { display: inline-flex; align-items: center; gap: .5rem; font-size: .84rem; font-weight: 600; color: var(--m4-text); }
.m4-hero-trust .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(38, 217, 199, .1); border: 1px solid var(--m4-border); color: var(--m4-primary2); }

/* Booking panel */
.m4-booking {
  background: var(--m4-glass); border: 1px solid var(--m4-border); border-radius: 22px;
  padding: 1.8rem; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.m4-booking h2 { font-size: 1.3rem; margin-bottom: .35rem; }
.m4-booking-sub { color: var(--m4-muted); font-size: .85rem; margin-bottom: 1.3rem; }
.m4-booking-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.m4-booking-field label { font-size: .8rem; font-weight: 600; color: var(--m4-muted); }
.m4-booking-field select {
  appearance: none; -webkit-appearance: none;
  background: var(--m4-bg2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2326D9C7' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat;
  background-position: left 1rem center; padding: .8rem 1rem; border-radius: 12px;
  border: 1px solid var(--m4-border); color: var(--m4-white); font-size: .9rem; font-weight: 600; cursor: pointer;
}
:root[dir="rtl"] .m4-booking-field select { background-position: left 1rem center; }
:root[dir="ltr"] .m4-booking-field select { background-position: right 1rem center; }
.m4-booking-field select:focus { border-color: var(--m4-primary); outline: none; }
.m4-booking .m4-btn { width: 100%; margin-top: .5rem; }
.m4-booking-note { font-size: .72rem; color: var(--m4-muted); text-align: center; margin-top: .8rem; opacity: .8; }

.m4-scroll-hint { position: relative; z-index: 1; display: flex; justify-content: center; gap: .5rem; align-items: center; color: var(--m4-muted); font-size: .78rem; padding-bottom: 1.8rem; }
.m4-scroll-hint .mouse { width: 22px; height: 34px; border: 2px solid var(--m4-border); border-radius: 12px; position: relative; }
.m4-scroll-hint .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--m4-primary); animation: m4-scroll 1.7s ease-in-out infinite; }
@keyframes m4-scroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.m4-section { padding: 5.5rem 0; position: relative; }
.m4-section-tint { background: var(--m4-bg2); }
.m4-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.m4-eyebrow { display: inline-block; color: var(--m4-primary2); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .8rem; }
.m4-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.m4-head p { color: var(--m4-muted); margin-top: .7rem; }

/* ---------- Trust strip ---------- */
.m4-trust { border-block: 1px solid var(--m4-border); background: var(--m4-bg2); padding: 2.4rem 0; }
.m4-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.m4-trust-item { display: flex; align-items: center; gap: .9rem; justify-content: center; }
.m4-trust-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--m4-primary2); background: rgba(38, 217, 199, .1); border: 1px solid var(--m4-border); flex-shrink: 0; }
.m4-trust-num { font-size: 1.7rem; font-weight: 800; line-height: 1; }
.m4-trust-num .plus { color: var(--m4-gold); }
.m4-trust-lbl { color: var(--m4-muted); font-size: .82rem; }

/* ---------- Services ---------- */
.m4-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.m4-svc {
  position: relative; border-radius: 18px; overflow: hidden; min-height: 230px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--m4-border); isolation: isolate;
}
.m4-svc-featured { grid-column: span 2; grid-row: span 2; min-height: 472px; }
.m4-svc-img { position: absolute; inset: 0; z-index: -2; }
.m4-svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.m4-svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3,16,28,.95) 8%, rgba(3,16,28,.55) 45%, rgba(3,16,28,.15)); }
.m4-svc:hover .m4-svc-img img { transform: scale(1.07); }
.m4-svc-body { padding: 1.3rem; }
.m4-svc-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--m4-primary2); background: rgba(3, 16, 28, .6); border: 1px solid var(--m4-border); margin-bottom: .9rem; backdrop-filter: blur(4px); }
.m4-svc h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.m4-svc-featured h3 { font-size: 1.5rem; }
.m4-svc p { color: var(--m4-muted); font-size: .85rem; margin-bottom: .8rem; }
.m4-svc-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.m4-svc-price { color: var(--m4-gold); font-weight: 700; font-size: .9rem; }
.m4-svc-book { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: var(--m4-primary2); font-size: .82rem; font-weight: 700; }
.m4-svc-book svg { transition: transform .2s ease; }
.m4-svc-book:hover svg { transform: translateX(3px); }
:root[dir="rtl"] .m4-svc-book:hover svg { transform: scaleX(-1) translateX(3px); }
.m4-svc-top-border { position: absolute; top: 0; inset-inline: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--m4-primary), transparent); transform: scaleX(0); transition: transform .35s ease; z-index: 1; }
.m4-svc:hover .m4-svc-top-border { transform: scaleX(1); }

/* ---------- How it works ---------- */
.m4-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; position: relative; }
.m4-steps::before { content: ""; position: absolute; top: 34px; inset-inline: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--m4-border) 0 10px, transparent 10px 20px); }
.m4-step { text-align: center; position: relative; }
.m4-step-ic { position: relative; width: 68px; height: 68px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; color: var(--m4-primary2); background: var(--m4-card); border: 1px solid var(--m4-primary); box-shadow: 0 0 24px rgba(38, 217, 199, .2); }
.m4-step-n { position: absolute; top: -6px; inset-inline-end: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--m4-gold); color: #201800; font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.m4-step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.m4-step p { color: var(--m4-muted); font-size: .85rem; }

/* ---------- Pricing ---------- */
.m4-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: stretch; }
.m4-plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--m4-card); border: 1px solid var(--m4-border); border-radius: 20px;
  padding: 1.9rem 1.5rem 1.5rem; transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.m4-plan:hover, .m4-plan:focus-within { transform: translateY(-6px); border-color: rgba(38, 217, 199, .5); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.m4-plan.is-popular {
  border-color: var(--m4-primary);
  background: linear-gradient(180deg, rgba(38, 217, 199, .1), var(--m4-card));
  box-shadow: 0 0 0 1px var(--m4-primary), 0 18px 50px rgba(38, 217, 199, .16);
  transform: scale(1.03);
}
.m4-theme .pkg-badge { background: linear-gradient(135deg, var(--m4-primary2), var(--m4-primary-dark)); color: #022; }
.m4-plan h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.m4-plan-desc { color: var(--m4-muted); font-size: .83rem; margin-bottom: 1rem; }
.m4-plan-price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: .3rem; }
.m4-plan-price strong { font-size: 2rem; font-weight: 800; color: var(--m4-primary2); }
.m4-plan-price em { font-style: normal; font-size: .72rem; color: var(--m4-muted); }
.m4-plan .pkg-list { flex: 1; }
.m4-plan .pkg-list svg { color: var(--m4-primary); }
.m4-plan .m4-btn { width: 100%; }

/* ---------- Why choose ---------- */
.m4-why { display: grid; grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: center; }
.m4-why-media { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--m4-border); }
.m4-why-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.m4-why-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(38, 217, 199, .12)); }
.m4-why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; margin: 1.6rem 0 1.8rem; }
.m4-why-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; }
.m4-why-list .ic { width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; color: var(--m4-primary2); background: rgba(38, 217, 199, .1); border: 1px solid var(--m4-border); }

/* ---------- Detailing feature ---------- */
.m4-detail { position: relative; padding: 6rem 0; overflow: hidden; }
.m4-detail-bg { position: absolute; inset: 0; z-index: 0; }
.m4-detail-bg img { width: 100%; height: 100%; object-fit: cover; }
.m4-detail-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--m4-bg) 20%, rgba(3, 16, 28, .6) 60%, rgba(3, 16, 28, .3)); }
.m4-detail-inner { position: relative; z-index: 1; max-width: 40rem; }
.m4-detail h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
.m4-detail p { color: var(--m4-muted); margin-bottom: 1.6rem; }
.m4-detail-cards { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.9rem; }
.m4-detail-cards span { display: inline-flex; align-items: center; gap: .45rem; background: var(--m4-glass); border: 1px solid var(--m4-border); border-radius: 999px; padding: .5rem 1rem; font-size: .82rem; font-weight: 600; backdrop-filter: blur(6px); }
.m4-detail-cards svg { color: var(--m4-primary2); }

/* ---------- Before / After ---------- */
.m4-ba { border: 1px solid var(--m4-border); border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }

/* ---------- Testimonials ---------- */
.m4-quotes { max-width: 720px; margin-inline: auto; }
.m4-quote { background: var(--m4-card); border: 1px solid var(--m4-border); border-radius: 22px; padding: 2.4rem 2.2rem 2rem; text-align: center; }
.m4-quote[hidden] { display: none; }
.m4-quote-stars { display: flex; justify-content: center; gap: .2rem; color: var(--m4-gold); margin-bottom: 1rem; }
.m4-quote p { font-size: 1.06rem; line-height: 1.85; margin-bottom: 1.4rem; }
.m4-quote footer { display: flex; align-items: center; justify-content: center; gap: .7rem; }
.m4-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--m4-primary), var(--m4-secondary)); color: #022; font-weight: 800; }
.m4-quote cite { color: var(--m4-muted); font-size: .88rem; }
.m4-quotes-nav { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: 1.5rem; color: var(--m4-primary2); }

/* ---------- Coverage ---------- */
.m4-coverage-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 2.5rem; align-items: center; }
.m4-map-card {
  background: radial-gradient(ellipse at 50% 30%, rgba(38, 217, 199, .08), transparent 60%), var(--m4-card);
  border: 1px solid var(--m4-border); border-radius: 24px; padding: 1.8rem;
}
.m4-map { width: 100%; max-height: 470px; display: block; margin-inline: auto; }
.m4-land { color: rgba(38, 217, 199, .14); stroke: rgba(38, 217, 199, .45); stroke-width: .6; }
.m4-pins text { font-size: 12.5px; font-weight: 700; fill: var(--m4-white); font-family: inherit; paint-order: stroke; stroke: var(--m4-bg); stroke-width: 3.5px; }
.m4-pin { fill: var(--m4-primary2); filter: drop-shadow(0 0 5px var(--m4-primary)); }
.m4-pin-ring { fill: none; stroke: var(--m4-primary); stroke-width: 1.5; animation: m4-pin 2.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.m4-pins g:nth-child(2n) .m4-pin-ring { animation-delay: -1.3s; }
@keyframes m4-pin { 0% { transform: scale(.45); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.m4-cities { display: flex; flex-wrap: wrap; gap: .65rem; }
.m4-cities li { display: inline-flex; align-items: center; gap: .45rem; background: var(--m4-bg2); border: 1px solid var(--m4-border); border-radius: 999px; padding: .5rem 1rem; font-size: .85rem; font-weight: 600; transition: border-color .2s, transform .2s; }
.m4-cities li:hover { border-color: var(--m4-primary); transform: translateY(-2px); }
.m4-cities svg { color: var(--m4-primary2); }

/* ---------- FAQ ---------- */
.m4-faq-list .faq-item { background: var(--m4-card); border: 1px solid var(--m4-border); border-radius: 16px; overflow: hidden; }
.m4-faq-list .faq-q { color: var(--m4-white); }
.m4-faq-list .faq-q:hover { color: var(--m4-primary2); }
.m4-faq-list .faq-ic { color: var(--m4-primary2); }
.m4-faq-list .faq-a { color: var(--m4-muted); }

/* ---------- Final CTA ---------- */
.m4-cta { padding: 5rem 0; }
.m4-cta-card {
  position: relative; overflow: hidden; border-radius: 30px; padding: 3.2rem;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center;
  background: linear-gradient(120deg, var(--m4-primary-dark), var(--m4-secondary));
  color: #01201d;
}
.m4-cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 120%, rgba(246, 200, 81, .3), transparent 55%); }
.m4-cta-copy { position: relative; z-index: 1; }
.m4-cta-copy h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin-bottom: .8rem; color: #012; }
.m4-cta-copy p { margin-bottom: 1.7rem; color: #023; opacity: .85; }
.m4-cta-card .m4-btn-primary { background: #03101C; color: var(--m4-primary2); }
.m4-cta-phone-wrap { position: relative; z-index: 1; display: grid; place-items: center; }
.m4-phone {
  width: min(220px, 70%); background: var(--m4-bg); border-radius: 26px; padding: .5rem;
  border: 4px solid rgba(0, 0, 0, .3); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transform: rotate(-4deg);
}
.m4-phone-head { display: flex; align-items: center; gap: .5rem; padding: .7rem; color: var(--m4-white); }
.m4-phone-head .av { width: 30px; height: 30px; border-radius: 50%; background: var(--m4-primary); display: grid; place-items: center; color: #022; }
.m4-phone-head b { font-size: .82rem; }
.m4-phone-head span { font-size: .64rem; color: var(--m4-primary2); display: block; }
.m4-phone-body { background: var(--m4-bg2); border-radius: 16px; padding: .8rem; display: flex; flex-direction: column; gap: .5rem; }
.m4-bubble { font-size: .72rem; padding: .5rem .7rem; border-radius: 12px; max-width: 88%; }
.m4-bubble.in { background: var(--m4-card); align-self: flex-start; color: var(--m4-text); }
.m4-bubble.out { background: var(--m4-primary-dark); align-self: flex-end; color: #012; }

/* ---------- Footer ---------- */
.m4-footer { position: relative; background: #020B14; border-top: 1px solid var(--m4-border); padding-top: 3.6rem; overflow: hidden; }
.m4-footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--m4-primary), transparent); }
.m4-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.4rem; padding-bottom: 2.6rem; }
.m4-footer-brand > p { color: var(--m4-muted); font-size: .87rem; margin-top: 1rem; max-width: 24rem; }
.m4-footer-col h3 { font-size: .92rem; color: var(--m4-primary2); margin-bottom: 1rem; }
.m4-footer-col ul { display: grid; gap: .6rem; font-size: .87rem; }
.m4-footer-col a { text-decoration: none; color: var(--m4-muted); transition: color .15s ease; }
.m4-footer-col a:hover { color: var(--m4-primary2); }
.m4-footer-contact li { display: flex; align-items: center; gap: .55rem; color: var(--m4-muted); font-size: .87rem; }
.m4-footer-contact svg { color: var(--m4-primary2); flex-shrink: 0; }
.m4-theme .footer-social a { border-color: var(--m4-border); color: var(--m4-muted); }
.m4-theme .footer-social a:hover { color: var(--m4-primary2); border-color: var(--m4-primary); }
.m4-theme .footer-bottom { border-top: 1px solid var(--m4-border); color: var(--m4-muted); }
.m4-made { text-align: center; padding-bottom: 1.2rem; color: var(--m4-muted); font-size: .8rem; }
.m4-made b { color: var(--m4-primary2); }
