/* 
================================================================
   SERVICE PISO ELÉCTRICO - STYLES
   Vanilla CSS Premium Modern Technology & Comfort Design System
================================================================
*/

/* 1. IMPORTS & FONT FAMILIES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;600;700;800;900&display=swap');

/* 2. DESIGN TOKENS (VARIABLES) */
:root {
    /* Color Palette - Black, White, Green, and Gray */
    --color-bg-deep: #090d16;          /* Deep black-blue background */
    --color-bg-alt: #111622;           /* Slightly lighter dark section background */
    --color-bg-card: #171e2e;          /* Grayish dark surface for cards */
    --color-bg-card-hover: #1e283d;    /* Hover card surface */
    --color-bg-nav: rgba(9, 13, 22, 0.85);
    
    /* Primary Accent (Emerald Green - Tech & Ecology) */
    --color-primary: #10b981;
    --color-primary-hover: #059669;
    --color-primary-glow: rgba(16, 185, 129, 0.18);
    
    /* Secondary Gray Colors */
    --color-steel: #8e9ebb;
    --color-steel-light: #cfd8dc;
    --color-steel-dark: #272f3d;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-focus: rgba(16, 185, 129, 0.5);
    
    /* Alerts & Social Colors */
    --color-whatsapp: #25d366;
    --color-whatsapp-hover: #20ba5a;
    --color-whatsapp-glow: rgba(37, 211, 102, 0.3);
    --color-danger: #f87171;
    --color-success: #34d399;
    
    /* Text Colors */
    --color-text-main: #cbd5e1;        /* Light grayish white text */
    --color-text-muted: #64748b;       /* Cool gray muted text */
    --color-text-white: #ffffff;
    
    /* Font Configurations */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Montserrat', "Helvetica Neue", Arial, sans-serif;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.25);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.2);
    
    /* Borders & Roundness */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    
    /* Container Width */
    --container-max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-deep);
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-bg-deep);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-white);
    font-weight: 700;
    line-height: 1.25;
}

p {
    font-weight: 400;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

strong {
    color: var(--color-text-white);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, input, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

ul {
    list-style: none;
}

/* 4. UTILITIES & REUSABLE LAYOUTS */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 7rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4.5rem 0;
    }
}

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.font-alt { font-family: var(--font-heading); }
.bg-alt { background-color: var(--color-bg-alt); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 0.9rem 2.2rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #000000;
    box-shadow: 0 4px 14px var(--color-primary-glow);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background-color: var(--color-bg-card);
    color: var(--color-text-white);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-bg-card-hover);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    border-radius: var(--border-radius-sm);
}

/* Badges */
.badge-alert {
    display: inline-flex;
    align-items: center;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    gap: 0.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: inherit;
    animation: pulse 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    top: 0;
    left: 0;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.75; }
    100% { transform: scale(2.8); opacity: 0; }
}

/* Section Header styling */
.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.section-header .divider {
    width: 70px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 1rem auto 1.5rem;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-steel);
}

/* 5. NAVIGATION BAR (GLASSMORPHIC) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition-smooth);
    background-color: transparent;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background-color: var(--color-bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: var(--border-radius-sm);
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img {
    height: 42px;
}

/* Nav Menu links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-primary);
}

/* Hamburger menu button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Hamburger animations */
.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    opacity: 0;
}

.hamburger.open span:nth-child(4) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Nav CTA button */
.nav-cta-btn svg {
    margin-right: 0.25rem;
}

/* Responsive navbar adjustments */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-bg-deep);
        border-left: 1px solid var(--color-border);
        flex-direction: column;
        justify-content: flex-start;
        padding: 6rem 2rem 3rem;
        gap: 1.75rem;
        transition: var(--transition-smooth);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-cta-btn {
        display: none;
    }
    
    .mobile-only-cta {
        display: block !important;
        width: 100%;
    }
}

/* 6. HERO SECTION */
.hero {
    position: relative;
    padding-top: 10.5rem;
    padding-bottom: 7rem;
    background-image: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.07) 0%, transparent 45%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    display: block;
    color: var(--color-primary);
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.25rem;
    color: var(--color-steel);
}

.hero-description strong {
    color: var(--color-text-white);
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    width: 100%;
    margin-bottom: 2.5rem;
}

.hero-quick-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.75rem;
    width: 100%;
}

.hero-quick-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-steel-light);
}

.hero-quick-item svg {
    color: var(--color-primary);
}

/* Hero Right Side: Image Container */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 65%);
    z-index: 1;
}

.hero-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

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

