@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --color-primary: #1a1a1a;
    --color-secondary: #2c2c2c;
    --color-accent: #c9a96e;
    --color-accent-light: #ddb97a;
    --color-accent-dark: #b88c52;
    --color-bg: #faf8f5;
    --color-bg-alt: #f4f1ed;
    --color-card: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-success: #10b981;
    --color-white: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html:not(.managed-images-ready) body:not(.admin-page) img { visibility: hidden; }
html:not(.managed-images-ready) body:not(.admin-page) [style*="background-image"] { background-image: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
:focus-visible { outline: 3px solid #b7791f; outline-offset: 3px; }
.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10001;
    padding: 0.75rem 1rem;
    background: white;
    color: #1a1a1a;
    transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    min-width: 0;
}

img, picture, svg, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}
#logo-img{
    max-width: 50%;
    width: 50%;
    height: auto;
    display: block;
    
}

iframe {
    min-height: 220px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-medium), visibility var(--transition-medium);
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo {
    text-align: center;
}
.preloader-logo h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
}
.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--color-bg-alt);
    border-top: 3px solid var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Container */
.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
.image-load-notice {
    padding: .8rem 1rem;
    background: #fff3d4;
    color: #49320b;
    text-align: center;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--color-bg-alt);
    padding: 1rem 0;
    font-size: 0.9rem;
}
.breadcrumb a {
    color: var(--color-accent);
    text-decoration: none;
}
.breadcrumb span { color: var(--color-text); }

/* Header */
header {
    background: rgba(26,26,26,0.95);
    color: var(--color-white);
    padding: 1rem 2rem;
    position: relative;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}
body.js-enabled header { position: sticky; }
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.logo picture,
.logo > img {
    flex-shrink: 0;
}
.logo-img {
    height: 40px;
    width: auto;
}
.logo h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.15;

}
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

nav ul li {
    position: relative;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    position: relative;
}
.nav-link:hover, .nav-link.active {
    background: rgba(201,169,110,0.2);
    color: var(--color-white);
}
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-primary);
    min-width: 200px;
    width: 220px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
}
.dropdown li { list-style: none; }
.dropdown a {
    display: block;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    color: var(--color-white);
    text-decoration: none;
}
.navbar li:hover > .dropdown,
.navbar li:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a:hover {
    background: var(--color-accent);
    color: var(--color-primary);
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero, .page-hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
    background-color: var(--color-primary);
}
.hero {
    height: 100vh;
    height: 100dvh;
    height: calc(var(--vh, 1vh) * 100);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,26,0.8) 0%, rgba(44,44,44,0.6) 100%);
    z-index: 1;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,26,0.7) 0%, rgba(44,44,44,0.5) 100%);
    z-index: 1;
}
.page-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 50vh;
}
.hero > *, .page-hero > * { position: relative; z-index: 2; }
.hero > .banner-video, .page-hero > .banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    border-radius: 0;
}
.hero > .banner-video.is-playing, .page-hero > .banner-video.is-playing { opacity: 1; }
.hero h1, .page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    line-height: 1.2;
    max-width: 20ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}
.hero p, .page-hero p { font-size: 1.25rem; margin-bottom: 2rem; max-width: 600px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.cta-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(201,169,110,0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,169,110,0.5); }
.cta-button.large { padding: 1.25rem 3rem; font-size: 1.1rem; }
.cta-button.secondary { background: transparent; border: 2px solid var(--color-white); color: var(--color-white); }
.cta-button.full { width: 100%; justify-content: center; }
.cta-button.service-cta { padding: 0.75rem 1.5rem; font-size: 0.9rem; }

.get-quote-btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.get-quote-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(201,169,110,0.6), 0 0 20px rgba(201,169,110,0.3);
}

/* Pricing Badge */
.pricing-badge {
    background: linear-gradient(135deg, #f1e7d5 0%, #dfcba7 100%);
    color: var(--color-primary);
    padding: 4rem 2rem;
    text-align: center;
}
.pricing-badge .feature {
    padding: 1.5rem;
    border: 1px solid rgba(75, 58, 34, .15);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, .55);
}
.badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Gallery */
.masonry { padding: 5rem 2rem; background: var(--color-card); }
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.gallery-masonry img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #e8e3dc;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
}
.gallery-masonry img:hover { transform: scale(1.02); }

