/* ==========================================================================
   JOAN-FRANGI — Premium Carpentry Website
   Design System & Styles
   Brand: Deep Oak #2C1810 | Warm Walnut #8B5E3C | Golden Sand #D4A574
          Cream Wood #F5EDE4 | Soft Charcoal #1A1A2E
   ========================================================================== */

/* Google Fonts - loaded via <link> in HTML to avoid render-blocking @import */

/* ---------- CSS VARIABLES ---------- */
:root {
    --color-oak: #2C1810;
    --color-walnut: #8B5E3C;
    --color-walnut-light: #A67B5B;
    --color-sand: #D4A574;
    --color-cream: #F5EDE4;
    --color-charcoal: #1A1A2E;
    --color-white: #FAFAF7;
    --color-black: #111;
    --color-text: #3a3028;
    --color-text-light: #7a6e62;
    --color-border: rgba(139, 94, 60, 0.15);

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lora', Georgia, serif;

    --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 24, 16, 0.1);
    --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.15);
    --shadow-xl: 0 16px 60px rgba(44, 24, 16, 0.2);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --container: 1200px;
    --nav-height: 80px;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-cream); }
::-webkit-scrollbar-thumb {
    background: var(--color-walnut);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-oak); }

::selection {
    background: var(--color-sand);
    color: var(--color-oak);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-oak);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; }

/* ---------- LAYOUT ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section-padding {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--color-walnut);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(139, 94, 60, 0.3);
}

.btn-primary:hover {
    background: var(--color-oak);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(44, 24, 16, 0.35);
}

.btn-outline {
    border: 2px solid var(--color-sand);
    color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-sand);
    color: var(--color-oak);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.nav.scrolled {
    background: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--color-border);
}

.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav__logo-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    object-fit: contain;
    transition: var(--transition);
}

/* On transparent nav (hero), brighten the logo to appear lighter */
.nav:not(.scrolled) .nav__logo-icon {
    filter: brightness(1.3) drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

.nav__logo-text {
    display: flex;
    flex-direction: column;
}

.nav__logo-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-white);
    line-height: 1;
    transition: var(--transition);
}

.nav.scrolled .nav__logo-name {
    color: var(--color-oak);
}

.nav__logo-tagline {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-sand);
    line-height: 1;
    margin-top: 4px;
}

/* Nav Links */
.nav__links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav__link {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%; right: 50%;
    height: 2px;
    background: var(--color-sand);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
    left: 0.85rem;
    right: 0.85rem;
}

.nav__link:hover { color: var(--color-white); }

.nav.scrolled .nav__link {
    color: var(--color-text-light);
}

.nav.scrolled .nav__link:hover,
.nav.scrolled .nav__link.active {
    color: var(--color-walnut);
}

.nav.scrolled .nav__link::after {
    background: var(--color-walnut);
}

/* CTA in nav */
.nav__cta {
    margin-left: 0.5rem;
    padding: 0.6rem 1.3rem;
    background: var(--color-walnut);
    color: var(--color-white) !important;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav__cta:hover {
    background: var(--color-oak);
    transform: translateY(-1px);
}

.nav__cta::after { display: none; }

/* Hamburger */
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.nav__hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--color-white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav.scrolled .nav__hamburger span {
    background: var(--color-oak);
}

.nav__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.active span:nth-child(2) {
    opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-slide:first-child {
    position: relative;
}

.hero-slide--active {
    opacity: 1;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.85) 0%,
        rgba(44, 24, 16, 0.75) 50%,
        rgba(139, 94, 60, 0.55) 100%
    );
    z-index: -1;
}

.hero__content {
    text-align: center;
    padding: 0 1.5rem;
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(212, 165, 116, 0.15);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: var(--radius-xl);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-sand);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInDown 1s ease 0.3s both;
}

.hero__title {
    color: var(--color-white);
    font-weight: 800;
    margin-bottom: 1.25rem;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero__title span {
    display: block;
    color: var(--color-sand);
    font-family: var(--font-body);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.3rem, 3vw, 2rem);
    margin-top: 0.5rem;
}

.hero__description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 550px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.9s both;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeIn 1s ease 1.5s both;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-sand), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-walnut);
    margin-bottom: 0.75rem;
    position: relative;
    padding: 0 2rem;
}

.section-header__label::before,
.section-header__label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 1.25rem;
    height: 1px;
    background: var(--color-sand);
}

.section-header__label::before { left: 0; }
.section-header__label::after { right: 0; }

.section-header__title {
    margin-bottom: 1rem;
}

