/* ===== Media Agency Page (media-agency-specific bits) ===== */

/* ── Hero — full viewport height ── */
.ma-page .ab-hero {
    min-height: calc(80vh - 6rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding-top: 4rem;
}

@media (max-width: 600px) {
    .ma-page .ab-hero {
        min-height: calc(80vh - 5rem);
    }
}

.ma-page .ab-header { max-width: 1180px; }
.ma-page .ab-why-head { max-width: 980px; }
.ma-page .ab-why-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.ma-page .ab-title { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.ma-page .ab-sub { max-width: 780px; }

/* ── The Problem (split layout) ── */
.ma-problem {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #ffffff;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.ma-problem-inner {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.ma-problem-head {
    position: sticky;
    top: 100px;
}

.ma-problem-eyebrow {
    display: inline-block;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 5px 14px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.ma-problem-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
    max-width: 420px;
}

.ma-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ma-pstat {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.ma-pstat:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(15,23,42,0.06);
}

.ma-pstat-num {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.8rem, 2.6vw, 2.2rem);
    font-weight: 800;
    color: #00A896;
    letter-spacing: -0.02em;
    line-height: 1;
}

.ma-pstat-label {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.55;
}

@media (max-width: 860px) {
    .ma-problem { padding: 4rem 1.5rem; }
    .ma-problem-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .ma-problem-head { position: static; }
    .ma-problem-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 520px) {
    .ma-problem-grid { grid-template-columns: 1fr; }
}

/* ── Why your agency needs Echo ── */
.ma-need {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #ffffff;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.ma-need-inner {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ma-need-visual {
    position: relative;
    height: 460px;
}

.ma-need-img {
    position: absolute;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15,23,42,0.12);
    background: #fff;
}

.ma-need-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ma-need-img--a {
    top: 0;
    left: 0;
    width: 62%;
    height: 62%;
}

.ma-need-img--b {
    bottom: 0;
    right: 0;
    width: 48%;
    height: 58%;
}

.ma-need-dots {
    position: absolute;
    top: 38%;
    left: 38%;
    width: 28%;
    height: 30%;
    pointer-events: none;
    z-index: 1;
}

.ma-need-content { max-width: 520px; }

.ma-need-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.ma-need-text {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1.6rem;
}

.ma-need-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    border-bottom: 2px solid #00A896;
    padding-bottom: 2px;
    transition: color 0.2s;
}
.ma-need-link:hover { color: #00A896; }

@media (max-width: 860px) {
    .ma-need { padding: 4rem 1.5rem; }
    .ma-need-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .ma-need-visual { height: 380px; }
}

/* ── How it works (4 columns) ── */
.ma-steps {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #ffffff;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.ma-steps-inner {
    width: 100%;
    max-width: 1200px;
}

.ma-steps-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.ma-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    padding-top: 2.5rem;
}

.ma-step {
    position: relative;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 56px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    transition: transform 0.25s, box-shadow 0.25s;
}

.ma-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15,23,42,0.06);
}

