:root {
    --brand-blue: #314b96;
    --brand-red: #e11414;
    --brand-black: #101010;
    --brand-gray: #6f7785;
    --brand-light: #f6f7fb;
    --brand-border: #e7eaf0;
    --shadow-soft: 0 14px 40px rgba(16, 16, 16, 0.08);
    --radius-lg: 1.25rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--brand-black);
    background: #fff;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .section-title, .display-title {
    font-family: 'Montserrat', sans-serif;
}

a {
    color: var(--brand-blue);
    text-decoration: none;
}

a:hover {
    color: var(--brand-red);
}

.section-padding {
    padding: 5rem 0;
}

.section-light {
    background: var(--brand-light);
}

.section-eyebrow {
    display: inline-block;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--brand-red);
    margin-bottom: .85rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--brand-gray);
    max-width: 760px;
}

.site-header .navbar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-logo {
    max-height: 60px;
    width: auto;
}

.nav-link {
    color: var(--brand-black);
    font-weight: 600;
    padding: .65rem 1rem !important;
    border-radius: 999px;
}

.nav-link.active,
.nav-link:hover {
    color: var(--brand-blue);
    background: rgba(49, 75, 150, 0.08);
}

.btn {
    border-radius: 999px;
    padding: .85rem 1.35rem;
    font-weight: 700;
}

.btn-brand {
    background: var(--brand-blue);
    color: #fff;
    border: 0;
}

.btn-brand:hover {
    background: #243871;
    color: #fff;
}

.btn-outline-brand {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
}

.btn-outline-brand:hover {
    background: var(--brand-blue);
    color: #fff;
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(49, 75, 150, 0.06), rgba(225, 20, 20, 0.04));
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-card {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
}

.display-title {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.lead-large {
    font-size: 1.125rem;
    color: #445065;
}

.hero-image,
.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.service-card,
.store-card,
.value-card,
.contact-card,
.highlight-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.service-card-home {
    position: relative;
    grid-column: span 2;
    padding: 0;
    overflow: hidden;
}

.service-card-home:nth-child(4) { grid-column: 2 / span 2; }
.service-card-home:nth-child(5) { grid-column: 4 / span 2; }

.service-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.service-card-body { padding: 1.5rem; }

.service-card-home .icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.15rem;
    margin-top: -2.9rem;
    position: relative;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16,16,16,.12);
}

.store-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.store-link {
    min-height: 130px;
    padding: 1.35rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    color: var(--brand-black);
    background: #fff;
}

.store-link + .store-link { border-left: 1px solid var(--brand-border); }
.store-link:hover { background: var(--brand-light); color: var(--brand-blue); }
.store-link strong, .store-link small { display: block; }
.store-link small { margin-top: .45rem; color: var(--brand-gray); }

.video-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 1rem;
}

.video-type {
    color: var(--brand-red);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.report-gallery {
    columns: 3 260px;
    column-gap: 1.25rem;
}

.report-gallery-item {
    break-inside: avoid;
    margin: 0 0 1.25rem;
    overflow: hidden;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.report-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .25s ease;
}

.report-gallery-item a:hover img { transform: scale(1.02); }
.report-gallery-item figcaption { padding: 1rem 1.1rem; }
.report-gallery-item figcaption strong,
.report-gallery-item figcaption span { display: block; }
.report-gallery-item figcaption span { color: var(--brand-gray); font-size: .9rem; margin-top: .2rem; }

.service-card:hover,
.store-card:hover,
.value-card:hover,
.contact-card:hover,
.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(16, 16, 16, 0.12);
}

