/*
 Theme Name:   MAD - GeneratePress
 Theme URI:    https://generatepress.com
 Description:  Client version on GeneratePrees
 Author:       MP
 Template:     generatepress
 Version:      0.4
 Text Domain:  mad
*/


:root {
    --contrast: #222222;
    --contrast-2: #575760;
    --contrast-3: #b2b2be;
    --base: #f0f0f0;
    --base-2: #f7f8f9;
    --base-3: #ffffff;

    --mp-purple: #906aaa;
    --mp-purple-dark: #6b3d8b;
    --mp-purple-soft: #f4eef8;
    --mp-ink: #43294b;
    --mp-muted: #716476;
    --mp-cream: #fcf9fc;
    --mp-white: #ffffff;
    --mp-line: #e6dce8;
    --accent: #a647a4;
    --accent-2: #863784;
    /* --base: #3d3544; */
    /* --contrast: #222222; */

    --ink: #43294b;
    --muted: #716476;
    --paper: #fcf9fc;
    --rose: #f0daed;
    --lilac: #e9e0f4;
    --line: #e6dce8;
    --brand: #a647a4;
    --brand-hover: #863784;
    --heading: 'Fraunces', Georgia, serif;
    --body: 'DM Sans', Arial, sans-serif;

}

/*******************************************  GENERAL ******************************************* /
/* vc_hidden-lg vc_hidden-md vc_hidden-sm vc_hidden-xs */

/*ocultar copy predet.*/
/* footer.site-info {
    dispclay: none;
} */

#sticky-navigation.navigation-stick {
    padding: 10px 0;
}

.blog .site-content, .search .site-content {
    display: flex;
    flex-wrap: wrap;
}

.entry-summary {
    margin-top: 1em !important;
}

.grecaptcha-badge {
    display: none !important;
}
.color-blanco, .color-blanco * {
  color: #fff;
}
.color-accent{
    color:var(--accent);
}
.color-base{
    background: var(--base);
}
.txt-12{
	font-size: 12px;
}
.mg-bot-0{
	margin-bottom: 0 !important;
}
.mg-bot-5{
	margin-bottom: 5px !important;
}
.mg-bot-15{
	margin-bottom: 15px !important;
}
.btn-center p {
    text-align: center;
}
.btn-main a {
    padding: 12px 32px;
    display: block;
    width: fit-content;
    border-radius: 50px;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 16px;
    transition: background-color 0.5s ease, color 0.5s ease;
	text-decoration: none;
}
.btn-main a:hover {
    cursor: pointer;
}
.btn-accent a,
.btn-accent a:active,
.btn-accent a:focus{
    background: var(--accent);
    color: #fff;
	text-decoration: none;
}
.btn-accent a:hover{
    color: var(--accent-2);
}
section.vc_section {
    /* padding-top: 50px; */
    padding-bottom: 50px;
}
section.section-top-0{
	padding-top: 0;
}
section.section-bot-0{
	padding-bottom: 0;
}

/*******************************************  BUTTONS *******************************************/
.mp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mp-btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mp-btn:hover {
    transform: translateY(-1px);
}

.mp-btn-primary {
    background: var(--accent);
    color: var(--mp-white) !important;
}

.mp-btn-primary:hover {
    background: var(--accent-2);
}

.mp-btn-light {
    background: var(--mp-white);
    color: var(--mp-ink) !important;
    border: 1px solid var(--line);
}

.mp-btn-ghost {
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.mp-btn-lilac {
    background: var(--lilac);
    color: var(--accent-2) !important;
    border: 1px solid var(--line);
}

.mp-btn-lilac:hover {
    background: var(--accent-2);
    color: var(--mp-white) !important;
}

.mp-phones {
    margin-top: 22px;
    font-size: 15px;
    opacity: 0.9;
}

.mp-phones a {
    color: #fff !important;
    text-decoration: underline;
}


/*******************************************  HEADER *******************************************/
.site-header {
    border-bottom: 1px solid var(--line);
}

.inside-header {
    padding-top: 12px;
    padding-bottom: 12px;
    position: relative;
}

.nav-float-right .header-widget {
    margin-left: 20px;
    position: absolute;
    right: 40px;
    top: 0;
}

.site-header .header-image {
    max-height: unset !important;
}

.navigation-branding img, .site-logo.mobile-header-logo img {
    padding: 0 !important;
}

nav#secondary-navigation {
    padding-top: 10px;
    padding-bottom: 10px;
}
.secondary-nav-below-header .secondary-navigation .inside-navigation.grid-container, .secondary-nav-above-header .secondary-navigation .inside-navigation.grid-container {
    padding: 0 40px !important;
}

