/* =====================================================================
   RESPONSIVE BREAKPOINT SCALE (reference — see style.css for the full
   scale used across this site)
   1200px large desktop · 1024px laptop · 900px tablet landscape
   768px tablet portrait · 560px phablet · 480px mobile · 380px small mobile
   ===================================================================== */

/* Testimonials section */
.sec-testimonial {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 48px 20px;
    text-align: center;
    /* A short band that scales with the screen (about 410px at 1366px, 440px max) and still grows to fit
       the content, so nothing is ever clipped. */
    min-height: clamp(340px, 30vw, 440px);
    background:
        linear-gradient(rgba(6, 11, 19, 0.5), rgba(6, 11, 19, 0.5)),
        url('../img/testimonial-bg-image.png');
    background-size: cover;
    overflow: hidden;
}

.testimonial-heading .testimonial-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c29d66;
    margin-bottom: 10px;
}

.testimonial-heading h2 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 16px;
}

.testimonial-heading h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: #c29d66;
    border-radius: 2px;
}

.testimonial-carousel {
    position: relative;
    width: 70%;
    max-width: 650px;
    margin: 0 auto;
}

.testimonial-viewport {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.3, 1, 0, 1);
}

.testimonial-slide {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-quote {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.4;
    max-width: 100%;
    margin: 12px 0 16px;
}

.testimonial-name {
    color: #ffffff;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 4px;
}

.testimonial-role {
    color: #c29d66;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.testimonial-arrow-prev {
    left: -60px;
}

.testimonial-arrow-next {
    right: -60px;
}

.testimonial-arrow:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #16121f;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.testimonial-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #ffffff;
    opacity: 0.5;
    cursor: pointer;
    transition: background 0.25s ease, opacity 0.25s ease;
}

.testimonial-dot:hover {
    opacity: 0.8;
}

.testimonial-dot.is-active {
    background: #c29d66;
    opacity: 1;
}

@media (max-width: 991px) {
    .testimonial-carousel {
        width: 90%;
    }

    .testimonial-arrow-prev {
        left: -10px;
    }

    .testimonial-arrow-next {
        right: -10px;
    }
}

@media (max-width: 768px) {
    .sec-testimonial {
        min-height: 0;
        padding: 36px 20px;
        gap: 16px;
    }

    .testimonial-carousel {
        width: 100%;
    }

    .testimonial-quote {
        font-size: 15px;
        margin: 10px 0 12px;
    }

    .testimonial-name {
        font-size: 18px;
    }

    .testimonial-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
        margin-top: 20px;

    }

    .testimonial-arrow-prev {
        left: 0;
    }

    .testimonial-arrow-next {
        right: 0;
    }
}

@media (max-width: 480px) {
    .sec-testimonial {
        padding: 32px 16px;
    }

    .testimonial-quote {
        font-size: 13px;
        margin: 8px 0 10px;
    }

    .testimonial-name {
        font-size: 16px;
    }

    .testimonial-heading h2 {
        font-size: 24px;
    }

    .testimonial-arrow {
        width: 28px;
        height: 28px;
        font-size: 10px;
        margin-top: 20px;
    }
}

/* Footer - Batista Rivera Law Office */
.footer {
    background: #16121f;
    padding: 16px 40px 30px;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    align-items: start;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-brand-logo .br-mark {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brand-name h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
}

.footer-brand-name .tagline {
    font-size: 0.72rem;
    font-weight: 700;
    color: #c9a25c;
    letter-spacing: 2px;
    margin-top: 4px;
}

.footer-desc {
    color: #9b93a8;
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 420px;
}

.footer-heading {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 30px;
    font-variant: small-caps;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b8b0c4;
    text-decoration: none;
    font-size: 1rem;
}

.footer-links li a:hover {
    color: #c9a25c;
}

.footer-links .icon {
    color: #c9a25c;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-list .icon {
    color: #c9a25c;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.contact-list span {
    color: #d8d3e0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1000px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-heading {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .footer-brand-name h3 {
        font-size: 1.3rem;
    }

    .footer-brand-name .tagline {
        font-size: 0.68rem;
    }

    .footer-desc {
        font-size: 0.92rem;
    }

    .footer-links li a {
        font-size: 0.95rem;
    }

    .contact-list span {
        font-size: 0.95rem;
    }

    .testimonial-heading h2 {
        font-size: 18px;
    }
}

@media (max-width: 560px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-brand-col {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .footer-heading {
        font-size: 16px;
    }

    .footer-brand-name h3 {
        font-size: 20px;
    }

    .footer-brand-name .tagline {
        font-size: 0.65rem;
    }

    .footer-desc {
        font-size: 0.88rem;
    }

    .footer-links li a {
        font-size: 0.9rem;
    }

    .contact-list span {
        font-size: 0.9rem;
    }
}

@media (max-width: 380px) {
    .footer {
        padding: 32px 16px 24px;
    }

    .footer-inner {
        gap: 28px;
    }

    .footer-brand-logo .br-mark {
        width: 44px;
        height: 44px;
    }

    .footer-brand-name h3 {
        font-size: 1.15rem;
    }

    .footer-brand-name .tagline {
        font-size: 0.62rem;
        letter-spacing: 1.5px;
    }

    .footer-desc {
        font-size: 0.85rem;
    }

    .footer-heading {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }

    .footer-links {
        gap: 12px;
    }

    .footer-links li a {
        font-size: 0.88rem;
    }

    .footer-links .icon {
        width: 15px;
        height: 15px;
    }

    .contact-list {
        gap: 16px;
    }

    .contact-list span {
        font-size: 0.88rem;
    }

    .contact-list .icon {
        width: 16px;
        height: 16px;
    }
}