.icon-badge {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(49, 75, 150, 0.1);
    color: var(--brand-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mini-list {
    padding-left: 1rem;
    color: var(--brand-gray);
}

.mini-list li + li {
    margin-top: .45rem;
}

.store-meta {
    color: var(--brand-gray);
    margin-bottom: .75rem;
}

.store-meta i,
.contact-list i {
    color: var(--brand-red);
    width: 20px;
}

.badge-soft {
    display: inline-block;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(49, 75, 150, 0.08);
    color: var(--brand-blue);
    font-weight: 700;
    font-size: .85rem;
    margin: .2rem .2rem 0 0;
}

.cta-band {
    background: linear-gradient(135deg, var(--brand-blue), #243871);
    color: #fff;
    border-radius: calc(var(--radius-lg) + .25rem);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.page-hero {
    padding: 4.5rem 0 3rem;
    background: linear-gradient(180deg, rgba(49, 75, 150, 0.08), rgba(49, 75, 150, 0.02));
}

.page-hero p {
    max-width: 760px;
    color: #445065;
}

.breadcrumb-note {
    color: var(--brand-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .85rem;
}

.contact-list,
.footer-links,
.footer-stores {
    line-height: 1.9;
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 1rem;
    padding: .95rem 1rem;
    border: 1px solid #dbe1ea;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: rgba(49, 75, 150, .4);
    box-shadow: 0 0 0 .25rem rgba(49, 75, 150, .12);
}

.map-frame {
    border: 0;
    width: 100%;
    min-height: 420px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.site-footer {
    background: #111827;
}

.footer-logo {
    max-width: 140px;
    width: 100%;
    height: auto;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text,
.footer-bottom,
.footer-stores span,
.footer-links a {
    color: rgba(255,255,255,.8);
}

.footer-links a:hover,
.social-links a:hover {
    color: #fff;
}

.footer-stores li + li {
    margin-top: .85rem;
}

.footer-divider {
    border-color: rgba(255,255,255,.12);
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255,255,255,.08);
}



.object-cover {
    object-fit: cover;
}

.rounded-4 {
    border-radius: var(--radius-lg) !important;
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 4rem 0;
    }

    .brand-logo {
        max-height: 52px;
    }

    .page-hero {
        padding: 3.75rem 0 2.5rem;
    }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card-home, .service-card-home:nth-child(4), .service-card-home:nth-child(5) { grid-column: auto; }
    .service-card-home:last-child { grid-column: 1 / -1; }
    .store-links { grid-template-columns: repeat(2, 1fr); }
    .store-link + .store-link { border-left: 0; border-top: 1px solid var(--brand-border); }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 3.5rem 0;
    }

    .display-title {
        font-size: 2.35rem;
    }

    .cta-band {
        padding: 1.5rem;
    }


    .services-grid, .store-links { grid-template-columns: 1fr; }
    .service-card-home:last-child { grid-column: auto; }
}

.service-card-large {
    overflow: hidden;
}

.service-thumb,
.store-thumb,
.service-hero-image {
    min-height: 280px;
}

.feature-list {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--brand-border);
    border-radius: 1rem;
    background: #fff;
}

.feature-item i {
    color: var(--brand-red);
    font-size: 1.1rem;
    margin-top: .15rem;
}

.feature-item span {
    color: #445065;
    font-weight: 500;
}

.info-panel {
    background: linear-gradient(180deg, rgba(49, 75, 150, 0.06), rgba(49, 75, 150, 0.02));
    border: 1px solid rgba(49, 75, 150, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.page-hero-service {
    background: linear-gradient(180deg, rgba(49, 75, 150, 0.10), rgba(225, 20, 20, 0.03));
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: rgba(49, 75, 150, 0.45);
    box-shadow: 0 0 0 .2rem rgba(49, 75, 150, 0.12);
}

.privacy-check {
    padding: 1rem 1.1rem;
    border: 1px solid var(--brand-border);
    border-radius: 1rem;
    background: #fbfcff;
}

.legal-copy h2 {
    font-size: 1.35rem;
    margin-top: 1.75rem;
    margin-bottom: .65rem;
}

.legal-copy h2:first-child {
    margin-top: 0;
}

.site-footer {
    background: #101216;
}

.footer-logo {
    max-width: 120px;
    height: auto;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.site-footer a {
    color: rgba(255,255,255,.82);
}

.site-footer a:hover {
    color: #fff;
}

.footer-text,
.footer-stores span,
.footer-bottom,
.footer-stores li {
    color: rgba(255,255,255,.74);
}

.footer-divider {
    border-color: rgba(255,255,255,.12);
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
}



.quick-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    justify-content: center;
    gap: .75rem;
    padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom));
    background: rgba(16,18,22,.9);
    backdrop-filter: blur(10px);
    z-index: 1040;
}

.quick-action {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.35rem;
}

.quick-action-phone {
    background: var(--brand-blue);
}


@media (max-width: 991.98px) {
    .brand-logo {
        max-height: 48px;
    }

    .quick-actions {
        display: flex;
    }

    body {
        padding-bottom: 86px;
    }
}

.shop-contact-item a { color: var(--brand-blue); text-decoration: none; }
.shop-contact-item a:hover { text-decoration: underline; }

/* Cookies / consentiment */
.footer-cookie-settings {
    background: none;
    border: 0;
    padding: 0;
    color: rgba(255,255,255,.82);
    font: inherit;
    text-align: left;
}
.footer-cookie-settings:hover,
.footer-cookie-settings:focus { color: #fff; text-decoration: underline; }

.cookie-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1090;
    max-width: 1180px;
    margin: 0 auto;
    background: rgba(16,18,22,.98);
    color: #fff;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 1.1rem;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.28);
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.15rem 1.25rem;
}
.cookie-consent__copy { max-width: 760px; }
.cookie-consent__copy strong { display: block; font-size: 1.05rem; margin-bottom: .25rem; }
.cookie-consent__copy p { margin: 0 0 .3rem; color: rgba(255,255,255,.82); font-size: .94rem; }
.cookie-consent__copy a { color: #fff; text-decoration: underline; }
.cookie-consent__actions { display: flex; gap: .55rem; flex-wrap: wrap; justify-content: flex-end; }
.cookie-consent__actions .btn { min-width: 108px; font-weight: 600; }
.cookie-settings-modal { border: 0; border-radius: 1rem; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-category p { font-size: .92rem; color: #626875; margin-top: .2rem; }
.cookie-category .form-switch .form-check-input { width: 3rem; height: 1.55rem; cursor: pointer; }

@media (max-width: 767.98px) {
    .cookie-consent { left: .65rem; right: .65rem; bottom: .65rem; }
    .cookie-consent__inner { align-items: stretch; flex-direction: column; gap: .9rem; }
    .cookie-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .cookie-consent__actions #cookieAcceptAll { grid-column: 1 / -1; }
    .cookie-consent__actions .btn { min-width: 0; }
    body.cookie-banner-visible .quick-actions { display: none !important; }
}


/* SEO / navegació contextual */
.seo-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.88rem;margin-bottom:1rem;color:#6c757d}
.seo-breadcrumb a{color:inherit;text-decoration:none}
.seo-breadcrumb a:hover{color:var(--brand-blue,#314b96);text-decoration:underline}
.footer-stores a{color:inherit;text-decoration:none}
.footer-stores a:hover strong{text-decoration:underline}

/* Àlbums i visor modal de reportatges */
.gallery-album-link { display:block; color:inherit; text-decoration:none; }
.gallery-album-link:hover { color:inherit; }
.gallery-album-link:hover img { transform:scale(1.02); }
.gallery-photo-trigger { display:block; width:100%; padding:0; background:none; border:0; cursor:zoom-in; }
.gallery-photo-trigger:hover img { transform:scale(1.02); }
.gallery-photo-trigger:focus-visible,.gallery-album-link:focus-visible { outline:3px solid var(--brand-red); outline-offset:3px; }
.gallery-lightbox .modal-content { border-radius:1.1rem; }
.gallery-lightbox-image { max-width:100%; max-height:70vh; width:auto; height:auto; object-fit:contain; border-radius:.35rem; }
.gallery-lightbox-controls { display:flex; justify-content:center; gap:1.25rem; }
.gallery-lightbox-controls .btn { min-width:3.25rem; }
