/* 
ContabiliPlus - Modern Accounting Services Website
Colors:
- Primary: #1DE9B6 (neon turquoise)
- Secondary: #6A1B9A (deep purple)
- Background: #1C1C1E (deep graphite)
- Accents: #FF6F61 (light coral)
- Text: #FFFFFF (white) and #CFCFCF (light gray)
*/

/* ===== ROOT VARIABLES ===== */
:root {
    --color-primary: #1DE9B6;
    --color-primary-light: #64ffda;
    --color-primary-dark: #00b686;
    --color-secondary: #6A1B9A;
    --color-secondary-light: #9c4dcc;
    --color-secondary-dark: #38006b;
    --color-background: #1C1C1E;
    --color-background-light: #2c2c2e;
    --color-accent: #FF6F61;
    --color-accent-light: #ff9e8f;
    --color-accent-dark: #c83f32;
    --color-text: #FFFFFF;
    --color-text-light: #CFCFCF;
    --color-text-dark: #A0A0A0;
    --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-large: 0 8px 24px rgba(0, 0, 0, 0.4);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 16px;
    --container-width: 1200px;
    --font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover, a:focus {
    color: var(--color-primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ===== COMMON ELEMENTS ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 4.8rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 0.4rem;
    background-color: var(--color-primary);
    border-radius: 0.2rem;
}

.btn {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius-medium);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-background);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-primary-light);
    color: var(--color-background);
    box-shadow: 0 0 1rem var(--color-primary-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--color-secondary-light);
    box-shadow: 0 0 1rem var(--color-secondary-light);
    transform: translateY(-2px);
}

.btn-nav {
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 0.8rem 1.6rem;
    border-radius: var(--border-radius-small);
}

.btn-cookie {
    background-color: var(--color-accent);
    color: var(--color-text);
}

.btn-cookie:hover, .btn-cookie:focus {
    background-color: var(--color-accent-light);
}

/* ===== ICONS ===== */
[class^="icon-"] {
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    margin-right: 0.8rem;
    vertical-align: middle;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.icon-expertise {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231DE9B6' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L1 21h22L12 2zm0 4.2L19.8 19H4.2L12 6.2zM11 10v4h2v-4h-2zm0 6v2h2v-2h-2z'/%3E%3C/svg%3E");
}

.icon-tech {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231DE9B6' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16v2H4zm0 6h16v2H4zm0 6h16v2H4z'/%3E%3C/svg%3E");
}

.icon-support {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231DE9B6' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z'/%3E%3C/svg%3E");
}

.icon-location {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231DE9B6' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.icon-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231DE9B6' viewBox='0 0 24 24'%3E%3Cpath d='M20 15.5c-1.25 0-2.45-.2-3.57-.57a1.02 1.02 0 0 0-1.02.24l-2.2 2.2a15.045 15.045 0 0 1-6.59-6.59l2.2-2.21a.96.96 0 0 0 .25-1A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM12 3v10l3-3h6V3h-9z'/%3E%3C/svg%3E");
}

.icon-email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231DE9B6' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.icon-hours {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231DE9B6' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(28, 28, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-small);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 8rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.05rem;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 3rem;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav-menu a:not(.btn-nav):hover::after,
.nav-menu a:not(.btn-nav):focus::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2.1rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 0.3rem;
    background-color: var(--color-text);
    border-radius: 0.3rem;
    transition: var(--transition-normal);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--color-background-light);
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    z-index: 2000;
    transition: bottom var(--transition-normal);
}