/*******************************************  WPML *******************************************/

/*ocultar aviso dev WPML*/
.otgs-development-site-front-end {
    display: none !important;
}


/* Selector a la barra del menú, després de la lupa */
.mp-langs-item {
    display: flex;
    align-items: center;
    padding-left: 28px !important;
}

.mp-langs {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
}

.mp-langs a {
    color: var(--mp-purple-dark) !important;
    text-decoration: none !important;
    opacity: 0.55 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.mp-langs a.is-active {
    opacity: 1 !important;
}

.mp-langs-sep {
    margin: 0 6px;
    opacity: 0.35 !important;
}

/* Evitar el selector de WPML duplicado; usamos .mp-langs */
#mobile-header .mp-langs-item,
.header-widget, .wpml-ls,
.menu-item-language {
    display: none !important;
}
/*******************************************  NAV *******************************************/
.main-navigation .menu-bar-item>a {
    padding-right: 0 !important;
}
/*******************************************  HOME *******************************************/
/* Hero de portada */
.mp-hero {
    padding-top: 65px;
    padding-bottom: 65px;
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    gap: 64px;
    align-items: center;
}

.mp-hero:before, .mp-hero:after {
    display: none!important;
}

.mp-kicker {
    
    color: var(--mp-purple);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}

.mp-hero h1 {
    font-size: clamp(48px, 5.8vw, 80px);
    line-height: 1;
    margin: 0 0 30px;
    font-weight: 600;
}

.mp-hero .mp-lead {
    font-size: 18px;
    line-height: 1.6;
    max-width: 640px;
    opacity: 0.95;
    margin-bottom: 28px;
}

.mp-hero-note {
    font-size: 16px;
    font-weight: 300;
    color: var(--mp-muted);
    margin-top: 28px;
}

.hero-media {
    position: relative;
    padding: 0 0 35px 12px;
}

.hero-media .vc_single_image-wrapper {
    height: 540px;
    object-fit: cover;
    object-position: 48% 50%;
    border-radius: 180px 180px 28px 28px;
    overflow: hidden;
}

.photo-note {
    position: absolute;
    bottom: 0;
    left: -20px;
    padding: 22px 27px;
    background: var(--rose);
    border-radius: 20px;
    box-shadow: 0 7px 22px #203f370a;
    transform: rotate(-3deg);
    width: 272px;
}

.photo-note strong {
    font-family: var(--heading);
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2;
    display: block;
}

.photo-note span {
    font-size: 14px;
    display: block;
    margin-top: 8px;
}

.contact-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
}

.strip-inner {    
    width: min(1300px, calc(100% - 64px));
    margin-bottom: 0 !important;
}    

.strip-inner .wpb_wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.strip-inner p {      
    margin-bottom: 0 !important;
}

.numbers {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.numbers a {
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    /* border-bottom: 1px solid var(--line); */
}

.numbers a:before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('../img/wa_p.png') no-repeat center center;
    background-size: contain;
    margin-right: 10px;
}

.numbers a:hover:before {
    background-image: url('../img/wa_pd.png');
}



/* Secciones */
.mp-section {
    padding: 80px 0;
}

.mp-section-soft {
    background: var(--lilac);
}

.mp-eyebrow {
    color: var(--mp-purple);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 22px;
}

.mp-section h2 {
    font-size: clamp(28px, 3vw, 54px);
    max-width: 640px;
    font-weight: 600;
    margin: 0 0 20px;
    color: var(--mp-ink);
}

.mp-intro {
    max-width: 720px;
    color: var(--mp-muted);
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 28px;
}

/* Tarjetas de servicios */
.mp-cards:before, .mp-cards:after {
    display: none!important;
}

@media (min-width: 769px) {
    .mp-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 44px 24px;
    }
}


.mp-cards div {
    height: 100%
}

.mp-cards p:last-child {
    padding: 28px 24px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}

.mp-card {
    background: var(--mp-white);
    border: 1px solid var(--mp-line);
    border-radius: 18px;
    padding: 28px 24px 44px;
    height: 100%;
    box-shadow: 0 8px 24px rgba(107, 61, 139, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
}

.mp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(107, 61, 139, 0.1);
}