.section-header__description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-light);
    font-size: 1.05rem;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
    background: var(--color-white);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-walnut), var(--color-sand));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-cream), rgba(212, 165, 116, 0.2));
    border-radius: var(--radius-md);
    color: var(--color-walnut);
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--color-walnut);
    color: var(--color-white);
    transform: scale(1.1);
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card__description {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery {
    background: var(--color-cream);
}

.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.gallery__filter-btn {
    padding: 0.6rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-white);
    transition: var(--transition);
}

.gallery__filter-btn:hover,
.gallery__filter-btn.active {
    background: var(--color-walnut);
    color: var(--color-white);
    border-color: var(--color-walnut);
    box-shadow: 0 4px 15px rgba(139, 94, 60, 0.25);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.1);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.5px;
}

.gallery__item-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-walnut);
    transition: var(--transition);
}

.gallery__item:hover .gallery__item-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* Featured (larger) */
.gallery__item--featured {
    grid-column: span 2;
    grid-row: span 2;
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(26, 26, 46, 0.55);
    backdrop-filter: blur(25px) saturate(1.2);
    -webkit-backdrop-filter: blur(25px) saturate(1.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__content {
    position: relative;
    max-width: 85vw;
    max-height: 85vh;
}

.lightbox__content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease;
}

.lightbox__close {
    position: absolute;
    top: -55px;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    cursor: pointer;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg) scale(1.1);
}

.lightbox__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.3rem;
    transition: var(--transition);
    cursor: pointer;
    z-index: 2001;
}

.lightbox__nav:hover {
    background: var(--color-walnut);
    border-color: var(--color-walnut);
    transform: translateY(-50%) scale(1.1);
}

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

.lightbox__counter {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

/* ==========================================================================
   360° VIRTUAL TOUR
   ========================================================================== */
.tour360 {
    background: var(--color-charcoal);
    position: relative;
    overflow: hidden;
}

.tour360::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(139, 94, 60, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 165, 116, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.tour360 .section-header__label {
    color: var(--color-sand);
}

.tour360 .section-header__title {
    color: var(--color-white);
}

.tour360 .section-header__description {
    color: rgba(255, 255, 255, 0.6);
}

.tour360__wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.tour360__frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(212, 165, 116, 0.2),
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(139, 94, 60, 0.1);
}

.tour360__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.tour360__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.tour360__info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.5;
}

.tour360__info strong {
    color: var(--color-sand);
}

.tour360__info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 50%;
    color: var(--color-sand);
}

.tour360__info-icon svg {
    width: 22px;
    height: 22px;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
    background: var(--color-white);
    overflow: hidden;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.about__images {
    position: relative;
}

.about__img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about__img-accent {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 5px solid var(--color-white);
    box-shadow: var(--shadow-lg);
}

.about__img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__badge {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    background: var(--color-walnut);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.about__badge-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.about__badge-text {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about__text h2 {
    margin-bottom: 1rem;
}

.about__subtitle {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--color-walnut);
    margin-bottom: 1.5rem;
}

.about__description {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.about__highlight {
    background: var(--color-cream);
    border-left: 4px solid var(--color-sand);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 2rem;
}

.about__highlight p {
    font-style: italic;
    color: var(--color-walnut);
    margin: 0;
    font-size: 0.95rem;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.about__stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-walnut);
    line-height: 1;
}

.about__stat-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

/* ==========================================================================
   FACEBOOK FEED
   ========================================================================== */
.facebook-section {
    background: var(--color-charcoal);
    position: relative;
    overflow: hidden;
}

.facebook-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 94, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 165, 116, 0.08) 0%, transparent 50%);
}

.facebook-section .section-header__label {
    color: var(--color-sand);
}

.facebook-section .section-header__label::before,
.facebook-section .section-header__label::after {
    background: rgba(212, 165, 116, 0.3);
}

.facebook-section .section-header__title {
    color: var(--color-white);
}

.facebook-section .section-header__description {
    color: rgba(255, 255, 255, 0.6);
}

.facebook__container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
}

.facebook__embed {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #fff;
}

.facebook__info {
    max-width: 380px;
    color: rgba(255, 255, 255, 0.7);
}

.facebook__info h3 {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.facebook__info p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.facebook__follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: #1877F2;
    color: #fff;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.facebook__follow-btn:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

.facebook__follow-btn svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
    background: var(--color-cream);
    position: relative;
}

.testimonials__track {
    overflow: hidden;
    position: relative;
}

.testimonials__slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 0 clamp(1rem, 5vw, 5rem);
}

.testimonial-card__inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-card__quote-icon {
    color: var(--color-sand);
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.testimonial-card__quote-icon svg {
    width: 48px;
    height: 48px;
}

.testimonial-card__text {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    font-style: italic;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-card__author {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-oak);
}

.testimonial-card__work {
    font-size: 0.85rem;
    color: var(--color-walnut);
    margin-top: 0.25rem;
}

.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.testimonials__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.testimonials__dot.active {
    background: var(--color-walnut);
    transform: scale(1.2);
}

.testimonials__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: var(--color-walnut);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 5;
}

