.fiscal-devices {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-color: #1e293b;
    --light-bg: #f8fafc;
    --border-radius: 1rem;
    --transition: all 0.3s ease;
}

.fiscal-container {
    max-width: 85%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.fiscal-container h2{
color: white;
font-size: 2rem;
}

.section-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1rem;
}


.service-card-fiscal h3{
    font-size: 1.95rem;
    text-align: left;
    padding-bottom: 0.6rem;
}
.service-card-fiscal p{
    font-size: 1rem;
    text-align: left;
}

.fiscal-hero {
    position: relative;
    min-height: 105vh;
   
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 999;
    padding: 0 5%;
}

.fiscal-container-hero {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.fiscal-hero__content {
    flex: 0 0 50%;
    max-width: 600px;
}

.fiscal-hero__image {
    flex: 0 0 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-device-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.hero-device {
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}


.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .fiscal-container {
        flex-direction: column;
    }

    .fiscal-hero__content,
    .fiscal-hero__image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .fiscal-hero__content {
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .fiscal-hero__image {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .fiscal-hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-device-wrapper {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .fiscal-hero__image {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta a {
        width: 100% !important;
    }
}


.fiscal-services {
    padding: 6rem 0;
    background: linear-gradient(135deg, 
      rgba(13, 17, 23, 0.95) 0%,
      rgba(23, 36, 64, 0.95) 50%,
      rgba(13, 17, 23, 0.95) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card-fiscal {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.service-card-fiscal:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 1rem;
}

.service-features li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: #64748b;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 900px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    transition: var(--transition);
}

.close-modal:hover {
    background: #e2e8f0;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image {
    border-radius: 0.5rem;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: auto;
}

.modal-info {
    padding: 1rem 0;
}

.modal-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal-specs {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}


@media (max-width: 1024px) {
    .fiscal-hero {
        min-height: auto;
    }

    .fiscal-hero__content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .fiscal-hero__image {
        display: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn-primary, 
    .btn-secondary {
        width: 100%;
    }

    .contact-form {
        padding: 1rem;
    }
}

.fiscal-info {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.info-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: start;
}

.info-content {
    padding-right: 2rem;
}

.info-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.info-text {
    color: #475569;
    line-height: 1.8;
}

.info-text h3 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.info-text p {
    margin-bottom: 1.5rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
}

.info-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    color: #475569;
}

.info-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.info-image-wrapper {
    position: sticky;
    top: 20px; 
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.info-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.info-image-wrapper:hover .info-img {
    transform: scale(1.05);
}

.info-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.info-image-wrapper:hover .info-img {
    transform: scale(1.05);
}

.info-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-badge span {
    font-size: 1.125rem;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .info-content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .fiscal-info {
        padding: 4rem 0;
    }
.fiscal-hero{
    padding: 7rem 0;
}
    .info-text h3 {
        font-size: 1.25rem;
    }

    .info-badge {
        padding: 1.5rem 1rem 1rem;
    }

    .info-badge span {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .info-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
}