.mp-card h3 {
    margin: 0 0 10px;
    font-size: 29px;
    font-weight: 500;
    color: var(--accent-2);
}

.mp-card p {
    color: var(--mp-muted);
    margin-bottom: 16px;
}

.mp-card a {
    color: var(--mp-ink) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 24px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
}

.mp-card a:hover {
    text-decoration: underline;
}

.arrow {
    font-size: 23px;
    font-family: Arial, sans-serif;
}

.mp-card.card-line {
    background: var(--mp-line);
}

.mp-card.card-rose {
    background: var(--rose);
}

.mp-card.card-lilac {
    background: var(--lilac);
}

.mp-card .no {
    font-size: 14px;
    letter-spacing: .1em;
    margin-bottom: 30px;
}


/*******************************************  EQUIP *******************************************/

.mp-team-grid:before, .mp-team-grid:after {
    display: none!important;
}

.mp-team-grid {
    background: var(--lilac);
    padding: 80px 0;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 64px;
    align-items: center;
}

.values {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #ddd0e1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.values span.value {
    font-size: 14px;
    border: 1px solid #ddd0e1;
    border-radius: 999px;
    padding: 6px 13px;
}

.profiles:before, .profiles:after {
    display: none!important;
}


.profiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.profiles>div:nth-child(2) {
    padding-top: 58px;
}

.profile img {
    width: 100%;
    height: 315px;
    object-fit: cover;
    border-radius: 120px 120px 18px 18px;
    background: #e9deeb;
}

.mp-role {
    color: var(--mp-muted);
    font-size: 16px;
    margin-top: 9px;
}

.steps:before, .steps:after {
    display: none!important;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    margin-top: 50px;
}

.step {
    border-top: 1px solid var(--line);;
    padding-top: 22px;
}

.order-num {
    font-family: var(--heading);
    font-size: 34px;
    color: #a177aa;
}

.step p {
    font-size: 16px;
    margin-top: 14px;
    color: var(--mp-muted);
}

#contacte.mp-section {
    padding: 65px 65px 40px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 32px;
    margin-bottom: 90px;
}

#contacte.mp-section h2 {
    color: var(--mp-white);
}

#contacte.mp-section .mp-eyebrow {
    color: var(--rose);
}

#contacte.mp-section p {
    color: var(--lilac);
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 28px;
}

#contacte .numbers {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

#contacte .numbers a {
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    /* border-bottom: 1px solid var(--line); */
}
#contacte .numbers a:before {
    width: 16px;
    height: 16px;
    background-image: url('../img/tel_c.png');
}

#contacte .numbers a:hover:before {
    background-image: url('../img/tel_w.png');
}

.wpforms-confirmation-container-full p {
	color: var(--contrast) !important;
	margin-bottom: 0 !important;
}


/*******************************************  CONTACT *******************************************/
/* FORMULARIOS WP FORMS */
#wpforms-27 {
    margin-top: 0px !important;
}

#wpforms-27 ::placeholder, #wpforms-27 ::-webkit-input-placeholder, #wpforms-27 label {
    color: var(--lilac);
}

#wpforms-27 label a {
    color: var(--lilac);
    text-decoration: underline;
}

#wpforms-27 textarea {
    height: 110px;
}

#wpforms-27 .wpforms-field-description {
    color: var(--lilac);
    opacity: 0.55;
    font-weight: 300;
}

#wpforms-27 .wpforms-submit-container {
    text-align: right;
}

input[type=text],
input[type=range],
input[type=email],
input[type=url],
input[type=tel],
input[type=number],
input[type=password],
input[type=file],
textarea{
    background: #80548d98 !important;
    border-left: unset !important;
    border-right: unset !important;
    border-top: unset !important;
    color: var(--paper) !important;
    border-radius: 10px !important;
}

input[type=text]:focus,
input[type=range]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=tel]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=file]:focus,
textarea:focus{
    border-left: unset !important;
    border-right: unset !important;
    border-top: unset !important;
	box-shadow: none !important;
	border-color: var(--accent-2-b) !important;
	border-radius: 0 !important;
}
.wpforms-container .wpforms-form .wpforms-field-label {
    text-transform: uppercase;
	font-weight: 400;
}
.wpforms-error{
	border-radius: 0 !important;
    color: yellow !important;
}
.wpforms-error:before {
    color: yellow !important;
    background: yellow !important;
}

