/* ============================================
   RF ASSESSORS - STYLES.CSS OPTIMITZAT
   Versió consolidada i organitzada
============================================ */

/* ========== VARIABLES CSS ========== */
:root {
    /* Colors principals */
    --color-primary: #2c2c2c;
    --color-secondary: #d4c4b0;
    --color-secondary-hover: #c4b4a0;
    --color-white: #ffffff;
    --color-text: #2c2c2c;
    --color-text-light: #555;
    --color-text-lighter: #666;
    --color-text-lightest: #777;
    --color-background: #ffffff;
    --color-background-light: #f8f8f8;
    --color-background-lighter: #f9f9f9;
    
    /* Mides */
    --max-width-container: 1400px;
    --max-width-content: 1200px;
    --max-width-text: 900px;
    --max-width-narrow: 800px;
    
    /* Espaiat */
    --padding-section: 80px 0;
    --padding-container: 0 40px;
    
    /* Transicions */
    --transition-default: all 0.3s ease;
    
    /* Ombres */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-button: 0 5px 20px rgba(212, 196, 176, 0.3);
    --shadow-button-hover: 0 8px 30px rgba(212, 196, 176, 0.5);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========== HEADER & NAVIGATION ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

nav {
    max-width: var(--max-width-container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

/* Logo amb filtre per fer-lo blanc */
.logo img {
    height: 70px;
    width: auto;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
}

.logo img:hover {
    opacity: 0.8;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--color-white);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-default);
}

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

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.area-clients-btn {
    padding: 10px 25px;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-default);
}

.area-clients-btn:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-2px);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 8px;
}

.language-switcher button {
    width: 38px;
    height: 38px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-default);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-switcher button:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.9);
}

.language-switcher button.active {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: var(--transition-default);
}

/* ========== HEROES - ESTIL UNIFICAT ========== */
.hero,
.quisom-hero,
.services-hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    background: #000 url('../images/hero-libros.jpg') no-repeat center center;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 150px 2rem 100px;
    margin: 0 !important;
}

/* Hero específic per index */
.hero {
    height: 100vh;
    background: #000 url('../images/hero-libros.jpg') no-repeat center center;
    background-size: cover;
    margin-top: 110px;
}

/* Capa fosca per heroes amb imatge */
.quisom-hero::before,
.services-hero::before,
.hero[style*="background-image"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 44, 44, 0.5);
    z-index: 0;
}

/* Hero Content - Estil unificat */
.hero-content,
.quisom-hero-content,
.services-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: var(--max-width-text);
}

.hero h1,
.quisom-hero-content h1,
.services-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-subtitle,
.quisom-hero-content p,
.services-hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    color: white;
    line-height: 1.6;
    opacity: 0.95;
}

/* ========== BOTONS CTA ========== */
.cta-button,
.cta-button-quisom,
.cta-button-services,
.cta-button-contacte,
.cta-button-programa {
    display: inline-block;
    background: var(--color-secondary);
    color: white;
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-default);
    box-shadow: var(--shadow-button);
}

.cta-button:hover,
.cta-button-quisom:hover,
.cta-button-services:hover,
.cta-button-contacte:hover,
.cta-button-programa:hover {
    background: var(--color-secondary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-button-hover);
}

/* ========== VIDEO SECTION ========== */
.video-section {
    width: 100%;
    background-color: #000;
}

.video-container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 80px 40px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: var(--max-width-content);
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== SECTIONS GENERALS ========== */
#qui-som,
.about-story-section,
.team-page-section,
.services-page-section {
    padding: var(--padding-section);
    background-color: var(--color-background);
}

.team-page-section,
.services-page-section {
    background-color: var(--color-background-light);
}

/* Containers generals */
.about-container,
.valors-container,
.comfort-container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: var(--padding-container);
    display: flex;
    align-items: stretch;
    gap: 80px;
}

/* ========== ABOUT / QUI SOM (INDEX) ========== */
.about-image {
    flex: 1;
    min-width: 0;
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.about-text,
.valors-main,
.comfort-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-title,
.valors-main h2,
.comfort-text h2 {
    font-size: 42px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-divider,
.valors-divider,
.comfort-divider,
.team-page-divider,
.journey-divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 20px 0 30px 0;
}

.team-page-divider,
.journey-divider {
    margin: 0 auto 60px;
}

.about-text p,
.valors-main p,
.comfort-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 25px;
}

