:root {
    --primary-color: #8B9A7D;
    --secondary-color: #2c2c2c;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(58, 58, 58, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    height: 50px;
}

.logo-image {
    height: 50px;
    width: 50px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.08);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-client-btn {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
}

.nav-client-btn:hover {
    background: #7A8A6C !important;
    color: white !important;
    transform: translateY(-2px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    font-weight: 300;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.cta-button:hover {
    background: #7A8A6C;
    transform: translateY(-2px);
}

/* Video Section */
.video-section {
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-container-full {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.video-overlay-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.video-overlay-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Sections */
section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text {
    padding: 0 1rem;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    background: var(--medium-gray);
    height: 500px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team Section */
.team {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 4px solid var(--primary-color);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.team-member:nth-child(3) .team-photo img {
    object-position: center 60%;
}

.team-member:hover .team-photo img {
    filter: grayscale(0%);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Advantages Section */
.advantages {
    background: var(--light-gray);
}

.advantages-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: nowrap;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    flex: 1;
    min-width: 200px;
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.advantage-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 20px;
    margin-top: 0.2rem;
}

/* New Contact Section with Map */
.contact-content-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-map {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-map iframe {
    height: 550px;
    min-height: 550px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.map-footer-left,
.map-footer-right {
    text-align: center;
}

.map-footer p {
    margin: 0.5rem 0;
    color: var(--text-color);
}

.map-footer strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.map-footer-left {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.map-footer-left p {
    color: white;
}

.map-footer-right {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.map-footer-right p {
    color: white;
}

.map-footer-right strong {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.contact-form-right {
    display: flex;
    flex-direction: column;
}

.contact-form-right h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.contact-info-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.contact-info-item:last-of-type {
    border-bottom: 1px solid var(--medium-gray);
    margin-bottom: 1.5rem;
}

.contact-info-item p {
    margin: 0.3rem 0;
    line-height: 1.5;
}

.contact-info-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

.contact-info-item strong {
    display: block;
    color: var(--secondary-color);
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.contact-form-fields {
    margin-top: 0.5rem;
}

.cta-button-contact {
    background: var(--primary-color);
    color: white;
    padding: 0.9rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.8rem;
}

.cta-button-contact:hover {
    background: #7a8a6d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Footer CTA Section */
.footer-cta {
    position: relative;
    height: 400px;
    background-color: #1a1a2e;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.footer-cta-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.footer-cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.footer-cta-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button-footer {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.cta-button-footer:hover {
    background: #7a8a6d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Footer */
footer {
    background: #3a3a3a;
    color: white;
    padding: 4rem 0 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo-column {
    align-items: flex-start;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    width: 95%;
    max-width: 1100px;
    max-height: 90vh;
    border-radius: 20px;
    padding: 3rem 4rem;
    position: relative;
    overflow-y: auto;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
}

.modal-header {
    margin-bottom: 2rem;
    padding-right: 50px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1.5rem;
}

.modal-category {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.modal-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0;
    line-height: 1.3;
}

.modal-body {
    padding-top: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.modal-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}

.modal-description p {
    margin-bottom: 1rem;
}

.modal-description strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Intro destacat */
.modal-description .intro {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.9;
}

/* Subtítols amb icona */
.modal-description .subtitle,
.modal-description h3.subtitle {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--primary-color);
}

/* Llista de serveis */
.modal-description .service-list,
.modal-description ul.service-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.modal-description .service-list li {
    padding: 1rem 1.2rem;
    margin-bottom: 0.8rem;
    background: #fafafa;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.modal-description .service-list li:hover {
    background: #f0f4f0;
    transform: translateX(5px);
}

.modal-description .service-list li strong {
    color: var(--secondary-color);
    font-size: 1.05rem;
}

/* Paràgraf de tancament */
.modal-description .closing {
    margin-top: 2rem;
    padding: 1.2rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
}

/* Estils per a les llistes dins del modal */
.modal-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.modal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

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

/* Team Modal Specific Styles */
.team-modal-content {
    max-width: 900px;
}

.team-modal-body {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.team-modal-photo {
    position: sticky;
    top: 0;
    align-self: start;
}

.team-modal-photo img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 4px solid var(--primary-color);
}

.team-modal-role {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.team-modal-description p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
        width: 40px;
    }

    .nav-links {
        display: none;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .mobile-menu {
        display: flex;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

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

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content-new {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-map {
        height: 400px;
    }
    
    .map-footer {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .about-image-left,
    .about-image-right {
        display: none;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-photo {
        width: 150px;
        height: 150px;
    }

    .services-grid,
    .advantages-grid {
        flex-direction: column;
    }

    .advantage-item {
        min-width: auto;
    }

    nav {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
        border-radius: 15px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-description {
        font-size: 0.9rem;
    }
    
    .team-modal-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-modal-photo {
        position: relative;
    }
    
    .team-modal-photo img {
        max-width: 200px;
        margin: 0 auto;
        display: block;
    }

    .video-overlay-title {
        font-size: 2rem;
    }

    .video-overlay-subtitle {
        font-size: 1.2rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .footer-cta {
        height: 300px;
        background-attachment: scroll;
        background-size: cover;
        background-position: center 30%;
    }
    
    .footer-cta-title {
        font-size: 2rem;
    }
    
    .footer-cta-subtitle {
        font-size: 1.1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo-column {
        align-items: center;
        text-align: center;
    }
    
    .footer-column h4 {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
}
/* =====================================================
   PROXIMITAT I CONFIANÇA SECTION
   ===================================================== */

.proximitat-section {
    padding: 100px 0;
    background: #faf9f7;
}

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

.proximitat-text h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.2;
}

.proximitat-underline {
    width: 80px;
    height: 2px;
    background: var(--primary-color);
    margin-bottom: 40px;
}

.proximitat-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #5a5a5a;
    margin-bottom: 25px;
    text-align: justify;
}

.proximitat-text .brand-name {
    color: var(--primary-color);
    font-weight: 600;
}

.proximitat-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.proximitat-link:hover {
    gap: 15px;
    color: var(--secondary-color);
}

.proximitat-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    max-width: 500px;
    margin-left: auto;
}

.proximitat-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.5s ease;
}

.proximitat-image:hover img {
    transform: scale(1.05);
}

/* Responsive Proximitat */
@media (max-width: 968px) {
    .proximitat-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .proximitat-text h2 {
        font-size: 2.2rem;
    }
    
    .proximitat-text p {
        font-size: 1rem;
        text-align: left;
    }
    
    .proximitat-section {
        padding: 60px 0;
    }
    
    .proximitat-image {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .proximitat-text h2 {
        font-size: 1.8rem;
    }
    
    .proximitat-underline {
        width: 60px;
        margin-bottom: 30px;
    }
}

/* ============================================
   ADARAL (EINA) SECTIONS - Added Styles
   ============================================ */

/* ADARAL Intro Section */
.adaral-intro {
    padding: 4rem 2rem;
    background: var(--light-gray);
}

.adaral-intro-content {
    max-width: 900px;
    margin: 2rem auto 0;
    text-align: center;
}

.adaral-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* ADARAL Features Grid */
.adaral-features {
    padding: 5rem 2rem;
    background: white;
}

.features-grid-adaral {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card-adaral {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card-adaral:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.feature-icon-adaral {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #7a8a6d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-adaral i {
    font-size: 2rem;
    color: white;
}

.feature-card-adaral h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

/* ADARAL Screenshots Section */
.adaral-screenshots {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

.screenshot-item {
    margin: 4rem 0;
}

.screenshot-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.screenshot-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot-image:hover img {
    transform: scale(1.05);
}

.screenshot-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.screenshot-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.screenshot-features {
    list-style: none;
    padding: 0;
}

.screenshot-features li {
    padding: 0.7rem 0;
    font-size: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.screenshot-features li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ADARAL Benefits Section */
.adaral-benefits {
    padding: 5rem 2rem;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.3;
}

.benefit-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

/* ADARAL CTA Section */
.adaral-cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #7a8a6d);
}

.adaral-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.adaral-cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.adaral-cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.adaral-cta .cta-button {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
}

.adaral-cta .cta-button:hover {
    background: var(--secondary-color);
    color: white;
}

/* ============================================
   CLIENT AREA SECTIONS - Added Styles
   ============================================ */

.client-area-section {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

.client-area-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Client Area Welcome */
.client-area-welcome {
    text-align: center;
    margin-bottom: 3rem;
}

.client-area-welcome h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.client-area-welcome p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Client Area Login */
.client-area-login {
    display: flex;
    justify-content: center;
    margin: 4rem 0;
}

.login-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.login-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), #7a8a6d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-icon i {
    font-size: 3rem;
    color: white;
}

.login-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.login-card p {
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.login-help {
    margin-top: 1.5rem !important;
    font-size: 0.9rem;
    color: #666;
}

/* Client Area Features */
.client-area-features {
    margin-top: 5rem;
}

.features-title {
    text-align: center;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

/* Client Area CTA */
.client-area-cta {
    margin-top: 5rem;
    text-align: center;
}

.cta-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 0 auto;
}

.cta-card h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Responsive Adjustments for ADARAL and Client Area */
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .screenshot-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid-adaral,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .adaral-cta-content h2 {
        font-size: 1.8rem;
    }
    
    .login-card {
        padding: 2rem;
    }
    
    .client-area-welcome h2 {
        font-size: 1.8rem;
    }
}


/* Taula de tarifes per al modal */
.modal-description .pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.modal-description .pricing-table thead {
    background: var(--primary-color);
    color: white;
}

.modal-description .pricing-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.modal-description .pricing-table th:last-child {
    text-align: right;
}

.modal-description .pricing-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s ease;
}

.modal-description .pricing-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.modal-description .pricing-table tbody tr:hover {
    background: #f0f4f0;
}

.modal-description .pricing-table td {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
}

.modal-description .pricing-table td:first-child {
    font-weight: 500;
    color: var(--secondary-color);
}

.modal-description .pricing-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
}

.modal-description .pricing-table .separator-row td {
    padding: 0.5rem;
    background: #e9ecef;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}