input.wpforms-error:hover{
	border-left: unset !important;
    border-right: unset !important;
    border-top: unset !important;
	box-shadow: none !important;
}
button[type=submit]{
	background: var(--accent) !important;
    padding: 25px 30px !important;
    border-radius: 10px !important;
    text-transform: uppercase;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: 1px;
    line-height: 0 !important;
}
div.wpforms-container-full button[type=submit]:hover{
	background: var(--accent) !important;
	color: var(--base-a);
}

/******************************************* FOOTER *******************************************/
.site-footer{
    background: var(--base);
}

.footer-widgets-container {
    border-bottom: 1px solid var(--line);
}

.footer-widgets p {
    margin-bottom: 15px;
}

.footer-widgets .footer-widget-1 {
    flex: 2 1 0;
}

.footer-widgets .footer-widget-1 .widget_media_image {
    margin-bottom: 15px;
}

.footer-widgets .footer-widget-1 .widget_media_image img {
    width: 220px;
}

#mad-footer{
    max-width: 1360px;
    padding: 40px;
    margin-left: auto;
    margin-right: auto;

}
#mad-copyright {
    max-width: 1360px;
    padding-left: 40px;
    padding-right: 40px;
	padding-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/******************************************* CERCA *******************************************/
.mp-page-hero {
    min-width: 100% !important;
    padding: 48px 0 0px;
}

.mp-search-wrap {
    position: absolute;
    right: 120px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
}

.mp-search {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--mp-white);
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    padding: 2px 4px 2px 14px;
}

.mp-search input[type="search"] {
    border: 0 !important;
    background: transparent !important;
    width: 130px;
    padding: 8px 4px !important;
    margin: 0 !important;
    font-size: 14px;
    color: var(--ink) !important;
}

.mp-search button {
    border: 0;
    background: var(--accent);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 991px) {
    .mp-search-wrap {
        position: static;
        transform: none;
        margin: 8px 20px 0;
    }

    .mp-search {
        width: 100%;
    }

    .mp-search input[type="search"] {
        width: 100%;
        flex: 1;
    }
}

/******************************************* BOTONS FLOTANTS *******************************************/
.mp-float-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    padding: 0 20px;
    pointer-events: none;
}

.mp-float-bar .mp-float {
    pointer-events: auto;
}

.mp-float {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    font-weight: 600;
    box-shadow: 0 10px 28px rgba(107, 61, 139, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(107, 61, 139, 0.28);
}

.mp-float-cita {
    background: var(--accent);
    color: #fff !important;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 15px;
}

.mp-float-ig {
    background: #fff;
    color: var(--accent-2) !important;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
}

/******************************************* QUÈ OFERIM UNIFICAT *******************************************/
.mp-serveis-hero {
    padding: 48px 0 24px;
}

.mp-serveis-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 40px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 30px;
    background: var(--paper);
    z-index: 3;
}

.mp-serveis-nav a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink) !important;
    background: #fff;
}

.mp-serveis-nav a:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
}

.mp-servei-block {
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 90px;
}

.mp-servei-block-inner {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) 1.1fr;
    gap: 40px;
    align-items: start;
}

.mp-servei-block--alt .mp-servei-block-inner {
    direction: rtl;
}

.mp-servei-block--alt .mp-servei-block-inner > * {
    direction: ltr;
}

.mp-servei-block .no {
    display: block;
    font-size: 14px;
    letter-spacing: .1em;
    margin-bottom: 16px;
    color: var(--mp-muted);
}

.mp-servei-block h2 {
    font-size: clamp(28px, 3vw, 40px);
    margin: 0 0 12px;
    color: var(--accent-2);
}

.mp-servei-teaser {
    font-size: 18px;
    line-height: 1.6;
    color: var(--mp-muted);
    margin: 0;
}

.mp-servei-block--card-line {
    background: var(--mp-line);
    margin-left: -40px;
    margin-right: -40px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 24px;
}

.mp-servei-block--card-rose {
    background: var(--rose);
    margin-left: -40px;
    margin-right: -40px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 24px;
}

.mp-servei-block--card-lilac {
    background: var(--lilac);
    margin-left: -40px;
    margin-right: -40px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 24px;
}

