

/* ===========================================
   STEP CARDS - BASE STYLES
   =========================================== */

.step-card {
    transition: all 0.3s ease;
    min-height: 280px;
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

/* Icono del paso */
.step-icon {
    width: 45px;
    height: 45px;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    stroke: #333;
    color: #333;
}

/* Contact icons */
.contact-icon {
    width: 50px;
    height: 50px;
    stroke: #333;
    color: #333;
    display: block;
    margin: 0 auto 0.5rem;
}

/* Benefit cards - uniform sizing */
.benefit-card {
    width: 100%;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
}

.benefit-card .contact-icon {
    margin-top: 0;
}

.targeta-mobil-card,
.punt-ciudadania-card {
    position: relative;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    display: block;
    clear: both;
}

/* Row with benefit cards - equal height (exclude header rows) */
.comObrirSection > .container > .row:not(.mb-4),
.documentacioSection > .container > .row:not(.mb-4):not(.mt-4),
.requerimentsSection .row .row {
    display: flex;
    flex-wrap: wrap;
}

.comObrirSection > .container > .row:not(.mb-4) > [class*="col-"],
.documentacioSection > .container > .row:not(.mb-4):not(.mt-4) > [class*="col-"],
.requerimentsSection .row .row > [class*="col-"] {
    display: flex;
}

/* ===========================================
   DOWNLOAD CARDS
   =========================================== */

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid #C9B09C;
    color: #170502;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    min-height: 160px;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #333;
    text-decoration: none;
    color: #170502;
}

.pdf-icon {
    width: 52px;
    height: 52px;
    stroke: #C9B09C;
    display: block;
    margin: 0 auto;
    transition: stroke 0.2s;
}

.download-card:hover .pdf-icon {
    stroke: #333;
}

.download-label {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

/* ===========================================
   APP DOWNLOAD PANEL
   =========================================== */

.app-download-panel {
    background-color: #fff;
    border: 2px solid #333;
}

.app-store-card {
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f7f4ef 100%);
    border: 2px solid #C9B09C;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.app-store-qr-link {
    display: inline-block;
    margin: 0 auto 1rem;
    border-radius: 18px;
    border: 2px solid #eee;
    background-color: #fff;
    padding: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-store-qr-link:hover,
.app-store-qr-link:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    border-color: #333;
}

.app-store-qr {
    width: min(220px, 100%);
    height: auto;
    display: block;
}

.app-store-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    border: 2px solid #333;
    color: #170502;
    background-color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.app-store-icon-link:hover,
.app-store-icon-link:focus {
    color: #170502;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background-color: #f0eeea;
}

.app-store-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-store-icon__svg {
    width: 26px;
    height: 26px;
    display: block;
}

@media (max-width: 767px) {
    .app-store-qr {
        width: min(190px, 100%);
    }
}

.section-oficines-de-residus .landingHeader, .section-oficinas-de-residuos .landingHeader {
    background-color: #D6C4B5;
}

.headerSection img {
    max-height: 500px !important;
    margin-bottom: -4rem;
    width: 85%;
}

/* ===========================================
   OFICINAS DE RESIDUOS - PAGE SPECIFIC STYLES
   =========================================== */

/* Llistat Section */
.llistatSection {
    padding-top: 7.1rem !important;
    padding-bottom: 4rem !important;
}

.bb-2 {
    border-bottom: 2px solid #170502;
}

/* Padding left utilities for nested content */
.pl-4 {
    padding-left: 2rem;
}

.pl-5 {
    padding-left: 3rem;
}

.pl-6 {
    padding-left: 4rem;
}

@media (min-width: 768px) {
    .pl-md-5 {
        padding-left: 3rem;
    }
    
    .pl-md-6 {
        padding-left: 4rem;
    }
}

/* Buttons as labels */
.btn-tiny {
    font-size: 1rem;
    padding: 0.75rem 2rem;
    display: inline-block;
    margin-bottom: 1rem;
    border-radius: 25px;
}

.btn-primary.btn-tiny {
    min-height: auto;
}