/* ========== VALORS SECTION ========== */
.valors-section {
    padding: var(--padding-section);
    background-color: var(--color-background-light);
}

/* Cards de Compromís i Responsabilitat */
.valors-cards {
    max-width: var(--max-width-content);
    margin: 60px auto 0;
    padding: var(--padding-container);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.valor-card h3 {
    font-size: 24px;
    font-weight: 300;
    color: var(--color-secondary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.valor-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-lighter);
    text-align: justify;
}

.valors-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition-default);
}

.valors-link:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

.arrow {
    font-size: 20px;
    transition: var(--transition-default);
}

.valors-image,
.comfort-image {
    flex: 1;
    min-width: 0;
}

.valors-image img,
.comfort-image img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* ========== COMFORT SECTION ========== */
.comfort-section {
    padding: var(--padding-section);
    background-color: var(--color-background);
}

/* ========== MODALS ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 50px;
    width: 90%;
    max-width: 1200px;
    border-radius: 8px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 35px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: var(--transition-default);
}

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

.modal-body {
    margin-top: 20px;
}

/* ========== TEAM MODAL ========== */
.team-modal-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.team-modal-photo {
    flex: 0 0 300px;
    text-align: center;
}

.team-photo-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

.team-photo-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.team-modal-name {
    font-size: 28px;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.team-modal-role {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.team-modal-content {
    flex: 1;
    min-width: 0;
}

.team-modal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-lighter);
    margin-bottom: 20px;
    text-align: justify;
}

/* ========== SERVICE MODAL ========== */
.service-modal-header {
    margin-bottom: 30px;
}

.service-modal-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.service-modal-title {
    font-size: 36px;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.service-modal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-lighter);
    margin-bottom: 20px;
    text-align: justify;
}

.service-modal-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.service-modal-content ul {
    margin-top: 20px;
    margin-bottom: 30px;
    padding-left: 0;
    list-style: none;
}

.service-modal-content li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-lighter);
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.service-modal-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-size: 20px;
    font-weight: bold;
}

.service-modal-content li strong {
    color: var(--color-primary);
    font-weight: 600;
}

.service-modal-divider {
    width: 100%;
    height: 1px;
    background-color: var(--color-secondary);
    margin: 20px 0 25px 0;
}

/* ========== TEAM PAGE ========== */
.team-page-title {
    text-align: center;
    font-size: 42px;
    font-weight: 300;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.team-grid {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: var(--padding-container);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    background-color: transparent;
    border-radius: 0;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-default);
    box-shadow: none;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.team-photo img.grayscale {
    filter: grayscale(100%);
}

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

/* Ajust específic per foto d'en Nil */
.team-member:nth-child(3) .team-photo img {
    object-position: center 20%;
}

.team-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.team-role {
    font-size: 16px;
    color: var(--color-secondary);
}

/* ========== ABOUT STORY (QUI-SOM PAGE) ========== */
.about-story-container {
    max-width: var(--max-width-text);
    margin: 0 auto;
    padding: var(--padding-container);
    text-align: center;
}

.about-story-container h2 {
    font-size: 42px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.about-story-divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 20px auto 40px;
}

.about-story-container p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 25px;
    text-align: justify;
}

/* ========== SERVICES PAGE ========== */
.services-page-section {
    padding: var(--padding-section);
}

.services-grid {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: var(--padding-container);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-default);
    box-shadow: var(--shadow-light);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    margin-bottom: 25px;
}