@media (max-width: 991px) {
    .hero {
        padding-top: 8rem;
        padding-bottom: 4rem;
        min-height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-image-container {
        grid-row: 1;
    }
    
    .hero-image {
        max-width: 320px;
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
    }
}

/* 7. QUICK METRICS PANEL */
.metrics {
    position: relative;
    background-color: var(--color-bg-alt);
    border-y: 1px solid var(--color-border);
    padding: 3rem 0;
    z-index: 10;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.metric-card {
    text-align: center;
    border-right: 1px solid var(--color-border);
    padding: 0 1rem;
}

.metric-card:last-child {
    border-right: none;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.metric-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-white);
    margin-bottom: 0.25rem;
}

.metric-sub {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

@media (max-width: 991px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }
    
    .metric-card {
        border-right: none;
    }
    
    .metric-card:nth-child(odd) {
        border-right: 1px solid var(--color-border);
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .metric-card {
        border-right: none !important;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 1.5rem;
    }
    .metric-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* 8. ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.about-text p {
    color: var(--color-text-main);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.about-blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 0.75rem 0 0.75rem 1.5rem;
    margin: 2rem 0;
    background-color: var(--color-bg-alt);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.about-blockquote p {
    font-style: italic;
    color: var(--color-text-white);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.about-blockquote footer {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
    letter-spacing: 1px;
}

/* About Right Image Wrapper */
.about-image-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--color-primary);
    color: #000000;
    padding: 1.25rem 1.75rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
}

.experience-badge .text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .experience-badge {
        bottom: -15px;
        left: -15px;
    }
}

/* 9. SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.service-icon-wrapper {
    width: 54px;
    height: 54px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    transition: var(--transition-smooth);
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-steel);
    margin-bottom: 0;
}

/* Hover effects on Service Cards */
.service-card:hover {
    transform: translateY(-5px);
    background-color: var(--color-bg-card-hover);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: var(--shadow-soft);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover .service-icon-wrapper {
    background-color: var(--color-primary);
    color: #000000;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
}

/* Featured / Highlight card */
.service-card.highlight-card {
    border-color: rgba(16, 185, 129, 0.35);
    background-image: radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

.service-card.highlight-card::before {
    height: 100%;
}

.service-card.highlight-card .service-icon-wrapper {
    background-color: var(--color-primary);
    color: #000000;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem;
    }
}

/* 10. PORTFOLIO SECTION */
.portfolio-filters {
    margin-bottom: 3.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-btn {
    background-color: var(--color-bg-card);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    color: #000000;
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px var(--color-primary-glow);
}

/* Portfolio grid cards */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-item {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%; /* 5:3 Aspect Ratio */
    overflow: hidden;
}

.portfolio-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-category {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.portfolio-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-white);
}

.portfolio-item p {
    font-size: 0.85rem;
    color: var(--color-steel);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Hover effects for Portfolio */
.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: var(--shadow-soft);
}

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

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* 11. CONTACT SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-column h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.contact-lead-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: var(--color-steel);
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-detail-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition-smooth);
}

.detail-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-detail-card:hover {
    transform: translateX(5px);
    border-color: rgba(16, 185, 129, 0.2);
    background-color: var(--color-bg-card-hover);
}

#card-whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.3);
}

#card-whatsapp:hover .detail-icon {
    background-color: var(--color-whatsapp);
    color: #000000;
    box-shadow: 0 0 15px var(--color-whatsapp-glow);
}

.contact-detail-card:hover .detail-icon {
    background-color: var(--color-primary);
    color: #000000;
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

.detail-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin: 0.15rem 0;
}

.detail-action {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 500;
}

#card-whatsapp .detail-action {
    color: var(--color-whatsapp);
}

/* Contact Form Container styling */
.contact-form-container {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
}

.contact-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-instructions {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    color: var(--color-text-white);
}

.form-group input,
.form-group textarea {
    background-color: rgba(9, 13, 22, 0.4);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 0.85rem 1.1rem;
    color: var(--color-text-white);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
    background-color: rgba(9, 13, 22, 0.7);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #475569;
}

/* Form Submit button container */
#btn-form-submit {
    margin-top: 1rem;
}

/* Form Response Status Box */
#form-status {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

#form-status.success {
    background-color: rgba(52, 211, 153, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

#form-status.error {
    background-color: rgba(248, 113, 113, 0.1);
    color: var(--color-danger);
    border: 1px solid rgba(248, 113, 113, 0.2);
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .contact-form-container {
        padding: 2.25rem;
    }
}

@media (max-width: 576px) {
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

/* 12. FOOTER */
.footer {
    background-color: #05070a;
    border-top: 1px solid var(--color-border);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3.5rem;
    padding-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 52px;
    width: auto;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius-sm);
}

.footer-brand p {
    color: var(--color-steel);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--color-text-white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-steel);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

/* Footer bottom copyright section */
.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-bottom-flex p {
    margin-bottom: 0;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a:hover {
    color: var(--color-text-main);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
}

/* 13. FLOATING WHATSAPP WIDGET */
.whatsapp-float-btn {
    position: fixed;
    bottom: 2.25rem;
    right: 2.25rem;
    background-color: var(--color-whatsapp);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 0px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: pulse-border 2s infinite;
}

.whatsapp-float-btn:hover {
    background-color: var(--color-whatsapp-hover);
    transform: scale(1.08) rotate(8deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.whatsapp-icon-svg {
    fill: #ffffff;
    stroke: none;
    width: 32px;
    height: 32px;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 0px rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 0px rgba(37, 211, 102, 0);
    }
}

@media (max-width: 576px) {
    .whatsapp-float-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 52px;
        height: 52px;
    }
    .whatsapp-icon-svg {
        width: 28px;
        height: 28px;
    }
}

/* 13.5. TERMOSTATOS SECTION */
.thermostats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.thermostat-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.thermostat-img-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio (Square) */
    background-color: #ffffff; /* White background for product display compatibility */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thermostat-img-container img {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.thermostat-details {
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.thermostat-details h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-text-white);
}

.thermostat-type {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.thermostat-details p {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--color-steel);
    margin-bottom: 0;
}

.thermostat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: var(--shadow-soft);
}

.thermostat-card:hover .thermostat-img-container img {
    transform: scale(1.06);
}

@media (max-width: 1199px) {
    .thermostats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .thermostats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .thermostats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

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

