/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --c-bg: #faf8f5;
    --c-bg-alt: #f2ede6;
    --c-text: #2c2418;
    --c-text-light: #6b5e4f;
    --c-primary: #4a7c59;
    --c-primary-dark: #3a6347;
    --c-primary-light: #e8f0ea;
    --c-accent: #c8956c;
    --c-accent-light: #f5ece4;
    --c-wood: #8b6f47;
    --c-wood-light: #d4b896;
    --c-white: #ffffff;
    --c-border: #e5ddd3;

    --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ff-display: 'Playfair Display', Georgia, serif;

    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --fs-base: clamp(1rem, 0.9rem + 0.45vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 1rem + 0.55vw, 1.375rem);
    --fs-xl: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem);
    --fs-2xl: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
    --fs-3xl: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(44,36,24,0.06);
    --shadow-md: 0 4px 16px rgba(44,36,24,0.08);
    --shadow-lg: 0 8px 32px rgba(44,36,24,0.1);
    --shadow-xl: 0 16px 48px rgba(44,36,24,0.12);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

em {
    font-style: normal;
    color: var(--c-primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-tag {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-primary);
    background: var(--c-primary-light);
    padding: 0.35em 1em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--ff-display);
    font-size: var(--fs-2xl);
    line-height: 1.15;
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: var(--fs-lg);
    color: var(--c-text-light);
    max-width: 600px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    padding: 0.85em 2em;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--c-primary);
    color: var(--c-white);
    border-color: var(--c-primary);
}

.btn--primary:hover {
    background: var(--c-primary-dark);
    border-color: var(--c-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--c-white);
    border-color: rgba(255,255,255,0.4);
}

.btn--outline:hover {
    background: var(--c-white);
    color: var(--c-text);
    border-color: var(--c-white);
}

.btn--lg {
    padding: 1em 2.5em;
    font-size: var(--fs-base);
}

.btn--full {
    width: 100%;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: var(--transition);
}

.nav--scrolled {
    background: rgba(250,248,245,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 0.6rem 0;
}

.nav--scrolled .nav__link {
    color: var(--c-text);
}

.nav--scrolled .nav__logo-text {
    color: var(--c-text);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.4em;
    font-size: 1.25rem;
    z-index: 1001;
}

.nav__logo-icon {
    font-size: 1.5em;
}

.nav__logo-text {
    color: var(--c-white);
    font-weight: 400;
    transition: var(--transition);
}

.nav__logo-text strong {
    font-weight: 800;
}

.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav--scrolled .nav__toggle span {
    background: var(--c-text);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250,248,245,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav__menu.active {
    opacity: 1;
    visibility: visible;
}

.nav__link {
    font-size: var(--fs-lg);
    font-weight: 500;
    color: var(--c-white);
    transition: var(--transition);
    position: relative;
}

.nav__menu .nav__link {
    color: var(--c-text);
    font-size: 1.5rem;
}

.nav__link--cta {
    background: var(--c-primary);
    color: var(--c-white) !important;
    padding: 0.5em 1.5em;
    border-radius: var(--radius-full);
}

.nav__link--cta:hover {
    background: var(--c-primary-dark);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: var(--space-3xl) 0 var(--space-xl);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2c3e2d 0%, #1a2e1c 40%, #3a5a3c 100%);
}

.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(200,149,108,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(74,124,89,0.2) 0%, transparent 50%);
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    color: var(--c-white);
}

.hero__badge {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-accent);
    border: 1px solid rgba(200,149,108,0.4);
    padding: 0.4em 1.2em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease-out;
}

