/*
Theme Name: EsDesignLast
Theme URI: https://www.esdizayn.com/
Author: Digitrex
Author URI: https://digitrex.com.tr/
Description: Custom Modern Responsive Theme for ES Dizayn Architecture.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: esdesignlast
*/

/* Reset & Global Tokens */
*, *::before, *::after {
    box-sizing: border-box !important;
}

html {
    scroll-behavior: smooth !important;
    font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #111111;
    background-color: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #111111;
    overflow-x: hidden;
    font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Manrope", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Site Header */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.top-bar {
    background: #f9f9f9;
    border-bottom: 1px solid #eeeeee;
    padding: 8px 0;
    font-size: 13.5px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 16px;
    align-items: center;
}

.top-info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-socials-langs {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.top-languages {
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 1px solid #eeeeee;
    padding-left: 14px;
}

/* Main Navigation Bar */
.main-nav-bar {
    padding: 14px 0;
    background: #ffffff;
}

.main-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 48px;
    width: auto;
}

header.site-header ul.es-main-nav-ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 32px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

header.site-header ul.es-main-nav-ul > li {
    position: relative !important;
    list-style: none !important;
}

header.site-header ul.es-main-nav-ul > li > a {
    font-size: 15.5px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

/* Dropdown */
.has-drop {
    position: relative;
}

.es-drop-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 210px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 10px 0;
    display: none;
    flex-direction: column;
    list-style: none !important;
    margin: 0 !important;
}

.has-drop:hover .es-drop-menu {
    display: flex !important;
}

.es-drop-menu a {
    padding: 10px 20px !important;
    font-size: 14px !important;
    color: #111111 !important;
    display: block !important;
}

.es-drop-menu a:hover {
    background: #f5f5f5 !important;
}

/* Mobile Drawer */
.es-mobile-hamburger {
    display: none;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
}

.es-mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 99998;
    display: none;
}

.es-mobile-drawer-overlay.is-open {
    display: block !important;
}

.es-mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #111111;
    color: #ffffff;
    z-index: 99999;
    transition: right 0.3s ease;
    padding: 30px 24px;
    overflow-y: auto;
}

.es-mobile-drawer.is-open {
    right: 0 !important;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.drawer-header img {
    height: 36px;
    filter: brightness(0) invert(1);
}

.drawer-header button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

.drawer-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-menu a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.drawer-sub-menu {
    display: none;
    list-style: none !important;
    padding-left: 16px !important;
    margin-top: 10px !important;
}

.drawer-sub-menu.is-open {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
}

/* Mobile Breakpoints */
@media (max-width: 991px) {
    .main-menu-nav {
        display: none !important;
    }
    .es-mobile-hamburger {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .top-bar-container {
        padding: 0 14px;
    }
    .top-info-item:nth-child(n+3),
    .top-bar-divider {
        display: none !important;
    }
    .site-logo img {
        height: 38px;
    }
}

/* Marquee Infinite Logo Slider */
.logo-marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.logo-marquee-track {
    display: inline-flex;
    align-items: center;
    animation: marquee 35s linear infinite;
}

.logo-marquee-container:hover .logo-marquee-track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Floating WA Button */
.es-floating-wa-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    z-index: 99990;
    transition: transform 0.3s ease;
}

.es-floating-wa-btn:hover {
    transform: scale(1.08);
}

/* Fail-safe Immediate Visible Elements */
.reveal-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* Fixed Header Clearance for Subpage Banners */
.subpage-header,
.services-hero-banner,
.page-hero-banner,
.service-header,
.es-page-hero {
    padding-top: 155px !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

/* ==========================================================================
   MODERN PAGE HERO — equal height, light stone tones, Manrope display
   ========================================================================== */
.es-page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 380px;
    min-height: 380px;
    overflow: hidden;
    text-align: center;
    color: #2c2c2c;
    background:
        linear-gradient(165deg, #f6f5f2 0%, #eceae6 48%, #e4e2de 100%);
}

.es-page-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(44, 44, 44, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 44, 44, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
}

.es-page-hero__bg::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(44, 44, 44, 0.14), transparent);
}

.es-page-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 920px;
    padding: 0 20px;
}