.cookie-banner.active {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

.cookie-content p {
    flex: 1;
    margin-right: 2rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 14rem 0 8rem;
    background: linear-gradient(to right, var(--color-background), var(--color-background-light));
    overflow: hidden;
    position: relative;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 60rem;
}

.hero-section h1 {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

.hero-image {
    flex: 0 0 45%;
    position: relative;
    animation: floatImage 4s ease-in-out infinite;
}

.hero-image img {
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-large);
}

@keyframes floatImage {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 10rem 0;
    background-color: var(--color-background-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    padding: 10rem 0;
    background-color: var(--color-background);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.benefit-card {
    background-color: var(--color-background-light);
    border-radius: var(--border-radius-medium);
    padding: 3rem;
    text-align: center;
    transition: transform var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-small);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-primary);
}

.benefit-icon {
    margin-bottom: 2rem;
}

.benefit-icon i {
    width: 6rem;
    height: 6rem;
    margin: 0 auto;
}

.benefit-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.benefit-card p {
    color: var(--color-text-light);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 10rem 0;
    background-color: var(--color-background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.service-card {
    background-color: var(--color-background);
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 2rem rgba(29, 233, 182, 0.2);
}

.service-card img {
    height: 20rem;
    object-fit: cover;
}

.service-card h3 {
    font-size: 2.2rem;
    padding: 2rem 2rem 1rem;
    color: var(--color-primary);
}

.service-card ul {
    padding: 0 2rem 2rem;
    flex-grow: 1;
}

.service-card li {
    margin-bottom: 1rem;
    color: var(--color-text-light);
    position: relative;
    padding-left: 2rem;
}

.service-card li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.service-card .btn {
    margin: 0 2rem 2rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 10rem 0;
    background-color: var(--color-background);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.testimonial {
    background-color: var(--color-background-light);
    border-radius: var(--border-radius-medium);
    padding: 3rem;
    max-width: 36rem;
    box-shadow: var(--shadow-small);
    border-left: 4px solid var(--color-primary);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    color: var(--color-text);
    font-style: italic;
    font-size: 1.8rem;
    line-height: 1.6;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: var(--color-primary);
    line-height: 0;
    vertical-align: -1.5rem;
    margin-right: 0.5rem;
}

.author-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1.8rem;
}

.author-position {
    color: var(--color-text-light);
    font-size: 1.4rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 10rem 0;
    background-color: var(--color-background-light);
}

.faq-container {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-background);
    border-radius: var(--border-radius-medium);
    margin-bottom: 2rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

.faq-toggle {
    position: relative;
    width: 2.4rem;
    height: 2.4rem;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--color-primary);
    transition: transform var(--transition-normal);
}

.faq-toggle::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 0.2rem;
    transform: translateY(-50%);
}

.faq-toggle::after {
    left: 50%;
    top: 0;
    width: 0.2rem;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.active .faq-toggle::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 20rem;
    padding: 0 2rem 2rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 10rem 0;
    background-color: var(--color-background);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.contact-info {
    background-color: var(--color-background-light);
    padding: 3rem;
    border-radius: var(--border-radius-medium);
}

.contact-info h3 {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    color: var(--color-text-light);
}

.contact-details a {
    color: var(--color-text-light);
}

.contact-details a:hover {
    color: var(--color-primary);
}

.contact-form {
    background-color: var(--color-background-light);
    padding: 3rem;
    border-radius: var(--border-radius-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-small);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.form-group.checkbox input[type="checkbox"] {
    margin-top: 0.3rem;
}

.form-group label {
    display: block;
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.form-group.checkbox label {
    font-size: 1.4rem;
    margin-bottom: 0;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid transparent;
    background-color: var(--color-background);
    color: var(--color-text);
    border-radius: var(--border-radius-small);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0.8rem rgba(29, 233, 182, 0.3);
}

.form-group input[type="checkbox"] {
    width: auto;
}

.contact-form .btn {
    width: 100%;
    margin-top: 2rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--color-background-light);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 4rem;
    height: 0.2rem;
    background-color: var(--color-primary);
}

.footer-desc {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 30rem;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-links a,
.footer-contact a {
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    color: var(--color-text-light);
}

.footer-logo .logo-text {
    margin-bottom: 2rem;
    display: inline-block;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    color: var(--color-text-dark);
    font-size: 1.4rem;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.legal-links a {
    color: var(--color-text-dark);
    font-size: 1.4rem;
}

.legal-links a:hover {
    color: var(--color-primary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    html {
        font-size: 60%;
    }
    
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 4rem;
    }
    
    .hero-section h1 {
        font-size: 4rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .site-header .container {
        height: 7rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 7rem;
        right: -100%;
        width: 70%;
        height: calc(100vh - 7rem);
        background-color: var(--color-background-light);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 4rem 0;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-medium);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0 0 2rem 0;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content p {
        margin-bottom: 1.5rem;
        margin-right: 0;
    }
    
    .hero-section h1 {
        font-size: 3.6rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 55%;
    }
    
    .hero-section {
        padding: 12rem 0 6rem;
    }
    
    .hero-section h1 {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .nav-menu {
        width: 100%;
    }
    
    .about-section,
    .benefits-section,
    .services-section,
    .testimonials-section,
    .faq-section,
    .contact-section {
        padding: 6rem 0;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .form-group.checkbox label {
        font-size: 1.3rem;
    }
} 