/* ============================================
   SOCIEDAD ELÉCTRICA ANGELOPOLIS
   Custom Landing Page Styles
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #FFB800;
    --color-primary-dark: #E5A600;
    --color-primary-light: #FFD54F;
    --color-dark: #0d0d0d;
    --color-dark-secondary: #1a1a1a;
    --color-dark-tertiary: #2d2d2d;
    --color-gray: #6b6b6b;
    --color-gray-light: #9a9a9a;
    --color-light: #f8f8f8;
    --color-white: #ffffff;
    --color-success: #10b981;
    --color-error: #ef4444;

    /* Typography */
    --font-family: 'Poppins', sans-serif;

    /* Spacing */
    --container-width: 1280px;
    --section-padding: 100px;
    --section-padding-mobile: 60px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(255, 184, 0, 0.3);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

/* Typography */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.section-tag .tag-line {
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

.section-tag.light {
    color: var(--color-primary);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title.light {
    color: var(--color-white);
}

.text-accent {
    color: var(--color-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-gray);
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-normal);
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.header.scrolled .nav-link {
    color: var(--color-dark);
}

.header.scrolled .logo img {
    filter: none;
}

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

.logo img {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-normal);
}

.header.scrolled .logo img {
    filter: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-white);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

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

.btn-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-primary);
    color: var(--color-dark);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.btn-header svg {
    width: 16px;
    height: 16px;
}

.btn-header:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

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

.header.scrolled .hamburger span {
    background: var(--color-dark);
}

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

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

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

/* ============================================
   HERO SECTION - Split Design
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    min-height: 100vh;
    align-items: center;
    padding: 140px 24px 80px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.hero-text {
    padding-right: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-badge svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.hero-badge span {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--color-gray-light);
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-buttons .btn-outline {
    color: var(--color-white);
    border-color: var(--color-white);
}

.hero-buttons .btn-outline:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--color-gray-light);
    margin-top: 8px;
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 600px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.floating-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 184, 0, 0.1);
    border-radius: 50%;
}

.floating-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.floating-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
}

.floating-label {
    font-size: 14px;
    color: var(--color-gray);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-scroll-indicator span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gray-light);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

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

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

.about-images {
    position: relative;
}

.about-image-main {
    width: 85%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 60%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--color-white);
}

.about-image-secondary img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: 30px;
    right: 60px;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.exp-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
}

.exp-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
}

.about-content {
    padding-left: 20px;
}

.about-lead {
    font-size: 18px;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.about-text {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-feature .feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 184, 0, 0.1);
    border-radius: var(--radius-md);
}

.about-feature .feature-icon svg {
    width: 26px;
    height: 26px;
    color: var(--color-primary);
}

.about-feature .feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.about-feature .feature-content p {
    font-size: 14px;
    color: var(--color-gray);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-padding) 0;
    background: var(--color-dark);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header .section-subtitle {
    color: var(--color-gray-light);
    margin: 0 auto;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 60px 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 32px 40px;
    background: var(--color-dark-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.service-item:hover {
    background: var(--color-dark-tertiary);
}

.service-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 184, 0, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.service-item:hover .service-icon {
    background: var(--color-primary);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    transition: var(--transition-normal);
}

.service-item:hover .service-icon svg {
    color: var(--color-dark);
}

.service-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 6px;
}

.service-content p {
    font-size: 15px;
    color: var(--color-gray-light);
}

.service-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--color-dark-tertiary);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.service-link svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
    transition: var(--transition-normal);
}

.service-item:hover .service-link {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.service-item:hover .service-link svg {
    color: var(--color-dark);
    transform: translateX(3px);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
    padding: var(--section-padding) 0;
    background: var(--color-light);
}

.products-header {
    text-align: center;
    margin-bottom: 60px;
}

.products-header .section-subtitle {
    margin: 0 auto;
}

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

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 13, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 24px;
}

.product-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.product-content p {
    font-size: 14px;
    color: var(--color-gray);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

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

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.process-step {
    position: relative;
    text-align: center;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark);
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.step-line {
    position: absolute;
    top: 30px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 2px;
    background: var(--color-dark);
}

.process-step:last-child .step-line {
    display: none;
}

.step-content {
    padding: 0 20px;
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 184, 0, 0.1);
    border-radius: var(--radius-lg);
}

.step-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.85) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.cta h2 {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    color: var(--color-gray-light);
    margin-bottom: 36px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--color-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-description {
    font-size: 16px;
    color: var(--color-gray-light);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.method-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 184, 0, 0.1);
    border-radius: var(--radius-md);
}

.method-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
}

.method-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 6px;
}

.method-content a,
.method-content span {
    display: block;
    font-size: 14px;
    color: var(--color-gray-light);
    transition: var(--transition-normal);
}

.method-content a:hover {
    color: var(--color-primary);
}

/* Contact Form */
.contact-form-wrapper {
    width: 100%;
}