.hero__title {
    font-family: var(--ff-display);
    font-size: var(--fs-3xl);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero__title em {
    color: var(--c-accent);
    font-style: italic;
}

.hero__subtitle {
    font-size: var(--fs-lg);
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero__stats {
    display: flex;
    gap: var(--space-xl);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat-number {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--c-accent);
    line-height: 1;
}

.hero__stat-label {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.6);
    margin-top: 0.3em;
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.4);
    font-size: var(--fs-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ===== ABOUT ===== */
.about {
    padding: var(--space-3xl) 0;
}

.about__grid {
    display: grid;
    gap: var(--space-xl);
}

.about__text {
    font-size: var(--fs-lg);
    color: var(--c-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about__features {
    display: grid;
    gap: var(--space-md);
}

.about__feature {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    padding: var(--space-md);
    background: var(--c-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
    transition: var(--transition);
}

.about__feature:hover {
    border-color: var(--c-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.about__feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-primary-light);
    border-radius: var(--radius-md);
}

.about__feature h3 {
    font-size: var(--fs-sm);
    font-weight: 700;
    margin-bottom: 0.25em;
}

.about__feature p {
    font-size: var(--fs-xs);
    color: var(--c-text-light);
}

.about__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__image-stack {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
}

.about__image {
    position: absolute;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image--1 {
    width: 80%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 1;
}

.about__image--2 {
    width: 60%;
    height: 60%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 4px solid var(--c-bg);
}

/* ===== PLACEHOLDER IMAGES ===== */
.placeholder-img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, var(--c-primary-light) 0%, var(--c-bg-alt) 50%, var(--c-accent-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-light);
    font-size: var(--fs-sm);
    font-weight: 500;
    position: relative;
}

.placeholder-img::after {
    content: attr(data-label);
    padding: 0.5em 1em;
    background: rgba(255,255,255,0.8);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
}

.placeholder-img--product {
    min-height: 220px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-card__img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__img {
    transform: scale(1.05);
}

/* ===== PRODUCTS ===== */
.products {
    padding: var(--space-3xl) 0;
    background: var(--c-bg-alt);
}

.products__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.products__header .section-desc {
    margin: 0 auto;
}

.products__grid {
    display: grid;
    gap: var(--space-md);
}

.product-card {
    background: var(--c-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--c-border);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-primary);
}

.product-card__image {
    overflow: hidden;
}

.product-card__content {
    padding: var(--space-md);
}

.product-card__content h3 {
    font-size: var(--fs-base);
    font-weight: 700;
    margin-bottom: 0.3em;
}

.product-card__content p {
    font-size: var(--fs-xs);
    color: var(--c-text-light);
    line-height: 1.5;
}

.product-card__arrow {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    background: var(--c-primary);
    color: var(--c-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: var(--transition);
}

.product-card:hover .product-card__arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== 3D EXPERIENCE ===== */
.experience-3d {
    padding: var(--space-3xl) 0;
}

.experience-3d__grid {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
}

.experience-3d__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.experience-3d__feat {
    display: flex;
    align-items: center;
    gap: 0.75em;
    font-size: var(--fs-sm);
    font-weight: 500;
}

.experience-3d__feat-icon {
    font-size: 1.25rem;
}

.viewer-container {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a2e1c 0%, #2c3e2d 50%, #3a5a3c 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.viewer-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    position: absolute;
    inset: 0;
}

.viewer-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(26,46,28,0.7);
    backdrop-filter: blur(4px);
    z-index: 1;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.viewer-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.viewer-overlay__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    background: none;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-lg) var(--space-xl);
    color: var(--c-white);
    cursor: pointer;
    transition: var(--transition);
}

.viewer-overlay__btn:hover {
    border-color: var(--c-primary);
    background: rgba(74,124,89,0.2);
}

.viewer-overlay__btn span {
    font-size: var(--fs-base);
    font-weight: 600;
}

.viewer-overlay__hint {
    margin-top: var(--space-sm);
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.5);
}

.viewer-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: rgba(26,46,28,0.85);
    z-index: 2;
    color: rgba(255,255,255,0.7);
    font-size: var(--fs-sm);
}

.viewer-loading__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: var(--c-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== MODELS 3D ===== */
.models-3d {
    padding: var(--space-3xl) 0;
    background: var(--c-bg-alt);
}

.models-3d__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.models-3d__header .section-desc {
    margin: 0 auto;
}

.models-3d__cards {
    display: grid;
    gap: var(--space-md);
}

.model-card {
    background: var(--c-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--c-border);
    text-align: center;
    padding-bottom: var(--space-md);
    transition: var(--transition);
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.model-card__viewer {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-bg-alt));
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-card__placeholder {
    color: var(--c-primary);
    opacity: 0.4;
    animation: float 4s ease-in-out infinite;
}

.model-card h4 {
    font-size: var(--fs-base);
    font-weight: 700;
    margin: var(--space-sm) 0 0.3em;
}

.model-card__badge {
    font-size: var(--fs-xs);
    color: var(--c-accent);
    font-weight: 600;
}

/* ===== GALLERY ===== */
.gallery {
    padding: var(--space-3xl) 0;
}

.gallery__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.gallery__header .section-desc {
    margin: 0 auto;
}

.gallery__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--space-xl);
}

.gallery__filter {
    font-family: var(--ff-body);
    font-size: var(--fs-xs);
    font-weight: 600;
    padding: 0.5em 1.2em;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-full);
    background: var(--c-white);
    color: var(--c-text-light);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.gallery__filter:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

.gallery__filter.active {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: var(--c-white);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery__item.hidden {
    display: none;
}

.gallery__img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery__img .placeholder-img {
    min-height: unset;
    height: 100%;
    transition: transform 0.5s ease;
}

.gallery__item:hover .gallery__img .placeholder-img {
    transform: scale(1.05);
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44,36,24,0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__overlay span {
    color: var(--c-white);
    font-size: var(--fs-sm);
    font-weight: 600;
}

@media (min-width: 640px) {
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-md);
    }
}

/* ===== CLIENTS ===== */
.clients {
    padding: var(--space-3xl) 0;
}

.clients__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.clients__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.client-logo {
    width: 160px;
    height: 80px;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--c-text-light);
    font-size: var(--fs-sm);
    transition: var(--transition);
}