.service-icon svg {
    margin: 0 auto;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* ========== CTA SECTIONS - ESTIL UNIFICAT ========== */
.cta-section-quisom,
.cta-section-services,
.cta-section-contacte,
.cta-section-index,
.cta-section-programa {
    position: relative;
    width: 100%;
    min-height: 50vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 2rem;
    margin: 0 !important;
}

/* Imatges específiques per cada secció CTA */
.cta-section-index,
.cta-section-programa {
    background-image: url('../images/portadanoche.jpg');
}

.cta-section-services {
    background-image: url('../images/home.jpg');
}

.cta-section-quisom,
.cta-section-areaclients {
    background-image: url('../images/pontbrooklyn.jpg');
}

.cta-section-contacte {
    background-image: url('../images/rodater.jpg');
}

/* Overlay per totes les seccions CTA */
.cta-overlay,
.cta-overlay-services,
.cta-overlay-contacte,
.cta-overlay-index,
.cta-overlay-programa,
.cta-overlay-areaclients {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Contingut per totes les seccions CTA */
.cta-content-quisom,
.cta-content-services,
.cta-content-contacte,
.cta-content-index,
.cta-content-programa,
.cta-content-areaclients {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: var(--max-width-narrow);
}

.cta-content-quisom h2,
.cta-content-services h2,
.cta-content-contacte h2,
.cta-content-index h2,
.cta-content-programa h2,
.cta-content-areaclients h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.cta-content-quisom p,
.cta-content-services p,
.cta-content-contacte p,
.cta-content-index p,
.cta-content-programa p,
.cta-content-areaclients p {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.95;
}

/* ========== PER QUÈ RF ASSESSORS SECTION ========== */
#perque {
    padding: var(--padding-section);
    background-color: var(--color-background);
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 60px;
}

.why-choose-grid {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: var(--padding-container);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition-default);
}

.why-item:hover {
    transform: translateY(-5px);
}

.why-icon {
    margin-bottom: 25px;
}

.why-icon svg {
    margin: 0 auto;
}

.why-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.why-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* ========== RODA DE TER SECTION ========== */
.rodater-section {
    position: relative;
    width: 100%;
    min-height: 60vh;
    background: url('../images/rodater.jpg') no-repeat center center;
    background-size: cover;
    background-position: center 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem;
    margin: 0 !important;
}

.rodater-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.rodater-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: var(--max-width-narrow);
    color: white;
}

.rodater-content h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.rodater-content p {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.95;
}

.rodater-button {
    display: inline-block;
    background: var(--color-secondary);
    color: white;
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-default);
    box-shadow: var(--shadow-button);
}

.rodater-button:hover {
    background: var(--color-secondary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-button-hover);
}

/* ========== CONTACTE PAGE ========== */
/* ========== PER QUÈ RF ASSESSORS SECTION ========== */
#perque {
    padding: var(--padding-section);
    background-color: var(--color-background-light);
}

.why-choose-grid {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: var(--padding-container);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
}

.why-icon {
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-icon svg {
    width: 60px;
    height: 60px;
}

.why-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.why-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* ========== RODA DE TER SECTION ========== */
.rodater-section {
    position: relative;
    width: 100%;
    min-height: 50vh;
    background: url('../images/rodater.jpg') no-repeat center center;
    background-size: cover;
    background-position: center 65%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 2rem;
    margin: 0 !important;
}

.rodater-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.rodater-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: var(--max-width-narrow);
}

.rodater-content h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.rodater-content p {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.95;
}

.rodater-button {
    display: inline-block;
    background: var(--color-secondary);
    color: white;
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-default);
    box-shadow: var(--shadow-button);
}

.rodater-button:hover {
    background: var(--color-secondary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-button-hover);
}

/* Journey Section */
.journey-section {
    padding: var(--padding-section);
    background-color: var(--color-background);
}

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

.journey-header h2 {
    font-size: 42px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.journey-container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: var(--padding-container);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.journey-image-left img,
.journey-image-right img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.journey-text {
    text-align: center;
    padding: 0 20px;
}

.journey-text p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--color-text-light);
    font-style: italic;
}

/* Contact Section */
#contacte {
    padding: var(--padding-section);
    background-color: var(--color-background);
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 60px;
}

.contact-container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: var(--padding-container);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

/* Map */
.map-container {
    width: 100%;
    height: 550px;
    flex-shrink: 0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Boxes */
.contact-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    flex-grow: 1;
}

