/* 
   ==========================================================================
   MAQUIYO PANAMERA — DESIGN SYSTEM & LAYOUT
   ==========================================================================
   Premium Cosmetics, Makeup and Beauty Aesthetics Style Sheet
   Inspiración: Dior, Chanel & Charlotte Tilbury
   ========================================================================== 
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette */
    --color-primary: #E91E63;       /* Luxury Rose */
    --color-primary-rgb: 233, 30, 99;
    --color-gold: #D4AF37;          /* Classic Gold */
    --color-gold-hover: #AA771C;    /* Deep Gold */
    
    /* Light Mode Variables */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;        /* Soft Slate */
    --bg-tertiary: #F1F5F9;
    --text-primary: #111827;        /* Charcoal Black */
    --text-secondary: #4B5563;      /* Muted Grey */
    --text-light: #9CA3AF;
    --border-color: #E2E8F0;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --nav-bg: rgba(255, 255, 255, 0.85);
    
    /* Gradients */
    --grad-gold: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    --grad-rose: linear-gradient(135deg, #FF4B91 0%, #E91E63 50%, #9C1B4A 100%);
    --grad-overlay: linear-gradient(to bottom, rgba(17, 24, 39, 0.3) 0%, rgba(17, 24, 39, 0.7) 100%);

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Layout */
    --max-width: 1280px;
    --header-height: 80px;
    --border-radius: 12px;
    --transition-speed: 0.4s;
}

/* Dark Mode Theme Mapping */
[data-theme="dark"] {
    --bg-primary: #0F172A;          /* Very Dark Slate */
    --bg-secondary: #1E293B;        /* Muted Dark */
    --bg-tertiary: #334155;
    --text-primary: #F8FAFC;        /* Off White */
    --text-secondary: #CBD5E1;      /* Light Muted */
    --text-light: #64748B;
    --border-color: #334155;
    --card-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
    --nav-bg: rgba(15, 23, 42, 0.85);
}

/* Base Styles & Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

/* Typographic Accents */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

.text-gold {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-rose {
    color: var(--color-primary);
}

.section-tag {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    display: block;
}

.section-title-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--grad-gold);
}

.lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Buttons and Links */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--grad-rose);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-hover);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--grad-gold);
    color: #111827;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    font-weight: 600;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

/* Navigation Header */
.top-bar {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-size: 0.75rem;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    position: relative;
}

.top-bar-info {
    display: flex;
    gap: 1.5rem;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-links a {
    margin-left: 1rem;
    opacity: 0.8;
}

.top-bar-links a:hover {
    opacity: 1;
    color: var(--color-gold);
}

header {
    height: var(--header-height);
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    transition: background-color var(--transition-speed) ease;
}

.nav-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    font-size: 0.75rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle-btn {
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-primary);
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.theme-toggle-btn:hover {
    color: var(--color-primary);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.burger-line {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: calc(95vh - var(--header-height));
    position: relative;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    background-color: #111827;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transform: scale(1.05);
    animation: zoomHero 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-overlay);
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
}

.hero-text-wrapper {
    max-width: 650px;
}

.hero-tag {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    display: block;
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s 0.2s ease forwards;
    opacity: 0;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s 0.4s ease forwards;
    color: rgba(255, 255, 255, 0.85);
}

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s 0.6s ease forwards;
    display: flex;
    gap: 1rem;
}

/* Glass Card & Grid layout */
.section-padding {
    padding: 7.5rem 0;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
}

.glass-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Cards Premium for Services */
.service-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 480px;
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.2) 60%, rgba(17, 24, 39, 0) 100%);
    transition: background 0.4s ease;
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    color: #FFFFFF;
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.service-card-desc {
    font-size: 0.875rem;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, height 0.4s ease;
    color: rgba(255, 255, 255, 0.8);
}

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

.service-card:hover .service-card-content {
    transform: translateY(0);
}

.service-card:hover .service-card-desc {
    opacity: 1;
    height: auto;
    margin-top: 0.5rem;
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Detail Service Layouts */
.service-details {
    padding: 5rem 0;
}

.service-meta-info {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.meta-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
}

.meta-item div {
    display: flex;
    flex-direction: column;
}

.meta-item span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.meta-item strong {
    font-size: 1.125rem;
    color: var(--text-primary);
}

/* Accordion FAQs */
.accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-secondary);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    text-align: left;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--bg-tertiary);
}

