/* Hero vertical layout override (image on top, text below) */
.hero.hero-layout-switch {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 110px 0 60px;
    gap: 2.2rem;
    text-align: center;
    min-height: auto;
    /* override any base full-height */
}

.hero.hero-layout-switch .hero-media-block {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.hero.hero-layout-switch .hero-content {
    max-width: 760px;
    margin: 0 auto;
}

/* Smaller image: maintain aspect ratio so text + CTA are in first viewport */
.hero.hero-layout-switch .frame-elevated.clean-photo-frame img {
    aspect-ratio: 16 / 9;
    height: auto;
}

/* Compact typography scaling */
.hero.hero-layout-switch .hero-title {
    font-size: clamp(2.3rem, 5vw, 3.1rem);
    font-weight: 600;
}

.hero.hero-layout-switch .hero-subtitle {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    margin-bottom: 1.1rem;
}

.hero.hero-layout-switch .hero-description {
    font-size: 1.02rem;
    margin-bottom: 1.9rem;
}

.hero.hero-layout-switch .hero-cta {
    margin-top: .25rem;
}

@media (min-width:1400px) {
    .hero.hero-layout-switch {
        padding-top: 120px;
    }

    .hero.hero-layout-switch .frame-elevated.clean-photo-frame img {
        aspect-ratio: 16 / 8.5;
    }
}

@media (max-width:860px) {
    .hero.hero-layout-switch {
        padding-top: 100px;
        gap: 1.9rem;
    }

    .hero.hero-layout-switch .hero-description {
        margin-bottom: 1.6rem;
    }
}

@media (max-width:560px) {
    .hero.hero-layout-switch {
        padding-top: 90px;
        gap: 1.55rem;
    }

    .hero.hero-layout-switch .frame-elevated.clean-photo-frame img {
        aspect-ratio: 16 / 10.5;
    }
}

/* Minimal frame (flattened selector) */
.frame-elevated.clean-photo-frame {
    --frame-radius: 20px;
    position: relative;
    border-radius: var(--frame-radius);
    background: #efe7dc;
    padding: 6px;
    border: 1px solid rgba(150, 125, 75, .35);
    box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .28), 0 1px 2px rgba(0, 0, 0, .12);
}

.frame-elevated.clean-photo-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--frame-radius) - 6px);
    object-fit: cover;
}

@media (max-width:640px) {
    .frame-elevated.clean-photo-frame {
        --frame-radius: 16px;
        padding: 5px;
    }

    .frame-elevated.clean-photo-frame img {
        border-radius: calc(var(--frame-radius) - 5px);
    }
}

/* Remove legacy shimmer / hover effects for frame */
.hero-image.frame-elevated::before,
.hero-image.frame-elevated::after,
.hero-image.frame-elevated:hover::before,
.hero-image.frame-elevated:hover::after {
    display: none !important;
    content: none !important;
}

.hero-image.frame-elevated:hover {
    box-shadow: none;
    transform: none;
}

.hero-image.frame-elevated img {
    border: none;
    box-shadow: none;
    height: auto;
}

/* CTA larger + variant */
.hero .ui-pill.hero-cta {
    font-size: 1.05rem;
    padding: 0.95rem 2.2rem;
    min-height: 54px;
    letter-spacing: .6px;
}

.hero .ui-pill.hero-cta:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.18)), linear-gradient(140deg, #FFF8E8 0%, #D7B760 45%, #B08A34 90%);
    color: var(--text-dark);
}

/* Stacked variant for narrow or forced stacked */
@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 130px;
    }

    .hero-media-block {
        order: 1;
    }

    .hero-content.side-panel {
        order: 2;
        max-width: 760px;
        margin-top: 2.5rem;
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-medium);
}

/* About Section Styles */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 40px var(--shadow-light);
}

.about-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.specialist-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.specialist-title {
    color: var(--primary-gold);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.specialist-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--beige-light);
    border-radius: 15px;
}

.info-item i {
    color: var(--primary-gold);
    font-size: 1.5rem;
}

.info-item h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Services Section Styles */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--light-gold) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card.featured {
    border: 3px solid var(--primary-gold);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    color: var(--primary-gold);
    font-size: 0.8rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.service-price span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: normal;
}

/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    display: block;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Preview Section */
.contact-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    text-align: center;
    color: var(--white);
}

.contact-preview .section-title {
    color: var(--white);
}

.contact-preview .section-title::after {
    background: var(--white);
}

.contact-preview>.container>p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    text-align: center;
}

.contact-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item a,
.contact-item p {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
}

.contact-item a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
        gap: 2.5rem;
    }

    .hero-title {
        font-size: 2.55rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-content.side-panel {
        margin-top: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.featured {
        transform: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .specialist-info {
        grid-template-columns: 1fr;
    }
}