.contact-form-card {
    background: var(--color-dark-secondary);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--color-dark-tertiary);
}

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

.form-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 15px;
    color: var(--color-gray-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-dark-tertiary);
    border: 1px solid var(--color-dark-tertiary);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--color-white);
    transition: var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}

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

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

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
    background: var(--color-primary);
    color: var(--color-dark);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-submit svg {
    width: 20px;
    height: 20px;
}

.btn-submit:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-glow);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-dark);
    border-top: 1px solid var(--color-dark-tertiary);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-gray-light);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-gray-light);
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-contact p {
    font-size: 14px;
    color: var(--color-gray-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-contact p strong {
    color: var(--color-white);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--color-dark-tertiary);
}

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

.footer-bottom p {
    font-size: 14px;
    color: var(--color-gray);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 14px;
    color: var(--color-gray);
    transition: var(--transition-normal);
}

.footer-legal a:hover {
    color: var(--color-primary);
}

/* ============================================
   NOTIFICATION TOAST
   ============================================ */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-normal);
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.notification-icon {
    width: 24px;
    height: 24px;
    color: var(--color-success);
}

.notification.error .notification-icon {
    color: var(--color-error);
}

.notification-message {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 160px 24px 100px;
    }

    .hero-text {
        padding-right: 0;
        order: 2;
    }

    .hero-image {
        order: 1;
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-floating-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-content {
        padding-left: 0;
    }

    .service-item {
        grid-template-columns: 60px 50px 1fr auto;
        gap: 20px;
        padding: 24px 28px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .step-line {
        display: none;
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-dark);
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 20px;
        color: var(--color-white);
    }

    /* Fix: Asegurar que los links sean siempre blancos en el menú móvil activo */
    .nav-menu.active .nav-link,
    .header.scrolled .nav-menu.active .nav-link {
        color: var(--color-white);
    }

    /* Fix: Highlight amarillo para la sección activa en menú móvil */
    .nav-menu.active .nav-link.active,
    .nav-menu.active .nav-link:hover,
    .header.scrolled .nav-menu.active .nav-link.active,
    .header.scrolled .nav-menu.active .nav-link:hover {
        color: var(--color-primary) !important;
    }

    /* Fix: Asegurar que el hamburger (X) sea siempre blanco cuando está activo */
    .hamburger.active span,
    .header.scrolled .hamburger.active span {
        background: var(--color-white) !important;
    }

    .btn-header {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-image {
        height: 350px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero-stat {
        flex: 1 1 calc(50% - 12px);
    }

    .stat-number {
        font-size: 32px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .service-number {
        display: none;
    }

    .service-icon {
        margin: 0 auto;
    }

    .service-link {
        margin: 0 auto;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 28px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .notification {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-experience-badge {
        width: 80px;
        height: 80px;
        top: 20px;
        right: 30px;
    }

    .exp-number {
        font-size: 26px;
    }

    .section-title {
        font-size: 28px;
    }

    .about-image-main img {
        height: 350px;
    }

    .about-image-secondary img {
        height: 180px;
    }
}

/* ============================================
   ELECTRIC ANIMATED CARDS
   ============================================ */

/* SVG Filter (hidden) */
.svg-filters {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Ocultar filtro SVG en móvil para mejor rendimiento */
@media (max-width: 768px) {
    .svg-filters {
        display: none;
    }
}

/* Products section background adjustment */
.products {
    background: var(--color-dark);
    padding: var(--section-padding) 0;
}

.products .section-tag {
    color: var(--color-primary);
}

.products .section-title {
    color: var(--color-white);
}

.products .section-subtitle {
    color: var(--color-gray-light);
}

/* Electric Card Variables */
.electric-card {
    --electric-border-color: #FFB800;
    --electric-light-color: #FFF5D4;
    --electric-gradient-color: rgba(255, 184, 0, 0.15);

    position: relative;
    padding: 2px;
    border-radius: 20px;
    background: linear-gradient(
        -30deg,
        var(--electric-gradient-color),
        transparent,
        var(--electric-gradient-color)
    ),
    linear-gradient(
        to bottom,
        var(--color-dark-secondary),
        var(--color-dark-secondary)
    );
}

/* Electric Card Inner Container */
.electric-card-inner {
    position: relative;
}

/* Border Layers */
.electric-border-outer {
    border: 2px solid rgba(255, 184, 0, 0.3);
    border-radius: 20px;
    padding-right: 3px;
    padding-bottom: 3px;
}

.electric-border-animated {
    width: 100%;
    height: 380px;
    border-radius: 20px;
    border: 2px solid var(--electric-border-color);
    margin-top: -3px;
    margin-left: -3px;
    filter: url(#electric-filter);
}

/* Glow Effects */
.electric-glow-1 {
    border: 2px solid rgba(255, 184, 0, 0.4);
    border-radius: 20px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    filter: blur(1px);
    pointer-events: none;
}

.electric-glow-2 {
    border: 2px solid var(--electric-light-color);
    border-radius: 20px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    filter: blur(4px);
    pointer-events: none;
}

/* Overlay Effects */
.electric-overlay-1 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    opacity: 1;
    mix-blend-mode: overlay;
    transform: scale(1.05);
    filter: blur(12px);
    background: linear-gradient(
        -30deg,
        white,
        transparent 30%,
        transparent 70%,
        white
    );
    pointer-events: none;
}

.electric-overlay-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    opacity: 0.4;
    mix-blend-mode: overlay;
    transform: scale(1.05);
    filter: blur(12px);
    background: linear-gradient(
        -30deg,
        white,
        transparent 30%,
        transparent 70%,
        white
    );
    pointer-events: none;
}

/* Background Glow */
.electric-bg-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    filter: blur(25px);
    transform: scale(1.08);
    opacity: 0.25;
    z-index: -1;
    background: linear-gradient(
        -30deg,
        var(--electric-light-color),
        transparent,
        var(--electric-border-color)
    );
    pointer-events: none;
}

/* Card Content Container */
.electric-card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
}

/* Card Image */
.electric-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.electric-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.electric-card:hover .electric-card-image img {
    transform: scale(1.1);
}

/* Card Body */
.electric-card-body {
    display: flex;
    flex-direction: column;
    padding: 24px;
    flex: 1;
}

/* Card Tag */
.electric-card-tag {
    background: radial-gradient(
        47.2% 50% at 50.39% 88.37%,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0) 100%
    ),
    rgba(255, 255, 255, 0.06);
    position: relative;
    border-radius: 10px;
    width: fit-content;
    padding: 6px 14px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.electric-card-tag::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1px;
    background: linear-gradient(
        150deg,
        rgba(255, 255, 255, 0.4) 16.73%,
        rgba(255, 255, 255, 0.08) 30.2%,
        rgba(255, 255, 255, 0.08) 68.2%,
        rgba(255, 255, 255, 0.5) 81.89%
    );
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

/* Card Title */
.electric-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0;
    line-height: 1.3;
}

/* Card Divider */
.electric-divider {
    border: none;
    height: 1px;
    background-color: currentColor;
    opacity: 0.15;
    margin: 16px 0;
    mask-image: linear-gradient(to right, transparent, black, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black, transparent);
}

/* Card Text */
.electric-card-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin-bottom: auto;
}

/* Card Button */
.electric-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--color-primary);
    color: var(--color-dark);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.electric-card-btn:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.4);
    transform: translateY(-2px);
}