.client-logo:hover {
    border-color: var(--c-primary);
    box-shadow: var(--shadow-sm);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #2c3e2d 0%, #1a2e1c 50%, #3a5a3c 100%);
    color: var(--c-white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(200,149,108,0.1) 0%, transparent 60%);
}

.cta-banner__content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner__content h2 {
    font-family: var(--ff-display);
    font-size: var(--fs-2xl);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.cta-banner__content em {
    color: var(--c-accent);
}

.cta-banner__content p {
    font-size: var(--fs-lg);
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-lg);
}

/* ===== CONTACT ===== */
.contact {
    padding: var(--space-3xl) 0;
}

.contact__grid {
    display: grid;
    gap: var(--space-xl);
}

.contact__info p {
    font-size: var(--fs-lg);
    color: var(--c-text-light);
    margin-bottom: var(--space-lg);
}

.contact__details {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact__detail {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.contact__detail-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-primary-light);
    border-radius: var(--radius-md);
}

.contact__detail strong {
    display: block;
    font-size: var(--fs-sm);
    margin-bottom: 0.15em;
}

.contact__detail p {
    font-size: var(--fs-xs) !important;
    color: var(--c-text-light) !important;
    margin-bottom: 0.15em !important;
}

.contact__social {
    display: flex;
    gap: var(--space-sm);
}

.contact__social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-primary-light);
    color: var(--c-primary);
    border-radius: 50%;
    transition: var(--transition);
}

.contact__social-link:hover {
    background: var(--c-primary);
    color: var(--c-white);
    transform: translateY(-2px);
}

.contact__form-wrapper {
    background: var(--c-white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: 0.4em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8em 1em;
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-md);
    background: var(--c-bg);
    color: var(--c-text);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px var(--c-primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--c-text);
    color: rgba(255,255,255,0.7);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.footer__brand {
    max-width: 300px;
}

.footer__brand .nav__logo-text {
    color: var(--c-white);
}

.footer__brand p {
    margin-top: var(--space-sm);
    font-size: var(--fs-sm);
    line-height: 1.6;
}

.footer__links h4 {
    color: var(--c-white);
    font-size: var(--fs-sm);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.footer__links a {
    display: block;
    font-size: var(--fs-xs);
    padding: 0.3em 0;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--c-accent);
    transform: translateX(4px);
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-md);
    text-align: center;
    font-size: var(--fs-xs);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    color: var(--c-white);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
    padding: 0.25em;
    transition: var(--transition);
}

.lightbox__close:hover {
    transform: scale(1.2);
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--c-white);
    font-size: 2.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox__prev { left: var(--space-md); }
.lightbox__next { right: var(--space-md); }

.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox__content {
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__img {
    width: 80vw;
    max-width: 900px;
    height: 60vh;
    border-radius: var(--radius-lg);
    min-height: unset;
}

.lightbox__counter {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: var(--fs-sm);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(1.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== RESPONSIVE: TABLET ===== */
@media (min-width: 640px) {
    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .models-3d__cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* ===== RESPONSIVE: DESKTOP ===== */
@media (min-width: 1024px) {
    .nav__toggle {
        display: none;
    }

    .nav__menu {
        position: static;
        flex-direction: row;
        background: none;
        backdrop-filter: none;
        opacity: 1;
        visibility: visible;
        gap: var(--space-lg);
    }

    .nav__menu .nav__link {
        font-size: var(--fs-sm);
        color: var(--c-white);
    }

    .nav--scrolled .nav__menu .nav__link {
        color: var(--c-text);
    }

    .nav__link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--c-primary);
        transition: var(--transition);
    }

    .nav__link:hover::after {
        width: 100%;
    }

    .nav__link--cta::after {
        display: none;
    }

    .about__grid {
        grid-template-columns: 1fr 1fr;
    }

    .products__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .experience-3d__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero__stats {
        gap: var(--space-2xl);
    }
}

/* ===== RESPONSIVE: SMALL MOBILE ===== */
@media (max-width: 400px) {
    .hero__stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
        text-align: center;
    }
}