.accordion-icon {
    font-size: 0.875rem;
    transition: transform 0.4s ease;
    color: var(--color-gold);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: var(--bg-primary);
}

.accordion-content-inner {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.accordion-item.active {
    border-color: var(--color-gold);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* FAQ Finder/Search */
.faq-search-wrapper {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    position: relative;
}

.faq-search-input {
    width: 100%;
    padding: 1.125rem 3rem 1.125rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-family: var(--font-sans);
    background: var(--bg-secondary);
    color: var(--text-primary);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.faq-search-input:focus {
    border-color: var(--color-gold);
    background: var(--bg-primary);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.1);
}

.faq-search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* Dynamic Gallery (Masonry & Lightbox) */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.gallery-grid {
    columns: 4 280px;
    column-gap: 1.5rem;
    margin: 0 auto;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.7);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
    color: #FFFFFF;
    padding: 1.5rem;
    text-align: center;
}

.gallery-item-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.gallery-item-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
}

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

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

/* Lightbox container */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    color: #FFFFFF;
    margin-top: 1rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #FFFFFF;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--color-primary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #FFFFFF;
    font-size: 2.5rem;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
    padding: 1rem;
}

.lightbox-prev { left: -80px; }
.lightbox-next { right: -80px; }
.lightbox-nav:hover { color: var(--color-gold); }

/* Image Comparison Slider (Before and After) */
.comparison-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.image-compare-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    user-select: none;
}

.image-compare-before,
.image-compare-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-compare-before img,
.image-compare-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-compare-after {
    width: 50%;
    overflow: hidden;
    z-index: 2;
    border-right: 2px solid #FFFFFF;
}

.image-compare-label {
    position: absolute;
    top: 1.5rem;
    background: rgba(17, 24, 39, 0.7);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.label-before { right: 1.5rem; }
.label-after { left: 1.5rem; z-index: 10; }

.image-compare-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #FFFFFF;
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.image-compare-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.image-compare-handle-circle::before,
.image-compare-handle-circle::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.image-compare-handle-circle::before {
    border-right: 6px solid var(--text-primary);
    margin-right: 3px;
}

.image-compare-handle-circle::after {
    border-left: 6px solid var(--text-primary);
    margin-left: 3px;
}

/* Blog layouts */
.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-img {
    height: 240px;
    overflow: hidden;
}

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

.blog-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
}

.blog-card-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.blog-card-excerpt {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-link {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gold-hover);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-link:hover {
    color: var(--color-primary);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

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

/* Contact and Map styling */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    width: 24px;
}

.contact-info-text h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-text p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Form Styles */
.premium-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-label {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-gold);
    background-color: var(--bg-primary);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.08);
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-group input {
    margin-top: 0.25rem;
}

.checkbox-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.checkbox-label a {
    color: var(--color-primary);
}

/* Embedded Google Maps Container */
.map-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Premium Footer */
footer {
    background-color: #0F172A;
    color: #E2E8F0;
    padding: 6rem 0 3rem 0;
    border-top: 1px solid #1E293B;
}

[data-theme="dark"] footer {
    background-color: #090D16;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-gold);
}

.footer-col p {
    color: #94A3B8;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: block;
}

.footer-logo span {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    display: block;
    margin-top: 0.25rem;
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: #94A3B8;
}

.footer-contact-icon {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1E293B;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: #64748B;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-legal-links a {
    margin-left: 1.5rem;
    color: #64748B;
}

.footer-legal-links a:hover {
    color: #94A3B8;
}

/* Floating Elements (WhatsApp & Back to Top) */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.float-btn:hover {
    transform: scale(1.1) translateY(-3px);
}

.float-whatsapp {
    background-color: #25D366;
}

.float-whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.float-scrolltop {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.float-scrolltop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Animations */
@keyframes zoomHero {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.08); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .footer-top { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .gallery-grid { columns: 3 240px; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .top-bar { display: none; }
    .burger-menu { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 4rem;
        gap: 2.5rem;
        z-index: 100;
        transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .burger-menu.open .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .burger-menu.open .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.open .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .hero h1 { font-size: 2.25rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    
    .image-compare-wrapper { height: 350px; }
    .gallery-grid { columns: 2 150px; }
    .lightbox-nav { font-size: 2rem; }
    .lightbox-prev { left: -40px; }
    .lightbox-next { right: -40px; }
}

@media (max-width: 480px) {
    .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal-links a { margin: 0 0.5rem; display: inline-block; }
    .gallery-grid { columns: 1 100%; }
}