/* Products Grid Override for Electric Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ============================================
   GOOGLE MAPS STYLES
   ============================================ */
.contact-map {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-dark-secondary);
    border: 1px solid var(--color-dark-tertiary);
}

.map-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) invert(92%) contrast(83%);
    transition: filter 0.3s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0%) invert(0%) contrast(100%);
}

.map-directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: var(--color-dark-tertiary);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-directions-btn svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.map-directions-btn:hover {
    background: var(--color-primary);
    color: var(--color-dark);
}

.map-directions-btn:hover svg {
    color: var(--color-dark);
}

/* ============================================
   ELECTRIC CARDS RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .electric-border-animated {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }

    .electric-border-animated {
        height: 380px;
        /* Desactivar efecto eléctrico en móvil para mejor rendimiento */
        filter: none;
        animation: none;
    }

    /* Ocultar elementos de glow que causan lag en móvil */
    .electric-glow-1,
    .electric-glow-2,
    .electric-overlay-1,
    .electric-overlay-2,
    .electric-bg-glow {
        display: none;
    }

    .contact-map {
        margin-top: 30px;
    }

    .map-wrapper {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        max-width: 100%;
    }

    .electric-card-body {
        padding: 20px;
    }

    .electric-card-title {
        font-size: 16px;
    }
}
