
/* ============================================================
   MISCIGENADAS — SERVICES SECTION PREMIUM REDESIGN
   ============================================================ */

/* Section wrapper */
.our-services-premium {
    padding: 80px 0 50px; /* Added top padding to give breathing room */
    background-color: #FCF4F1;
}

/* Reduce padding of the section before to tighten the overall gap */
.about-us {
    padding-bottom: 40px !important;
}

/* Section Header */
.section-title.section-title-center {
    margin-bottom: 40px !important; 
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title h3 {
    margin-bottom: 0px !important; 
}

.section-title h2 {
    margin-bottom: 40px !important;
    margin-top: 0px !important;
    line-height: 1.1;
}

/* Italic subtitle */
.svc-subtitle-italic {
    font-family: var(--accent-font);
    font-size: 24px;
    font-style: italic;
    color: #C87D5C;
    margin-top: 0 !important;
    margin-bottom: 0px !important;
    letter-spacing: 0.01em;
}

/* Lead paragraph */
.svc-lead {
    font-size: 16px;
    color: var(--text-color);
    max-width: 650px;
    margin: 5px auto 30px !important; /* Natural spacing, no overlap */
    text-align: center;
    line-height: 1.4;
    opacity: 0.9;
}

/* ── Badges ── */
.svc-badges-row {
    margin-bottom: 50px; /* Even more space before cards */
    display: flex;
    justify-content: center;
}

.svc-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 100px;
    padding: 8px 15px;
    box-shadow: 0 4px 15px rgba(72,30,11,0.05);
    width: fit-content;
}

.svc-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
}

.svc-badge-divider {
    width: 1px;
    height: 25px;
    background: #EAD9D2;
}

.svc-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F9F0EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C87D5C;
    flex-shrink: 0;
}

.svc-badge-icon svg {
    width: 18px;
    height: 18px;
    stroke: #C87D5C;
}

.svc-badge span {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #481E0B;
    line-height: 1.2;
}

/* ── Cards Redesign (Transformation Effect) ── */
.svc-cards-row {
    margin-bottom: 25px;
}

.svc-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(72,30,11,0.08);
    display: flex;
    height: 320px; /* Fixed height for consistent grid */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(234, 217, 210, 0.6);
    text-decoration: none;
}

.svc-card:hover {
    box-shadow: 0 12px 40px rgba(72,30,11,0.12);
}

/* Image State */
.svc-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.svc-card:hover .svc-card-img {
    width: 35%;
}

.svc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.svc-card:hover .svc-card-img img {
    transform: scale(1.05);
}

/* Overlay / Body State */
.svc-card-body {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    background: linear-gradient(180deg, rgba(72, 30, 11, 0) 40%, rgba(72, 30, 11, 0.85) 100%);
}

.svc-card:hover .svc-card-body {
    width: 65%;
    background: #fff;
    justify-content: center;
    padding: 30px 25px;
}

/* Text Content */
.svc-card-content {
    transition: all 0.4s ease;
}

.svc-card-body h3 {
    font-family: var(--accent-font);
    font-size: 22px;
    font-weight: 400;
    color: #fff; /* White by default (overlay) */
    line-height: 1.2;
    margin-bottom: 0;
    transition: color 0.4s ease, margin-bottom 0.4s ease;
}

.svc-card:hover .svc-card-body h3 {
    color: #481E0B; /* Primary color on hover */
    margin-bottom: 12px;
}

.svc-card-body p {
    font-size: 14.5px;
    line-height: 1.5;
    color: #69615D;
    margin-bottom: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.svc-card:hover .svc-card-body p {
    opacity: 1;
    max-height: 100px;
    margin-bottom: 15px;
    margin-top: 5px;
}

.svc-card-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 10px 0;
    transition: all 0.4s ease;
}

.svc-card:hover .svc-card-divider {
    background: #EAD9D2;
    width: 100%;
}

/* Footer State */
.svc-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    opacity: 1; /* Always visible to show the arrow */
    transition: all 0.4s ease;
}

.svc-card:hover .svc-card-footer {
    border-top: 1px solid #F9F0EB;
    padding-top: 15px;
    margin-top: auto;
}

.svc-readmore {
    font-size: 14px;
    font-weight: 600;
    color: #fff; /* White by default */
    opacity: 0;
    transition: all 0.4s ease;
}

.svc-card:hover .svc-readmore {
    color: #481E0B;
    opacity: 1;
}

.svc-arrow-btn {
    background: #C87D5C;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.svc-card:hover .svc-arrow-btn {
    transform: translateX(4px);
}

.svc-arrow-btn img {
    max-width: 12px;
}

/* ── CTA Bar ── */
.svc-cta-bar {
    background: #fff;
    border-radius: 18px;
    padding: 20px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(72,30,11,0.05);
    margin-top: 0;
}

.svc-cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.svc-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F9F0EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C87D5C;
}

.svc-cta-info {
    display: flex;
    flex-direction: column;
}

.svc-cta-text {
    font-size: 15px;
    color: #481E0B;
    font-weight: 600;
    margin-bottom: 2px;
}

.svc-cta-desc {
    font-size: 13.5px;
    color: #69615D;
    line-height: 1.4;
}

.svc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #8B3A1E;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 30px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
}

.svc-cta-btn:hover {
    background: #481E0B;
    box-shadow: 0 6px 20px rgba(72, 30, 11, 0.18);
    transform: translateY(-2px);
    color: #fff;
}

.svc-cta-btn i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-cta-btn:hover i {
    transform: scale(1.15) rotate(90deg);
}


/* ── Responsive ── */
@media (max-width: 1399px) {
    .svc-card-body h3 {
        font-size: 20px;
    }
}

@media (max-width: 1199px) {
    .svc-card {
        height: 400px; /* Taller on tablets */
    }
}

@media (max-width: 991px) {
    .svc-card:hover .svc-card-img {
        width: 45%;
    }
    .svc-card:hover .svc-card-body {
        width: 55%;
    }
}

@media (max-width: 767px) {
    .svc-card:hover .svc-card-img {
        width: 0; /* Hide image on hover for small screens to fit text */
    }
    .svc-card:hover .svc-card-body {
        width: 100%;
    }
}
