/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg-light: #FAF8F5;
    --color-bg-dark: #1C1B1A;
    --color-bg-card: #FFFFFF;
    --color-text-main: #2C2A29;
    --color-text-muted: #6B6866;
    --color-text-light: #FFFFFF;
    
    --color-primary: #0A1C36;       /* Elegant Burgundy */
    --color-primary-hover: #050F1E;
    --color-primary-light: #E6ECF5;
    
    --color-accent: #D4AF37;        /* Antique Gold */
    --color-accent-hover: #BCA250;
    --color-accent-light: #FAF8F2;
    
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #20BA5A;
    --color-border: #E8E5E0;
    --color-error: #D32F2F;
    --color-success: #388E3C;

    /* Fonts */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Manrope', 'Segoe UI', Helvetica, Arial, sans-serif;

    /* Transitions & Shadows */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(44, 42, 41, 0.08);
    --shadow-lg: 0 16px 40px rgba(44, 42, 41, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Spacing */
    --header-height: 80px;
    --header-height-mobile: 70px;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.25;
}

p {
    margin-bottom: 1.2rem;
    font-weight: 300;
}

strong {
    font-weight: 600;
}

/* Helpers */
.text-light {
    color: var(--color-text-light) !important;
}

.section-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 88px 24px;
}

.section-pretitle {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.section-header-center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-header-center .section-pretitle,
.section-header-center .section-title,
.section-header-center .section-description {
    text-align: center;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 28, 54, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-light);
    border: 1px solid var(--color-text-light);
}

.btn-secondary:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1120px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.main-header.scrolled .logo-img {
    height: 40px;
    width: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    line-height: 1;
}

.brand-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    font-weight: 600;
    line-height: 1.4;
}

/* Main Nav */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-main);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn-cta {
    background-color: var(--color-primary);
    color: var(--color-text-light) !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav-btn-cta::after {
    display: none;
}

.nav-btn-cta:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(10, 28, 54, 0.15);
}

/* Hamburger menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    z-index: 1001;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: var(--header-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-text-light);
    overflow: hidden;
    background-color: var(--color-bg-dark);
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 55%;
    z-index: 0;
    transform: scale(1.02);
    animation: heroKenBurns 18s ease-out forwards;
}

@keyframes heroKenBurns {
    from { transform: scale(1.06); }
    to { transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-img {
        animation: none;
        transform: none;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 28, 54, 0.35) 0%, rgba(28, 27, 26, 0.55) 45%, rgba(28, 27, 26, 0.72) 100%),
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(10, 28, 54, 0.15) 0%, rgba(28, 27, 26, 0.45) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content-container {
    position: relative;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding: 72px 24px 96px;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text-content {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-brand {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.05;
    margin: 0 0 20px;
    color: var(--color-text-light);
}

.hero-brand span {
    display: block;
    margin-top: 6px;
    font-size: 0.42em;
    letter-spacing: 0.42em;
    font-weight: 600;
    color: var(--color-accent);
}

.hero-title {
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 500;
    max-width: 18ch;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 300;
    max-width: 42ch;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Trust strip — simétrico, fuera del hero */
.trust-strip {
    background-color: var(--color-bg-dark);
    border-top: 2px solid var(--color-accent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-strip-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 84px;
}

.badge-item:last-child {
    border-right: none;
}

.badge-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.badge-text {
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--color-text-light);
    text-align: left;
    line-height: 1.3;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    background-color: var(--color-bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 3px solid var(--color-accent);
}

.exp-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.exp-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    font-weight: 600;
}

.about-text-content .section-title {
    margin-bottom: 24px;
}