.mp-servei-cta {
    margin-top: 24px;
}

.mp-centres {
    padding-left: 1.2em;
}

.mp-centres a {
    font-weight: 600;
}

.mp-serveis-footer-cta {
    padding-top: 40px;
    padding-bottom: 80px;
}

.mp-phones-inline a {
    color: var(--accent-2) !important;
    font-weight: 600;
    text-decoration: none !important;
}

@media (max-width: 767px) {
    .mp-servei-block-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mp-servei-block--alt .mp-servei-block-inner {
        direction: ltr;
    }

    .mp-servei-block--card-line,
    .mp-servei-block--card-rose,
    .mp-servei-block--card-lilac {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .mp-float-bar {
        bottom: 12px;
        padding: 0 12px;
    }

    .mp-float-cita {
        padding: 12px 18px;
        font-size: 14px;
    }

    .mp-float-ig {
        width: 44px;
        height: 44px;
    }
}

/******************************************* BLOG GRID *******************************************/
.mp-blog-hero {
    min-width: 100%;
    padding: 48px 40px 24px;
    margin-bottom: 40px;
}

/* Índex per categories (estil breastfeeding.support/articles) */
.mp-blog-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
}

.mp-blog-cat {
    background: var(--mp-white);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(107, 61, 139, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mp-blog-cat:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(107, 61, 139, 0.1);
}

.mp-blog-cat-visual {
    position: relative;
    display: block;
    text-decoration: none !important;
    color: #fff !important;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.mp-blog-cat-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mp-blog-cat-visual:hover img {
    transform: scale(1.04);
}

.mp-blog-cat-visual-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(180deg, rgba(67, 41, 75, 0.05) 0%, rgba(67, 41, 75, 0.82) 100%);
}

.mp-blog-cat-visual-text h2 {
    margin: 0 0 6px;
    font-size: clamp(22px, 2.5vw, 28px);
    color: #fff;
    font-weight: 600;
}

.mp-blog-cat-visual-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.92;
    color: #f4eef8;
}

.mp-blog-cat-posts {
    list-style: none;
    margin: 0;
    padding: 20px 24px 8px;
    flex: 1;
}

.mp-blog-cat-posts li {
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
}

.mp-blog-cat-posts li:last-child {
    border-bottom: 0;
}

.mp-blog-cat-posts a {
    color: var(--ink) !important;
    text-decoration: none !important;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
}

.mp-blog-cat-posts a:hover {
    color: var(--accent) !important;
    text-decoration: underline !important;
}

.mp-blog-cat-all {
    display: block;
    padding: 0 24px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent) !important;
    text-decoration: none !important;
}

.mp-blog-cat-all:hover {
    text-decoration: underline !important;
}

/* Pàgina d’arxiu de categoria */
.archive.category .site-content {
    padding-top: 0;
    padding-bottom: 0;
}

.mp-blog-cat-page {
    width: 100%;
}

.mp-blog-cat-banner {
    position: relative;
    min-height: 280px;
    max-height: 420px;
    overflow: hidden;
    margin-bottom: 48px;
}

.mp-blog-cat-banner-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.mp-blog-cat-banner-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    background: linear-gradient(180deg, rgba(67, 41, 75, 0.08) 0%, rgba(67, 41, 75, 0.88) 100%);
    color: #fff;
}

.mp-blog-cat-banner-text .mp-eyebrow {
    color: var(--rose);
    margin-bottom: 12px;
}

.mp-blog-cat-banner-text h1 {
    color: #fff;
    margin: 0 0 10px;
    font-size: clamp(32px, 4vw, 52px);
    max-width: 720px;
}

.mp-blog-cat-banner-text .mp-intro {
    color: #f4eef8;
    max-width: 640px;
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.6;
}

.mp-blog-cat-banner-text .mp-btn-light {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.95);
}

.mp-blog-archive-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.mp-blog-archive-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mp-blog-archive-item {
    margin: 0;
    border-bottom: 1px solid var(--line);
}

.mp-blog-archive-item:first-child {
    border-top: 1px solid var(--line);
}

.mp-blog-archive-link {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 28px;
    align-items: start;
    padding: 28px 8px;
    text-decoration: none !important;
    color: inherit !important;
    transition: background 0.2s ease;
}

.mp-blog-archive-link:hover {
    background: rgba(244, 238, 248, 0.55);
}

