/* =============================================
   Services Section Widget — v1.0.1
   ============================================= */

.esw-wrap {
    background: #111111;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    font-family: 'Oswald', sans-serif;
    box-sizing: border-box;
}

.esw-wrap *,
.esw-wrap *::before,
.esw-wrap *::after {
    box-sizing: border-box;
}

/* Grid */
.esw-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px 210px;
    gap: 24px;
    align-items: start;
    position: relative;
}

/* Vertical Label */
.esw-vlabel {
    position: absolute;
    left: -44px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #888;
    white-space: nowrap;
    background: #1a1a1a;
    padding: 6px 14px;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
}

/* ── LEFT ── */
.esw-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.esw-heading {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.esw-heading h2 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-family: 'Oswald', sans-serif;
    margin: 0;
    padding: 0;
}

.esw-highlight {
    background: #ffcd01;
    color: #111111;
    padding: 2px 16px 6px;
    border-radius: 6px;
    display: inline-block;
}

.esw-heading p {
    font-size: 14px;
    font-weight: 300;
    color: #aaaaaa;
    line-height: 1.75;
    letter-spacing: 0.02em;
    max-width: 340px;
    font-family: 'Oswald', sans-serif;
    margin: 0;
}

/* Service List */
.esw-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.esw-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a1a;
    border-radius: 50px;
    padding: 15px 18px 15px 26px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.esw-item:hover {
    background: #222222;
    border-color: #ffcd01;
    transform: translateX(5px);
}

.esw-item-l {
    display: flex;
    align-items: center;
    gap: 16px;
}

.esw-num {
    font-size: 13px;
    font-weight: 600;
    color: #ffcd01;
    letter-spacing: 0.06em;
    min-width: 26px;
    font-family: 'Oswald', sans-serif;
}

.esw-name {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
}

.esw-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
    flex-shrink: 0;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.esw-item:hover .esw-arrow {
    background: #ffcd01;
    color: #111111;
    border-color: #ffcd01;
}

/* ── CENTER ── */
.esw-center { position: relative; }

.esw-imgwrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #1e1e1e;
    display: block;
    width: 100%;
}

.esw-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.6s ease;
    transform: scale(1.05);
    z-index: 1;
    pointer-events: none;
}

.esw-img.esw-gs {
    filter: grayscale(100%);
}

.esw-img.esw-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.esw-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #ffcd01;
    color: #111111;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    font-family: 'Oswald', sans-serif;
    transition: opacity 0.25s ease;
    z-index: 2;
    pointer-events: none;
}

.esw-circle {
    position: absolute;
    bottom: 20px;
    right: -16px;
    width: 110px;
    height: 110px;
    animation: esw-spin 14s linear infinite;
    z-index: 2;
    pointer-events: none;
}

.esw-circle svg text {
    fill: #ffcd01;
    font-size: 9.5px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    font-weight: 500;
}

@keyframes esw-spin { to { transform: rotate(360deg); } }

/* ── RIGHT ── */
.esw-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.esw-card {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
    border: 1px solid transparent;
    text-decoration: none;
}

.esw-card:hover {
    background: #222222;
    border-color: #333333;
}

.esw-card p {
    font-size: 13px;
    font-weight: 300;
    color: #aaaaaa;
    line-height: 1.65;
    letter-spacing: 0.02em;
    font-family: 'Oswald', sans-serif;
    margin: 0;
}

.esw-cfoot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.esw-ctitle {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
}

.esw-arrowbtn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2a2a2a;
    border: 1px solid #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.esw-card:hover .esw-arrowbtn {
    background: #ffcd01;
    color: #111111;
    border-color: #ffcd01;
}

/* Yellow card */
.esw-card.esw-yellow {
    background: #ffcd01;
    border-color: #ffcd01;
}

.esw-card.esw-yellow p       { color: #665500; }
.esw-card.esw-yellow .esw-ctitle  { color: #111111; }
.esw-card.esw-yellow .esw-arrowbtn {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}
.esw-card.esw-yellow:hover { background: #ffd520; border-color: #ffd520; }

/* Entrance animation */
.esw-left   { opacity: 0; animation: esw-up 0.55s ease 0.1s  forwards; }
.esw-center { opacity: 0; animation: esw-up 0.55s ease 0.25s forwards; }
.esw-right  { opacity: 0; animation: esw-up 0.55s ease 0.4s  forwards; }

@keyframes esw-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .esw-grid { grid-template-columns: 1fr 320px 190px; gap: 18px; }
}

@media (max-width: 900px) {
    .esw-grid { grid-template-columns: 1fr 1fr; }
    .esw-right { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
    .esw-card  { flex: 1 1 200px; }
    .esw-vlabel { display: none; }
}

@media (max-width: 600px) {
    .esw-grid   { grid-template-columns: 1fr; }
    .esw-center { max-width: 380px; margin: 0 auto; width: 100%; }
    .esw-right  { flex-direction: column; }
    .esw-wrap   { padding: 40px 20px; }
}
