@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ========================================
   ESTILOS UNIFICADOS - VK OFICINAS 2.0
   ======================================== */

/* ========================================
   1. VARIABLES Y RESET (styles.css)
   ======================================== */

:root {
    /* --color-corporativo-principal: #1a1a1a; */
    --color-corporativo-principal: #181818;
    /* --color-corporativo-secundario: #34495e; */
    --color-corporativo-secundario: rgba(34, 33, 33, 0.97);
    --primary-color: #1a1a1a;
    --secondary-color: #34495e;
    --accent-color: #ffff33;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* ========================================
   2. HEADER Y NAVEGACIÓN (styles.css)
   ======================================== */

header {
    /* background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%); */
    /* background: linear-gradient(135deg, #3a3429 0%, #2d2a24 100%); */
    background-color: var(--color-corporativo-principal);
    color: white;
    padding: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2.5rem;
    height: 100px;
    gap: 2rem;
}

.logo {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* width: 105px; */
    height: 105px;
    display: block;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
    position: relative;
    top: 15px;
    z-index: 10;
}

.logo:hover,
header a:hover .logo {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.35));
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.3px;
    position: relative;
}

.main-nav a:hover {
    color: #cdcd5c;
/*     background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.25);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.15); */
}

.main-nav a.active {
    /* background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color) 100%); */
    /* color: #1a1a1a; */
    color: var(--accent-color);
    /* font-weight: 600; */
/*     border-color: #e2c629;
    box-shadow: 0 3px 12px rgba(255, 215, 0, 0.35); */
}

/* Botón de asistencia remota en el header */
.header-assistance-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
    white-space: nowrap;
    margin-left: 1rem;
}

.header-assistance-btn:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.header-assistance-btn:active {
    transform: translateY(0);
}

.header-assistance-btn .assistance-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
    filter: brightness(0) invert(1) /* contrast(1.2) */;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ========================================
   3. CONTENIDO PRINCIPAL (styles.css)
   ======================================== */

/* Estilos antiguos del main-content - mantenidos por compatibilidad */
.main-content {
    /* max-width: 90%; */
    margin: 0 auto;
    padding: 3rem 2rem;
/*     display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem; */
}

/* Services Section */
.services-section {
    flex: 1;
}

.section-title {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: left;
}

.services {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ========================================
   INTRO SECTION (HERO)
   ======================================== */
.intro-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: calc(100vh - 90px);
}

/* .intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
} */

/* .intro-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: url("data:image/svg+xml,%3Csvg width='120' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60 L60 0 M60 120 L120 60' stroke='rgba(255,255,255,0.02)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
} */

/* .intro-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='300' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='tech-network' x='0' y='0' width='300' height='300' patternUnits='userSpaceOnUse'%3E%3Cg opacity='0.15'%3E%3Cpath d='M0 150 L300 150 M150 0 L150 300' stroke='rgba(52, 152, 219, 0.12)' stroke-width='0.8' fill='none'/%3E%3Cpath d='M0 0 L300 300 M300 0 L0 300' stroke='rgba(52, 152, 219, 0.08)' stroke-width='0.6' fill='none'/%3E%3Ccircle cx='75' cy='75' r='3' fill='rgba(52, 152, 219, 0.2)'/%3E%3Ccircle cx='225' cy='75' r='3' fill='rgba(52, 152, 219, 0.2)'/%3E%3Ccircle cx='75' cy='225' r='3' fill='rgba(52, 152, 219, 0.2)'/%3E%3Ccircle cx='225' cy='225' r='3' fill='rgba(52, 152, 219, 0.2)'/%3E%3Ccircle cx='150' cy='150' r='4' fill='rgba(52, 152, 219, 0.25)'/%3E%3Cpath d='M75 75 L150 150 L225 75 M75 75 L150 150 L75 225 M225 75 L150 150 L225 225 M75 225 L150 150 L225 225' stroke='rgba(52, 152, 219, 0.1)' stroke-width='0.5' fill='none'/%3E%3Cpath d='M0 75 L75 75 L150 0 M300 75 L225 75 L150 0 M0 225 L75 225 L150 300 M300 225 L225 225 L150 300' stroke='rgba(52, 152, 219, 0.06)' stroke-width='0.4' fill='none'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23tech-network)'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
} */

.intro-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 100%;
    height: 100%;
}

.intro-content {
    color: white;
}

.intro-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: white;
    position: relative;
    display: inline-block;
    padding-bottom: 1.5rem;
}

.word-integrales {
    position: relative;
    display: inline-block;
}

.word-integrales::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -20px;
    right: 0;
    height: 50px;
    width: 300px;
    background-image: url('../img/trazo_amarillo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: -1;
}


