/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #C9A84C;
    --gold-light: #E8D48B;
    --gold-dark: #A07830;
    --rose-gold: #B76E79;
    --rose-gold-light: #D4A0A8;
    --black: #1a1208;
    --dark: #2d2010;
    --dark-2: #3d3020;
    --cream: #FDF8F0;
    --cream-2: #F5EDD8;
    --cream-3: #EDE0C4;
    --warm-white: #FFFDF7;
    --gray: #8a7a6a;
    --gray-light: #c8b89a;
    --gray-dark: #5a4a3a;
    --white: #ffffff;
    --text-primary: #2d2010;
    --text-secondary: #5a4a3a;
    --text-muted: #8a7a6a;
    --glass-bg: rgba(255, 248, 230, 0.7);
    --glass-border: rgba(201, 168, 76, 0.2);
    --shadow: 0 20px 60px rgba(160, 120, 48, 0.15);
    --shadow-sm: 0 10px 30px rgba(160, 120, 48, 0.1);
    --shadow-gold: 0 10px 40px rgba(201, 168, 76, 0.25);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border: 1px solid rgba(201, 168, 76, 0.2);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== UTILITY CLASSES ========== */
.gold {
    color: var(--gold-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========== GLASS MORPHISM (Light) ========== */
.glass-card {
    background: rgba(255, 253, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn i {
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 168, 76, 0.5);
    color: var(--white);
}

.btn-secondary {
    background: var(--cream-2);
    color: var(--text-primary);
    border: 2px solid var(--cream-3);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--cream-3);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--gold-dark);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-glow {
    animation: glowLight 2.5s infinite;
}

@keyframes glowLight {
    0%, 100% { box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35); }
    50% { box-shadow: 0 8px 45px rgba(201, 168, 76, 0.65); }
}

.btn-lg {
    padding: 18px 42px;
    font-size: 1.05rem;
}

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

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    color: white;
}

/* ========== PAGE HEADER ========== */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream-2) 0%, var(--cream) 50%, var(--cream-3) 100%);
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(183, 110, 121, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(201, 168, 76, 0.08) 0%, transparent 40%);
}

.page-header-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(circle, rgba(201, 168, 76, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
}

.page-header-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--cream));
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 15px;
    color: var(--text-primary);
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--gold-dark);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb span {
    margin: 0 8px;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 999;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    animation: pulseWA 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(-110%) translateY(-50%);
}

.whatsapp-tooltip {
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateX(-100%) translateY(-50%);
    background: var(--text-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    font-family: 'Poppins', sans-serif;
}

@keyframes pulseWA {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}



/* ========== GALLERY MODAL ========== */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 18, 8, 0.95);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: var(--gold-light);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--white);
    transform: rotate(90deg);
}

.modal-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 248, 230, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav button:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

.modal-prev { left: 20px; }
.modal-next { right: 20px; }

/* ========== QUOTE POPUP ========== */
.quote-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.quote-popup.active {
    opacity: 1;
    visibility: visible;
}

.quote-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 18, 8, 0.65);
    backdrop-filter: blur(8px);
}

.quote-popup-content {
    position: relative;
    max-width: 520px;
    width: 90%;
    padding: 45px;
    z-index: 1;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    background: var(--warm-white);
    border: 1px solid rgba(201, 168, 76, 0.3);
    box-shadow: 0 30px 80px rgba(160, 120, 48, 0.25);
}

.quote-popup.active .quote-popup-content {
    transform: scale(1) translateY(0);
}

.quote-popup-content h2 {
    font-size: 1.9rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.quote-popup-content > p {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.quote-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 28px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.quote-close:hover {
    color: var(--gold-dark);
    transform: rotate(90deg);
}

/* ========== FORM STYLES ========== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group label i {
    color: var(--gold);
    margin-right: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    background: var(--cream);
    border: 1.5px solid var(--cream-3);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--warm-white);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1);
}

.form-group select option {
    background: var(--warm-white);
    color: var(--text-primary);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ========== CALLBACK POPUP ========== */
.callback-popup {
    position: fixed;
    bottom: 110px;
    right: 30px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.callback-popup.active {
    opacity: 1;
    visibility: visible;
}

.callback-content {
    padding: 30px;
    width: 300px;
    background: var(--warm-white);
    border: 1px solid rgba(201, 168, 76, 0.25);
    box-shadow: var(--shadow);
}

.callback-content h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.callback-content input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 12px;
    background: var(--cream);
    border: 1.5px solid var(--cream-3);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.callback-content input:focus {
    outline: none;
    border-color: var(--gold);
}

.callback-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition);
}

.callback-close:hover {
    color: var(--gold-dark);
}

/* ========== DECORATIVE ELEMENTS ========== */
.section-decorator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.section-decorator::before,
.section-decorator::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
}

.section-decorator::after {
    background: linear-gradient(to left, transparent, var(--gold));
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 140px 0 60px;
    }

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