:root {
    --primary-color: #F5C2B7;
    /* Soft Pink from image */
    --secondary-color: #D4AF37;
    /* Gold accent */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-cream: #FAF7F5;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
blockquote {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

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

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-text {
    font-size: 3rem;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: var(--primary-color);
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0.3;
        transform: scale(0.95);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.logo-nav img {
    height: 40px;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('img/bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: translateY(0);
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-logo {
    max-width: 400px;
    width: 90vw;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.hero-text-overlay .subtitle {
    margin-top: 2rem;
    font-size: 0.9rem;
    letter-spacing: 5px;
    color: var(--text-dark);
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    opacity: 0.6;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--text-dark), transparent);
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Experience Section */
.experience-section {
    padding: 10rem 0;
    background: var(--bg-cream);
}

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

.tag {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

h2 em {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.experience-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--text-dark);
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    border: 1px solid var(--text-dark);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-dark);
}

.image-wrapper {
    position: relative;
}

.rounded-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 300px 300px 0 0;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.floating-badge {
    position: absolute;
    bottom: 10%;
    right: -20px;
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 50%;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    box-shadow: 0 10px 30px rgba(245, 194, 183, 0.4);
}

/* Services Section */
.services-section {
    padding: 10rem 0;
    background: var(--bg-white);
}

.grid.reverse {
    direction: ltr;
}

.grid.reverse .image-content {
    order: -1;
}

.rounded-img-alt {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 0 0 300px 300px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.services-list-compact {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.services-list-compact li {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    padding: 0.8rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.locations-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-cream);
    border-left: 3px solid var(--primary-color);
    text-align: left;
}

.locations-box p {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 992px) {
    .grid.reverse .image-content {
        order: 0;
    }
    
    .services-list-compact li {
        font-size: 1.5rem;
    }
}

/* Quote Section */
.quote-section {
    position: relative;
    padding: 15rem 0;
    text-align: center;
    overflow: hidden;
}

.parallax-bg-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/bg.png');
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 194, 183, 0.6);
    z-index: 0;
}

.quote-content {
    position: relative;
    z-index: 1;
}

blockquote {
    font-size: 4rem;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.2;
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 10rem 0;
    background-image: url('img/fondo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Light overlay for better readability */
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-cream);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Contact Info Styles */
.contact-info-container {
    margin-top: 5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.contact-item {
    padding: 0 1rem;
}

.city-tag {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.contact-item a:hover {
    color: var(--primary-color);
}

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

    .contact-info-container {
        margin-top: 3rem;
        padding-top: 2rem;
    }
}

/* QR Overlap Styles */
.footer {
    position: relative;
    padding: 5rem 0;
    background: var(--bg-cream);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-info {
    position: relative;
}

.qr-footer-overlap {
    position: absolute;
    top: -200px;
    /* Adjusted for much larger size */
    right: 50px;
    /* Moved far to the right */
    width: 350px;
    height: 350px;
    z-index: 100;
    pointer-events: none;
    /* Allow clicking through it to elements below if necessary */
}

.qr-img-small {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    opacity: 0.9;
    /* Slight transparency to make it less aggressive */
}

@media (max-width: 1200px) {
    .qr-footer-overlap {
        right: 0;
        width: 250px;
        height: 250px;
        top: -150px;
    }
}

@media (max-width: 768px) {
    .qr-footer-overlap {
        position: relative;
        top: 0;
        margin: 2rem auto 0;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    padding: 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 2rem;
}

.btn-submit:hover {
    background: var(--text-dark);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    padding: 5rem 0;
    background: var(--bg-cream);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 30px;
}

.footer-links ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-info p {
    font-size: 0.7rem;
    color: var(--text-light);
    opacity: 0.6;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 992px) {
    h2 {
        font-size: 2.5rem;
    }

    blockquote {
        font-size: 2.5rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .rounded-img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links li:not(.logo-nav) {
        display: none;
    }

    .nav-links {
        justify-content: center;
    }

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

    .form-container {
        padding: 2rem;
    }

    .footer-grid {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}