.gallery {
    padding: 5rem 2rem;
    background: var(--color-card);
}

.gallery h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #e8e3dc;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
}
.gallery-masonry img[data-lightbox-image],
.gallery-grid img[data-lightbox-image] { cursor: pointer; }

.gallery-grid img:hover {
    transform: scale(1.02);
}

.services {
    padding: 5rem 2rem;
    background: var(--color-bg-alt);
}

.services h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

#contact.services {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    text-align: center;
}

#contact.services .contact-grid {
    margin: 3rem 0;
}

#contact.services .contact-card {
    background: rgba(255,255,255,0.1);
}

#contact.services .contact-card a {
    color: var(--color-accent);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.feature h4 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Service FAQ */
.service-faq {
    padding: 5rem 2rem;
    background: var(--color-bg-alt);
}
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item {
    background: var(--color-card);
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.faq-item h4 {
    padding: 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid var(--color-bg-alt);
}
.faq-item h4.faq-heading-enhanced { padding: 0; }
.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.5rem;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.faq-toggle:focus-visible { outline-offset: -4px; }
.faq-answer {
    padding-top: 1rem;
}
.faq-answer p { padding: 0 1.5rem 1.5rem; }

/* Content Section */
.content-section {
    padding: 5rem 2rem;
    background: var(--color-bg-alt);
}
.content-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-primary);
}
.content-section p {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* Video Section */
.video-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--color-card) 0%, var(--color-bg-alt) 100%);
    text-align: center;
}
.video-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* Related Services */
.related-services {
    padding: 5rem 2rem;
    background: var(--color-card);
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}
.service-item {
    background: var(--color-bg-alt);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(201,169,110,0.1);
}
.service-item:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}
.service-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #e8e3dc;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}
.service-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}
.service-item p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    text-align: center;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 2rem;
    margin: 3rem 0;
    min-width: 0;
}
.contact-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-fast);
    min-width: 0;
    box-sizing: border-box;
}
.contact-card:hover { transform: translateY(-5px); }
.contact-icon { font-size: 3rem; margin-bottom: 1rem; }
.contact-card a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: inline-block;
    max-width: 105%;
}
.contact-card strong,
.contact-card br + a {
    display: inline-block;
    max-width: 100%;
}
.contact-form {
    display: none;
    max-width: 920px;
    margin: 0 auto;
    color: #24231f;
    text-align: left;
    background: #f9f7f3;
    border: 1px solid #e3d8c8;
    border-radius: 20px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
    overflow: hidden;
}
.contact-form.is-ready {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}
.contact-form-header {
    padding: clamp(2rem, 4vw, 3rem);
    background: #27382f;
    color: #fff;
}
.contact-form-eyebrow {
    color: #e4c992;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .14em;
    line-height: 1.6;
}
.contact-form-eyebrow::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin: 1.5rem 0;
    background: #d3b27a;
}
.contact-form-heading {
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.65rem);
    line-height: 1.16;
}
.contact-form-intro { color: #e6e9e4; font-size: .95rem; line-height: 1.7; margin-top: 1rem; }
.contact-form-fields { padding: clamp(1.5rem, 4vw, 3rem); min-width: 0; }
.contact-field {
    display: block;
    min-width: 0;
    color: #34322d;
    text-align: left;
    font-size: .875rem;
    font-weight: 600;
}
.contact-field input, .contact-field textarea { display: block; margin-top: .5rem; }
.contact-notice { margin-top: 1.1rem; color: #59564f; font-size: .8rem; line-height: 1.6; text-align: left; }
.contact-notice a { color: #344f3c; text-decoration: underline; text-underline-offset: 2px; }
.contact-verification { margin-bottom: 1rem; }
.contact-result { color: #302f2b; text-align: left; margin-top: 1.25rem; padding: 1rem; background: #efeae2; border-left: 3px solid #ad8950; border-radius: 4px; overflow-wrap: anywhere; }
.contact-result:empty { display: none; }
.contact-whatsapp-link { display: inline-block; color: #195b36; font-weight: 600; margin-top: .75rem; text-underline-offset: 3px; }
.contact-form button[type="submit"] {
    min-height: 54px;
    padding: .9rem 1.5rem;
    color: #fff;
    background: #293d32;
    border: 1px solid #293d32;
    border-radius: 8px;
    box-shadow: none;
    font: 600 1rem var(--font-body);
    cursor: pointer;
}
.contact-form button[type="submit"]:hover:not(:disabled) { background: #3c5746; box-shadow: none; }
.contact-form button:disabled { opacity: .65; cursor: wait; }

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 52px;
    padding: .85rem 1rem;
    color: #24231f;
    border: 1px solid #c8c0b4;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: #fff;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    margin-bottom: 1.2rem;
    box-sizing: border-box;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #716e67; opacity: 1; }

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8c6b31;
    box-shadow: 0 0 0 3px rgba(140, 107, 49, .2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (max-width: 768px) {
    .contact-form.is-ready { grid-template-columns: 1fr; }
    .contact-form-header { padding: 2rem 1.5rem; }
    .contact-form-eyebrow::after { margin: 1rem 0; }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Mobile CTA */
.mobile-cta {
    position: fixed;
    bottom: 80px;
    left: 2rem;
    right: 2rem;
    z-index: 100;
    display: none;
}
/* The floating WhatsApp button provides the same action without covering content. */

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    animation: pulse 2s infinite;
    z-index: 100;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 90px;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    color: var(--color-primary);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 100;
    box-shadow: var(--shadow-md);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: scale(1.1); }

/* Footer */
.footer {
    background: var(--color-primary);
    color: rgba(255,255,255,0.8);
    padding: 4rem 2rem 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}
.footer-logo {
    height: 50px;
    width: auto;
    max-width: min(100%, 220px);
    object-fit: contain;
    margin-bottom: 1rem;
}
.footer-section p {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-decoration: none;
    transition: background var(--transition-fast);
}
.social-links a:hover { background: var(--color-accent); }
.footer-section h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--color-white);
}
.footer-section ul { list-style: none; }
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.footer-section a:hover { color: var(--color-accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}
.footer-bottom a { color: var(--color-accent); }
.footer-bottom p {
    overflow-wrap: anywhere;
    word-break: break-word;
    padding: 0 0.5rem;
}

/* Legal pages (Privacy, Terms) */
.legal-page {
    padding: 2.5rem 1.5rem 4rem;
    max-width: 820px;
    margin: 0 auto;
    background: var(--color-bg);
}
.legal-page h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
.legal-page .legal-updated {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}
.legal-page h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin: 2rem 0 0.75rem;
}
.legal-page p,
.legal-page li {
    color: var(--color-text);
    font-size: 0.98rem;
    margin-bottom: 0.75rem;
}
.legal-page ul {
    padding-left: 1.35rem;
    margin: 0.5rem 0 1rem;
}
.legal-page a {
    color: var(--color-accent-dark);
}

/* About section: responsive two-column layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Scroll reveal (heroes stay visible — never dimmed by .reveal) */
body.has-reveal .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
body.has-reveal .reveal.hero,
body.has-reveal .reveal.page-hero {
    opacity: 1;
    transform: none;
}
body.has-reveal .reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}
body.has-reveal .reveal:focus-within {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .hero > .container > h1,
    .hero > .container > p,
    .hero > .container > .hero-cta,
    .page-hero > h1,
    .page-hero > p,
    .page-hero > .hero-cta {
        animation: content-enter .7s ease-out backwards;
    }
    .hero > .container > p, .page-hero > p { animation-delay: .1s; }
    .hero > .container > .hero-cta, .page-hero > .hero-cta { animation-delay: .2s; }

    body.has-reveal .reveal-active .features-grid > .feature,
    body.has-reveal .reveal-active .service-grid > .service-item,
    body.has-reveal .reveal-active .gallery-masonry > img,
    body.has-reveal .reveal-active .gallery-grid > img,
    body.has-reveal .reveal-active .contact-grid > .contact-card {
        animation: content-enter .55s ease-out backwards;
    }
    body.has-reveal .reveal-active :is(.features-grid, .service-grid, .gallery-masonry, .gallery-grid, .contact-grid) > :nth-child(3n + 2) { animation-delay: .08s; }
    body.has-reveal .reveal-active :is(.features-grid, .service-grid, .gallery-masonry, .gallery-grid, .contact-grid) > :nth-child(3n) { animation-delay: .16s; }
}

@keyframes content-enter {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Gallery lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}
.lightbox img {
    max-width: min(95vw, 1200px);
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}
.lightbox-caption {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 0.95rem;
    text-align: center;
    max-width: 90vw;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 2;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), transform var(--transition-fast);
}
.lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}
.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    background: rgba(201, 169, 110, 0.9);
    color: var(--color-primary);
    font-weight: 700;
}
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.lightbox-close:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.25);
}
.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: calc(100vw - 2rem);
    text-align: center;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast-success {
    border-left: 4px solid var(--color-success);
}

