/* ====================================
   AESTE DESIGN — Aesthetic Surgery Theme
   ==================================== */

/* ---- Hero Static ---- */
.hero-static {
    position: relative;
    overflow: hidden;
}
.hero-static-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}
.hero-static-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.hero-static-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(90,30,40,0.82) 0%, rgba(120,50,55,0.55) 45%, rgba(158,75,71,0.20) 100%);
}
.hero-static .container {
    position: relative;
    z-index: 2;
}
.hero-slide-content {
    max-width: 600px;
    color: #fff;
    padding: 120px 0 80px;
}
.hero-slide-content h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.hero-slide-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    color: #fff;
    backdrop-filter: blur(4px);
}
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ---- Service Cards (Aeste Style with gradient icon circles) ---- */
.aeste-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.aeste-service-card-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
}
.aeste-service-card-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.55);
    transition: all 0.4s ease;
    transform: scale(1.05);
}
.aeste-service-card-img:hover .aeste-service-card-bg {
    filter: blur(0px) brightness(0.45);
    transform: scale(1.1);
}
.aeste-service-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}
.aeste-service-card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.aeste-service-card-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.aeste-service-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    padding-bottom: 2px;
    transition: border-color 0.3s;
}
.aeste-service-card-img:hover .aeste-service-card-link {
    border-color: #fff;
}
.aeste-service-card {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid transparent;
}
.aeste-service-card:hover {
    box-shadow: 0 15px 35px rgba(158,75,71,0.12);
    transform: translateY(-5px);
    border-color: rgba(158,75,71,0.15);
}
.aeste-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}
.aeste-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.aeste-service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}
.aeste-service-card p {
    font-size: 0.925rem;
    color: var(--color-text-light);
    line-height: 1.7;
}
.aeste-service-card:hover .aeste-service-icon {
    transform: scale(1.08);
}

/* ---- About Section (Aeste Style) ---- */
.aeste-about {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 50px;
    align-items: start;
}
.aeste-about-img {
    position: relative;
}
.aeste-about-img img {
    width: 100%;
    border-radius: 12px;
}
.aeste-about-img::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 200px;
    height: 200px;
    border: 3px solid rgba(158,75,71,0.2);
    border-radius: 12px;
    z-index: -1;
}
.aeste-about-text .section-label {
    color: #9e4b47;
}
.aeste-about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.aeste-about-text p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}
.aeste-about-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}
.aeste-about-feature {
    text-align: center;
    padding: 20px 10px;
    background: var(--color-light);
    border-radius: 8px;
}
.aeste-about-feature h4 {
    font-size: 0.95rem;
    color: #9e4b47;
    margin-bottom: 5px;
}
.aeste-about-feature p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* Divider image strip */
.aeste-divider {
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #9e4b47, #873a3a);
    margin: 0;
}

/* ---- Before/After Section ---- */
.aeste-ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.aeste-ba-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.aeste-ba-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.aeste-ba-images {
    position: relative;
    overflow: hidden;
    background: #fff;
}
.aeste-ba-images img {
    width: 100%;
    height: auto;
    display: block;
}
.aeste-ba-label {
    padding: 15px 20px;
    text-align: center;
}
.aeste-ba-label h3 {
    font-size: 1rem;
    color: var(--color-text);
}
.aeste-ba-label span {
    font-size: 0.8rem;
    color: #9e4b47;
    font-weight: 600;
}

/* ---- Doctors/Team Grid (Aeste Style) ---- */
.aeste-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.aeste-team-card {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.aeste-team-card:hover {
    box-shadow: 0 15px 40px rgba(158,75,71,0.15);
    transform: translateY(-5px);
}
.aeste-team-img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
}
.aeste-team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}
.aeste-team-card:hover .aeste-team-img img {
    transform: scale(1.05);
}
.aeste-team-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
}
.aeste-team-body {
    padding: 20px;
}
.aeste-team-body h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-text);
}
.aeste-team-body .team-role {
    font-size: 0.875rem;
    color: #9e4b47;
    font-weight: 500;
}
.aeste-team-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}
.aeste-team-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9e4b47;
    transition: all 0.3s ease;
}
.aeste-team-socials a:hover {
    background: #9e4b47;
    color: #fff;
}