.es-page-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-family: "Manrope", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7a776f;
    text-decoration: none;
    transition: color 0.25s ease;
}

.es-page-hero__back:hover {
    color: #2c2c2c;
}

.es-page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 0 14px;
    padding: 0;
    font-family: "Manrope", sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #9a958c;
    line-height: 1;
}

.es-page-hero__eyebrow::before,
.es-page-hero__eyebrow::after {
    content: "";
    width: 26px;
    height: 1px;
    background: #c8c4bb;
}

.es-page-hero__title {
    margin: 0 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: clamp(2rem, 4vw, 3.15rem) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: #2c2c2c !important;
}

.es-page-hero__rule {
    display: block;
    width: 56px;
    height: 2px;
    margin: 16px auto 0;
    background: #2c2c2c;
}

.es-page-hero__subtitle {
    max-width: 620px;
    margin: 16px auto 0 !important;
    font-family: "Rubik", sans-serif;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #5c5a55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 767px) {
    .es-page-hero {
        height: auto;
        min-height: 300px;
        padding-bottom: 40px !important;
    }
}

/* ==========================================================================
   REFERENCE LOGOS — muted grayscale, full color on hover
   ========================================================================== */
.es-ref-logo {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    min-height: 120px;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.es-ref-logo img {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(1) saturate(0) opacity(0.55);
    transition: filter 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
}

.es-ref-logo:hover {
    border-color: #d8d5cf;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.es-ref-logo:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.04);
}

.logo-marquee-item img {
    filter: grayscale(1) saturate(0) opacity(0.5);
    transition: filter 0.35s ease, opacity 0.35s ease;
}

.logo-marquee-item:hover img {
    filter: none;
    opacity: 1;
}

/* ==========================================================================
   VIDEO GALLERY — same muted-to-color hover as logos
   ========================================================================== */
.es-video-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.es-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
    border-color: #d8d5cf;
}

.es-video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 200px;
    background: #1a1a1a;
    overflow: hidden;
}

.es-video-thumb__img {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: grayscale(1) saturate(0) brightness(0.88);
    transform: scale(1.01);
    transition: filter 0.45s ease, transform 0.5s ease;
}

.es-video-card:hover .es-video-thumb__img {
    filter: none;
    transform: scale(1.06);
}

.es-video-thumb__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transition: transform 0.3s ease;
}

.es-video-card:hover .es-video-thumb__play {
    transform: translate(-50%, -50%) scale(1.08);
}

.es-video-card__body {
    padding: 20px;
    flex-grow: 1;
}

.es-video-card__body h3 {
    font-family: "Manrope", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 6px;
    line-height: 1.4;
}

.es-video-card__meta {
    font-size: 0.82rem;
    color: #888888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   HOMEPAGE — PROJECTS SECTION
   ========================================================================== */
.featured-projects-section.es-projects-rich {
    position: relative;
    padding: 100px 0 90px !important;
    background:
        linear-gradient(180deg, #f4f3f0 0%, #efeee9 100%) !important;
    overflow: hidden;
}

.es-projects-rich::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(44, 44, 44, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 44, 44, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
}

.es-projects-intro {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 48px;
}

.es-projects-intro__eyebrow {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8a867c;
    margin-bottom: 10px;
}

.es-projects-intro h2 {
    font-family: "Manrope", sans-serif !important;
    font-size: clamp(2rem, 3.4vw, 2.75rem) !important;
    font-weight: 800 !important;
    color: #1f1f1f !important;
    margin: 0 0 16px !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.15;
}

.es-projects-intro__lead {
    max-width: 640px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #4d4b46;
    margin: 0;
}

.es-projects-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.es-projects-stat {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #e2dfd8;
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
}

.es-projects-stat strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #1f1f1f;
    line-height: 1.1;
    margin-bottom: 4px;
}

.es-projects-stat span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7a776f;
}

.es-projects-grid {
    position: relative;
}

.es-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.es-slider__viewport {
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

.es-slider__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 6px 2px 16px;
    cursor: grab;
}

.es-slider__track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.es-slider__track::-webkit-scrollbar {
    display: none;
}

.es-slider__track {
    scrollbar-width: none;
}