.about-paragraph {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.about-highlights {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.highlight-icon {
    width: 24px;
    height: 24px;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.highlight-text {
    font-size: 1rem;
    color: var(--color-text-main);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: #F6F3EE; /* Slightly darker cream for depth */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.service-card {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.service-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-content .service-link {
    margin-top: auto;
}

.service-card-title {
    font-size: 1.3rem;
    font-family: var(--font-serif);
    color: var(--color-text-light);
    background: linear-gradient(135deg, var(--color-primary) 0%, #112543 100%);
    padding: 12px 24px;
    margin: -48px -32px 24px -32px;
    position: relative;
    z-index: 10;
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 4px 12px rgba(10, 28, 54, 0.15);
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-title {
    background: linear-gradient(135deg, #0e274b 0%, #183863 100%);
    border-left-width: 8px;
    box-shadow: 0 6px 18px rgba(10, 28, 54, 0.25);
}

.service-card-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    height: 80px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.service-features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: "•";
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-link:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   BEFORE/AFTER SLIDER SECTION
   ========================================================================== */
.comparison-section {
    background-color: var(--color-bg-light);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    user-select: none;
    --position: 50%;
}

.image-before, .image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-before img, .image-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-after {
    clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%);
}

.slider-label {
    position: absolute;
    bottom: 24px;
    background-color: rgba(28, 27, 26, 0.8);
    color: var(--color-text-light);
    padding: 6px 14px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    z-index: 10;
}

.label-before {
    left: 24px;
}

.label-after {
    right: 24px;
}

/* The Draggable bar */
.slider-handle {
    position: absolute;
    top: 0;
    left: var(--position);
    width: 4px;
    height: 100%;
    background-color: var(--color-accent);
    cursor: ew-resize;
    z-index: 15;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.handle-line {
    flex-grow: 1;
    width: 2px;
    background-color: var(--color-accent);
}

.handle-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-accent);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 3px solid var(--color-text-light);
    transition: var(--transition-fast);
}

.slider-handle:hover .handle-button {
    transform: scale(1.1);
    background-color: var(--color-accent-hover);
}

.arrow {
    color: var(--color-text-light);
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1;
}

.arrow-left {
    margin-right: -2px;
}

.arrow-right {
    margin-left: -2px;
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-section {
    background-color: #F6F3EE;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    color: var(--color-text-muted);
}

.filter-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-primary);
}

.filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: var(--color-bg-card);
    aspect-ratio: 1/1;
    transition: var(--transition-smooth);
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 28, 54, 0.9); /* Deep burgundy overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    padding: 24px;
    text-align: center;
    color: var(--color-text-light);
}

.gallery-item-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.gallery-item-title {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 16px;
}

.zoom-icon {
    font-size: 1.5rem;
    color: var(--color-text-light);
}

/* Hover States */
.gallery-img-wrapper:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-img-wrapper:hover .gallery-item-overlay {
    opacity: 1;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 27, 26, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--color-text-light);
    font-size: 2.5rem;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--color-accent);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    font-size: 3.5rem;
    padding: 20px;
    transition: var(--transition-fast);
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--color-accent);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    color: var(--color-text-light);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    text-align: center;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    background-color: var(--color-bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.testimonial-card {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 36px 28px;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-rating {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.7;
}

.testimonial-author {
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-primary);
}

.testimonial-author span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
    background-color: #F6F3EE;
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: var(--transition-fast);
}

.faq-trigger:hover {
    background-color: var(--color-accent-light);
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-primary);
    font-family: var(--font-serif);
}

.faq-icon-status {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.faq-icon-status::before, .faq-icon-status::after {
    content: '';
    position: absolute;
    background-color: var(--color-primary);
    transition: transform 0.25s ease-out;
}

/* horizontal line */
.faq-icon-status::before {
    top: 7px;
    left: 0;
    width: 100%;
    height: 2px;
}

/* vertical line */
.faq-icon-status::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 100%;
}

