/* =========================================
   VARIABLES Y CONFIGURACIÓN BASE
   ========================================= */
:root {
    /* Paleta de Colores (Basada en diseño Premium) */
    --primary: #f5b921; /* Amarillo brillante/dorado */
    --primary-hover: #e0a716;
    --dark-bg: #091624; /* Azul profundo / Navy */
    --dark-surface: #102136; /* Azul grisáceo para tarjetas */
    --darker-bg: #060e18;
    --light-bg: #f8f9fa; /* Gris muy claro para secciones claras */
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --text-dark: #2d3748;
    
    /* Tipografía */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Variables de UI */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(245, 185, 33, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* Tipografía global */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   COMPONENTES
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
}

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

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #000;
}

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

.navbar.scrolled {
    background-color: var(--darker-bg);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

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

.logo a {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
}

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

.logo-icon {
    width: 45px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.4));
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--dark-bg);
    background: linear-gradient(rgba(9, 22, 36, 0.6), rgba(9, 22, 36, 0.8)), url('../images/hero_worker.png') center/cover no-repeat;
    background-attachment: fixed;
    color: var(--text-main);
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Lighter on the right, darker on the left text side */
    background: linear-gradient(to right, rgba(6, 14, 24, 0.95) 0%, rgba(6, 14, 24, 0.7) 45%, rgba(16, 33, 54, 0.2) 100%);
    z-index: 1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    color: var(--text-muted);
}

.badge i {
    color: var(--primary);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary);
    display: block;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Graphics/Animations on Hero */
.hero-graphic {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.tooltip-card {
    top: 15%;
    right: 15%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, rgba(245, 185, 33, 0.2) 100%);
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(245, 185, 33, 0.4);
}

.tooltip-card i {
    font-size: 3rem;
    color: var(--text-main);
}

.feature-card {
    bottom: 25%;
    left: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05); /* Glassmorphism */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-md);
    color: var(--text-main);
}

.feature-card .card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.delay-1 { animation-delay: 0s; }
.delay-2 { animation-delay: 3s; }

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

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.section-header {
    text-align: left;
    margin-bottom: 50px;
    max-width: 600px;
}

.section-center {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    color: var(--primary-hover);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-header h2, .section-center h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--darker-bg);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-dark);
    font-size: 1.1rem;
}

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

.service-card {
    border-radius: var(--border-radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 250px;
    cursor: pointer;
}

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

.card-content {
    position: relative;
    z-index: 2;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
    overflow: hidden;
}

.card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.card-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(9, 22, 36, 0.95) 0%, rgba(9, 22, 36, 0.2) 100%);
    z-index: 2;
}

.service-card:hover .card-bg {
    transform: scale(1.15); /* More dramatic zoom */
}

/* Specific Card Layouts based on image */
.large.electricidad {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(to bottom, transparent, var(--darker-bg));
    color: var(--text-main);
    min-height: 400px;
}

.large.electricidad .card-bg {
    background-color: var(--dark-surface);
}

.medium.gasfiteria {
    grid-column: span 2;
    background-color: var(--dark-surface);
    color: var(--text-main);
}
.medium.gasfiteria .card-bg {
    background-color: var(--dark-surface);
}

.small.pintura {
    grid-column: span 2;
    background-color: var(--dark-surface);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align bottom to match others */
}
.small.pintura .card-bg {
    background-color: var(--dark-surface);
}

/* Albañilería card */
.medium.albanileria {
    grid-column: span 2;
    background-color: var(--dark-surface);
    color: var(--text-main);
}
.medium.albanileria .card-bg {
    background-color: var(--dark-surface);
}

/* Enchape card */
.horizontal.enchape {
    grid-column: span 2;
    background-color: var(--dark-surface);
    color: var(--text-main);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.horizontal.enchape .card-bg::after {
    background: linear-gradient(to left, rgba(9, 22, 36, 0.95) 0%, rgba(9, 22, 36, 0.3) 100%);
}

.horizontal.remodelaciones {
    grid-column: span 2;
    background-color: var(--dark-surface);
    color: var(--text-main);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.horizontal.remodelaciones .card-bg::after {
    background: linear-gradient(to left, rgba(9, 22, 36, 0.95) 0%, rgba(9, 22, 36, 0.2) 100%);
}
.horizontal.remodelaciones .tag.outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-main);
}
.horizontal.remodelaciones .card-icon-large {
    color: var(--text-main);
    position: relative;
    z-index: 2;
}