.mp-blog-archive-link time {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.4;
    padding-top: 4px;
}

.mp-blog-archive-body h2 {
    margin: 0 0 10px;
    font-size: clamp(22px, 2.4vw, 28px) !important;
    line-height: 1.25;
    color: var(--accent-2);
    max-width: none;
}

.mp-blog-archive-body p {
    margin: 0 0 12px;
    color: var(--mp-muted);
    font-size: 16px;
    line-height: 1.65;
}

.mp-blog-archive-body .mp-blog-more {
    font-size: 14px;
}

.mp-blog-empty {
    color: var(--mp-muted);
    text-align: center;
    padding: 40px 0;
}

@media (max-width: 991px) {
    .mp-blog-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .mp-blog-cat-banner-text {
        padding: 24px 20px;
    }

    .mp-blog-archive-wrap {
        padding: 0 20px 60px;
    }

    .mp-blog-archive-link {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 22px 4px;
    }
}

.mp-blog-grid-wrap {
    min-width: 100%;
    padding: 0 40px 80px;
}

.mp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mp-blog-card {
    margin: 0;
}

.mp-blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mp-blog-card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(107, 61, 139, 0.1);
}

.mp-blog-card time {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mp-blog-card h2 {
    font-size: 22px;
    margin: 10px 0 12px;
    color: var(--accent-2);
    line-height: 1.25;
}

.mp-blog-card p {
    color: var(--mp-muted);
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
    margin: 0 0 16px;
}

.mp-blog-more {
    font-weight: 600;
    color: var(--accent) !important;
    font-size: 14px;
}

.mp-search-type {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    font-weight: 600;
}

.mp-blog-pagination {
    margin-top: 40px;
}

.mp-blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mp-blog-pagination a,
.mp-blog-pagination span {
    padding: 8px 14px !important;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    min-width: 42px;
    text-align: center;
}

@media (max-width: 991px) {
    .mp-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .mp-blog-grid {
        grid-template-columns: 1fr;
    }

    .mp-blog-grid-wrap,
    .mp-blog-hero {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/******************************************* PÀGINES INTERIORS (Qui som / Què oferim) *******************************************/
.mp-page-top .mp-lead {
    margin-bottom: 18px;
}

.mp-page-top .mp-actions {
    margin-top: 28px;
}

.mp-page-top .values {
    margin-top: 32px;
}

.mp-page-top .profiles {
    align-items: start;
}

/* Graella de 3 tarjetas (sin enlace inferior) */
.mp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.mp-grid-3 .mp-card {
    padding-bottom: 32px;
}

.mp-grid-3 .mp-card .no {
    display: block;
    font-family: var(--heading);
    font-size: 30px;
    letter-spacing: 0;
    color: #a177aa;
    margin-bottom: 18px;
}

.mp-grid-3 .mp-card p {
    margin-bottom: 0;
}

/* Banda lila a ancho completo (como el equipo de la home) */
.mp-band {
    background: var(--lilac);
}

.mp-band:before, .mp-band:after {
    display: none !important;
}

/* Equip */
.mp-members {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 44px;
}

.mp-member,
.mp-collab {
    background: var(--mp-white);
    border: 1px solid var(--mp-line);
    border-radius: 18px;
    padding: 24px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 28px;
    align-items: start;
    box-shadow: 0 8px 24px rgba(107, 61, 139, 0.04);
}

.mp-member img,
.mp-collab img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 100px 100px 18px 18px;
    background: #e9deeb;
}

.mp-member h3,
.mp-collab h3 {
    margin: 6px 0 0;
    font-size: 29px;
    font-weight: 500;
    color: var(--accent-2);
    line-height: 1.15;
}

.mp-member-body .mp-role {
    margin: 8px 0 16px;
}

.mp-member-body p {
    color: var(--mp-muted);
    margin-bottom: 18px;
}

.mp-member .numbers a {
    font-size: 20px;
}

.mp-collab {
    grid-template-columns: 260px 1fr;
    gap: 40px;
    padding: 32px;
    margin-top: 44px;
    align-items: center;
}

.mp-collab.card-rose {
    background: var(--rose);
}

.mp-collab img {
    height: 300px;
    border-radius: 130px 130px 18px 18px;
}

.mp-collab .no {
    display: block;
    font-size: 14px;
    letter-spacing: .1em;
    color: var(--mp-muted);
}

.mp-collab .mp-actions {
    align-items: center;
}

.mp-phone-text {
    font-weight: 600;
    color: var(--mp-ink);
}

/* Què oferim: índex lateral + fitxes editorials */
.mp-srv-intro {
    margin-bottom: 32px;
}

.mp-srv-intro .mp-intro {
    margin-bottom: 0;
}

.mp-srv-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 72px;
    align-items: start;
}

.mp-srv-layout > * {
    min-width: 0;
}

.mp-srv-index {
    padding-top: 64px;
    position: sticky;
    top: 32px;
}

.mp-srv-index nav {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--line);
}

