/**
 * EMA Testimonials — front-end styles.
 * 1:1 with .testimonials from the EMA Catering home page.
 */

.ema-testi{
    padding: 130px 32px;
    background: #F5EFD9;
}

.ema-testi-inner{
    max-width: 1440px;
    margin: 0 auto;
}

/* ===== Header ===== */
.ema-testi-head{
    margin-bottom: 60px;
    max-width: 760px;
}

.ema-testi-eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #A01428;
    margin-bottom: 24px;
}
.ema-testi-eyebrow::before{
    content: "";
    width: 32px;
    height: 2px;
    background: #A01428;
    flex-shrink: 0;
}

.ema-testi-h{
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 800;
    font-size: clamp(48px, 6.5vw, 100px);
    line-height: .95;
    letter-spacing: -0.04em;
    color: #12110F;
    margin: 0;
}
.ema-testi-h .l1{ color: #12110F; }
.ema-testi-h .l2{
    font-style: italic;
    font-weight: 400;
    color: #A01428;
}

/* ===== Grid ===== */
.ema-testi-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* ===== Card ===== */
.ema-testi-card{
    background: #F5EFD9;
    border: 3px solid #12110F;
    border-radius: 18px;
    padding: 32px 30px;
    transition: transform .3s;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.ema-testi-card--highlight{
    background: #C2A862;
}
.ema-testi--tilt .ema-testi-card--pos-first { transform: rotate(-1deg); }
.ema-testi--tilt .ema-testi-card--pos-middle{ transform: rotate(0.5deg); }
.ema-testi--tilt .ema-testi-card--pos-last  { transform: rotate(-0.5deg); }
.ema-testi-card:hover{ transform: rotate(0) translateY(-4px); }

/* Stars */
.ema-testi-stars{
    color: #A01428;
    font-size: 18px;
    letter-spacing: .2em;
    line-height: 1;
}
.ema-testi-card--highlight .ema-testi-stars{
    color: #12110F;
}

/* Body */
.ema-testi-body{
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    color: #12110F;
    flex: 1;
    margin: 0;
}

/* Attribution */
.ema-testi-attr{
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 2px solid #12110F;
}

.ema-testi-av{
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #12110F;
    flex-shrink: 0;
}
.ema-testi-av-initials{
    background-color: #A01428;
    color: #F5EFD9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .02em;
    line-height: 1;
}

.ema-testi-who{
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #12110F;
    letter-spacing: -0.005em;
    line-height: 1.2;
}

.ema-testi-role{
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 12px;
    color: #12110F;
    opacity: .7;
    font-weight: 500;
    margin-top: 2px;
}

/* ===== Responsive ===== */
@media (max-width: 1100px){
    .ema-testi{ padding: 90px 24px; }
    .ema-testi-grid{ grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 780px){
    .ema-testi{ padding: 60px 16px; }
    .ema-testi-grid{ grid-template-columns: 1fr; gap: 18px; }
    .ema-testi-card{ padding: 24px 22px; gap: 16px; }
    .ema-testi--tilt .ema-testi-card--pos-first,
    .ema-testi--tilt .ema-testi-card--pos-middle,
    .ema-testi--tilt .ema-testi-card--pos-last{ transform: rotate(0); }
    .ema-testi-card:hover{ transform: translateY(-2px); }
    .ema-testi-body{ font-size: 17px; }
}

@media (prefers-reduced-motion: reduce){
    .ema-testi-card{ transition: none !important; }
    .ema-testi-card:hover{ transform: none !important; }
}
