/* ==========================================================================
   Bavela S.A.C. - Internal Pages Styles
   ========================================================================== */

/* Page Header */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    margin-top: 80px;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(230, 57, 70, 0.2) 0%, transparent 100%);
}

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

.page-header h1 {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Company Intro Section */
.company-intro {
    padding: 100px 0;
    background: var(--white);
}

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

.intro-image {
    position: relative;
}

.image-frame {
    background: var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.intro-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.intro-text strong {
    color: var(--primary-blue);
}

/* Mission, Vision, Values */
.mvv-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.mvv-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.mvv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.mvv-icon svg {
    width: 40px;
    height: 40px;
}

.mvv-card h3 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.mvv-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.values-list span {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Strengths Section */
.strengths-section {
    padding: 100px 0;
    background: var(--white);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.strength-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.strength-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    min-width: 80px;
}

.strength-item h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.strength-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Commitment Section */
.commitment-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
}

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

.commitment-section .section-label {
    color: var(--primary-red);
}

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

.commitment-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.7;
}

.commitment-list {
    list-style: none;
    margin: 30px 0;
}

.commitment-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.commitment-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.3rem;
}

.commitment-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Libro de Reclamaciones Specific Styles */
.libro-badge {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.libro-badge svg {
    width: 50px;
    height: 50px;
    color: var(--white);
}

.libro-info {
    padding: 80px 0;
    background: var(--light-gray);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.info-icon svg {
    width: 30px;
    height: 30px;
}

.info-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Claim Form Section */
.claim-form-section {
    padding: 80px 0;
    background: var(--white);
}

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

.form-header h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

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

.claim-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.form-section-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-red);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-row:last-child {
    margin-bottom: 0;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 6px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition-base);
}

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

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

.readonly-field {
    background: #f0f0f0;
    cursor: not-allowed;
}

.form-group small {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 5px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.radio-label span {
    color: var(--text-dark);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.legal-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin-top: 30px;
    border-radius: 6px;
}

.legal-notice p {
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.6;
}

.legal-notice p:last-child {
    margin-bottom: 0;
}

/* Libro Contact Section */
.libro-contact {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.contact-icon svg {
    width: 35px;
    height: 35px;
}

.contact-card h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card small {
    color: var(--text-light);
    font-size: 0.9rem;
}

.indecopi-info {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.indecopi-info h4 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.indecopi-info > p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.indecopi-details {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
}

.indecopi-details strong {
    display: block;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.indecopi-details p {
    color: var(--text-dark);
    margin-bottom: 8px;
}

.indecopi-details a {
    color: var(--primary-red);
    font-weight: 600;
}

.indecopi-details a:hover {
    text-decoration: underline;
}

/* Responsive Design for Internal Pages */
/* ==========================================================================
   RESPONSIVE DESIGN - Pages
   ========================================================================== */

/* Tablet and Below (≤ 992px) */
@media (max-width: 992px) {
    /* Page Header */
    .page-header {
        height: 350px;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    /* Grids - 2 columns */
    .intro-grid,
    .commitment-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mvv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .commitment-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Forms */
    .form-section {
        padding: 40px 30px;
    }
    
    /* Installations Carousel */
    .installations-carousel-item {
        height: 350px;
    }
}

/* Mobile Landscape and Below (≤ 768px) */
@media (max-width: 768px) {
    /* Page Header */
    .page-header {
        height: 300px;
    }
    
    .page-header h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .page-breadcrumb {
        font-size: 0.85rem;
    }
    
    /* All Grids - 1 column */
    .intro-grid,
    .commitment-content,
    .mvv-grid,
    .strengths-grid,
    .commitment-stats,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Strength Items */
    .strength-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .strength-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    /* MVV Cards */
    .mvv-card {
        padding: 30px 20px;
    }
    
    /* Forms */
    .form-section {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    /* Contact Info */
    .contact-info-item {
        padding: 25px 20px;
    }
    
    /* Installations Carousel */
    .installations-carousel-item {
        height: 300px;
    }
    
    .installations-carousel-nav {
        display: none;
    }
    
    /* Logos Grid */
    .logos-grid-section .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .logo-item {
        padding: 20px;
    }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
    /* Page Header */
    .page-header {
        height: 250px;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    /* Cards */
    .intro-card,
    .mvv-card,
    .strength-item,
    .contact-info-item {
        padding: 20px 15px;
    }
    
    /* Forms */
    .form-section {
        padding: 25px 15px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-control {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    /* Installations Carousel */
    .installations-carousel-item {
        height: 250px;
    }
    
    /* Logos */
    .logos-grid-section .logos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .logo-item img {
        max-height: 50px;
    }
}

/* Extra Small Devices (≤ 360px) */
@media (max-width: 360px) {
    .page-header {
        height: 220px;
    }
    
    .page-header h1 {
        font-size: 1.4rem;
    }
    
    .installations-carousel-item {
        height: 220px;
    }
}