.mp-srv-index nav a {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0 10px 20px;
    margin-left: -1px;
    border-left: 2px solid transparent;
    color: var(--mp-muted) !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.mp-srv-index nav a span {
    font-family: var(--heading);
    font-size: 15px;
    color: #a177aa;
    min-width: 22px;
}

.mp-srv-index nav a:hover,
.mp-srv-index nav a.is-active {
    color: var(--accent-2) !important;
    border-left-color: var(--accent);
}

.mp-srv-index nav a.is-active {
    font-weight: 600;
}

.mp-srv-index nav .mp-srv-index-packs {
    margin-top: 10px;
    color: var(--mp-ink) !important;
    font-weight: 600;
}

.mp-srv-index-help {
    margin-top: 32px;
    padding: 22px;
    background: var(--rose);
    border-radius: 18px;
}

.mp-srv-index-help strong {
    display: block;
    font-family: var(--heading);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.mp-srv-index-help .numbers {
    flex-direction: column;
    gap: 8px;
}

.mp-srv-index-help .numbers a {
    font-size: 18px;
}

.mp-srv {    
    padding-top: 64px;
    padding-bottom: 64px;
    scroll-margin-top: 40px;
}

.mp-srv + .mp-srv {
    border-top: 1px solid var(--line);
}

.mp-srv:last-child {
    padding-bottom: 0;
}

.mp-srv-head {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 32px;
}

.mp-srv-num {
    font-family: var(--heading);
    font-size: clamp(56px, 6vw, 88px);
    font-weight: 400;
    line-height: 0.85;
    color: #a177aa;
}

.mp-srv-title .no {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--mp-muted);
    margin: 4px 0 10px;
}

.mp-srv-title h3 {
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
    color: var(--accent-2);
}

.mp-srv-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 48px;
    align-items: start;
}

.mp-srv-body .mp-srv-lead {
    font-family: var(--heading);
    font-size: 23px;
    line-height: 1.4;
    color: var(--mp-ink) !important;
    margin-bottom: 22px;
}

.mp-srv-body p {
    color: var(--mp-ink);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.mp-srv-body h4 {
    font-size: 20px;
    font-weight: 500;
    color: var(--mp-ink);
    margin: 28px 0 8px;
}

.mp-srv-body > *:last-child {
    margin-bottom: 0;
}

.mp-srv-aside {
    background: var(--mp-white);
    border: 1px solid var(--mp-line);
    border-radius: 24px;
    padding: 30px 28px;
    box-shadow: 0 8px 24px rgba(107, 61, 139, 0.04);
}

.mp-srv-aside.card-line { background: var(--mp-line); }
.mp-srv-aside.card-rose { background: var(--rose); }
.mp-srv-aside.card-lilac { background: var(--lilac); }

.mp-srv-aside-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 16px;
}

.mp-srv-aside p {
    font-size: 15px;
    color: var(--mp-muted);
    margin-bottom: 14px;
}

.mp-srv-aside .mp-srv-aside-big {
    font-family: var(--heading);
    font-size: 24px;
    line-height: 1.3;
    color: var(--mp-ink);
}

.mp-srv-aside-cta {
    margin-top: 24px;
}

.mp-srv-aside-cta .mp-btn {
    display: block;
    text-align: center;
}