/* ---- Testimonials Carousel (Aeste Style) ---- */
.aeste-testimonial-slider {
    position: relative;
    overflow: hidden;
}
.aeste-testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}
.aeste-testimonial-card {
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}
.aeste-testimonial-inner {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.aeste-testimonial-inner .testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid rgba(158,75,71,0.2);
}
.aeste-testimonial-inner .testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aeste-testimonial-inner .testimonial-stars {
    color: #f5a623;
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.aeste-testimonial-inner .testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-light);
    font-style: italic;
    margin-bottom: 20px;
}
.aeste-testimonial-inner .testimonial-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text);
}
.aeste-testimonial-inner .testimonial-role {
    font-size: 0.8rem;
    color: #9e4b47;
}
.testimonial-nav-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.testimonial-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 16px;
    background-clip: content-box;
    box-sizing: content-box;
}
.testimonial-nav-dot.active {
    background: #9e4b47;
}

/* ---- Contact Form Section (Aeste Style) ---- */
.aeste-contact-section {
    background: linear-gradient(135deg, #9e4b47, #873a3a);
    color: #fff;
    padding: 80px 0;
}
.aeste-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.aeste-contact-info h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
}
.aeste-contact-info p {
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 25px;
}
.aeste-contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.aeste-contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255,255,255,0.9);
}
.aeste-contact-detail svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.8;
}
.aeste-contact-form .form-control {
    background: transparent;
    border: none;
    border-bottom: 3px solid rgba(255,255,255,0.3);
    border-radius: 0;
    color: #fff;
    padding: 15px 0;
    font-size: 1rem;
}
.aeste-contact-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}
.aeste-contact-form .form-control:focus {
    border-bottom-color: #fff;
    box-shadow: none;
    outline: none;
}
.aeste-contact-form .btn {
    margin-top: 25px;
    background: #fff;
    color: #9e4b47;
    border: none;
    padding: 15px 40px;
    font-weight: 700;
    border-radius: 4px;
}
.aeste-contact-form .btn:hover {
    background: var(--color-light);
    transform: translateY(-2px);
}

/* ---- Blog Cards (Aeste Style) ---- */
.aeste-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.aeste-blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.aeste-blog-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.aeste-blog-card-img {
    height: 200px;
    overflow: hidden;
}
.aeste-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.aeste-blog-card:hover .aeste-blog-card-img img {
    transform: scale(1.08);
}
.aeste-blog-card-body {
    padding: 20px;
}
.aeste-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.aeste-blog-card-meta a {
    color: #9e4b47;
    font-weight: 600;
}
.aeste-blog-card-body h3 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.aeste-blog-card-body h3 a {
    color: inherit;
}
.aeste-blog-card-body h3 a:hover {
    color: #9e4b47;
}
.aeste-blog-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #9e4b47;
    font-weight: 600;
    font-size: 0.875rem;
}
.aeste-blog-more:hover {
    gap: 10px;
}

/* ---- Client Logos ---- */
.aeste-clients {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 0;
}
.aeste-clients img {
    height: 60px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}