.contact-box {
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.contact-box-dark {
    background-color: var(--color-primary);
    color: white;
}

.contact-box-light {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.contact-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-box a {
    color: inherit;
    transition: var(--transition-default);
    margin-top: 10px;
    font-size: 16px;
    text-decoration: none;
}

.contact-box a svg {
    transition: var(--transition-default);
}

.contact-box-dark a {
    display: block;
    text-align: center;
}

.contact-box-dark a:hover {
    color: var(--color-secondary);
}

.contact-box-light a:hover svg {
    transform: scale(1.1);
}

/* Social Icons Container */
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.social-icons a {
    transition: var(--transition-default);
    display: flex;
}

.social-icons a:hover svg {
    transform: scale(1.15);
}

/* Contact Phones */
.contact-phones {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.contact-phones a {
    font-size: 16px;
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}

.instagram-link,
.linkedin-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 50%;
    transition: var(--transition-default);
}

.instagram-link svg,
.linkedin-link svg {
    width: 30px;
    height: 30px;
}

.contact-box-light .instagram-link,
.contact-box-light .linkedin-link {
    color: var(--color-primary);
}

.instagram-link:hover,
.linkedin-link:hover {
    transform: scale(1.1);
}

/* Contact Info & Form */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.contact-item {
    background-color: transparent;
    padding: 0;
    padding-bottom: 3px;
    margin-bottom: 5px;
    border-radius: 0;
    box-shadow: none;
}

.contact-item strong {
    font-size: 15px;
    font-weight: 600;
    color: #2c2c2c;
    display: block;
    margin-bottom: 3px;
}

.contact-item div {
    font-size: 14px;
    line-height: 1.3;
    color: #2c2c2c;
}

.contact-text {
    font-size: 14px;
    line-height: 1.3;
    color: #2c2c2c;
}

.contact-item a {
    color: #2c2c2c;
    text-decoration: none;
    transition: var(--transition-default);
}

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

.contact-phones-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-phones-info a {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-default);
}

.contact-phones-info a:hover {
    color: var(--color-secondary);
}

/* Contact Form */
.contact-form {
    background-color: transparent;
    padding: 0;
    padding-top: 15px;
    border-radius: 0;
    box-shadow: none;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.submit-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-default);
}

.submit-button:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-2px);
}

/* ========== CAROUSEL ========== */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.carousel-slide.active {
    opacity: 1;
    display: block;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(44, 44, 44, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: var(--color-secondary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--color-secondary);
    width: 40px;
    border-radius: 6px;
}

.carousel-dot:hover {
    background-color: var(--color-secondary-hover);
}

.screenshots-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.screenshots-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 50px;
    font-weight: 300;
}

.screenshot-item {
    text-align: center;
    padding: 40px;
}

.screenshot-item h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 400;
}

.screenshot-item p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .screenshot-item {
        padding: 20px;
    }
    
    .screenshot-item h3 {
        font-size: 1.5rem;
    }
    
    .screenshot-item p {
        font-size: 1rem;
    }
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-content {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: var(--padding-container);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-section p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: var(--transition-default);
}

.footer-section ul li a:hover {
    color: var(--color-secondary);
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-default);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .about-container,
    .valors-container,
    .comfort-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .journey-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Header */
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .header-right {
        display: none;
    }
    
    /* Heroes */
    .hero h1,
    .quisom-hero-content h1,
    .services-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle,
    .quisom-hero-content p,
    .services-hero-content p {
        font-size: 1.1rem;
    }
    
    /* CTA Sections */
    .cta-content-quisom h2,
    .cta-content-services h2,
    .cta-content-contacte h2 {
        font-size: 2.5rem;
    }
    
    .cta-content-quisom p,
    .cta-content-services p,
    .cta-content-contacte p {
        font-size: 1.1rem;
    }
    
    /* Team Modal */
    .team-modal-container {
        flex-direction: column;
    }
    
    .team-modal-photo {
        flex: 0 0 auto;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Contact Boxes */
    .contact-boxes {
        grid-template-columns: 1fr;
    }
    
    /* Modal */
    .modal-content {
        padding: 30px 20px;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Valors Cards */
    .valors-cards {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .hero h1,
    .quisom-hero-content h1,
    .services-hero-content h1 {
        font-size: 2rem;
    }
    
    .about-title,
    .valors-main h2,
    .comfort-text h2,
    .team-page-title,
    .section-title {
        font-size: 32px;
    }
    
    .cta-content-quisom h2,
    .cta-content-services h2,
    .cta-content-contacte h2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
}