.ma-step-num {
    position: absolute;
    top: -2.6rem;
    left: 18px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(3.5rem, 6vw, 5.2rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #00A896;
}

.ma-step-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.ma-step-text {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.65;
}

@media (max-width: 860px) {
    .ma-steps { padding: 4rem 1.5rem; }
    .ma-steps-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}
@media (max-width: 480px) {
    .ma-steps-grid { grid-template-columns: 1fr; }
}

/* ── White-label split ── */
.ma-whitelabel {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #f8fafc;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.ma-whitelabel-inner {
    width: 100%;
    max-width: 1200px;
}

.ma-whitelabel-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.ma-whitelabel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.ma-wl-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 36px 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.ma-wl-card:hover {
    border-color: rgba(0,168,150,0.35);
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(15,23,42,0.06);
}

.ma-wl-card--client {
    background: linear-gradient(160deg, #062a26 0%, #0f3933 55%, #0a2521 100%);
    border-color: rgba(0,168,150,0.25);
    color: #ffffff;
}

.ma-wl-tag {
    display: inline-flex;
    align-self: flex-start;
    background: rgba(0,168,150,0.1);
    color: #00A896;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0,168,150,0.25);
}

.ma-wl-tag--dark {
    background: rgba(0,191,172,0.12);
    color: #5eead4;
    border-color: rgba(0,191,172,0.3);
}

.ma-wl-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #0f172a;
}

.ma-wl-card--client .ma-wl-title { color: #ffffff; }

.ma-wl-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.ma-wl-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.55;
    font-weight: 500;
}

.ma-wl-card--client .ma-wl-list li { color: rgba(255,255,255,0.88); }

.ma-wl-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #00A896;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.ma-wl-check svg { width: 12px; height: 12px; }

.ma-wl-card--client .ma-wl-check { background: #5eead4; color: #062a26; }

@media (max-width: 860px) {
    .ma-whitelabel { padding: 4rem 1.5rem; }
    .ma-whitelabel-grid { grid-template-columns: 1fr; gap: 16px; }
    .ma-wl-card { padding: 28px 26px 24px; }
}

/* ── Revenue math ── */
.ma-revmath {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #ffffff;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.ma-revmath-inner {
    width: 100%;
    max-width: 1100px;
}

.ma-revmath-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.ma-revmath-card {
    background: linear-gradient(160deg, #f0fdf9 0%, #ffffff 60%, #f0fdf9 100%);
    border: 1px solid rgba(0,168,150,0.25);
    border-radius: 24px;
    padding: 40px 44px 36px;
    box-shadow: 0 18px 50px rgba(0,168,150,0.08);
}

.ma-revmath-row {
    display: grid;
    grid-template-columns: 1fr 24px 1fr 24px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
}

.ma-revmath-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ma-revmath-item--charge { border-color: rgba(15,23,42,0.18); }
.ma-revmath-item--cost   { border-color: #fde0cf; background: #fff7f1; }
.ma-revmath-item--keep   { border-color: rgba(0,168,150,0.5); background: linear-gradient(160deg, rgba(0,168,150,0.08) 0%, #ffffff 100%); }

.ma-revmath-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ma-revmath-value {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ma-revmath-item--keep .ma-revmath-value { color: #00A896; }

.ma-revmath-unit {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    margin-left: 2px;
}

.ma-revmath-op {
    font-size: 1.4rem;
    font-weight: 700;
    color: #cbd5e1;
    text-align: center;
}

.ma-revmath-totals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid rgba(0,168,150,0.18);
}

.ma-revmath-total {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ma-revmath-total-num {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #00A896;
    letter-spacing: -0.03em;
    line-height: 1;
}

.ma-revmath-total-label {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}

.ma-revmath-foot {
    margin-top: 28px;
    text-align: center;
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.ma-revmath-foot strong { color: #00A896; font-weight: 800; }

@media (max-width: 860px) {
    .ma-revmath { padding: 4rem 1.5rem; }
    .ma-revmath-card { padding: 28px 22px 24px; border-radius: 20px; }
    .ma-revmath-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .ma-revmath-op { transform: rotate(90deg); padding: 4px 0; }
    .ma-revmath-totals { grid-template-columns: 1fr; gap: 18px; }
}

/* ── Pricing ── */
.ma-pricing {
    position: relative;
    z-index: 2;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    background: #f1f5f9;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.ma-pricing-inner {
    width: 100%;
    max-width: 1180px;
    position: relative;
}

.ma-pricing-call {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.95rem;
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.ma-pricing-call:hover { color: #00A896; }
.ma-pricing-call strong { color: #0f172a; font-weight: 700; }

.ma-pricing-head {
    margin-bottom: 3rem;
    max-width: 920px;
}

.ma-pricing-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 1.6rem;
}

.ma-pricing-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: -0.02em;
    line-height: 1.2;
    display: inline;
}

.ma-pricing-title strong,
.ma-pricing-title .ma-pricing-toggle-label,
.ma-pricing-title .ma-pricing-toggle {
    color: #0f172a;
}

.ma-pricing-toggle-label {
    font-weight: 700;
    color: #0f172a;
}

.ma-pricing-chips {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
    margin: 0 8px;
}

.ma-pchip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.06);
    font-weight: 800;
    font-size: 1.1rem;
    transform: rotate(-4deg);
}
.ma-pchip:nth-child(2) { transform: rotate(2deg); }
.ma-pchip:nth-child(3) { transform: rotate(-2deg); }

.ma-pricing-toggle {
    display: inline-flex;
    align-items: center;
    width: 72px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(90deg, #a78bfa 0%, #ec4899 100%);
    padding: 4px;
    margin: 0 6px;
    vertical-align: middle;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(167,139,250,0.35);
    transition: background 0.25s;
}

.ma-pricing-toggle-knob {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15,23,42,0.2);
    transition: transform 0.25s;
}

.ma-pricing-toggle.is-on .ma-pricing-toggle-knob {
    transform: translateX(36px);
}

.ma-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.ma-plan {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 28px 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.ma-plan:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(15,23,42,0.06); }

.ma-plan--featured {
    border-color: rgba(0,168,150,0.4);
    box-shadow: 0 18px 50px rgba(0,168,150,0.1);
}

.ma-plan-badge {
    position: absolute;
    top: -10px;
    right: 22px;
    background: #00A896;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.ma-plan-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
}

.ma-plan-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
.ma-plan-icon svg { width: 22px; height: 22px; }
.ma-plan-icon--dark { background: #0f172a; }
.ma-plan-icon--accent { background: linear-gradient(160deg, #00A896 0%, #047857 100%); }

.ma-plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.ma-plan-price {
    text-align: right;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.ma-plan-currency {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
    vertical-align: top;
    margin-right: 1px;
}

.ma-plan-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.ma-plan-period { font-size: 0.85rem; color: #94a3b8; font-weight: 600; }

.ma-plan-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
}

.ma-plan-cta:hover { background: #e2e8f0; }
.ma-plan-cta strong { font-weight: 700; }

.ma-plan-cta--primary {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}
.ma-plan-cta--primary:hover { background: #1f2937; }

.ma-plan-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ma-plan-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #334155;
    font-weight: 500;
}

.ma-plan-list li svg {
    width: 16px;
    height: 16px;
    color: #00A896;
    flex-shrink: 0;
}

@media (max-width: 860px) {
    .ma-pricing { padding: 4rem 1.5rem; }
    .ma-pricing-call { position: static; margin-bottom: 1rem; display: inline-flex; }
    .ma-pricing-grid { grid-template-columns: 1fr; }
    .ma-pchip { width: 38px; height: 38px; font-size: 0.95rem; }
    .ma-pricing-toggle { width: 60px; height: 30px; }
    .ma-pricing-toggle-knob { width: 22px; height: 22px; }
    .ma-pricing-toggle.is-on .ma-pricing-toggle-knob { transform: translateX(30px); }
}
