/* Mamme h24 page — the site's look: white paper, Bootstrap blue #007bff, Burst My Bubble titles, hand-drawn black lines,
   the section bubbles' flat colours. Font self-hosted as on mammeh24.com (accents from Indie Flower, OFL). */
@font-face { font-family: "Burst_My_Bubble"; src: url("../fonts/BurstMyBubble.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Burst_My_Bubble"; src: url("../fonts/IndieFlower-accenti.woff2") format("woff2"); font-display: swap;
  unicode-range: U+00C0-00C1, U+00C8-00C9, U+00CC-00CD, U+00D2-00D3, U+00D9-00DA, U+00E0-00E1, U+00E8-00E9, U+00EC-00ED, U+00F2-00F3, U+00F9-00FA; }

html body.p-mammeh24 { background: #fffdf9 !important; }

.mh { --blue: #007bff; --blue-d: #0056b3; --ink: #2f2b28; --muted: #6b6560; --paper: #fffdf9; --soft: #eef5ff; --line: #e6e0d8;
      --pink: #f3a7a0; --yel: #f6d36b; --green: #9fd3b4; --lilac: #c9b3e6;
      --hand: "Burst_My_Bubble", "Nunito", cursive; --pg-display: var(--hand);
      background: var(--paper); color: var(--ink); font-family: "Nunito", "Helvetica Neue", sans-serif; font-size: 18px; line-height: 1.65; }
.mh h1, .mh h2, .mh h3 { font-family: var(--hand); font-weight: 400; color: var(--ink); line-height: 1.08; }
.mh h1 { font-size: clamp(46px, 5.6vw, 76px); margin: 0 0 22px !important; }
.mh h1 span { color: var(--blue); }
.mh h2 { font-size: clamp(38px, 4.8vw, 64px); margin-bottom: 20px !important; }
.mh h2 em { font-style: normal; color: var(--blue); }
.mh h3 { font-size: 30px; margin-bottom: 8px !important; }
.mh-lead { font-size: 20px; color: var(--muted); max-width: 36em; text-wrap: pretty; }
.mh-tag { display: inline-block; font: 800 13px "Nunito", sans-serif; letter-spacing: .14em !important; text-transform: uppercase !important;
          color: var(--blue); background: var(--soft); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px; }
.mh-kick { font-family: var(--hand); font-size: 26px; color: var(--blue); margin: 18px 0 8px; }
.mh .mh-logo { display: block; height: 64px; width: auto; }
.mh-final .mh-logo { margin: 0 auto 18px; }
.mh-hero .mh-logo { height: 96px; }
.mh-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 800;
          font-size: 17px; background: var(--blue); color: #fff !important; box-shadow: 0 12px 28px rgba(0,123,255,.28); transition: transform .15s, background .15s; }
.mh-btn:hover { transform: translateY(-2px); background: var(--blue-d); }
.mh-btn-line { background: #fff; color: var(--ink) !important; box-shadow: inset 0 0 0 2px var(--ink); }
.mh-btn-line:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue) !important; }
.mh-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.mh-link { font-weight: 800; color: var(--blue) !important; border-bottom: 2px solid currentColor; }
.mh section { padding: 110px 0; }

/* hand-drawn frames: black line, a little crooked */
.mh-browser { margin: 0; background: #fff; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 8px 10px 0 var(--ink); }
.mh-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-bottom: 3px solid var(--ink); background: var(--soft); }
.mh-bar i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; }
.mh-bar i:nth-child(1) { background: var(--pink); } .mh-bar i:nth-child(2) { background: var(--yel); } .mh-bar i:nth-child(3) { background: var(--green); }
.mh-bar span { margin-left: 10px; font: 700 13px "Nunito", sans-serif; color: var(--muted); }
.mh-browser img { display: block; width: 100%; }
.mh-tilt-l { transform: rotate(-1.2deg); } .mh-tilt-r { transform: rotate(1.2deg); }

