.mgd-cta {
padding: 0 clamp(1rem, 2.5vw, 2.5rem) var(--wp--preset--spacing--60);
background: var(--wp--preset--color--base);
}
.mgd-cta__panel {
position: relative;
isolation: isolate;
display: flex;
align-items: center;
max-width: 115rem;
min-height: clamp(26rem, 33vw, 34rem);
margin-inline: auto;
padding: clamp(2.25rem, 5vw, 5rem) clamp(1.5rem, 5vw, 5.5rem);
overflow: hidden;
border-radius: 1.25rem;
background: #24130f;
color: #fff;
}
.mgd-cta__tlo {
position: absolute;
inset: 0;
z-index: -2;
display: block; pointer-events: none;
-webkit-user-select: none;
user-select: none;
}
.mgd-cta__tlo img {
width: 100%;
height: 100%;
object-fit: cover;
}
.mgd-cta__panel::before {
content: "";
position: absolute;
inset: 0;
z-index: -1;
background:
radial-gradient(70% 110% at 0% 100%, rgba(161, 53, 43, 0.38) 0%, rgba(161, 53, 43, 0) 70%),
linear-gradient(100deg, rgba(36, 19, 15, 0.95) 0%, rgba(36, 19, 15, 0.88) 36%, rgba(30, 18, 15, 0.56) 68%, rgba(18, 15, 12, 0.42) 100%);
} .mgd-cta__tresc {
max-width: 44rem;
} .mgd-cta__nadtytul {
display: flex;
align-items: center;
gap: 1.1rem;
margin: 0 0 0.35rem;
font-family: var(--wp--preset--font-family--display);
font-size: clamp(1.25rem, 2vw, 1.65rem);
line-height: 1.1;
color: #f6f1ea;
}
.mgd-cta__nadtytul::after {
content: "";
flex: 1;
max-width: 9rem;
height: 1px;
background: var(--wp--preset--color--accent-light);
opacity: 0.9;
}
.mgd-cta__tytul {
margin: 0;
font-family: var(--wp--preset--font-family--heading);
font-size: clamp(2.1rem, 4.6vw, 4.25rem);
font-weight: 700;
line-height: 0.98;
letter-spacing: -0.02em;
text-transform: uppercase; color: #fff;
}
.mgd-cta__tytul span {
color: var(--wp--preset--color--accent-light);
}
.mgd-cta__opis {
max-width: 35rem;
margin: 1.25rem 0 0;
font-size: var(--wp--preset--font-size--md);
line-height: 1.75;
color: rgba(255, 255, 255, 0.9);
}
.mgd-cta__akcje {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.85rem 1rem;
margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.mgd-cta__przycisk,
.mgd-cta__telefon {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.8rem;
min-height: 3.5rem;
border-radius: 0.5rem;
text-decoration: none; will-change: transform, opacity;
backface-visibility: hidden;
transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.mgd-cta__przycisk {
padding: 1rem 2rem;
background: var(--wp--preset--color--accent-light);
font-size: var(--wp--preset--font-size--sm);
font-weight: 500;
letter-spacing: 0.1em;
text-transform: uppercase;
color: #fff;
}
.mgd-cta__przycisk svg {
width: 1.1rem;
height: 1.1rem;
transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.mgd-cta__telefon {
padding: 1rem 1.6rem;
border: 1px solid rgba(255, 255, 255, 0.42);
font-size: var(--wp--preset--font-size--md);
letter-spacing: 0.06em;
color: #fff;
}
.mgd-cta__telefon svg {
width: 1.15rem;
height: 1.15rem;
color: var(--wp--preset--color--accent-light);
}
.mgd-cta__przycisk:focus-visible,
.mgd-cta__telefon:focus-visible {
outline: 2px solid #fff;
outline-offset: 3px;
}
@media (hover: hover) {
.mgd-cta__przycisk:hover {
background: #fff;
color: #14100d;
}
.mgd-cta__przycisk:hover svg {
transform: translateX(0.25rem);
}
.mgd-cta__telefon:hover {
border-color: #fff;
background: rgba(255, 255, 255, 0.12);
}
} @media (max-width: 61.9375rem) {
.mgd-cta__panel {
min-height: 0;
} .mgd-cta__panel::before {
background:
radial-gradient(90% 60% at 0% 0%, rgba(161, 53, 43, 0.32) 0%, rgba(161, 53, 43, 0) 70%),
linear-gradient(180deg, rgba(36, 19, 15, 0.94) 0%, rgba(36, 19, 15, 0.86) 60%, rgba(30, 18, 15, 0.76) 100%);
}
} @media (max-width: 47.9375rem) {
.mgd-cta__akcje {
flex-direction: column;
align-items: stretch;
} .mgd-cta__przycisk {
padding-inline: 1rem;
letter-spacing: 0.06em;
white-space: normal;
text-align: center;
}
}