.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.intro-text strong {
    color: #64b5f6;
    font-weight: 600;
}

.intro-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.intro-buttons .btn-primary,
.intro-buttons .btn-secondary {
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    flex: 0 0 auto;
    line-height: 1;
    min-height: 44px;
    box-sizing: border-box;
    vertical-align: middle;
}

.intro-buttons .btn-primary {
    background: #3498db;
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    border: none;
}

.intro-buttons .btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.intro-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.intro-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Sidebar Card dentro del intro */
.intro-section .sidebar-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.intro-section .sidebar-card h2,
.intro-section .sidebar-card .sidebar-card-title {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.intro-section .sidebar-card .sidebar-card-title .title-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.25);
}

.intro-section .sidebar-card .sidebar-card-title .title-icon-wrapper svg {
    width: 22px;
    height: 22px;
    color: white;
    flex-shrink: 0;
}

.intro-section .sidebar-card .sidebar-card-title .title-text {
    letter-spacing: 0.3px;
}

/* Login Form */
.intro-section .login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intro-section .form-group {
    position: relative;
}

.intro-section .form-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.intro-section .form-group input:focus {
    outline: none;
    border-color: #3498db;
    background: white;
}

.intro-section .btn-primary {
    padding: 1rem;
    /* background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); */
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    /* margin-top: 0.5rem; */
    /* width: 100%; */
}

.intro-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* User Info */
.intro-section .user-info {
    text-align: center;
}

.user-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.user-avatar svg {
    width: 50px;
    height: 50px;
}

.intro-section .welcome-message {
    margin: 0 0 1.5rem 0;
    color: #666;
    font-size: 0.95rem;
}

.intro-section .welcome-message strong {
    color: #1a1a1a;
    font-size: 1.2rem;
    display: block;
    margin-top: 0.3rem;
}