.aeste-clients img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ---- Page Header (Internal Pages) ---- */
.aeste-page-header {
    background: linear-gradient(to right, rgba(90,30,40,0.90) 0%, rgba(120,50,55,0.85) 50%, rgba(158,75,71,0.80) 100%);
    position: relative;
    padding: 80px 0;
    text-align: center;
}
.aeste-page-header .container {
    position: relative;
    z-index: 2;
}
.aeste-page-header h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.aeste-page-header .breadcrumbs {
    justify-content: center;
    color: rgba(255,255,255,0.7);
}
.aeste-page-header .breadcrumbs a {
    color: rgba(255,255,255,0.8);
}
.aeste-page-header .breadcrumbs a:hover {
    color: #fff;
}
.aeste-page-header .breadcrumbs .separator {
    color: rgba(255,255,255,0.4);
}
/* ---- Service Hero (full-width like homepage) ---- */
.service-hero {
    background-size: cover;
    background-position: center center;
    position: relative;
}
.service-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(90,30,40,0.82) 0%, rgba(120,50,55,0.55) 45%, rgba(158,75,71,0.20) 100%);
}
.service-hero .container {
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {
    .service-hero-bg {
        background: linear-gradient(to bottom, rgba(90,30,40,0.85) 0%, rgba(90,30,40,0.70) 60%, rgba(90,30,40,0.60) 100%);
    }
}

/* ---- Section Title (Aeste Style) ---- */
.aeste-section-title {
    text-align: center;
    margin-bottom: 50px;
}
.aeste-section-title .section-label {
    color: #9e4b47;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}
.aeste-section-title h2 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 15px;
}
.aeste-section-title p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

/* ---- Buttons (Aeste Style) ---- */
.btn-aeste {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #9e4b47;
    color: #fff;
    border: 2px solid #9e4b47;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 44px;
}
.btn-aeste:hover {
    background: #873a3a;
    border-color: #873a3a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(158,75,71,0.25);
}
.btn-aeste-outline {
    background: transparent;
    color: #9e4b47;
}
.btn-aeste-outline:hover {
    background: #9e4b47;
    color: #fff;
}
.btn-aeste-white {
    background: #fff;
    color: #9e4b47;
    border-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-aeste-white:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* ---- Process Steps (Aeste Style) ---- */
.aeste-process {
    background: var(--color-light);
    padding: 80px 0;
}
.aeste-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.aeste-process-step {
    text-align: center;
    padding: 30px 20px;
}
.aeste-process-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9e4b47, #873a3a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 20px;
}
.aeste-process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--color-text);
}
.aeste-process-step p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ---- Main content spacing ---- */
.main-content { padding: 0; }
.main-home { padding-top: 0; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .aeste-about { grid-template-columns: 2fr 3fr; gap: 30px; }
    .aeste-about-img::after { display: none; }
    .aeste-services-grid { grid-template-columns: repeat(2, 1fr); }
    .aeste-ba-grid { grid-template-columns: repeat(2, 1fr); }
    .aeste-team-grid { grid-template-columns: repeat(2, 1fr); }
    .aeste-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .aeste-contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .aeste-process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero-static { min-height: auto; }
    .hero-static-bg::after {
        background: linear-gradient(to bottom, rgba(90,30,40,0.85) 0%, rgba(90,30,40,0.70) 60%, rgba(90,30,40,0.60) 100%);
    }
    .hero-slide-content { padding: 100px 0 60px; max-width: 100%; }
    .hero-slide-content h1 { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn-aeste-white,
    .hero-buttons .btn-aeste-outline { text-align: center; justify-content: center; }
    .aeste-about { grid-template-columns: 1fr; }
    .aeste-about-img { max-width: 100%; margin: 0 auto; }
    .aeste-services-grid { grid-template-columns: 1fr; gap: 20px; }
    .aeste-service-card-img { min-height: 260px; }
    .aeste-service-card-content { padding: 25px 20px; }
    .aeste-service-card { padding: 30px 20px; }
    .aeste-service-icon { width: 60px; height: 60px; }
    .aeste-ba-grid { grid-template-columns: 1fr; }
    .aeste-team-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .aeste-blog-grid { grid-template-columns: 1fr; }
    .aeste-about-features { grid-template-columns: 1fr; }
    .aeste-process-grid { grid-template-columns: 1fr; }
    .aeste-page-header { padding: 50px 0; }
    .aeste-page-header h1 { font-size: 1.8rem; }
    .aeste-contact-section { padding: 50px 0; }
    .aeste-section-title { margin-bottom: 30px; }
    .aeste-section-title h2 { font-size: 1.5rem; }
    .aeste-about-text h2 { font-size: 1.5rem; }
    .aeste-contact-info h2 { font-size: 1.5rem; }
    .aeste-testimonial-inner { padding: 25px 20px; }
    .aeste-testimonial-inner .testimonial-text { font-size: 0.95rem; }
    .aeste-clients { gap: 20px; padding: 20px 0; }
    .aeste-clients img { height: 45px; }
    .aeste-blog-card-img { height: 220px; }
    .section[style*="padding:80px"] { padding: 40px 0 !important; }
    .section[style*="padding: 80px"] { padding: 40px 0 !important; }
    .section[style*="padding:70px"] { padding: 40px 0 !important; }
}
@media (max-width: 480px) {
    .aeste-team-grid { grid-template-columns: 1fr; }
    .aeste-team-img { aspect-ratio: 2 / 3; }
    .hero-slide-content { padding: 70px 0 40px; }
    .hero-slide-content h1 { font-size: 1.5rem; }
    .hero-slide-content p { font-size: 0.95rem; }
    .aeste-testimonial-inner .testimonial-avatar { width: 60px; height: 60px; }
    .aeste-clients img { height: 35px; }
    .aeste-clients { gap: 15px; }
}