.testimonials__nav:hover {
    background: var(--color-walnut);
    color: var(--color-white);
}

.testimonials__nav--prev { left: 1rem; }
.testimonials__nav--next { right: 1rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
    background: var(--color-white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(2rem, 5vw, 4rem);
}

.contact__form-wrapper {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-sm);
}

.contact__form-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-walnut);
    box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.contact__info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__info-card {
    background: var(--color-cream);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
}

.contact__info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact__info-card h4 {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.contact__info-card h4 svg {
    width: 20px;
    height: 20px;
    color: var(--color-walnut);
}

.contact__info-card p,
.contact__info-card a {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.contact__info-card a:hover {
    color: var(--color-walnut);
}

.contact__schedule {
    background: var(--color-walnut);
    color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.contact__schedule h4 {
    color: var(--color-white);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.contact__schedule h4 svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact__schedule-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__schedule-row:last-child {
    border-bottom: none;
}

.contact__schedule-day { opacity: 0.8; }
.contact__schedule-time { font-weight: 600; }

/* Map */
.contact__map {
    margin-top: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 350px;
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--color-oak);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.footer__logo-img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1) brightness(0.85);
    transition: var(--transition);
}

.footer__logo:hover .footer__logo-img {
    filter: brightness(0) invert(1);
}

.footer__brand-description {
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.7;
    opacity: 0.7;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

.footer__links li { margin-bottom: 0.6rem; }

.footer__links a {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.footer__links a:hover {
    opacity: 1;
    color: var(--color-sand);
    padding-left: 5px;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer__contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-sand);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer__social a:hover {
    background: var(--color-walnut);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

.footer__bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

.footer__legal {
    display: flex;
    gap: 1.5rem;
}

.footer__legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer__legal a:hover {
    color: var(--color-sand);
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1500;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 165, 116, 0.2);
}

.cookie-banner__text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner__text a {
    color: var(--color-sand);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-banner__btn {
    padding: 0.6rem 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.cookie-banner__btn--accept {
    background: var(--color-walnut);
    color: var(--color-white);
}

.cookie-banner__btn--accept:hover {
    background: var(--color-sand);
    color: var(--color-oak);
}

.cookie-banner__btn--reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-banner__btn--reject:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Triggered Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered children */
.stagger-children .reveal {
    transition-delay: calc(var(--i, 0) * 0.1s);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery__item--featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about__images {
        max-width: 500px;
        margin: 0 auto;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials__nav { display: none; }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    /* Mobile Nav */
    .nav__links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--color-oak);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav__links.open {
        right: 0;
    }

    .nav__link {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }

    .nav__link:hover {
        color: var(--color-white) !important;
    }

    .nav__link::after { display: none; }

    .nav__cta {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .nav__hamburger {
        display: flex;
    }

    /* Mobile overlay */
    .nav__overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    .nav__overlay.visible {
        opacity: 1;
        visibility: visible;
    }

    /* Gallery */
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services */
    .services__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Facebook */
    .facebook__container {
        flex-direction: column;
        align-items: center;
    }

    .facebook__info {
        text-align: center;
    }

    /* Contact */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer__legal {
        justify-content: center;
    }

    /* Cookie banner */
    .cookie-banner__inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner__text p {
        font-size: 0.8rem;
    }

    /* Lightbox */
    .lightbox__nav--prev { left: 10px; }
    .lightbox__nav--next { right: 10px; }
    .lightbox__nav {
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(10px);
    }
    .lightbox__content {
        max-width: 95vw;
    }
    .lightbox__close {
        top: -48px;
        right: 5px;
    }
}

@media (max-width: 480px) {
    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about__stats {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about__img-accent { display: none; }

    .gallery__grid {
        grid-template-columns: 1fr;
    }
}

/* Print styles */
@media print {
    .nav, .hero__scroll, .lightbox, .facebook-section, .whatsapp-float { display: none; }
    .hero { min-height: auto; padding: 2rem 0; }
    .hero__overlay { background: none; }
    .hero__title { color: #000; }
    body { color: #000; }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 15px rgba(37, 211, 102, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: whatsappPulse 2.5s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow:
        0 6px 25px rgba(37, 211, 102, 0.5),
        0 4px 10px rgba(0, 0, 0, 0.2);
    animation: none;
}

.whatsapp-float__tooltip {
    position: absolute;
    right: 72px;
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.whatsapp-float__tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--color-charcoal);
    border-right: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
}
