/* ===== Custom Styles for Augury Salon ===== */

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2ff;
}
::-webkit-scrollbar-thumb {
    background: #c026d3;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a21caf;
}

/* --- Selection --- */
::selection {
    background: #d946ef;
    color: #fff;
}

/* --- Base --- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* --- Navigation --- */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 242, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(123, 45, 142, 0.08);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav-fixed.scrolled {
    background: rgba(253, 242, 255, 0.95);
    box-shadow: 0 4px 30px rgba(123, 45, 142, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #7B2D8E;
}

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: #4a044e;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.938rem;
    padding: 8px 16px;
    border-radius: 100px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background: rgba(123, 45, 142, 0.08);
    color: #7B2D8E;
}

.nav-link-cta {
    background: #7B2D8E;
    color: #fff !important;
    margin-left: 8px;
}

.nav-link-cta:hover {
    background: #86198f;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #7B2D8E;
}

.nav-toggle-icon-close {
    display: none;
}

/* Mobile menu */
@media (max-width: 767px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 242, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(123, 45, 142, 0.1);
        box-shadow: 0 20px 40px rgba(123, 45, 142, 0.1);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 1.05rem;
    }

    .nav-link-cta {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
    }

    .nav-toggle-icon-open {
        display: block;
    }

    .nav-toggle-icon-close {
        display: none;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-icon-open {
        display: none;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-icon-close {
        display: block;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.938rem;
    padding: 14px 28px;
    border-radius: 100px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 45, 142, 0.25);
}

.btn:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-primary {
    background: #7B2D8E;
    color: #fff;
    border-color: #7B2D8E;
}

.btn-primary:hover {
    background: #86198f;
    border-color: #86198f;
    box-shadow: 0 8px 25px rgba(123, 45, 142, 0.35);
}

.btn-outline {
    background: transparent;
    color: #7B2D8E;
    border-color: #7B2D8E;
}

.btn-outline:hover {
    background: #7B2D8E;
    color: #fff;
}

.btn-amber {
    background: #F59E0B;
    color: #4a044e;
    border-color: #F59E0B;
}

.btn-amber:hover {
    background: #d97706;
    border-color: #d97706;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.btn-outline-plum {
    background: transparent;
    color: #7B2D8E;
    border-color: #7B2D8E;
}

.btn-outline-plum:hover {
    background: #fdf2ff;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* --- Section Common --- */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    margin-bottom: 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.813rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #7B2D8E;
    margin-bottom: 12px;
    background: rgba(123, 45, 142, 0.08);
    padding: 6px 16px;
    border-radius: 100px;
}

.section-tag-light {
    color: #FDE68A;
    background: rgba(245, 158, 11, 0.2);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #4a044e;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b4c6e;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fdf2ff 0%, #fae8ff 40%, #f5d0fe 100%);
    padding: 100px 24px 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(217, 70, 239, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 50% 50%, rgba(123, 45, 142, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    color: #92400e;
    font-size: 0.813rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-badge svg {
    color: #F59E0B;
}

.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #4a044e;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: #7B2D8E;
}

.hero-subheadline {
    font-size: 1.188rem;
    line-height: 1.75;
    color: #6b4c6e;
    margin-bottom: 36px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero visual */
.hero-visual {
    position: relative;
}

.hero-card-main {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(123, 45, 142, 0.2);
}

.hero-card-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 6.2;
    object-fit: cover;
}

.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74, 4, 78, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

.hero-card-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #4a044e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Floating cards */
.floating-card {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(123, 45, 142, 0.15);
    z-index: 2;
}

.floating-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(123, 45, 142, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-card-text {
    display: flex;
    flex-direction: column;
}

.floating-card-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #4a044e;
    line-height: 1.2;
}

.floating-card-label {
    font-size: 0.75rem;
    color: #6b4c6e;
    font-weight: 600;
}

.floating-card--1 {
    top: 10%;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.floating-card--2 {
    bottom: 28%;
    left: -30px;
    animation: float 5s ease-in-out infinite 0.5s;
}

.floating-card--3 {
    bottom: 8%;
    right: 10%;
    animation: float 4.5s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 1023px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }
    .floating-card--1 { right: 0; }
    .floating-card--2 { left: 0; }
}

@media (max-width: 639px) {
    .hero {
        padding: 100px 20px 60px;
    }
    .hero-card-badge {
        left: 16px;
        bottom: 16px;
    }
    .floating-card {
        padding: 12px 14px;
        border-radius: 12px;
    }
    .floating-card-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    .floating-card-number {
        font-size: 1.1rem;
    }
    .floating-card-label {
        font-size: 0.688rem;
    }
    .floating-card--1 { top: 5%; right: -10px; }
    .floating-card--2 { bottom: 30%; left: -10px; }
    .floating-card--3 { bottom: 5%; right: 5%; }
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #fdf2ff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(123, 45, 142, 0.15);
}

.service-card-img-wrap {
    overflow: hidden;
    aspect-ratio: 4 / 2.8;
}

.service-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-card-body {
    padding: 24px;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(123, 45, 142, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.313rem;
    font-weight: 700;
    color: #4a044e;
    margin-bottom: 10px;
}

.service-card-desc {
    font-size: 0.938rem;
    line-height: 1.7;
    color: #6b4c6e;
}

@media (max-width: 1023px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .services {
        padding: 72px 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, #fdf2ff 0%, #fff 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(123, 45, 142, 0.15);
}

.about-img-main img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 6.2;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(123, 45, 142, 0.2);
    border: 5px solid #fdf2ff;
}

.about-img-secondary img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 32 / 40;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 30px;
    background: linear-gradient(135deg, #7B2D8E, #a21caf);
    color: #fff;
    border-radius: 20px;
    padding: 20px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(123, 45, 142, 0.3);
}

.about-exp-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
}

.about-exp-text {
    font-size: 0.813rem;
    font-weight: 600;
    opacity: 0.9;
    line-height: 1.4;
}

.about-content {
    max-width: 520px;
}

.about-text {
    font-size: 1.063rem;
    line-height: 1.8;
    color: #6b4c6e;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.about-value {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-value-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(123, 45, 142, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-value strong {
    display: block;
    font-size: 1rem;
    color: #4a044e;
    margin-bottom: 2px;
}

.about-value-desc {
    font-size: 0.875rem;
    color: #6b4c6e;
    line-height: 1.6;
}

@media (max-width: 1023px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-content {
        max-width: 100%;
    }
    .about-images {
        max-width: 480px;
    }
}

@media (max-width: 639px) {
    .about {
        padding: 72px 0;
    }
    .about-img-secondary {
        right: -10px;
        bottom: -20px;
    }
    .about-experience-badge {
        top: -15px;
        right: 20px;
        padding: 16px 18px;
    }
    .about-exp-number {
        font-size: 1.75rem;
    }
}

/* --- Gallery --- */
.gallery {
    padding: 100px 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(74, 4, 78, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(6) { grid-column: span 4; grid-row: span 1; }

@media (max-width: 1023px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .gallery-item {
        aspect-ratio: 4 / 3;
    }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 639px) {
    .gallery {
        padding: 72px 0;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item {
        aspect-ratio: 4 / 3;
    }
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #7B2D8E 0%, #a21caf 50%, #c026d3 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials .section-header {
    position: relative;
    z-index: 1;
}

.testimonials .section-title {
    color: #fff;
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #FDE68A;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-card-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-card-text {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-card-name {
    display: block;
    font-weight: 700;
    font-size: 0.938rem;
    color: #fff;
}

.testimonial-card-location {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 1023px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .testimonials {
        padding: 72px 0;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #4a044e 0%, #7B2D8E 60%, #a21caf 100%);
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(245, 158, 11, 0.12) 0%, transparent 60%),
                      radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fdf2ff;
    border-radius: 16px;
    padding: 20px 24px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(123, 45, 142, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 0.813rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7B2D8E;
    margin-bottom: 4px;
}

.contact-info-value {
    font-size: 1rem;
    color: #4a044e;
    line-height: 1.6;
}

.contact-link {
    color: #7B2D8E;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #a21caf;
    text-decoration: underline;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(123, 45, 142, 0.1);
}

/* Contact Form */
.contact-form-wrap {
    background: #fdf2ff;
    border-radius: 24px;
    padding: 40px;
}

.contact-form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a044e;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #4a044e;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(123, 45, 142, 0.15);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.938rem;
    color: #4a044e;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input::placeholder {
    color: #b08db0;
}

.form-input:focus {
    border-color: #7B2D8E;
    box-shadow: 0 0 0 4px rgba(123, 45, 142, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237B2D8E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(123, 45, 142, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a044e;
    margin-bottom: 10px;
}

.form-success-text {
    font-size: 1rem;
    color: #6b4c6e;
    line-height: 1.7;
    margin-bottom: 24px;
}

.hidden {
    display: none !important;
}

@media (max-width: 1023px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 639px) {
    .contact {
        padding: 72px 0;
    }
    .contact-form-wrap {
        padding: 28px;
    }
}

/* --- Footer --- */
.footer {
    background: #4a044e;
    color: rgba(255, 255, 255, 0.8);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.938rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    max-width: 280px;
}

.footer-heading {
    font-size: 0.813rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #F5A623;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.938rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #FDE68A;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-link:hover {
    color: #FDE68A;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-link:hover {
    color: #FDE68A;
}

@media (max-width: 1023px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 639px) {
    .footer {
        padding: 48px 0 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Back to top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #7B2D8E;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(123, 45, 142, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #86198f;
}

/* --- Reveal animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .js-enabled .reveal-up {
        opacity: 0;
        transform: translateY(30px);
    }

    .js-enabled .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
    }

    .js-enabled .reveal-right {
        opacity: 0;
        transform: translateX(30px);
    }

    .js-enabled.revealed .reveal-up,
    .js-enabled.revealed .reveal-left,
    .js-enabled.revealed .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* Reduced motion: ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}