.intro-section .user-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.intro-section .user-actions .btn {
    flex: 1;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.intro-section .user-actions .btn-primary {
    background: #3498db;
    color: white;
}

.intro-section .user-actions .btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.intro-section .user-actions .btn-secondary {
    background: #f0f0f0;
    color: #666;
}

.intro-section .user-actions .btn-secondary:hover {
    background: #e0e0e0;
}

/* Assistance Button */
.intro-section .assistance-button-container {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.btn-assistance {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.btn-assistance:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.btn-assistance .assistance-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
    margin-right: 0.5rem;
    filter: brightness(0) invert(1) /* contrast(1.2) */;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0 L50 50 L0 100 M50 0 L100 50 L50 100' stroke='rgba(255,255,255,0.03)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.3);
    background: white;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.05rem;
    color: #555;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.main-content {
    width: 100%;
    padding: 5rem 0 5rem;
    background: 
        linear-gradient(180deg, #ffffff 0%, #fafbfc 20%, #f8f9fa 40%, #ffffff 60%, #f5f7fa 80%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 1200px 800px at 10% 20%, rgba(255, 255, 51, 0.12) 0%, rgba(255, 255, 51, 0.04) 35%, transparent 65%),
        radial-gradient(ellipse 1000px 900px at 90% 80%, rgba(24, 24, 24, 0.1) 0%, rgba(24, 24, 24, 0.03) 35%, transparent 65%),
        radial-gradient(ellipse 1400px 1000px at 50% 50%, rgba(52, 73, 94, 0.06) 0%, rgba(52, 73, 94, 0.02) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

.main-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, transparent 15%, transparent 85%, rgba(255, 255, 255, 0.6) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, transparent 10%, transparent 90%, rgba(255, 255, 255, 0.4) 100%);
    pointer-events: none;
    z-index: 0;
}

.main-content .services {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

.main-content .services .services-grid {
    width: 100%;
    max-width: 100%;
}

.section-title {
    font-size: 3.5rem;
    color: #1a1a1a;
    font-weight: 800;
    text-align: center;
    margin: 0 auto 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    width: 100%;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 2px;
}

.section-description {
    font-size: 1.35rem;
    color: #475569;
    text-align: center;
    margin: 2rem 0 4rem 0;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

.services-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    margin-bottom: 5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.service-card {
    background: white;
    padding: 0;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    width: 100% !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 220px;
}

.service-card:hover {
    background: linear-gradient(90deg, #ffffff 0%, #f8fafc 100%);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15), 0 4px 16px rgba(59, 130, 246, 0.1);
}

/* Estilos duplicados eliminados - usar los de la línea 717 */

.service-icon-modern {
    width: 180px;
    min-width: 180px;
    height: 100%;
    min-height: 220px;
    margin: 0;
    margin-left: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    flex-shrink: 0;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.service-card:hover .service-icon-modern {
    background: linear-gradient(135deg, #425df1 0%, #5694e4 100%);
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 3rem 3.5rem;
    flex: 1;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    min-height: 220px;
}

.service-icon-modern svg {
    width: 64px;
    height: 64px;
    color: #2c5282;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-modern svg {
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

.service-header {
    margin-bottom: 0;
    text-align: left;
    width: 100%;
    min-height: 3.5rem;
    display: flex;
    align-items: flex-end;
}

.service-title {
    font-size: 2rem;
    color: #0f172a;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    display: block;
    width: 100%;
    min-height: 2.4rem;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.service-card:hover .service-title::after {
    width: 70%;
}

.service-description {
    color: #64748b;
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
    width: 100%;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
}

.service-features li {
    padding: 0;
    padding-left: 1.75rem;
    position: relative;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    font-weight: 500;
}

.service-features li:hover {
    color: #0f172a;
    transform: translateX(4px);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.25);
}

.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 0.5rem;
    white-space: nowrap;
}

.btn-service:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    padding: 5rem 2rem;
    margin: 0;
    position: relative;
    overflow: hidden;
    /* height: 100vh; */
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: url("data:image/svg+xml,%3Csvg width='120' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60 L60 0 M60 120 L120 60' stroke='rgba(255,255,255,0.02)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-content {
    /* Contenido de texto */
}

.about-title {
    font-size: 2.8rem;
    color: white;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

.about-section .about-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.08rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.about-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.about-feature svg {
    width: 32px;
    height: 32px;
    color: #ffff33;
    flex-shrink: 0;
}

.about-feature span {
    font-weight: 600;
    color: white;
    font-size: 1.05rem;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Grid de servicios */
/* .services-grid duplicado eliminado - usar el de la línea 688 */

.service-card-v2 {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border-top: 4px solid #3498db;
}

.service-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.service-card-title {
    font-size: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.service-card-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.service-card-features li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-service {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    align-self: center;
}

.btn-service:hover {
    background: #2980b9;
    transform: translateX(5px);
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.service-card .btn-more {
    margin-top: 0.5rem;
    width: fit-content;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    flex-shrink: 0;
}

.service-logo img {
    max-width: 100%;
    height: auto;
}

.service-title {
    font-size: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.service-highlights {
    list-style: none;
    margin-bottom: 1rem;
}

.service-highlights li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

.service-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
}

.btn-more {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: transparent;
    color: #3498db;
    text-decoration: none;
    border: 2px solid #3498db;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
}

.service-content-text .btn-more {
    margin-top: auto;
    align-self: flex-start;
    width: fit-content;
}

.btn-more:hover {
    background: #3498db;
    color: white;
}

/* ========================================
   4. SIDEBAR (styles.css)
   ======================================== */

.sidebar {
    display: flex;
    flex-direction: column;
    color: #f1f1f1;
    gap: 2rem;
}

.sidebar-card {
    /* background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); */
    background: var(--color-corporativo-secundario);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-card-about {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
}

.sidebar-card-about h2 {
    color: #2c3e50;
}

.sidebar-card h2 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #ececec;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

.form-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-decoration: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f6391 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: #ecf0f1;
    color: #2c3e50;
}

.btn-secondary:hover {
    background: #d5dbdb;
}

.error-message {
    background: #fff5f5;
    color: #c0392b;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    border-right: 1px solid #fadbd8;
    border-top: 1px solid #fadbd8;
    border-bottom: 1px solid #fadbd8;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.1);
}

.error-message::before {
    content: "⚠";
    font-size: 1.2rem;
    flex-shrink: 0;
}

.success-message {
    background: #f0f9f4;
    color: #27ae60;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
    border-right: 1px solid #a8e6cf;
    border-top: 1px solid #a8e6cf;
    border-bottom: 1px solid #a8e6cf;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(39, 174, 96, 0.1);
}

.success-message::before {
    content: "✓";
    font-size: 1.2rem;
    flex-shrink: 0;
    font-weight: bold;
}

/* ========================================
   5. MODAL Y ASISTENCIA (styles.css)
   ======================================== */

.assistance-image {
    margin-top: 1.25rem;
    text-align: center;
    position: relative;
}

.assistance-image img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.assistance-image img:hover {
    opacity: 0.8;
}

.assistance-image img:not(:hover) {
    opacity: 1;
}

.assistance-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal#privacy-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(44, 62, 80, 0.18);
    max-width: 350px;
    position: relative;
}

.close {
    color: #ec1e4a;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #c0392b;
    text-decoration: none;
}

.modal-body {
    text-align: center;
}

.modal-icon {
    width: 65px;
    margin-bottom: 1rem;
}

.modal-title {
    color: #2176ae;
    /* margin-bottom: 10px; */
    font-size: 1.4rem;
    letter-spacing: 0.01em;
}

.modal-description {
    color: #34495e;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-btn-main {
    background: linear-gradient(135deg, #2176ae 0%, #31b2fb 100%);
    color: #fff;
    border-radius: 6px;
    padding: 0.8em 0;
    font-size: 1.1rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.modal-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 118, 174, 0.3);
}

.modal-btn-secondary {
    background: #e5eaf1;
    color: #314053;
    border-radius: 6px;
    padding: 0.8em 0;
    font-size: 1.1rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.modal-btn-secondary:hover {
    background: #d5dbe5;
    transform: translateY(-2px);
}

.modal-footer {
    margin-top: 1.3rem;
    color: #8696ad;
    font-size: 0.92rem;
}

.modal-phone {
    color: #2176ae;
}

/* Modal de Política de Privacidad */
.modal-privacy-content {
    max-width: 700px;
    max-height: 80vh;
    margin: auto;
    position: relative;
    border-radius: 18px;
    background: white;
    box-shadow: 0 12px 40px rgba(44, 62, 80, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #888;
}

.modal-privacy-content .close {
    position: relative;
    float: right;
    z-index: 100;
    color: #ec1e4a;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    margin-bottom: 10px;
}

.modal-privacy-content .close:hover {
    color: #c0392b;
}

.modal-privacy-content .modal-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 20px;
    flex: 1;
}

.modal-privacy-content .modal-title {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    /* padding-bottom: 15px; */
    /* margin-bottom: 15px; */
    margin-top: 0;
    /* border-bottom: 1px solid #e0e0e0; */
    color: #2176ae;
    text-align: left;
}

.modal-privacy-content .privacy-content {
    overflow-y: auto;
    flex: 1;
    /* padding-top: 10px; */
}

.modal-privacy-body {
    text-align: left;
}

.privacy-content {
    color: #333;
    line-height: 1.8;
}

.privacy-content h3 {
    color: #181818;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.privacy-content p {
    margin-bottom: 1rem;
    color: #555;
}

.privacy-content ul {
    margin: 0.75rem 0 1rem 1.5rem;
    padding: 0;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.privacy-content strong {
    color: #181818;
    font-weight: 600;
}

.privacy-content em {
    color: #888;
    font-size: 0.9rem;
}

.about-text {
    color: #555;
    line-height: 1.8;
}

.sidebar-card-about .about-text {
    color: #495057;
}

.about-text p {
    margin-bottom: 1rem;
}

/* ========================================
   6. FOOTER (styles.css)
   ======================================== */

footer {
   /*  background: linear-gradient(135deg, #3a3429 0%, #2d2a24 100%); */
    background-color: var(--color-corporativo-principal);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.5rem 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   7. HERO SECTION (hero-styles.css)
   ======================================== */

.hero {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 0rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.2);
    height: calc(100vh - 100px);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        url('../img/hero/mobiliario.png');
    background-size: 30px 30px, cover;
    background-position: center, center;
    background-repeat: repeat, no-repeat;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    line-height: 1.3;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    color: #ffffff;
    animation: fadeInUp 0.8s ease-out;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-features li {
    padding: 1rem 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    transition: transform 0.2s ease, color 0.2s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.hero-features li:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-features li:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-features li:nth-child(3) {
    animation-delay: 0.6s;
}

.hero-features li:hover {
    transform: translateX(5px);
    color: #ffffff;
}

.hero-features li::before {
    content: "✓";
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-features li:hover::before {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.6);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    box-shadow: 0 10px 40px rgba(230, 126, 34, 0.4);
}

.hero-icon {
    font-size: 4rem;
    color: white;
}

/* Hero Slider */
.hero-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 400px;
    height: 90%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    display: block;
    opacity: 1;
    position: relative;
}

.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 20;
}

.hero-prev,
.hero-next {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    justify-content: center;
    line-height: 1;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: white;
    transform: scale(1.2);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   8. CONTACTO (contacto-styles.css)
   ======================================== */

.fa {
    min-width: 20px;
    color: var(--accent-color);
    text-align: center;
}

.contacto-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.contacto-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-shadow: 0 1.5px 9px rgba(190, 170, 50, 0.08), 0 1px 0 #f6f6f6;
    background: none;
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    position: relative;
}

.contacto-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 7px;
    background: linear-gradient(90deg, #ffe566 0%, #ffd700 100%);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.18);
}

.contacto-info-form-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.contacto-info-section {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.google-map-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.google-map-link:hover {
    background: #f5f5f5;
    border-color: #27ae60;
    color: #27ae60;
}

.contacto-info {
    padding: 3rem;
    color: white;
    /* background-color: var(--color-corporativo-principal); */
    /* opacity: 0.9; */
    background-color: var(--color-corporativo-secundario);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contacto-company-name {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contacto-details {
    line-height: 2;
}

.contacto-details p {
    margin-bottom: 0.75rem;
}

.contacto-details strong {
    font-weight: 600;
}

.contacto-form-section {
    flex: 1;
    background: #f3f3f3;
    padding: 2.5rem;
    border-radius: 10px;
}

.contacto-form-title {
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.contacto-form {
    max-width: 800px;
    margin: 0 auto;
}

.contacto-form .form-group {
    margin-bottom: 1.5rem;
}

.contacto-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.contacto-form input[type="text"],
.contacto-form input[type="tel"],
.contacto-form input[type="email"],
.contacto-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: #3498db;
}

.contacto-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contacto-form .captcha-group img {
    border: 1px solid #e0e0e0;
    width: 150px;
    height: 50px;
}

.captcha-group-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.checkbox-group {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.consent-question {
    margin-bottom: 1rem;
    color: #555;
    font-size: 0.95rem;
}

.privacy-link {
    color: #3498db;
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.btn-submit {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f6391 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-clear {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-clear:hover {
    background: #d5dbdb;
}

.mensaje-error-captcha {
    display: none;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 5px;
    color: #721c24;
    border: 1px solid #f5c6cb;
    background-color: #f8d7da;
}

.mensaje-respuesta {
    margin-bottom: 1rem;
    text-align: center;
}

.mensaje-respuesta.success {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensaje-respuesta.error {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#captcha {
    width: 100px;
}

/* ========================================
   9. OFICINA (oficina-styles.css)
   ======================================== */

.oficina-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.oficina-hero-section {
    margin-bottom: 3rem;
    border-radius: 10px;
}

.oficina-hero-container {
    max-width: 100%;
    margin: 0 auto;
}

.oficina-hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.oficina-section {
    background: white;
    margin-bottom: 3rem;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.oficina-section-container {
    /* max-width: 1000px; */
    margin: 0 auto;
}

.oficina-section-header {
    /* display: flex; */
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.oficina-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.oficina-title {
    font-size: 2rem;
    color: #333;
    font-weight: 600;
}

.oficina-content,
.solucion-content {
    color: #555;
    line-height: 1.8;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: stretch; /* Hace que ambos lados tengan la misma altura */
}

.service-content {
    color: #555;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: stretch; /* Hace que ambos lados tengan la misma altura */
}

.oficina-content-image,
.solucion-content-image,
.service-content-image {
    flex: 0 0 auto; /* Evita que la imagen se estire */
    align-self: flex-start; /* Alinea la imagen arriba */
}

.oficina-content p,
.solucion-content p,
.service-content p {
    margin-bottom: 1rem;
}

.oficina-content-image img,
.solucion-content-image img,
.service-content-image img {
    max-width: 100%;
    max-height: 280px; /* Limita la altura máxima */
    width: auto;
    height: auto;
    object-fit: contain; /* Mantiene las proporciones */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.oficina-content-text,
.solucion-content-text,
.service-content-text {
    text-align: justify;
    flex: 1; /* Permite que el texto ocupe el espacio disponible */
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
}

.oficina-content-text span.nowrap,
.solucion-content-text span.nowrap,
.service-content-text span.nowrap {
    white-space: nowrap;
}

.oficina-content-text ul,
.solucion-content-text ul {
    margin: 0rem 0 0.2rem 1.2rem;
    list-style: disc;
}

.oficina-content-text p.highlight,
.solucion-content-text p.highlight,
.service-content-text p.highlight {
    margin-top: 0.5rem;
    color: #2c3e50;
}


.marcas-section {
    background: #f9f9f9;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border-radius: 10px;
}

.marcas-container {
    max-width: 1200px;
    margin: 0 auto;
}

.marcas-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
}

.marcas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.marca-logo {
    min-height: 150px;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marca-logo img {
    max-height: 100px;
    max-width: 150px;
    object-fit: contain;
}

/* Estilos específicos para página de servicio técnico Brother */
.oficina-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-top: 0.5rem;
    line-height: 1.6;
}

.servicios-list-title {
    font-size: 1.5rem;
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.servicios-brother-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.servicios-brother-list li {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-left: 4px solid #2176ae;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.6;
}

.servicios-brother-list li strong {
    color: #2176ae;
    font-weight: 600;
}

.highlight-box {
    background: #2176ae;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    margin: 0 4px;
}

.servicio-brother-description {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e0e0e0;
}

.servicio-brother-description p {
    margin-bottom: 1rem;
    text-align: justify;
    line-height: 1.8;
}

.contacto-destacado {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 5px solid #2176ae;
}

.contacto-destacado h3 {
    color: #2176ae;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contacto-destacado ul {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.contacto-destacado ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.contacto-destacado ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2176ae;
    font-weight: bold;
    font-size: 1.2rem;
}

.cobertura-text {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   ESTILOS ESPECÍFICOS PÁGINA BROTHER
   ======================================== */

.brother-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.brother-section {
    background: white;
    margin-bottom: 3rem;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.brother-section-container {
    margin: 0 auto;
}

.brother-section-header {
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.brother-title {
    font-size: 2rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.brother-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-top: 0.5rem;
    line-height: 1.6;
}

.brother-content {
    color: #555;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
}

.brother-content-row {
    flex-direction: row !important;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .brother-content-row {
        flex-direction: column !important;
    }

    .brother-content-row .brother-image-center {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        margin-bottom: 1.5rem;
    }

    .brother-content-row .brother-content-text {
        padding-left: 0;
    }

    .brother-section {
        padding: 1.5rem;
    }

    .brother-title {
        font-size: 1.5rem;
    }

    .brother-subtitle {
        font-size: 1rem;
    }
}

.brother-content-image {
    flex: 0 0 auto;
    align-self: flex-start;
}

.brother-content-image img {
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.brother-image-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brother-content-row .brother-image-center {
    width: auto;
    min-width: 300px;
    max-width: 400px;
}

.brother-image-center img {
    padding: 1rem;
    margin: 0 auto;
}

.brother-content-text {
    text-align: justify;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.brother-content-row .brother-content-text {
    padding-left: 2rem;
}

.brother-content-text p {
    margin-bottom: 1rem;
}

.marca-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
   10. PORTAFOLIO (portafolio-styles.css)
   ======================================== */

.secondary-nav {
    background: var(--color-corporativo-secundario);
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.secondary-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.secondary-nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.secondary-nav-link:hover {
    background: transparent;
    transform: none;
    color: rgba(255, 255, 255, 1);
}

.secondary-nav-link.active {
    color: rgba(255, 255, 255, 1) !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    /* font-weight: 600; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* .secondary-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 0px 0px 0 0;
}

.secondary-nav-link:hover::after {
    width: 80%;
} */

.portafolio-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.portafolio-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.portafolio-projects {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.portafolio-project {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portafolio-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

.project-title {
    /* background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); */
    background: linear-gradient(135deg, var(--color-corporativo-secundario) 0%, #232323 100%);
    color: white;
    padding: 1rem 1.5rem;
    margin: -2rem -2rem 1.5rem -2rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.project-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.btn-visitar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
    border: none;
    cursor: pointer;
    width: fit-content;
}

.btn-visitar span {
    color: white !important;
}

.btn-visitar:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
    text-decoration: none;
    color: white !important;
}

.btn-visitar:hover span {
    color: white !important;
}

.btn-visitar .btn-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-visitar:hover .btn-icon {
    transform: translateX(3px);
}

.project-image {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.project-image:hover {
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.project-image-placeholder {
    font-size: 3rem;
    color: #999;
    text-align: center;
    padding: 2rem;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   11. SOLUCIONES (soluciones-styles.css)
   ======================================== */

.soluciones-logos {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 2rem;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.soluciones-logos-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.solucion-logo {
    text-align: center;
    background: white;
    padding: 0.75rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-width: 140px;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.solucion-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.1);
}

.solucion-logo img {
    border-radius: 10px;
    max-width: 120px;
    height: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    display: block;
    margin: 0;
    padding: 0;
}

.solucion-logo:hover img {
    transform: scale(1.1);
}

.solucion-logo-icon {
    font-size: 2.5rem;
    font-weight: bold;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.solucion-logo.dw {
/*     border-top: 3px solid #27ae60; */
}

.solucion-logo.ec {
   /* border-top: 3px solid #FFD700; */
}

.solucion-logo.tpv {
    /* border-top: 3px solid #e91e63; */
}

.solucion-logo.sl {
    /* border-top: 3px solid #3498db; */
}

.solucion-logo.pm {
    /* border-top: 3px solid #e67e22; */
}

.solucion-logo.dw:hover {
    box-shadow: 0 12px 30px rgba(39, 174, 96, 0.25);
}

.solucion-logo.ec:hover {
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.25);
}

.solucion-logo.tpv:hover {
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.25);
}

.solucion-logo.sl:hover {
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.25);
}

.solucion-logo.pm:hover {
    box-shadow: 0 12px 30px rgba(230, 126, 34, 0.25);
}

.solucion-logo.dw .solucion-logo-icon {
    background: #27ae60;
    color: white;
}

.solucion-logo.ec .solucion-logo-icon {
    background: #FFD700;
    color: #333;
}

.solucion-logo.tpv .solucion-logo-icon {
    background: #e91e63;
    color: white;
}

.solucion-logo.sl .solucion-logo-icon {
    background: #3498db;
    color: white;
}

.solucion-logo.pm .solucion-logo-icon {
    background: #e67e22;
    color: white;
}

.solucion-logo-text {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.soluciones-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

.solucion-section {
    scroll-margin-top: 80px;
    background: white;
    margin-bottom: 3rem;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.solucion-section-container {
    /* max-width: 1200px; */
    margin: 0 auto;
}

.solucion-section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.solucion-title {
    font-size: 2rem;
    color: #333;
    font-weight: 600;
}

.solucion-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.solucion-content {
    color: #555;
    line-height: 1.8;
}

.solucion-content p {
    margin-bottom: 1rem;
}

.planes-section {
    background: #f9f9f9;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border-radius: 10px;
}

.planes-container {
    max-width: 1200px;
    margin: 0 auto;
}

.planes-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.plan-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-name {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.plan-features {
    list-style: none;
}

.plan-features li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.tpv-apps-section {
    background: white;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border-radius: 10px;
}

.tpv-apps-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tpv-apps-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.tpv-apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tpv-app-card {
    background: #f9f9f9;
    padding: 2rem 2rem 0.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.tpv-app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tpv-app-icon,
.tpv-app-image {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tpv-app-image {
    width: 50%;
    height: 50%;
    object-fit: contain;
}

.tpv-app-card p {
    color: #555;
    font-weight: 500;
}

/* ========================================
   12. MENÚ HAMBURGUESA (styles.css)
   ======================================== */

.hamburger-btn {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 1001;
}

.hamburger-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   13. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 968px) {
    .header-assistance-btn {
        display: none;
    }

    .word-integrales::after{
        bottom: -20px;
        left: -15px;
        width: 210px;
        height: 30px;
    }

    .main-content {
        grid-template-columns: 1fr;
    }

    /* .services-grid ya usa flex, no necesita grid-template-columns */

    .intro-section {
        padding: 3rem 1.5rem;
    }

    .intro-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .intro-title {
        font-size: 2.5rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .intro-section .sidebar-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        border-radius: 8px;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    .service-card {
        flex-direction: column;
    }

    .service-icon-modern {
        width: 100%;
        min-width: 100%;
        height: 200px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .service-content {
        padding: 2rem 1.5rem;
    }

    .service-title {
        font-size: 1.75rem;
    }

    .service-features {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-service {
        width: 100%;
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-card-v2 {
        padding: 1.5rem;
    }

    /*     .footer-container {
        grid-template-columns: 1fr;
    } */

    .main-nav ul {
        gap: 0.25rem;
    }

    .main-nav a {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .contacto-info-form-container {
        flex-direction: column;
    }

    .oficina-hero-container {
        grid-template-columns: 1fr;
    }

    .marcas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portafolio-project {
        grid-template-columns: 1fr;
    }

    .project-image {
        min-height: 200px;
    }

    .project-title {
        margin: 0 0 1.5rem 0;
    }

    .solucion-logo {
        min-width: 50px;
    }

    .solucion-logo img {
        max-width: 80px;
    }

    .planes-grid {
        grid-template-columns: 1fr;
    }

    .tpv-apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .oficina-content {
        flex-direction: column;
    }

    .oficina-content-image img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .word-integrales::after{
        bottom: -18px;
        left: -40px;
        width: 220px;
        height: 20px;
    }

    .intro-title {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .intro-buttons {
        flex-direction: column;
    }

    .intro-buttons .btn-primary,
    .intro-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
    
    .section-description {
        font-size: 1.15rem;
    }

    .about-title {
        font-size: 2rem;
    }

    .header-container {
        padding: 0.5rem 1.5rem;
    }

    .logo {
        width: 101px;
        height: 105px;
        top: 10px;
    }

    .main-nav ul {
        gap: 0.25rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav a {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }

    .header-assistance-btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
        margin-left: 0.5rem;
    }

    .header-assistance-btn span {
        display: none;
    }

    .header-assistance-btn .assistance-icon {
        width: 22px;
        height: 22px;
    }

    /* Menú hamburguesa activo */
    .hamburger-btn {
        display: flex;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .menu-overlay.active {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
    }

    .header-assistance-btn {
        z-index: 1001;
        position: relative;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 1rem;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-radius: 0;
    }

    .hamburger-btn.active span:nth-child(1) {
        transform: translate(3px, 11px) rotate(45deg);
    }

    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active span:nth-child(3) {
        transform: translate(3px, -3px) rotate(-45deg);
    }
}

@media (max-width: 600px) {
    .main-content {
        padding: 1rem 0rem;
    }

    .header-container {
        gap: 1rem;
        padding: 0.5rem 1rem;
        height: fit-content;
    }

    .logo {
        display: none;
    }

    .main-nav ul {
        justify-content: center;
        width: 100%;
        gap: 0.5rem;
    }

    .main-nav a {
        padding: 0.625rem 0.875rem;
        font-size: 0.8rem;
    }

    .header-assistance-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        margin-left: 0.25rem;
    }

    .header-assistance-btn span {
        display: none;
    }

    .header-assistance-btn .assistance-icon {
        width: 20px;
        height: 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-circle {
        width: 200px;
        height: 200px;
    }

    .form-buttons {
        flex-direction: column;
    }

    .btn-submit,
    .btn-clear {
        width: 100%;
    }

    .marcas-grid {
        grid-template-columns: 1fr 1fr;
    }

    .oficina-section-header {
        flex-direction: column;
        text-align: center;
    }

    .secondary-nav-container {
        gap: 0.5rem;
    }

    .secondary-nav-link {
        text-align: center;
    }

    .tpv-apps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h2.solucion-title {
        font-size: 1.5rem;
    }

    h2.planes-title {
        font-size: 1.75rem;
    }

    .footer-container {
        text-align: center;
    }

    .planes-section {
        padding: 1rem 1rem;
    }

    .soluciones-main,
    .oficina-main,
    .portafolio-main {
        padding: 1rem 1rem;
    }

    .contacto-main {
        padding: 0rem 0rem;
    }


    .soluciones-logos {
        padding: 1rem 0.5rem;
    }

    .contacto-info {
        border-radius: 0px;
        padding: 2rem;
    }

    .contacto-form-section {
        border-radius: 0px;
        padding: 2rem;
    }

    .contacto-info-section {
        padding: 0rem;
        border-radius: 0px;
    }

    .contacto-title {
        font-size: 1.5rem;
        padding: 1rem 1rem;
        margin-bottom: 1rem;
    }

    .contacto-info-form-container {
        gap: 0rem;
    }

    .soluciones-logos-container {
        gap: 1rem;
    }

    iframe {
        border-radius: 0px;
        border: 0;
    }

    /* Estilos responsive para página Brother */
    .brother-content-row {
        flex-direction: column !important;
    }

    .brother-content-row .brother-image-center {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        margin-bottom: 1.5rem;
    }

    .brother-content-row .brother-content-text {
        padding-left: 0;
    }

    .brother-section {
        padding: 1.5rem;
    }

    .brother-title {
        font-size: 1.5rem;
    }

    .brother-subtitle {
        font-size: 1rem;
    }
}

/* ========================================
   14. AJUSTES RESPONSIVE GLOBALES (retoque móvil 2026)
   ======================================== */

/* Evita el scroll horizontal provocado por adornos absolutos e imágenes anchas */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Las imágenes, vídeos e iframes nunca desbordan su contenedor.
   Selector de elemento (baja especificidad): no pisa tamaños fijados por clase. */
img, video, iframe {
    max-width: 100%;
}

img {
    height: auto;
}

/* Que los hijos de flex/grid puedan encogerse en vez de forzar desbordamiento */
.header-container,
.intro-container,
.about-container,
.hero-container,
.oficina-hero-container,
.contacto-info-form-container,
.service-card,
.footer-container {
    min-width: 0;
}

/* Filtros del portafolio: en móvil, scroll horizontal en vez de amontonarse */
@media (max-width: 600px) {
    .secondary-nav-container {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 1rem;
        scrollbar-width: none;
    }
    .secondary-nav-container::-webkit-scrollbar {
        display: none;
    }
    .secondary-nav-link {
        white-space: nowrap;
        flex: 0 0 auto;
    }
}

/* Teléfonos: respiración de secciones y titulares para que no queden apretados */
@media (max-width: 768px) {
    .intro-section,
    .about-section,
    .planes-section,
    .soluciones-main,
    .oficina-main,
    .portafolio-main,
    .contacto-main,
    .brother-section {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    /* Enlaces y botones con zona de toque cómoda */
    .main-nav a,
    .btn-service,
    .btn-primary,
    .btn-secondary,
    .secondary-nav-link {
        min-height: 44px;
    }
}

/* Teléfonos pequeños: evita que cualquier bloque supere el ancho de pantalla */
@media (max-width: 420px) {
    .section-title {
        font-size: 1.6rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .intro-title {
        font-size: 1.7rem;
    }
}