/* Picto icons - Chevron arrow */
.picto-right-open {
    display: inline-block;
    margin-right: 0.5rem;
    width: 10px;
    height: 10px;
    border-right: 2px solid #5a5a5a;
    border-bottom: 2px solid #5a5a5a;
    transform: rotate(-45deg);
    flex-shrink: 0;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.picto-mail,
.picto-phone,
.picto-whatsapp {
    display: inline-block;
}

/* Fases Section */
.fasesSection {
    padding-bottom: 7.1rem !important;
}

/* Contact Banner */
.bannersSection {
    padding-bottom: 7.1rem !important;
}

.bannersSection .ocher-defauld-bg {
    min-height: 200px;
    display: flex;
    align-items: center;
}

.bannersSection .a-link {
    color: #80BA2D !important;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

.bannersSection .a-link:hover,
.bannersSection .a-link:focus {
    border-bottom: 2px solid #80BA2D;
}

/* Text size utilities */
.text-sm {
    font-size: 0.875rem;
}

/* Responsive spacing */
@media (max-width: 767px) {
    .llistatSection {
        padding-top: 4rem !important;
    }
    
    .fasesSection {
        padding-bottom: 4rem !important;
    }
    
    .bannersSection {
        padding-bottom: 4rem !important;
    }
}

.street-lookup-card {
    background-color: #ffffff;
    border: 2px solid #333333;
}

.street-picker-help {
    color: #555555;
    font-size: 0.95rem;
}

.numero-picker-wrap .form-control {
    height: auto;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
}

.street-picker-input-wrap {
    position: relative;
}

.street-picker-options {
    display: none;
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    z-index: 20;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    background-color: #ffffff;
    max-height: 264px;
    overflow-y: auto;
}

.street-picker-options.is-visible {
    display: block;
}

.street-picker-options li {
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid #efefef;
    cursor: pointer;
}

.street-picker-options li:last-child {
    border-bottom: 0;
}

.street-picker-options li:hover,
.street-picker-options li.is-active {
    background-color: #f2f7eb;
}

.street-picker-result {
    display: none;
    border-radius: 18px;
    border: 2px solid #333333;
    background-color: #ffffff;
    padding: 0;
    overflow: hidden;
}

.street-picker-result.is-visible {
    display: block;
}

.street-picker-result.is-error {
    border-color: #d67a73;
    background-color: #fde7e4;
}

.pickup-summary-card {
    background-color: #ffffff;
}

.pickup-summary-item {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.pickup-summary-item:last-child {
    border-bottom: 0;
}

.pickup-icon-circle {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pickup-icon-zone {
    background: linear-gradient(135deg, #C9B09C 0%, #B9A08C 100%);
}

.pickup-icon-day {
    background: linear-gradient(135deg, #B9DCA3 0%, #9BC88A 100%);
}

.pickup-icon-place {
    background: linear-gradient(135deg, #B1D0E4 0%, #9AC0D8 100%);
}

.pickup-label {
    margin: 0;
    font-size: 1.1rem;
    color: #555555;
}

.pickup-value {
    margin: 0.2rem 0 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #333333;
}

.street-picker-result h3 {
    margin: 0 0 0.35rem;
}

.street-picker-result p {
    margin: 0;
    font-size: 1.5rem;
}

.street-picker-result .pickup-day {
    font-weight: 700;
}

@media (min-width: 75em) {
    .frontend #parent-fieldname-text {
        font-size: 18px;
    }
}
.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

/* ===========================================
   FUNCIONAMENT CONTENIDORS - STEPS GRID
   =========================================== */

.funcionamentSection .step-card {
    justify-content: flex-start;
    padding-top: 2rem;
}

.funcionamentSection .steps-row,
.activarAppSection .steps-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3.5rem;
}

.funcionamentSection .step-col,
.activarAppSection .step-col {
    flex: 1 1 0;
    min-width: 180px;
    max-width: 250px;
    position: relative;
}

/* Flecha entre pasos */
.funcionamentSection .step-col::after,
.activarAppSection .step-col::after {
    content: '→';
    position: absolute;
    right: -2.8rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.2rem;
    color: #333;
    font-weight: 700;
    z-index: 10;
}

/* Ocultar flecha en último paso de cada fila */
.funcionamentSection .steps-row > .step-col:last-of-type::after,
.activarAppSection .steps-row > .step-col:last-of-type::after {
    display: none;
}

/* Altura uniforme para cards en filas */
.puntsAtencioSection > .container > .row:last-child > [class*="col-"] {
    display: flex;
}

.puntsAtencioSection .benefit-card {
    min-height: 222px;
    width: 100%;
}

.puntsAtencioSection .benefit-card,
.contacteSection .benefit-card {
    width: 100%;
}

@media (max-width: 991px) {
    .funcionamentSection .step-col::after,
    .activarAppSection .step-col::after {
        display: none;
    }
    
    .funcionamentSection .step-col,
    .activarAppSection .step-col {
        width: 100%;
        flex: 0 0 100%;
        max-width: none;
    }
}