.horizontal.soldadura {
    grid-column: span 2;
    background-color: var(--dark-bg);
    color: var(--text-main);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.horizontal.soldadura .card-bg::after {
    background: linear-gradient(to left, rgba(9, 22, 36, 0.95) 0%, rgba(9, 22, 36, 0.2) 100%);
}

.tags {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.tag {
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
}

.tag.outline {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.2);
    color: var(--text-dark);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.service-link {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.service-link.yellow {
    color: var(--primary);
}

.card-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--text-main);
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
}

.card-icon-box.yellow {
    background: rgba(245, 185, 33, 0.1);
    color: var(--primary);
}

.card-icon-large {
    font-size: 4rem;
    color: var(--dark-bg);
    opacity: 0.1;
    margin-right: 20px;
}

/* =========================================
   WHY US SECTION
   ========================================= */
.why-us {
    padding: 100px 0;
    background-color: #ffffff;
}

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    border-top: 3px solid var(--primary);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(245, 185, 33, 0.1);
    color: var(--primary-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--darker-bg);
}

.feature-item p {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.contact-container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 20px;
    color: var(--darker-bg);
}

.contact-info > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.contact-methods {
    display: grid;
    gap: 20px;
}

.method-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #ffffff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.m-icon {
    width: 60px;
    height: 60px;
    background: var(--dark-surface);
    color: var(--text-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.m-details {
    display: flex;
    flex-direction: column;
}

.m-details span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.m-details strong {
    font-size: 1.25rem;
    color: var(--darker-bg);
    font-family: var(--font-heading);
}

.contact-form-wrapper {
    flex: 1;
    background-color: var(--dark-surface);
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-main);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(255,255,255,0.05);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255,255,255,0.1);
}

.form-group select option {
    background-color: var(--dark-surface);
    color: var(--text-main);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary);
    color: #000;
    padding: 16px;
    font-size: 1.1rem;
}

.form-status {
    text-align: center;
    font-size: 0.9rem;
    min-height: 20px;
}

/* =========================================
   COBERTURA SECTION
   ========================================= */
.cobertura {
    padding: 100px 0;
    background-color: var(--dark-bg);
    color: var(--text-main);
}

.cobertura .section-center h2 {
    color: var(--text-main);
}

.cobertura .section-center p {
    color: var(--text-muted);
}

.cobertura-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.cobertura-map {
    flex: 1;
    min-width: 0;
}

.cobertura-zonas {
    flex: 1;
}

.cobertura-zonas h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--primary);
}

.cobertura-zonas h3 i {
    margin-right: 10px;
}

.zonas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.zona-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0;
}

.zona-item i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    list-style: none;
    color: var(--darker-bg);
    transition: var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--primary-hover);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.faq-item[open] .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary-hover);
    font-weight: 600;
}

/* Method card link + whatsapp variant */
.method-card {
    text-decoration: none;
    color: inherit;
}

.m-icon.whatsapp {
    background: #25d366;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--darker-bg);
    color: var(--text-muted);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col.brand h3 {
    color: var(--text-main);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-col.brand h3 span {
    color: var(--primary);
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-col.details p {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
}

.footer-col.details i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}

.developer-credit {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.developer-credit a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: #ffc107;
}

/* =========================================
   WHATSAPP FLOAT
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 64px;
    height: 64px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

/* =========================================
   RESPONSIVE DESIGN (100% Mobile Optimized)
   ========================================= */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .large.electricidad {
        grid-column: span 2;
    }
    
    .medium.gasfiteria, .small.pintura, .medium.albanileria, .horizontal.enchape, .horizontal.remodelaciones, .horizontal.soldadura {
        grid-column: span 2;
    }
    
    .cobertura-layout {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex; /* Override desktop to use absolute pos */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--darker-bg);
        flex-direction: column;
        padding: 0;
        gap: 0;
        text-align: center;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* Hidden */
        transition: clip-path 0.4s ease-in-out, padding 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        padding: 20px 0;
    }

    .nav-links a {
        padding: 15px;
        display: block;
        width: 100%;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-graphic {
        display: none; /* Clean viewport on mobile */
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .features-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cobertura-layout {
        flex-direction: column;
    }
    
    .zonas-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 24px;
    }
    
    .horizontal.remodelaciones, .horizontal.soldadura, .horizontal.enchape {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .card-icon-large {
        display: none;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}
