/* Index Section 3 - Profit Calculator Styles */

/* Container - Remove background and use clean design */
.section-type-1 {
    background: #f8fafb;
    padding: 4rem 0;
}

.comparison-details-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Section Title */
.comparison-section-title {
    color: #1a5f3f !important;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: none;
}

/* Highlight Text Box */
.comparison-highlight-text {
    background: linear-gradient(135deg, #e6f7f5 0%, #f0faf8 100%) !important;
    border-left: 4px solid #22aea1 !important;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    color: #333 !important;
    font-size: 1.1rem;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(34, 174, 161, 0.1);
}

.comparison-underline {
    color: #22aea1;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #22aea1;
    text-underline-offset: 3px;
}

/* Subtitle */
.comparison-section-subtitle {
    color: #1a5f3f !important;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center !important;
}

/* Win Table - Clean Card Design */
.win-table {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e5e5;
}

/* Win Table Items */
.win-table-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.win-table-item:last-child {
    border-bottom: none;
    padding-top: 1.5rem;
    padding-bottom: 0;
}

.win-table-item .flex {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.win-table-item-title {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
}

.win-table-item-subtitle {
    color: #666;
    font-size: 0.875rem;
}

.win-table-item-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

/* Divider */
.divider {
    height: 2px;
    background: #22aea1;
    margin: 1.5rem 0;
}

/* Special Styles for Final Result */
.green-text {
    color: #22aea1 !important;
}

.bigger-text {
    font-size: 1.75rem !important;
}

.bold {
    font-weight: 700 !important;
}

/* Quote Section */
.comparison-quote {
    background: #f8f8f8;
    border-left: 3px solid #d1d5db !important;
    padding: 1rem 1.5rem;
    color: #666 !important;
    font-size: 0.875rem;
    line-height: 1.5;
    font-style: italic;
    border-radius: 4px;
}

/* Highlight Box for Profit */
.win-table-item:last-child {
    background: linear-gradient(135deg, #e6f7f5 0%, #f0faf8 100%);
    padding: 1.5rem 2rem;
    margin: 0 -2rem -2rem -2rem;
    border-radius: 0 0 12px 12px;
    border-top: 2px solid #22aea1;
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-type-1 {
        padding: 3rem 0;
    }
    
    .comparison-section-title {
        font-size: 2rem;
    }
    
    .comparison-highlight-text {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .comparison-section-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .win-table {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .win-table-item {
        padding: 1rem 0;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .win-table-item-title {
        font-size: 0.95rem;
    }
    
    .win-table-item-price {
        font-size: 1rem;
    }
    
    .bigger-text {
        font-size: 1.5rem !important;
    }
    
    .win-table-item:last-child {
        margin: 0 -1.5rem -1.5rem -1.5rem;
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .section-type-1 {
        padding: 2rem 0;
    }
    
    .comparison-section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .comparison-highlight-text {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .comparison-section-subtitle {
        font-size: 1.25rem;
    }
    
    .win-table {
        padding: 1.25rem;
        border-radius: 8px;
    }
    
    .win-table-item {
        padding: 0.875rem 0;
    }
    
    .win-table-item .flex {
        flex: 1;
    }
    
    .win-table-item-title {
        font-size: 0.9rem;
    }
    
    .win-table-item-subtitle {
        font-size: 0.8rem;
    }
    
    .win-table-item-price {
        font-size: 0.95rem;
    }
    
    .bigger-text {
        font-size: 1.35rem !important;
    }
    
    .comparison-quote {
        padding: 0.875rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .win-table-item:last-child {
        margin: 0 -1.25rem -1.25rem -1.25rem;
        padding: 1rem;
    }
}

/* Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.win-table {
    animation: slideInUp 0.6s ease forwards;
}

/* Print Styles */
@media print {
    .section-type-1 {
        background: white;
    }
    
    .win-table {
        box-shadow: none;
        border: 1px solid #333;
    }
    
    .comparison-highlight-text {
        box-shadow: none;
    }
}
/* Ratings Section Container */
.ratings-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Ratings Header */
.ratings-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ratings-title {
    font-size: 2rem;
    color: #1a5f3f;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Ratings Summary */
.ratings-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rating-average {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a5f3f;
}

.rating-stars {
    display: flex;
    gap: 0.125rem;
}

.star {
    font-size: 1.5rem;
    color: #e0e0e0;
}

.star.filled {
    color: #fbbf24;
}

.star.empty {
    color: #e0e0e0;
}

.rating-count {
    color: #666;
    font-size: 0.95rem;
}

/* Ratings Grid */
.ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* Rating Card */
.rating-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.rating-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Rating Header */
.rating-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.rating-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22aea1 0%, #1d9b8f 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.author-location {
    color: #666;
    font-size: 0.85rem;
}

.rating-date {
    color: #999;
    font-size: 0.85rem;
}

/* Individual Stars */
.rating-stars-individual {
    display: flex;
    gap: 0.1rem;
    margin-bottom: 0.75rem;
}

.rating-stars-individual .star {
    font-size: 1.1rem;
}

/* Rating Content */
.rating-content {
    margin-bottom: 1rem;
}

.rating-content p {
    margin: 0;
    line-height: 1.6;
    color: #333;
    font-size: 0.95rem;
}

/* Rating Helpful */
.rating-helpful {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
}

.helpful-icon {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ratings-section {
        padding: 2rem 1rem;
    }
    
    .ratings-title {
        font-size: 1.75rem;
    }
    
    .ratings-summary {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .rating-average {
        font-size: 2rem;
    }
    
    .rating-stars .star {
        font-size: 1.25rem;
    }
    
    .ratings-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .rating-card {
        padding: 1.25rem;
    }
    
    .rating-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .author-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .ratings-section {
        padding: 1.5rem 0.5rem;
    }
    
    .ratings-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .rating-card {
        padding: 1rem;
        border-radius: 6px;
    }
    
    .rating-content p {
        font-size: 0.9rem;
    }
    
    .rating-helpful {
        font-size: 0.8rem;
    }
}

/* Animation */
.rating-card {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

.rating-card:nth-child(1) { animation-delay: 0.1s; }
.rating-card:nth-child(2) { animation-delay: 0.2s; }
.rating-card:nth-child(3) { animation-delay: 0.3s; }
.rating-card:nth-child(4) { animation-delay: 0.4s; }
.rating-card:nth-child(5) { animation-delay: 0.5s; }
.rating-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Print Styles */
@media print {
    .rating-card {
        break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
        animation: none;
        opacity: 1;
    }
    
    .rating-helpful {
        display: none;
    }
}
/* PZR-Vigo Service Grid - Flexbox Design */

.service-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 2rem 0;
}

.service-grid-item {
    flex: 1 1 calc(50% - 100px);
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.service-grid-item:hover {
    border-color: #22aea1;
    box-shadow: 0 4px 12px rgba(34, 174, 161, 0.15);
}

.service-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    background: #f0faf8;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-grid-item:hover .service-icon-container {
    background: #e6f7f5;
}

.service-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(41%) sepia(95%) saturate(1244%) hue-rotate(147deg) brightness(91%) contrast(91%);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a5f3f;
    text-align: center;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    text-align: center;
    margin: 0;
}

.service-highlight {
    color: #22aea1;
    font-weight: 600;
}

/* Warning Section */
.service-warning {
    background: #fff5f0;
    border: 1px solid #ffcc99;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.service-warning-icon {
    color: #f59e0b;
    font-size: 24px;
    margin-top: 2px;
    flex-shrink: 0;
}

.service-warning-text {
    color: #92400e;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Tariff Overview Section */
.tariff-overview {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    position: relative;
}

.tariff-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #1a5f3f;
    position: relative;
}

.comparison-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.comparison-table {
    flex: 1;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    background: #22aea1;
    border-bottom: none;
}

.comparison-header-item {
    padding: 1.25rem;
    font-weight: 600;
    color: white;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-header-item:last-child {
    border-right: none;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.comparison-row:hover {
    background: #f8f8f8;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-item {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    border-right: 1px solid #f0f0f0;
}

.comparison-item:last-child {
    border-right: none;
    justify-content: center;
}

.comparison-check {
    color: #22aea1;
    font-size: 24px;
    margin-right: 8px;
}

.comparison-close {
    color: #ef4444;
    font-size: 24px;
    margin-right: 8px;
}

.comparison-percentage {
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-percentage.positive {
    color: #22aea1;
}

.comparison-percentage.negative {
    color: #6b7280;
}

.excluded-item {
    color: #6b7280;
}

.excluded-item .comparison-item {
    opacity: 0.6;
}

/* Pricing Section */
.pricing-section {
    flex: 1;
    background: linear-gradient(135deg, #f0faf8 0%, #e6f7f5 100%);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid #d4f0ec;
    text-align: center;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a5f3f;
    margin-bottom: 1.5rem;
}

.pricing-table {
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 8px;
    padding: 1rem;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-age {
    color: #4b5563;
    font-weight: 500;
}

.pricing-amount {
    font-weight: 700;
    color: #1a5f3f;
    font-size: 1.25rem;
}

.pricing-note {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.flatrate-badge {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.flatrate-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4b5563;
}

/* Footer Info */
.footer-info {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid #e5e5e5;
}

.footer-info-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .service-grid-container {
        gap: 16px;
        margin: 1.5rem 0;
    }

    .service-grid-item {
        flex: 1 1 100%;
        padding: 1.5rem;
    }

    .service-icon-container {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .service-icon {
        width: 28px;
        height: 28px;
    }

    .service-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .tariff-overview {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .tariff-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .comparison-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .comparison-header-item {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .comparison-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .pricing-section {
        padding: 1.5rem;
    }

    .pricing-title {
        font-size: 1.25rem;
    }

    .service-warning {
        padding: 1rem;
        gap: 0.75rem;
    }

    .service-warning-icon {
        font-size: 20px;
    }

    .service-warning-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .service-grid-item {
        padding: 1.25rem;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-description {
        font-size: 0.85rem;
    }

    .tariff-overview {
        padding: 1.25rem;
    }

    .comparison-header {
        grid-template-columns: 1fr;
    }

    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        justify-content: space-between;
    }

    .comparison-item:last-child {
        border-bottom: none;
    }

    .pricing-row {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