/* hero */
.mh-hero { padding: 140px 0 90px !important; position: relative;
           background: radial-gradient(700px 420px at 85% 20%, rgba(0,123,255,.10), transparent 65%),
                       radial-gradient(500px 360px at 0% 100%, rgba(246,211,107,.22), transparent 65%), var(--paper); }
.mh-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.mh-shots { position: relative; padding: 0 50px 40px 0; }
.mh-shots .mh-browser { transform: rotate(1.5deg); }
.mh-phone { position: absolute; right: 0; bottom: 0; width: 30%; margin: 0; border: 3px solid var(--ink); border-radius: 26px; overflow: hidden;
            background: #fff; box-shadow: 6px 8px 0 var(--ink); transform: rotate(-3deg); }
.mh-phone img { display: block; width: 100%; }
.mh-float { position: absolute; width: 96px; height: 96px; animation: mh-bob 4s ease-in-out infinite; }
.mh-float.f1 { left: -34px; top: -30px; } .mh-float.f2 { left: 30%; bottom: -10px; animation-delay: -2s; }
@keyframes mh-bob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(4deg); } }

/* in breve */
.mh-brief { padding: 0 0 20px !important; }
.mh-brief-card { background: #fff; border: 3px solid var(--ink); border-radius: 26px; padding: 40px 44px; box-shadow: 8px 10px 0 var(--blue); }
.mh-brief-head { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.mh-brief-head h2 { margin: 0 !important; font-size: clamp(36px, 4vw, 52px); }
.mh-brief-head p { margin: 0; color: var(--muted); }
.mh-brief ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; }
.mh-brief li { display: flex; gap: 10px; font-size: 16.5px; line-height: 1.45; }
.mh-brief li i { color: var(--blue); margin-top: 4px; }

/* what and for whom */
.mh-bubbles { display: flex; flex-wrap: wrap; gap: 22px 30px; margin: 44px 0 50px; }
.mh-bubbles div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mh-bubbles img { width: 104px; height: 104px; transition: transform .2s; }
.mh-bubbles div:hover img { transform: rotate(-6deg) scale(1.06); }
.mh-bubbles b { font-family: var(--hand); font-weight: 400; font-size: 24px; }
.mh-who, .mh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mh-grid { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
.mh-card { background: #fff; border-radius: 22px; padding: 28px; box-shadow: 0 10px 30px rgba(47,43,40,.08); }
.mh-card > i { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: var(--blue);
               background: var(--soft); border: 2px solid var(--ink); margin-bottom: 16px; }
.mh-card p { margin: 0; font-size: 16.5px; color: var(--muted); }

/* story */
.mh-story { background: var(--soft); }
.mh-story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.mh-note { margin: 0; background: #fff; border: 3px solid var(--ink); border-radius: 22px; padding: 40px 36px; transform: rotate(-2deg);
           box-shadow: 8px 10px 0 var(--yel); }
.mh-note span { display: block; font-family: var(--hand); font-size: clamp(34px, 3.6vw, 48px); line-height: 1.15; color: var(--blue); }
.mh-note small { display: block; margin-top: 14px; color: var(--muted); font-size: 15px; }

/* rebuild */
.mh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.mh-step { position: relative; background: #fff; border-radius: 22px; padding: 34px 28px 28px; box-shadow: 0 10px 30px rgba(47,43,40,.08); }
.mh-step p { margin: 0; font-size: 16.5px; color: var(--muted); }
.mh-n { position: absolute; top: -22px; left: 24px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
        font-family: var(--hand); font-size: 28px; background: var(--yel); border: 3px solid var(--ink); }
.mh-step:nth-child(2) .mh-n { background: var(--pink); } .mh-step:nth-child(3) .mh-n { background: var(--green); }
.mh-archive { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: center; margin-top: 70px; }
.mh-archive-t p { color: var(--muted); }

/* team */
.mh-team { background: #fff; }
.mh-crew { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 40px; }
.mh-person { text-align: center; }
.mh-person img { width: 100%; max-width: 160px; aspect-ratio: 1; border-radius: 50%; background: #fdf3e3; border: 3px solid var(--ink);
                 transition: transform .2s; }
.mh-person:hover img { transform: translateY(-6px) rotate(-3deg); }
.mh-person b { display: block; font-family: var(--hand); font-weight: 400; font-size: 26px; color: var(--blue); margin-top: 12px; }
.mh-person small { color: var(--muted); font-size: 15px; }

/* flow */
.mh-flow .pg-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.mh-flow .mh-tag, .mh-flow h2 { grid-column: 1 / -1; justify-self: start; }
.mh-line { list-style: none; margin: 30px 0 0; padding: 0; position: relative; }
.mh-line::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; border-left: 3px dashed var(--ink); }
.mh-line li { display: flex; gap: 22px; margin-bottom: 26px; position: relative; }
.mh-line p { margin: 0; font-size: 16.5px; color: var(--muted); }
.mh-line h3 { font-size: 28px; }
.mh-dot { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: var(--blue);
          background: #fff; border: 3px solid var(--ink); position: relative; z-index: 1; }
.mh-ok .mh-dot { background: var(--blue); color: #fff; }
.mh-ok h3 { color: var(--blue); }
.mh-flow-shot { position: sticky; top: 120px; align-self: start; margin-top: 30px; }

/* social */
.mh-social { background: var(--soft); }

/* a person approves */
.mh-human { background: var(--blue); color: #fff; text-align: center; }
.mh .mh-big { font-family: var(--hand); font-size: clamp(48px, 7vw, 96px); line-height: 1.05; margin: 0 0 18px !important; }
.mh .mh-big span { color: var(--yel); }
.mh-human .mh-lead { color: rgba(255,255,255,.88); margin: 0 auto; }

/* marketing */
.mh-mkt-grid { display: grid; grid-template-columns: .5fr 1.5fr; gap: 56px; align-items: center; }
.mh-mkt-pic { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid var(--ink); background: #E3242B; box-shadow: 8px 10px 0 var(--ink); }
.mh-mkt-pic .ag-char { position: absolute; left: 50%; bottom: -2px; width: 100%; height: auto; transform: translateX(-50%); }
.mh-mkt p { color: var(--muted); max-width: 40em; }

/* final */
.mh-final { text-align: center; background: radial-gradient(600px 300px at 50% 0%, rgba(0,123,255,.10), transparent 70%), var(--paper); }
.mh-final .mh-lead { margin: 0 auto; }
.mh-final .mh-ctas { justify-content: center; }
.mh-final .ct-cunce { width: auto; margin: 0; }

@media (max-width: 1000px) {
  .mh-hero-grid, .mh-story-grid, .mh-archive, .mh-mkt-grid, .mh-flow .pg-wrap { grid-template-columns: 1fr; }
  .mh-brief ul { grid-template-columns: 1fr 1fr; }
  .mh-grid { grid-template-columns: 1fr 1fr; }
  .mh-crew { grid-template-columns: repeat(3, 1fr); }
  .mh-flow-shot { position: static; }
  .mh-mkt-pic { max-width: 220px; }
}
@media (max-width: 640px) {
  .mh section { padding: 80px 0; }
  .mh-hero { padding: 110px 0 60px !important; }
  .mh-brief-card { padding: 28px 22px; }
  .mh-brief ul, .mh-who, .mh-grid, .mh-steps { grid-template-columns: 1fr; }
  .mh-steps { gap: 40px; }
  .mh-crew { grid-template-columns: 1fr 1fr; }
  .mh-bubbles { gap: 16px 18px; justify-content: center; }
  .mh-bubbles img { width: 78px; height: 78px; }
  .mh-float { width: 64px; height: 64px; } .mh-float.f1 { left: -10px; }
  .mh-shots { padding: 0 30px 30px 0; }
}
@media (prefers-reduced-motion: reduce) { .mh-float { animation: none; } }