.es-slider__slide {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 260px;
    scroll-snap-align: start;
}

.es-slider--press .es-slider__slide {
    flex: 0 0 280px;
    min-width: 240px;
}

.es-slider__nav {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border: 1px solid #d8d4cc;
    background: #ffffff;
    color: #2c2c2c;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.es-slider__nav:hover {
    background: #1f1f1f;
    color: #fff;
    transform: scale(1.04);
}

.es-slider__nav:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

.es-press-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    cursor: pointer;
    background: #fff;
}

.es-press-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.es-catalog-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 36px;
    margin-top: 20px;
    background: linear-gradient(135deg, #f6f5f2 0%, #eceae6 100%);
    border: 1px solid #e2dfd8;
    border-radius: 14px;
}

.es-catalog-card__copy h3 {
    font-family: "Manrope", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f1f1f;
    margin: 0 0 8px;
}

.es-catalog-card__copy p {
    margin: 0;
    color: #5c5a55;
    line-height: 1.65;
}

@media (max-width: 991px) {
    .es-slider__slide {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 640px) {
    .es-slider__nav {
        display: none;
    }

    .es-slider__slide,
    .es-slider--press .es-slider__slide {
        flex: 0 0 86%;
        min-width: 86%;
    }

    .es-catalog-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
}

.es-project-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid #ebe8e2;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.es-project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.es-project-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.es-project-card__media {
    position: relative;
    overflow: hidden;
    height: 270px;
}

.es-project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.es-project-card:hover .es-project-card__media img {
    transform: scale(1.07);
}

.es-project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(20, 20, 18, 0.72) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.es-project-card:hover .es-project-card__overlay {
    opacity: 1;
}

.es-project-card__title {
    padding: 20px 18px 22px;
    text-align: center;
}

.es-project-card__title h3 {
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    text-transform: uppercase;
}

.es-projects-cta {
    position: relative;
    text-align: center;
    margin-top: 44px;
}

.es-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1f1f1f;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 6px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.03em;
    transition: background 0.25s ease, transform 0.25s ease;
}

.es-btn-dark:hover {
    background: #000;
    transform: translateY(-1px);
}

.es-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #f4f3f0;
    border: 1px solid rgba(244, 243, 240, 0.35);
    padding: 14px 32px;
    border-radius: 6px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.es-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #f4f3f0;
}

@media (max-width: 900px) {
    .es-projects-intro {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 575px) {
    .es-projects-stats {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   HOMEPAGE — TESTIMONIALS
   ========================================================================== */
.testimonials-cta-section.es-testimonials-rich {
    position: relative;
    padding: 100px 0 !important;
    background: #3a3936 !important;
    text-align: center;
    overflow: hidden;
    color: #f4f3f0;
}

.es-testimonials-rich::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.06) 0, transparent 28%),
        radial-gradient(circle at 86% 78%, rgba(255, 255, 255, 0.04) 0, transparent 26%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: auto, auto, 52px 52px, 52px 52px;
}

.es-testimonials-rich .container {
    position: relative;
    z-index: 1;
    max-width: 1040px !important;
}

.es-testimonials-quote {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 72px;
    line-height: 0.7;
    color: rgba(244, 243, 240, 0.16);
    margin-bottom: 8px;
    display: block;
}

.es-testimonials-eyebrow {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #c4bfb4;
    margin-bottom: 12px;
}

.es-testimonials-rich h2 {
    font-family: "Manrope", sans-serif !important;
    font-size: clamp(1.9rem, 3.2vw, 2.5rem) !important;
    font-weight: 800 !important;
    color: #f6f5f2 !important;
    margin: 0 0 16px !important;
}

.es-testimonials-lead {
    max-width: 640px;
    margin: 0 auto 28px !important;
    font-size: 1.08rem !important;
    line-height: 1.7 !important;
    color: #d8d4cc !important;
}

.es-testimonials-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.es-testimonials-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(244, 243, 240, 0.16);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #eeeae3;
}

.es-testimonials-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.es-testimonials-frame {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.es-testimonials-frame [id^="testimonial-video-wrapper"] {
    border-radius: 12px;
    overflow: hidden;
}