.faq-trigger[aria-expanded="true"] .faq-icon-status::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-trigger[aria-expanded="true"] .faq-icon-status::before {
    transform: rotate(180deg);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-content-inner {
    padding: 0 32px 24px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    background-color: var(--color-bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.contact-info-panel {
    background-color: var(--color-bg-dark);
    padding: 60px 48px;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
}

.contact-info-panel .section-title {
    margin-bottom: 16px;
}

.contact-subtitle {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 48px;
}

.info-details-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex-grow: 1;
}

.info-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-icon {
    font-size: 1.8rem;
    color: var(--color-accent);
    line-height: 1;
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    font-weight: 600;
}

.detail-valueLink {
    font-size: 1.25rem;
    font-family: var(--font-serif);
    font-weight: 600;
    margin-top: 4px;
}

.detail-valueLink:hover {
    color: var(--color-accent);
}

.detail-value {
    font-size: 1.05rem;
    font-weight: 300;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-socials {
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.socials-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.socials-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link-btn {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-light);
    display: inline-flex;
    align-items: center;
}

.social-link-btn:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

/* Form Panel */
.contact-form-panel {
    background-color: var(--color-bg-card);
    padding: 60px 48px;
}

.form-panel-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.form-panel-subtitle {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 36px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-row .form-group {
    flex-grow: 1;
    margin-bottom: 0;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.required {
    color: var(--color-error);
}

input[type="text"], input[type="tel"], select, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background-color: var(--color-bg-light);
    transition: var(--transition-fast);
    outline: none;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--color-primary);
    background-color: var(--color-bg-card);
    box-shadow: 0 0 0 3px rgba(10, 28, 54, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* File Upload Button styling */
.file-upload-label {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    background-color: var(--color-bg-light);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.file-upload-label:hover {
    border-color: var(--color-accent);
    background-color: var(--color-accent-light);
}

.file-upload-icon {
    font-size: 1.8rem;
}

.file-upload-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

input[type="file"] {
    display: none;
}

.file-name-display {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 6px;
    text-align: center;
}

/* Error States */
.form-group.invalid input, .form-group.invalid textarea {
    border-color: var(--color-error);
    background-color: #FFF8F8;
}

.form-error-msg {
    color: var(--color-error);
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}

.form-group.invalid .form-error-msg {
    display: block;
}

.form-success-alert {
    display: none;
    background-color: #E8F5E9;
    color: var(--color-success);
    padding: 16px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--color-success);
    margin-top: 20px;
    font-size: 0.95rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    border-top: 4px solid var(--color-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 60px;
    width: 60px;
    margin-bottom: 16px;
}

.footer-brand-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.footer-brand-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-weight: 300;
    max-width: 320px;
}

.footer-heading {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-links ul, .footer-services ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a, .footer-services a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.footer-links a:hover, .footer-services a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.legal-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.legal-link:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background-color: var(--color-whatsapp);
    color: var(--color-text-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
}

.wa-icon {
    width: 32px;
    height: 32px;
}

.whatsapp-floating-btn:hover {
    background-color: var(--color-whatsapp-hover);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

.wa-tooltip {
    position: absolute;
    right: 76px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: var(--color-bg-dark);
}

.whatsapp-floating-btn:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
    right: 72px;
}

/* Pulse animation */
@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-floating-btn {
    animation: waPulse 2s infinite;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */

/* Tablet & Smaller Laptops (1024px) */
@media (max-width: 1024px) {
    .section-container {
        padding: 60px 20px;
    }
    .about-grid {
        gap: 40px;
    }
    .services-grid {
        gap: 20px;
    }
    .slider-wrapper {
        height: 400px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .gallery-item {
        aspect-ratio: 1/1;
    }
    .footer-grid {
        gap: 40px;
    }
}

/* Small Screens & Mobile (768px) */
@media (max-width: 768px) {
    /* Navigation override */
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height-mobile);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height-mobile));
        background-color: var(--color-bg-light);
        padding: 40px 24px;
        border-top: 1px solid var(--color-border);
        transform: translateX(-100%);
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-md);
        display: block;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .nav-link {
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
    }

    .nav-btn-cta {
        text-align: center;
        margin-top: 12px;
    }

    /* Active toggle state */
    .nav-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .main-header {
        height: var(--header-height-mobile);
    }
    .main-header.scrolled {
        height: var(--header-height-mobile);
    }

    /* Hero section overrides */
    .hero-section {
        padding-top: var(--header-height-mobile);
        min-height: calc(100svh - 0px);
    }

    .hero-content-container {
        padding: 56px 20px 72px;
    }

    .hero-brand {
        letter-spacing: 0.14em;
    }

    .hero-title {
        max-width: none;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .hero-actions {
        width: 100%;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .trust-strip-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .badge-item {
        padding: 18px 12px;
        gap: 10px;
        min-height: 76px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .badge-item:nth-child(2n) {
        border-right: none;
    }

    .badge-item:nth-child(n+3) {
        border-bottom: none;
    }

    .badge-text {
        font-size: 0.78rem;
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
        width: calc(100% - 32px);
    }

    .about-experience-badge {
        right: -16px;
        bottom: -16px;
        padding: 16px;
    }

    .exp-number {
        font-size: 2rem;
    }

    .exp-text {
        font-size: 0.65rem;
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card-description {
        height: auto;
        display: block;
    }

    /* Before/After slider */
    .slider-wrapper {
        height: 320px;
    }

    .handle-button {
        width: 40px;
        height: 40px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* FAQ */
    .faq-trigger {
        padding: 20px;
    }

    .faq-question {
        font-size: 1rem;
    }

    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        padding: 40px 24px;
    }

    .contact-form-panel {
        padding: 40px 24px;
    }

    .form-row.split {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Float Button */
    .whatsapp-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .wa-icon {
        width: 26px;
        height: 26px;
    }

    .whatsapp-floating-btn:hover .wa-tooltip {
        display: none; /* Hide tooltip on mobile hover */
    }
}

/* ==========================================================================
   SVG VECTOR ICONS STYLING
   ========================================================================== */
.badge-svg {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
    display: block;
}

.detail-svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
    display: block;
}

.zoom-svg {
    width: 36px;
    height: 36px;
    color: var(--color-text-light);
    transition: var(--transition-smooth);
}

.upload-svg {
    width: 28px;
    height: 28px;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.file-upload-label:hover .upload-svg {
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* Adjust layout to align SVG icons correctly */
.badge-item {
    gap: 16px;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-detail-item {
    align-items: center;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   SCROLL REVEAL & PAGE LOAD ANIMATIONS
   ========================================================================== */
/* Initial states */
.reveal {
    opacity: 0;
    transition: opacity 1.0s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 1.0s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.95) translateY(20px);
}

/* Animate-in triggered states */
.reveal.animate-in {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Staggered Delay classes */
.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

/* Hero entrance reveal styles */
.hero-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity;
}

.hero-reveal.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Custom micro-interactions and transitions overrides */
.nav-link {
    transition: color 0.3s ease;
}

.btn {
    transition: background-color 0.3s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.service-card {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.gallery-item {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.5s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.faq-item {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

/* Input elements transition */
input, select, textarea {
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

/* Lightbox transition */
.lightbox {
    transition: opacity 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.35s;
}