.mp-links,
.mp-checks {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.mp-links li,
.mp-checks li {
    padding: 11px 0;
    border-bottom: 1px solid rgba(134, 55, 132, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.mp-links li:first-child,
.mp-checks li:first-child {
    border-top: 1px solid rgba(134, 55, 132, 0.15);
}

.mp-links a {
    font-weight: 600;
    color: var(--mp-ink) !important;
    text-decoration: none !important;
}

.mp-links a:after {
    content: ' →';
    color: var(--accent);
}

.mp-links a:hover {
    color: var(--accent) !important;
}

.mp-links small,
.mp-prices small {
    font-size: 13px;
    color: var(--mp-muted);
    text-align: right;
}

.mp-checks li {
    justify-content: flex-start;
    font-weight: 500;
    color: var(--mp-ink);
}

.mp-checks li:before {
    content: '♡';
    color: var(--accent);
}

.mp-prices {
    margin: 0 0 14px;
}

.mp-prices div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(134, 55, 132, 0.15);
}

.mp-prices div:first-child {
    border-top: 1px solid rgba(134, 55, 132, 0.15);
}

.mp-prices dt {
    font-size: 15px;
    font-weight: 500;
    color: var(--mp-ink);
}

.mp-prices dd {
    margin: 0;
    font-family: var(--heading);
    font-size: 24px;
    color: var(--accent-2);
    white-space: nowrap;
}

.mp-prices dd small {
    font-family: var(--body);
}

.mp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mp-chips span {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--mp-white);
    font-size: 14px;
    font-weight: 500;
    color: var(--mp-ink);
}

.mp-note {
    font-size: 14px !important;
    color: var(--mp-muted) !important;
}

/* Banda opcions + passos */
.mp-band-split > .wpb_column:first-child .wpb_wrapper {
    padding-right: 40px;
}

.steps-stack {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 0;
}

.steps-stack .step {
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 10px;
    border-top-color: #d8c9e2;
}

.steps-stack .order-num {
    grid-row: span 2;
    line-height: 1;
}

.steps-stack .step h3 {
    margin: 0 0 6px;
    font-size: 22px;
}

.steps-stack .step p {
    margin: 0;
}

.mp-member-photo {
    margin: 0;
}

.mp-member-photo img {
    display: block;
}

/******************************************* OPCIONS DE CONSULTA *******************************************/
/* Hero sense foto: la columna dreta mostra una fitxa d'informació pràctica */
.mp-hero-facts {
    max-width: 480px;
    margin-left: auto;
    transform: rotate(-1.5deg);
    box-shadow: 0 7px 22px #203f370a;
}

.mp-hero-facts .mp-checks li {
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.5;
}

.mp-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.mp-rates .mp-srv-aside {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mp-rates h3 {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--accent-2);
    margin: 0 0 8px;
}

.mp-rates .mp-prices {
    margin-top: 10px;
}

.mp-rates dt small {
    display: block;
    margin-top: 2px;
    text-align: left;
}

.mp-rates .mp-srv-aside-cta,
.mp-more-wrap {
    margin-top: auto;
    padding-top: 20px;
}

.mp-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-ink) !important;
    text-decoration: none !important;
}

.mp-more:hover {
    color: var(--accent) !important;
}

/* Packs */
.mp-packs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mp-pack {
    background: var(--mp-white);
    border: 1px solid var(--mp-line);
    border-radius: 24px;
    padding: 30px 26px;
    box-shadow: 0 8px 24px rgba(107, 61, 139, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mp-pack:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(107, 61, 139, 0.1);
}

.mp-pack.card-rose {
    background: var(--rose);
}

.mp-pack .no {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--mp-muted);
}

.mp-pack-num {
    font-family: var(--heading);
    font-size: 88px;
    line-height: 1;
    color: #a177aa;
    margin-top: 14px;
}

.mp-pack-label {
    font-size: 16px;
    color: var(--mp-muted);
}

.mp-pack-price {
    font-family: var(--heading);
    font-size: 32px;
    color: var(--accent-2);
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(134, 55, 132, 0.15);
}

.mp-rates .mp-links li {
    flex-wrap: wrap;
    gap: 2px 12px;
}

.mp-rates .mp-links small {
    flex-basis: 100%;
    text-align: left;
}

/* Files de preu amb spans (el editor visual elimina dl/dt/dd) */
.mp-price-label {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--mp-ink);
}

.mp-prices .mp-price-label small {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    font-weight: 400;
    color: var(--mp-muted);
    text-align: left;
}

.mp-price-value {
    flex-shrink: 0;
    font-family: var(--heading);
    font-size: 24px;
    line-height: 1.2;
    color: var(--accent-2);
    white-space: nowrap;
}

.mp-price-value .mp-price-unit {
    font-family: var(--body);
    font-size: 13px;
    color: var(--mp-muted);
}
