/* ============================================
   LA CASA DE LAMBRÍN - STYLE.CSS
   Premium Wall Paneling Website
   ============================================ */

/* === VARIABLES & RESET === */
:root {
    --red: #ff3131;
    --red-dark: #cc1a1a;
    --red-glow: rgba(255, 49, 49, 0.35);
    --yellow: #f0db53;
    --yellow-glow: rgba(240, 219, 83, 0.3);
    --dark: #0d0d0d;
    --dark-card: #161616;
    --dark-surface: #1a1a1a;
    --gray-100: #f7f7f7;
    --gray-200: #e8e8e8;
    --gray-400: #999;
    --gray-600: #666;
    --white: #ffffff;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-red: 0 10px 40px rgba(255, 49, 49, 0.2);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === UTILITY === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--red);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    line-height: 1.8;
}

.btn-red {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-red::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn-red:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
}

.btn-red:hover::after { opacity: 1; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

.btn-yellow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--yellow);
    color: var(--dark);
    padding: 16px 36px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-yellow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--yellow-glow);
}

/* === PRELOADER === */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    animation: preloaderPulse 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--yellow);
}

.nav-logo span {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-logo .highlight { color: var(--yellow); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    transition: var(--transition) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--red-dark) !important;
    transform: scale(1.05);
    box-shadow: var(--shadow-red);
}

/* Mobile Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    width: 28px;
    height: 2.5px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--transition);
}

.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);
}

/* === HERO === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: var(--dark);
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13,13,13,0.5) 0%,
        rgba(13,13,13,0.2) 40%,
        rgba(13,13,13,0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 24px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 49, 49, 0.15);
    border: 1px solid rgba(255, 49, 49, 0.3);
    color: var(--red);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 auto 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-title .accent { color: var(--yellow); }

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto 36px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.9s;
}

.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 12px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    width: 32px;
    background: var(--red);
}

/* === STATS BAR === */
.stats-bar {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* === ABOUT SECTION === */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
}

.about-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper:nth-child(2) {
    margin-top: 40px;
}

.about-img-wrapper img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.about-accent-box {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: var(--white);
    padding: 20px 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-red);
    z-index: 2;
}

.about-accent-box .number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
}

.about-accent-box .label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-100);
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.about-feature:hover {
    background: var(--red);
    color: var(--white);
    transform: translateX(4px);
}

.about-feature .icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
    transition: var(--transition);
}

.about-feature:hover .icon { background: var(--yellow); }

/* === ACABADOS SECTION === */
.acabados {
    padding: 100px 0;
    background: var(--gray-100);
}

.acabados-header {
    text-align: center;
    margin-bottom: 64px;
}

.acabados-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.acabado-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.acabado-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--red);
    transform: scaleX(0);
    transition: var(--transition);
}

.acabado-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255,49,49,0.1);
}

.acabado-card:hover::before { transform: scaleX(1); }

.acabado-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,49,49,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.acabado-card:hover .acabado-icon {
    background: var(--red);
}

.acabado-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--red);
    transition: var(--transition);
}

.acabado-card:hover .acabado-icon svg { stroke: var(--white); }

.acabado-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.acabado-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* === GALLERY === */
.gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery-header {
    text-align: center;
    margin-bottom: 48px;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--gray-200);
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-600);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(255,49,49,0.8));
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.gallery-more {
    text-align: center;
    margin-top: 48px;
}

/* === PROCESS === */
.process {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--red-glow), transparent 70%);
    pointer-events: none;
}

.process-header {
    text-align: center;
    margin-bottom: 72px;
}

.process-header .section-title { color: var(--white); }
.process-header .section-subtitle { color: var(--gray-400); margin: 0 auto; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 32px 20px;
}

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255,49,49,0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--yellow);
}

.process-step p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* === MATERIALS === */
.materials {
    padding: 100px 0;
    background: var(--gray-100);
}

.materials-header {
    text-align: center;
    margin-bottom: 64px;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.material-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.material-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.material-img {
    height: 220px;
    overflow: hidden;
}

.material-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.material-card:hover .material-img img { transform: scale(1.08); }

.material-info {
    padding: 28px;
}

.material-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.material-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
}

.material-tag {
    display: inline-block;
    background: rgba(255,49,49,0.08);
    color: var(--red);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 12px;
}

/* === CTA BANNER === */
.cta-banner {
    padding: 80px 0;
    background: var(--red);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--red);
    padding: 16px 36px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(255,255,255,0.4);
    transition: var(--transition);
    cursor: pointer;
}

.btn-ghost-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* === TESTIMONIALS === */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 64px;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--gray-100);
    border-radius: 20px;
    padding: 36px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.testimonial-card .quote-icon {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--red);
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0.3;
}

.testimonial-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author-info .name {
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-author-info .role {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.stars {
    color: var(--yellow);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* === CONTACT / LOCATION === */
.contact {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gray-400);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--dark-card);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--red);
    transform: translateX(8px);
}

.contact-item-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255,49,49,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--red);
}

.contact-item-text .label {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item-text .value {
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 4px;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-lg);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* === FOOTER === */
.footer {
    background: var(--dark-surface);
    padding: 64px 0 32px;
    color: var(--white);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--gray-400);
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--red);
    transform: translateY(-4px);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--yellow);
}

.footer-col a {
    display: block;
    color: var(--gray-400);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

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

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--white);
    color: var(--dark);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid var(--white);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* === LIGHTBOX === */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover { background: var(--red); }

.lightbox-close svg { width: 24px; height: 24px; stroke: var(--white); }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-nav:hover { background: var(--red); }
.lightbox-nav svg { width: 24px; height: 24px; stroke: var(--white); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* === ANIMATIONS === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.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);
}

/* === MOBILE NAV OVERLAY === */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(13,13,13,0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

.mobile-menu.open { right: 0; }

.mobile-menu a {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: var(--transition);
}

.mobile-menu a:hover { color: var(--red); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .acabados-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .materials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .hero { min-height: 600px; }
    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-number { font-size: 2rem; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-features { grid-template-columns: 1fr; }

    .acabados-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: 1fr; }
    .materials-grid { grid-template-columns: 1fr; }
    .testimonial-cards { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .cta-buttons { flex-direction: column; align-items: center; }
    
    .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* === SUCURSALES === */
.sucursales {
    padding: 100px 0;
    background: var(--white);
}
.sucursales-header {
    text-align: center;
    margin-bottom: 64px;
}
.sucursales-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.sucursal-card {
    background: var(--gray-100);
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.sucursal-card.matriz {
    border-color: #ff3131;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(255, 49, 49, 0.1);
}
.sucursal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.sucursal-badge {
    display: inline-block;
    background: #ff3131;
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.sucursal-badge-alt {
    background: #0d0d0d;
}
.sucursal-icon {
    margin-bottom: 16px;
}
.sucursal-icon svg {
    width: 36px;
    height: 36px;
    stroke: #ff3131;
}
.sucursal-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.sucursal-address {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 52px;
}
.sucursal-map {
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.sucursal-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.sucursal-actions {
    display: flex;
}
@media (max-width: 1024px) {
    .sucursales-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .sucursales-grid { grid-template-columns: 1fr; }
    .sucursales-grid .sucursal-card:first-child {
        max-width: 100%;
    }
}