/* ----- BASE & VARIABLES ----- */
:root {
    /* Color Palette: Dusty Pink & Warm Brown */
    --color-bg: #FFFFFF;
    /* Pure white background */
    --color-bg-alt: #FFF2F2;
    /* Soft pinkish background for contrast */

    --color-primary: #DFA2A4;
    /* More vibrant Dusty Pink */
    --color-primary-light: #F4DADB;
    --color-primary-dark: #C68183;

    --color-accent: #8E7A76;
    /* Warm greyish brown */

    --color-text: #4A3E3D;
    /* Deep Espresso Brown */
    --color-text-muted: #847572;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 15px 50px rgba(212, 163, 115, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset just exact for header */
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-name,
.nav-link {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: #ffffff;
}

.bg-cream {
    background-color: #F5F0E8;
}

.bg-brown {
    background-color: var(--color-text);
    color: #fff;
}

.bg-brown .section-title {
    color: #fff;
}

.bg-brown .subtitle {
    color: var(--color-primary-light);
}

.bg-brown .lead {
    color: rgba(255, 255, 255, 0.7);
}

/* Adjustments for components inside brown sections */
.bg-brown .price-tab {
    background: #F5F0E8; /* Cream for the side ones */
    border-color: rgba(0, 0, 0, 0.05);
    color: var(--color-text);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bg-brown .price-tab:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.bg-brown .price-title {
    color: var(--color-text);
}

.bg-brown .pl-name {
    color: var(--color-text-muted);
}

.bg-brown .pl-price {
    color: var(--color-text);
}

/* Featured (LPG) back to original light look on brown section */
.bg-brown .price-tab.featured {
    background: var(--color-bg-alt); /* Original pinkish-cream */
    border: none;
    color: var(--color-text);
}

.bg-brown .price-tab.featured .price-title,
.bg-brown .price-tab.featured .pl-price {
    color: var(--color-text);
}

.bg-brown .price-tab.featured .pl-name {
    color: var(--color-text-muted);
}

.bg-brown .price-tab.featured .price-list li {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.bg-brown .popular-badge {
    background: var(--color-text);
    color: #fff;
}

.text-center {
    text-align: center;
}

/* Typography Classes */
.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 4px;
    /* Slightly sharp for elegance */
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(223, 162, 164, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(223, 162, 164, 0.3);
}

.btn-review {
    background-color: var(--color-text);
    color: #fff;
    border: none;
    border-radius: 40px;
    box-shadow: var(--shadow-soft);
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-review i {
    color: #fff;
    font-size: 1.1rem;
}

.btn-review:hover {
    background-color: #332a29;
    /* Slightly darker than --color-text */
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: #fff;
}

.btn-full {
    width: 100%;
}


/* ----- NAVIGATION ----- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(252, 251, 249, 0.85);
    backdrop-filter: blur(12px);
    /* Glassmorphism */
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(252, 251, 249, 0.95);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-text);
}

.logo-desc {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--color-text);
    position: relative;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* NAVBAR DROPDOWN STYLES */
.nav-item {
    position: relative;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-primary-light);
    min-width: 220px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-link:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
    padding-left: 1.8rem;
}

.nav-btn.nav-link {
    padding: 10px 20px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 40px;
}

.nav-btn.nav-link::after {
    display: none;
}

.nav-btn.nav-link:hover {
    background: var(--color-primary-dark);
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.header-social {
    color: var(--color-text);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.header-social:hover {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
}


/* ----- HERO SECTION ----- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('img/hero_prueba2.jpeg') no-repeat;
    background-position: 100% 20%;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 40%, rgba(255, 255, 255, 0) 80%);
}

.hero-content {
    max-width: 800px;
    padding: 0 4rem;
    z-index: 2;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.hero-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 4rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.mouse {
    width: 20px;
    height: 30px;
    border: 1px solid var(--color-text-muted);
    border-radius: 10px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 3px;
    height: 6px;
    background: var(--color-text-muted);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 8px);
        opacity: 0;
    }
}


/* ----- BRANDS BAR ----- */
.brands-bar {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.brands-track {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.6;
    transition: var(--transition);
}

.brand-item:hover {
    opacity: 1;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.brand-sub {
    font-size: 0.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* ----- ABOUT US ----- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.about-visual {
    position: relative;
    height: 600px;
}

.image-frame {
    position: absolute;
    border-radius: 120px 120px 0 0;
    /* Arch shape */
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

.framing-1 {
    width: 65%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 2;
}

.framing-2 {
    width: 50%;
    height: 65%;
    bottom: 0;
    right: 0;
    z-index: 3;
    border: 10px solid var(--color-bg);
}

.accent-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--color-bg-alt);
    top: -20px;
    right: 30px;
    z-index: 1;
}


/* ----- SERVICES ----- */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    flex: 1 1 300px;
    max-width: 380px;
    background: #fff;
    padding: 3rem 2rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.service-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    background: var(--color-bg-alt);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: #fff;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    font-size: 0.8rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}


/* ----- IMAGE STRIP ----- */
.image-strip {
    width: 100%;
    height: 300px;
    background: url('img/fondo_2.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.parallax-strip {
    background-attachment: fixed;
}

/* ----- PRICING ----- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.price-tab {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-primary-light);
    position: relative;
    transition: var(--transition);
}

.price-tab:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.price-tab.featured {
    background: var(--color-bg-alt);
    border: none;
    padding: 4rem 2.5rem;
    transform: scale(1.02);
    box-shadow: var(--shadow-soft);
}

.brand-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.price-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-text);
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 20px;
}

.price-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.price-list li:last-child {
    border-bottom: none;
}

.pl-name {
    color: var(--color-text-muted);
}

.pl-price {
    font-weight: 500;
    color: var(--color-text);
}


/* ----- TESTIMONIALS ----- */
.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    margin-top: 1rem;
}

.stars {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.score {
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid var(--color-primary-light);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-primary-dark);
    opacity: 0.5;
}

.t-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.t-avatar {
    width: 45px;
    height: 45px;
    background: var(--color-bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-primary-dark);
}

.t-name {
    font-size: 1rem;
    margin-bottom: 2px;
}

.t-stars {
    color: var(--color-primary);
    font-size: 0.7rem;
}


/* ----- CONTACT / FOOTER ----- */
.contact {
    background-color: var(--color-text);
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.contact-info {
    padding: 3rem 3rem 3rem 4rem;
    display: flex;
    align-items: center;
}

.contact-form-container {
    background: var(--color-text);
    padding: 3rem 3rem 3rem 0;
    display: flex;
}

.form-wrapper {
    width: 100%;
}

.form-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(223, 162, 164, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.text-light {
    color: #fff;
}

.text-light-muted {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary-light);
    margin-bottom: 5px;
}

.info-item p,
.info-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.info-item a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.social-icon:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.contact-map {
    min-height: 300px;
    height: 100%;
    filter: grayscale(40%) contrast(1.1);
    padding: 3rem 4rem 3rem 1rem;
    background: transparent;
    display: flex;
    align-items: center;
}

.contact-map iframe {
    border-radius: var(--radius);
    width: 100%;
    height: 100%;
    max-height: 400px;
    box-shadow: var(--shadow-soft);
}

/* ----- FAQ SECTION ----- */
.faq-section {
    background-color: #F5F0E8;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    box-shadow: var(--shadow-soft);
    border-color: var(--color-primary-light);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question i {
    color: var(--color-primary);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--color-primary-dark);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #faf9f8;
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ----- MODALS (LEGAL) ----- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 62, 61, 0.8);
    /* Dark var(--color-text) tone */
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius);
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

/* NAVIGATION */
.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
}

/* NAVBAR DROPDOWN STYLES */
.nav-item {
    position: relative;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid var(--color-primary-light);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-link:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
    padding-left: 1.8rem;
}

.nav-btn {
    padding: 10px 24px;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-primary-light);
}

.modal-body p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.modal-body strong {
    color: var(--color-text);
}

.modal-body {
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 15px;
    /* prevent bar overlap */
}

/* Custom scrollbar for modal */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: 10px;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    background-color: var(--color-text);
    color: #fff;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.2;
}

.footer-brand small {
    color: var(--color-primary-light);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-social-circles {
    display: flex;
    gap: 0.8rem;
}

.footer-social-circle {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social-circle:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: #fff;
}


/* ----- FLOATING WHATSAPP BUTTON ----- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(223, 162, 164, 0.4);
    /* color-primary with opacity */
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(223, 162, 164, 0.6);
}

/* Pulse animation for WhatsApp button */
.floating-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}


/* ----- ANIMATIONS UTILITIES ----- */
.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up-element.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ----- RESPONSIVE DESIGN ----- */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .price-tab.featured {
        transform: scale(1);
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
    }

    /* Fix parallax on tablets and mobile (iOS doesn't support fixed) */
    .image-strip {
        background-attachment: scroll;
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Unstack the arch photos into clean vertical layout */
    .image-frame {
        position: relative;
        border-radius: 20px;
        width: 100% !important;
        height: auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }

    .framing-2 {
        border: none;
    }

    .image-frame img {
        height: 300px;
    }

    .accent-circle {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 3rem 2rem;
    }

    .contact-form-container {
        padding: 3rem 2rem;
    }

    .contact-map {
        padding: 0 2rem 2rem;
        min-height: 250px;
    }

    .contact-map iframe {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 75px; 
    }

    /* ----- MOBILE NAVIGATION ----- */
    .nav-container {
        flex-wrap: wrap;
        position: relative;
    }

    .nav-logo {
        flex: 1;
    }

    /* Hide desktop menu, show mobile toggle */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 1.5rem 2rem 2rem;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        gap: 0;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
        opacity: 0;
        padding: 0 2rem;
    }

    .nav-menu .dropdown-icon {
        margin-left: 10px;
    }

    /* Open state — triggered by JS adding .open class */
    .nav-menu.open {
        display: flex;
        max-height: 600px;
        opacity: 1;
        padding: 1.5rem 2rem 2rem;
    }

    .nav-menu .nav-item {
        width: 100%;
    }

    .nav-menu .nav-link {
        padding: 0.9rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        text-align: right;
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    .nav-menu .nav-btn.nav-link {
        margin-top: 0.5rem;
        text-align: center;
        justify-content: center;
        display: inline-flex;
        border-radius: 8px;
        border-bottom: none;
        align-self: flex-end;
    }

    /* Mobile dropdown: show on tap via .open class */
    .nav-menu .has-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: #faf9f8;
        border-radius: 8px;
        padding: 0.5rem 0;
        margin: 0.5rem 0;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .nav-menu .has-dropdown .dropdown-menu.open {
        display: block;
    }

    .nav-menu .dropdown-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        color: var(--color-text-muted);
        text-align: right;
        display: block;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 1rem;
        background: none;
        border: none;
        font-size: 1.4rem;
        color: var(--color-text);
        cursor: pointer;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        transition: var(--transition);
    }

    .menu-toggle:hover {
        background: var(--color-bg-alt);
    }

    .nav-socials {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }

    /* ----- HERO MOBILE ----- */
    .hero-image-container {
        background-position: 65% 20%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .hero-text {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Hide scroll indicator on mobile (no mouse) */
    .scroll-indicator {
        display: none;
    }

    /* ----- GENERAL MOBILE ----- */
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-visual {
        height: auto;
    }

    /* ----- CONTACT MOBILE ----- */
    .contact-info {
        padding: 3rem 1.5rem;
    }

    .contact-form-container {
        padding: 3rem 1.5rem;
    }

    .form-title {
        font-size: 1.8rem;
    }

    /* ----- FOOTER MOBILE ----- */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    /* ----- MODALS MOBILE ----- */
    .modal-content {
        padding: 1.5rem;
        width: 95%;
        margin: 1rem;
    }

    .modal-close {
        top: 12px;
        right: 15px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
        padding-right: 2rem;
    }

    /* ----- WHATSAPP BUTTON MOBILE ----- */
    .floating-whatsapp {
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
        bottom: 20px;
        right: 20px;
    }
}

/* ----- TOAST NOTIFICATION ----- */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--color-text);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    max-width: 90vw;
    width: max-content;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification i {
    color: var(--color-primary);
    font-size: 1.1rem;
}