/* Tablet */
@media (max-width: 992px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .logo h2 {
        font-size: 1.25rem;
    }
}


/* Mobile & small tablet */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 72px;
    }
    .container {
        padding: 0 1.25rem;
    }
    header {
        padding: 0.75rem 0;
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        min-width: 44px;
        min-height: 44px;
    }
    .navbar {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.5rem;
    }
    .navbar .logo {
        flex: 1;
        min-width: 0;
    }
    .navbar .logo h2 {
        flex: 1;
        min-width: 0;
        font-size: clamp(0.72rem, 3.4vw, 1.15rem);
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }
    nav ul {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1001;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background: var(--color-primary);
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        max-height: min(calc(100vh - 72px), 85vh);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    nav.active ul {
        display: flex;
    }
    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    nav ul .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        border-radius: 0;
    }
    nav.active ul li .dropdown {
        position: static;
        width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.25);
        margin: 0 0 0.5rem;
        border-radius: var(--border-radius);
        min-width: unset;
    }
    nav.active ul li.dropdown-open .dropdown {
        display: block;
    }
    .navbar:not(.js-nav) { flex-wrap: wrap; }
    .navbar:not(.js-nav) > ul,
    .navbar:not(.js-nav) .dropdown {
        display: flex;
        position: static;
        width: 100%;
        max-height: none;
        overflow: visible;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
    }
    .navbar:not(.js-nav) .dropdown { padding: 0 0 0 1rem; min-width: 0; }
    .navbar:not(.js-nav) .mobile-menu-btn { display: none; }
    .dropdown a {
        padding: 0.65rem 1.25rem;
    }
    .hero h1, .page-hero h1 {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }
    .hero p, .page-hero p {
        font-size: 1.05rem;
        padding: 0 0.5rem;
    }
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .gallery-masonry {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .pricing-badge {
        padding: 2.5rem 1.25rem;
    }
    .masonry,
    .content-section,
    .service-faq,
    .related-services,
    .gallery,
    .services,
    .video-section {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .whatsapp-btn {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }
    .back-to-top {
        bottom: 16px;
        right: 78px;
        width: 46px;
        height: 46px;
    }
    .mobile-cta {
        left: 1rem;
        right: 1rem;
        bottom: 88px;
    }
    .footer {
        padding: 3rem 1.25rem 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-section {
        padding: 3.5rem 1.25rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        margin: 2rem 0;
    }
    .contact-card {
        padding: 1.5rem 1.25rem;
        text-align: center;
    }
    .faq-answer.active {
        max-height: 400px;
    }
    .lightbox-prev { left: 0.25rem; }
    .lightbox-next { right: 0.25rem; }
}

@media (max-width: 480px) {
    .navbar .logo {
        gap: 0.35rem;
    }
    .navbar .logo h2 {
        font-size: clamp(0.65rem, 3.6vw, 0.82rem);
        line-height: 1.2;
        letter-spacing: 0.02em;
    }
    .logo-img {
        height: 32px;
    }
    .preloader-logo h2 {
        font-size: 1.75rem;
    }
}

@media print {
    .preloader,
    .mobile-menu-btn,
    .mobile-cta,
    .whatsapp-btn,
    .back-to-top,
    .lightbox {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body.has-reveal .reveal { opacity: 1; transform: none; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
