/**
 * GrupAlpama - Experiència Interactiva, Sliders i Ganxo Sentimental
 * Paleta Oficial: Blau #15529b | Verd #8cad2b / #4f6819 | Tinta #1c3442 | Pedra #f6f5f0 | Línia #dde2d8
 */

/* ==========================================================================
   1. UNIFICACIÓ DE MIDES D'IMATGES (Sliders, Carrusels, Galeries)
   ========================================================================== */
.alpama-gallery-card img,
.alpama-gallery-carousel .alpama-gallery-card img,
.alpama-hero-carousel img {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: 280px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 6px !important;
  display: block !important;
}

.alpama-gallery-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #ffffff !important;
  border: 1px solid #dde2d8 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}


/* ==========================================================================
   2. LOGOS DEL SLIDER A COLOR I TARGETES SIGNIFICATIVAMENT MÉS GRANS
   ========================================================================== */
.alpama-home-logos.alpama-carousel img,
.alpama-home-client-logo img,
.alpama-logos-carousel img {
  aspect-ratio: 1 / 1 !important;
  width: auto !important;
  height: auto !important;
  max-width: 100px !important;
  max-height: 72px !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  margin: 0 auto !important;
  filter: none !important;
  transition: transform 0.25s ease !important;
}

.alpama-home-logos.alpama-carousel img:hover,
.alpama-home-client-logo img:hover,
.alpama-logos-carousel img:hover {
  transform: scale(1.08) !important;
}

.alpama-home .alpama-home-client-logo,
.alpama-logos-carousel .alpama-home-client-logo {
  width: 180px !important;
  min-width: 180px !important;
  height: 105px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 1px solid #dde2d8 !important;
  border-radius: 12px !important;
  padding: 12px 20px !important;
  box-shadow: 0 4px 14px rgba(28, 52, 66, 0.06) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}


/* ==========================================================================
   3. HERO SLIDER RENOVAT (ALÇADA UNIFICADA 425px)
   ========================================================================== */
.alpama-hero-card {
  background: #ffffff;
  border: 1px solid #dde2d8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(28, 52, 66, 0.08);
  font-family: inherit;
  color: #1c3442;
  display: flex !important;
  flex-direction: column !important;
  height: 425px !important;
  min-height: 425px !important;
  max-height: 425px !important;
}

.alpama-hero-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f6f5f0;
  border-bottom: 1px solid #dde2d8;
  padding: 0;
  margin: 0;
  flex-shrink: 0 !important;
}

.alpama-hero-tab {
  padding: 12px 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #516167;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  font-family: inherit;
}

.alpama-hero-tab:hover {
  color: #15529b;
  background: rgba(255, 255, 255, 0.6);
}

.alpama-hero-tab.is-active {
  color: #15529b;
  background: #ffffff;
  border-bottom-color: #15529b;
  font-weight: 700;
}

.alpama-hero-panel {
  display: none !important;
  flex: 1 1 auto !important;
  height: calc(100% - 46px) !important;
  min-height: calc(100% - 46px) !important;
  overflow-y: auto !important;
}

.alpama-hero-panel.is-active {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: calc(100% - 46px) !important;
  animation: alpamaQuickFade 0.25s ease !important;
}

@keyframes alpamaQuickFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.alpama-hero-media-wrap {
  position: relative;
  width: 100%;
  flex: 1 1 auto !important;
  height: 100% !important;
  background: #1c3442;
  overflow: hidden;
}

.alpama-hero-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.alpama-hero-badges-row {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.alpama-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 500;
}

.alpama-badge-blue {
  background: #ffffff;
  color: #15529b;
  border: 1px solid #dde2d8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.alpama-badge-green {
  background: #f1f3eb;
  color: #4f6819;
  border: 1px solid #8cad2b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.alpama-hero-proj-list {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alpama-hero-proj-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid #dde2d8;
  border-radius: 6px;
  text-decoration: none;
  color: #1c3442;
  transition: all 0.2s ease;
  background: #ffffff;
}

.alpama-hero-proj-item:hover {
  background: #f6f5f0;
  border-color: #15529b;
  transform: translateX(3px);
}

.alpama-hero-proj-thumb {
  width: 80px;
  height: 55px;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: cover;
}

.alpama-hero-proj-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.alpama-hero-proj-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #15529b;
  font-weight: 700;
}

.alpama-hero-proj-text strong {
  font-size: 14px;
  color: #1c3442;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alpama-hero-proj-text span {
  font-size: 12px;
  color: #516167;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alpama-hero-proj-arrow {
  color: #15529b;
  font-size: 16px;
  padding-right: 4px;
}

/* Panell Opinions amb scroll suau */
.alpama-hero-reviews-wrap {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alpama-hero-score-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #dde2d8;
}

.alpama-hero-score-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.alpama-hero-score-num {
  font-size: 30px;
  font-weight: 750;
  color: #15384a;
  line-height: 1;
}

.alpama-hero-stars {
  color: #4f6819;
  font-size: 14px;
  letter-spacing: 2px;
}

.alpama-hero-score-count {
  font-size: 12px;
  color: #516167;
  font-weight: 600;
}

.alpama-hero-quotes-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 4px;
}

.alpama-hero-quote-item {
  margin: 0;
  padding: 8px 12px;
  background: #f6f5f0;
  border-left: 3px solid #8cad2b;
  border-radius: 0 4px 4px 0;
}

.alpama-hero-quote-item p {
  margin: 0 0 2px !important;
  font-size: 12.5px !important;
  font-style: italic;
  color: #1c3442 !important;
  line-height: 1.4 !important;
}

.alpama-hero-quote-item cite {
  font-size: 11px;
  color: #516167;
  font-style: normal;
  display: block;
}

.alpama-hero-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #f6f5f0;
  border-top: 1px solid #dde2d8;
  gap: 8px;
  flex-wrap: wrap;
}

.alpama-hero-panel-note {
  font-size: 12px;
  color: #516167;
}

.alpama-hero-link {
  font-size: 13px;
  font-weight: 650;
  color: #15529b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.alpama-hero-link:hover {
  color: #103f78;
}

.alpama-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #15529b;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 650;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.alpama-hero-btn-primary:hover {
  background: #103f78;
}


/* ==========================================================================
   4. SLIDER INTERACTIU DE PROJECTES REALS ([alpama_projects_slider])
   ========================================================================== */
.alpama-projects-slider-section {
  padding: 60px 0;
  background: #ffffff;
}

.alpama-proj-slider-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.alpama-proj-slider-title {
  font-size: clamp(26px, 2.8vw, 36px) !important;
  color: #1c3442 !important;
  font-weight: 650 !important;
  margin: 0 !important;
  letter-spacing: -0.03em !important;
}

.alpama-proj-slider-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.alpama-proj-arrow-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid #dde2d8;
  background: #f6f5f0;
  color: #1c3442;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.alpama-proj-arrow-btn:hover {
  background: #15529b;
  color: #ffffff;
  border-color: #15529b;
}

.alpama-proj-counter {
  font-size: 14px;
  font-weight: 700;
  color: #516167;
  min-width: 44px;
  text-align: center;
}

.alpama-proj-slides-track {
  position: relative;
}

.alpama-proj-slide {
  display: none;
  animation: alpamaQuickFade 0.3s ease;
}

.alpama-proj-slide.is-active {
  display: block;
}

.alpama-proj-slide-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: center;
  gap: 48px;
  background: #f6f5f0;
  border: 1px solid #dde2d8;
  border-radius: 12px;
  padding: 36px 40px;
}

.alpama-proj-slide-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(28, 52, 66, 0.08);
}

.alpama-proj-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.alpama-proj-slide-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alpama-proj-tag-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #15529b;
  font-weight: 750;
}

.alpama-proj-slide-h3 {
  font-size: clamp(20px, 2.2vw, 26px) !important;
  color: #1c3442 !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  letter-spacing: -0.02em !important;
}

.alpama-proj-slide-desc {
  font-size: 15.5px !important;
  line-height: 1.6 !important;
  color: #516167 !important;
  margin: 0 0 10px !important;
}

.alpama-proj-slide-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.alpama-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #a4afbc;
  background: #ffffff;
  color: #1c3442 !important;
  font-weight: 650;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.alpama-btn-secondary:hover {
  background: #f6f5f0;
  border-color: #1c3442;
}


/* ==========================================================================
   5. CONFIGURADOR "IMAGINA COM VOLS VIURE" (Amb fons blur fosc i miniatures)
   ========================================================================== */
.alpama-casa-teva-section {
  width: 100%;
  box-sizing: border-box;
  background-image: linear-gradient(180deg, rgba(21, 56, 74, 0.92) 0%, rgba(28, 52, 66, 0.96) 100%), url('/wp-content/uploads/2026/10/grupalpama-video-keyframe-3.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 80px 0;
  color: #ffffff;
  overflow: hidden;
}

.alpama-casa-teva-inner {
  width: min(100% - 80px, 1184px);
  margin-inline: auto;
}

.alpama-casa-teva-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.alpama-casa-teva-eyebrow {
  color: #8cad2b !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  letter-spacing: .14em !important;
  margin: 0 0 16px !important;
  text-transform: uppercase !important;
}

.alpama-casa-teva-title {
  color: #ffffff !important;
  font-size: clamp(28px, 3.2vw, 42px) !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  margin: 0 0 16px !important;
  letter-spacing: -0.035em !important;
}

.alpama-casa-teva-lead {
  color: rgba(246, 245, 240, 0.85) !important;
  font-size: 16.5px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.alpama-casa-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.alpama-casa-tab {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(246, 245, 240, 0.85);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.alpama-casa-tab:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.alpama-casa-tab.is-active {
  background: #15529b;
  border-color: #15529b;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.alpama-casa-panel {
  display: none;
  animation: alpamaQuickFade 0.25s ease;
}

.alpama-casa-panel.is-active {
  display: block;
}

.alpama-casa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

/* TARGETES AMB FONS BLUR I MÉS FOSC */
.alpama-casa-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 16px 16px 18px;
  background: rgba(14, 24, 33, 0.82) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 10px !important;
  cursor: pointer;
  transition: all 0.22s ease;
  color: #ffffff;
  width: 100%;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.alpama-casa-card:hover {
  background: rgba(14, 24, 33, 0.94) !important;
  border-color: rgba(140, 173, 43, 0.6) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.alpama-casa-card.is-selected {
  background: rgba(14, 24, 33, 0.96) !important;
  border-color: #8cad2b !important;
  box-shadow: 0 0 0 1.5px #8cad2b, 0 8px 26px rgba(0, 0, 0, 0.6) !important;
}

.alpama-casa-card-media {
  position: relative;
  width: 100%;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #15384a;
}

.alpama-casa-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.alpama-palette-swatches-overlay {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  gap: 5px;
  background: rgba(14, 24, 33, 0.85);
  backdrop-filter: blur(6px);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.alpama-palette-swatches-overlay span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: inline-block;
}

.alpama-casa-card-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(140, 173, 43, 0.18);
  border: 1px solid #8cad2b;
  color: #c9df8c;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
}

.alpama-casa-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8cad2b;
  margin-bottom: 6px;
}

.alpama-casa-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.alpama-casa-card-desc {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: rgba(246, 245, 240, 0.75) !important;
  margin: 0 0 12px !important;
  flex: 1 1 auto;
}

.alpama-casa-card-feel {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(140, 173, 43, 0.2);
  color: #c9df8c;
  border: 1px solid rgba(140, 173, 43, 0.35);
}

.alpama-casa-dock {
  background: rgba(14, 24, 33, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.alpama-casa-dock-info {
  flex: 1 1 340px;
  min-width: 240px;
}

.alpama-casa-dock-label {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8cad2b;
  font-weight: 750;
  margin-bottom: 4px;
}

.alpama-casa-dock-title {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 4px !important;
}

.alpama-casa-dock-desc {
  color: rgba(246, 245, 240, 0.8) !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.alpama-casa-dock-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.alpama-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #15529b;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.alpama-btn-primary:hover {
  background: #103f78;
}

.alpama-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4f6819;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.alpama-btn-wa:hover {
  background: #3c5011;
}


/* ==========================================================================
   6. CORRECCIÓ DE PREGUNTES FREQÜENTS I COMENCEM PEL TEU PROJECTE?
   ========================================================================== */
.alpama-home-faq details {
  border: 1px solid #dde2d8 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  margin-bottom: 12px !important;
  padding: 16px 20px !important;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.alpama-home-faq details[open] {
  background: #fbfbf9 !important;
  border-color: #15529b !important;
  box-shadow: 0 4px 14px rgba(28, 52, 66, 0.05) !important;
}

.alpama-home-faq summary {
  font-size: 17px !important;
  font-weight: 650 !important;
  color: #1c3442 !important;
  cursor: pointer !important;
  list-style: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 !important;
  padding: 0 !important;
}

.alpama-home-faq summary::-webkit-details-marker {
  display: none !important;
}

.alpama-home-faq summary::after {
  content: '+' !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #15529b !important;
  margin-left: 14px !important;
  line-height: 1 !important;
}

.alpama-home-faq details[open] summary::after {
  content: '−' !important;
  color: #8cad2b !important;
}

.alpama-home-faq details p {
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  color: #516167 !important;
  margin: 12px 0 0 !important;
  border-top: 1px solid #dde2d8 !important;
  padding-top: 12px !important;
}

/* ==========================================================================
   4. SECCIÓ COMENCEM PEL TEU PROJECTE (MIDES CONTROLADES I RESTAURADES)
   ========================================================================== */
.alpama-home-contact {
  background: #1c3442 !important;
  color: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
}

.alpama-home-contact .alpama-home-container.alpama-home-section,
.alpama-home-contact .alpama-home-section {
  padding-block: 54px !important;
}

.alpama-home-contact h2 {
  color: #ffffff !important;
  font-size: clamp(26px, 2.8vw, 36px) !important;
  font-weight: 650 !important;
  margin: 0 0 12px !important;
  line-height: 1.25 !important;
}

.alpama-home-contact p {
  color: rgba(246, 245, 240, 0.9) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  max-width: 54ch !important;
  margin: 0 0 20px !important;
}

.alpama-home-contact .alpama-home-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 20px !important;
}

.alpama-home-contact .alpama-home-primary a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 48px !important;
  padding: 12px 24px !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  color: #1c3442 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
}

.alpama-home-contact .alpama-home-primary a:hover {
  background: #edf1f6 !important;
  transform: translateY(-1px) !important;
}

.alpama-home-contact .alpama-home-secondary a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 12px 22px !important;
  border-radius: 4px !important;
  color: #ffffff !important;
  border: 1px solid #b7c2cf !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.alpama-home-contact .alpama-home-secondary a:hover {
  background: #243e5a !important;
  border-color: #ffffff !important;
}


/* ==========================================================================
   5. SERVEIS: IMATGES UNIFORMES 100% AMPLE I PADDINGS RECUPERATS
   ========================================================================== */
.alpama-home-service {
  padding: 0 0 30px 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 8px !important;
  border: 1px solid #dde2d8 !important;
  background: #ffffff !important;
}

.alpama-home-service .alpama-service-image {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 22px 0 !important;
  border-radius: 7px 7px 0 0 !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.alpama-home-service .alpama-service-image img {
  width: 100% !important;
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: 7px 7px 0 0 !important;
  transition: transform 0.35s ease !important;
}

.alpama-home-service:hover .alpama-service-image img {
  transform: scale(1.04) !important;
}

.alpama-home-service .alpama-service-image figcaption {
  display: none !important;
}

/* Paddings interiors explícits en cada element de text de la targeta */
.alpama-home-service .alpama-home-number,
.alpama-home-service h3,
.alpama-home-service p,
.alpama-home-service .alpama-home-service-link {
  padding-left: 28px !important;
  padding-right: 28px !important;
  box-sizing: border-box !important;
}

.alpama-home-service .alpama-home-number {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.alpama-home-service h3 {
  margin-bottom: 10px !important;
}

.alpama-home-service > p,
.alpama-home-service p {
  margin-bottom: 18px !important;
  color: #516167 !important;
  line-height: 1.6 !important;
}

.alpama-home-service .alpama-home-service-link {
  margin-top: auto !important;
  padding-top: 10px !important;
  margin-bottom: 0 !important;
}


/* ==========================================================================
   6. SOBRE NOSALTRES A GIRONA: TARGETA D'AUTORITAT SENSE ALÇADA DESMESURADA
   ========================================================================== */
.alpama-home .alpama-home-info-grid {
  align-items: start !important;
}

.alpama-home-about {
  background: #ffffff !important;
  border: 1px solid #dde2d8 !important;
  border-radius: 12px !important;
  padding: 34px 30px !important;
  box-shadow: 0 4px 20px rgba(28, 52, 66, 0.05) !important;
  position: static !important;
  top: auto !important;
}

.alpama-home-about .alpama-about-eyebrow {
  font-size: 11.5px !important;
  font-weight: 750 !important;
  letter-spacing: 0.12em !important;
  color: #15529b !important;
  margin-bottom: 12px !important;
}

.alpama-home-about h2 {
  font-size: clamp(23px, 2.3vw, 30px) !important;
  line-height: 1.25 !important;
  margin: 0 0 14px !important;
  color: #1c3442 !important;
}

.alpama-home-about > p {
  color: #516167 !important;
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  margin-bottom: 20px !important;
}

.alpama-about-points {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 18px 0 22px !important;
}

.alpama-about-point {
  display: block !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #1c3442 !important;
  padding: 10px 14px !important;
  background: #f6f5f0 !important;
  border-left: 3px solid #15529b !important;
  border-radius: 0 6px 6px 0 !important;
  margin: 0 !important;
}

.alpama-about-point strong {
  color: #15384a !important;
}

.alpama-home-about .alpama-home-text-link {
  margin-top: 22px !important;
}

.alpama-home-about .alpama-home-text-link a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #15529b !important;
  color: #ffffff !important;
  padding: 12px 20px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  transition: background 0.2s ease !important;
}

.alpama-home-about .alpama-home-text-link a:hover {
  background: #103f78 !important;
}


/* ==========================================================================
   7. HOOK GLOBAL ENTRE CONTINGUT I FOOTER: GANXO SENTIMENTAL (FONS IMATGE FOSCA)
   ========================================================================== */
.alpama-sentimental-hook-section {
  position: relative !important;
  background-color: #0b1218 !important;
  background-image: linear-gradient(rgba(11, 18, 24, 0.88), rgba(11, 18, 24, 0.94)), url('/wp-content/uploads/2026/10/alpama-sentimental-bg.jpg') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  color: #ffffff !important;
  padding: 85px 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.alpama-sentimental-inner-container {
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.alpama-sentimental-eyebrow {
  display: inline-block !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  letter-spacing: .15em !important;
  color: #79a8e0 !important;
  text-transform: uppercase !important;
  margin-bottom: 14px !important;
}

.alpama-sentimental-title {
  font-size: clamp(26px, 3.2vw, 40px) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  margin: 0 0 16px !important;
  letter-spacing: -0.03em !important;
  max-width: 26ch !important;
}

.alpama-sentimental-copy {
  font-size: clamp(16px, 1.8vw, 18px) !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.84) !important;
  max-width: 64ch !important;
  margin: 0 0 28px !important;
}

.alpama-sentimental-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-bottom: 32px !important;
}

.alpama-sentimental-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px) !important;
}

.alpama-sentimental-badge svg {
  color: #8cad2b !important;
}

.alpama-sentimental-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin-bottom: 20px !important;
}

.alpama-sentimental-actions .alpama-btn-primary {
  background: #15529b !important;
  color: #ffffff !important;
  padding: 14px 26px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(21, 82, 155, 0.4) !important;
}

.alpama-sentimental-actions .alpama-btn-primary:hover {
  background: #1c68bf !important;
  transform: translateY(-1px) !important;
}

.alpama-sentimental-actions .alpama-btn-wa {
  background: #25d366 !important;
  color: #ffffff !important;
  padding: 14px 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.alpama-sentimental-actions .alpama-btn-wa:hover {
  background: #1ebc57 !important;
  transform: translateY(-1px) !important;
}

.alpama-sentimental-phone {
  font-size: 14.5px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0 !important;
}

.alpama-sentimental-phone a {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.alpama-sentimental-phone a:hover {
  color: #79a8e0 !important;
}


/* ==========================================================================
   8. FOOTER: 4 COLUMNES I DETALLS D'UBICACIÓ A GIRONA
   ========================================================================== */
.alpama-footer-wrap .gb-grid-wrapper-bbcc1ebe {
  display: grid !important;
  grid-template-columns: 1.25fr 1fr 1fr 1.2fr !important;
  gap: 36px !important;
  align-items: start !important;
}

.alpama-footer-loc-desc {
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin: 0 0 16px !important;
}

.alpama-footer-contact-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.alpama-footer-contact-block p {
  margin: 0 !important;
}

.alpama-footer-contact-block a {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: color 0.2s ease !important;
}

.alpama-footer-contact-block a:hover {
  color: #79a8e0 !important;
}

.alpama-footer-gmaps a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 4px !important;
  color: #a5c7f2 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.alpama-footer-gmaps a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.alpama-sentimental-phone a {
  color: #15529b !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}


/* ==========================================================================
   8. RESPONSIVE DISSENYAT PER A MÒVIL I TABLET (Breakpoints Clau)
   ========================================================================== */

/* --- TABLETS (781px - 1080px) --- */
@media (max-width: 1080px) {
  .alpama-proj-slide-grid {
    grid-template-columns: 300px 1fr;
    gap: 28px;
    padding: 28px;
  }
  .alpama-casa-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .alpama-sentimental-card {
    padding: 34px 28px;
  }
  .alpama-hero-tab {
    padding: 12px 6px;
    font-size: 13px;
    min-height: 44px;
  }
}

/* --- TABLETS PETITES I PHABLETS (781px - 960px) --- */
@media (max-width: 960px) {
  .alpama-proj-slide-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px;
  }
  .alpama-proj-slide-media {
    aspect-ratio: 16 / 10;
    max-height: 280px;
    width: 100%;
  }
}

/* --- MÒVILS I TABLETS PETITES (<= 780px) --- */
@media (max-width: 780px) {
  /* Contenidors i espaiat global */
  .alpama-casa-teva-inner {
    width: calc(100% - 32px) !important;
  }

  /* Imatges fluidades per evitar alçades fixes excessives */
  .alpama-gallery-card img,
  .alpama-gallery-carousel .alpama-gallery-card img,
  .alpama-hero-carousel img {
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    max-height: 220px !important;
  }

  /* Capçalera Home responsive a mòbil */
  .alpama-home .alpama-home-title {
    font-size: clamp(28px, 7.5vw, 38px) !important;
    line-height: 1.15 !important;
  }
  .alpama-home .alpama-home-lead {
    font-size: clamp(20px, 5.2vw, 26px) !important;
    line-height: 1.25 !important;
  }
  .alpama-home-actions {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .alpama-home .alpama-home-primary a,
  .alpama-home .alpama-home-secondary a {
    width: 100% !important;
    justify-content: center !important;
    min-height: 48px !important;
  }

  /* Hero Slider a Mòbil */
  .alpama-hero-card {
    margin-top: 14px;
    border-radius: 8px;
  }
  .alpama-hero-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
  .alpama-hero-tab {
    font-size: 12.5px;
    padding: 10px 4px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .alpama-hero-media-wrap {
    aspect-ratio: 16 / 10;
  }
  .alpama-hero-badges-row {
    bottom: 8px;
    left: 8px;
    right: 8px;
    gap: 6px;
  }
  .alpama-hero-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
  .alpama-hero-proj-list {
    padding: 10px 12px;
    gap: 8px;
  }
  .alpama-hero-proj-item {
    padding: 8px;
    gap: 10px;
  }
  .alpama-hero-proj-thumb {
    width: 68px;
    height: 48px;
  }
  .alpama-hero-proj-text strong {
    font-size: 13px;
  }
  .alpama-hero-proj-text span {
    font-size: 11.5px;
  }
  .alpama-hero-quotes-scroll {
    max-height: 230px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .alpama-hero-panel-footer {
    padding: 10px 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .alpama-hero-btn-primary {
    width: 100%;
    min-height: 44px;
    font-size: 14px;
  }
  .alpama-hero-link {
    text-align: center;
    padding: 4px 0;
  }

  /* Slider de Projectes a Mòbil */
  .alpama-projects-slider-section {
    padding: 44px 0;
  }
  .alpama-proj-slider-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
  }
  .alpama-proj-slider-title {
    font-size: 22px !important;
  }
  .alpama-proj-slider-controls {
    gap: 6px;
  }
  .alpama-proj-arrow-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .alpama-proj-slide-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 18px 16px !important;
    border-radius: 10px;
  }
  .alpama-proj-slide-media {
    aspect-ratio: 16 / 10;
    max-height: 220px;
  }
  .alpama-proj-slide-h3 {
    font-size: 18px !important;
  }
  .alpama-proj-slide-desc {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
  }
  .alpama-proj-slide-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .alpama-proj-slide-actions .alpama-btn-primary,
  .alpama-proj-slide-actions .alpama-btn-secondary {
    width: 100%;
    min-height: 46px;
    text-align: center;
  }

  /* Configurador Imagina Casa Teva a Mòbil */
  .alpama-casa-teva-section {
    padding: 44px 0 50px !important;
  }
  .alpama-casa-teva-title {
    font-size: 25px !important;
    margin-bottom: 10px !important;
  }
  .alpama-casa-teva-lead {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 22px !important;
  }
  .alpama-casa-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding: 4px 16px 12px;
    margin-inline: -16px;
    gap: 8px;
  }
  .alpama-casa-nav::-webkit-scrollbar {
    display: none;
  }
  .alpama-casa-tab {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 13px;
    padding: 9px 16px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
  }
  .alpama-casa-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }
  .alpama-casa-card {
    padding: 14px;
    border-radius: 8px;
  }
  .alpama-casa-card-media {
    height: 110px;
    margin-bottom: 10px;
  }
  .alpama-casa-card-name {
    font-size: 14.5px;
  }
  .alpama-casa-card-desc {
    font-size: 12.5px !important;
    margin-bottom: 10px !important;
  }
  .alpama-casa-dock {
    padding: 18px 16px;
    border-radius: 8px;
    gap: 14px;
  }
  .alpama-casa-dock-title {
    font-size: 16px !important;
  }
  .alpama-casa-dock-desc {
    font-size: 13px !important;
  }
  .alpama-casa-dock-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .alpama-casa-dock-actions .alpama-btn-primary,
  .alpama-casa-dock-actions .alpama-btn-wa {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  /* Logos a Mòbil */
  .alpama-home .alpama-logos-carousel .alpama-home-client-logo,
  .alpama-home .alpama-home-client-logo {
    width: 135px !important;
    min-width: 135px !important;
    height: 84px !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }
  .alpama-home-logos.alpama-carousel img,
  .alpama-home-client-logo img,
  .alpama-logos-carousel img {
    width: auto !important;
    height: auto !important;
    max-width: 72px !important;
    max-height: 52px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    filter: none !important;
    margin: 0 auto !important;
  }
  .alpama-home-logos {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
  }

  /* Hook Sentimental a Mòbil */
  .alpama-sentimental-hook-section {
    padding: 44px 0 48px !important;
  }
  .alpama-sentimental-inner-container {
    padding: 0 16px !important;
  }
  .alpama-sentimental-title {
    font-size: 23px !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
  }
  .alpama-sentimental-copy {
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin-bottom: 22px !important;
  }
  .alpama-sentimental-badges {
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 24px !important;
    width: 100% !important;
  }
  .alpama-sentimental-badge {
    width: auto !important;
    max-width: 100% !important;
    font-size: 12.5px !important;
    padding: 8px 14px !important;
    box-sizing: border-box !important;
  }
  .alpama-sentimental-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
    width: 100% !important;
  }
  .alpama-sentimental-actions .alpama-btn-primary,
  .alpama-sentimental-actions .alpama-btn-wa {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    font-size: 14.5px !important;
  }
  .alpama-sentimental-phone {
    font-size: 13.5px !important;
    text-align: center !important;
    margin-top: 6px !important;
  }

  /* FAQ i Contacte a Mòbil */
  .alpama-home-faq details {
    padding: 14px 16px !important;
  }
  .alpama-home-faq summary {
    font-size: 15.5px !important;
    line-height: 1.4 !important;
  }
  .alpama-home-faq details p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  .alpama-home-contact {
    padding: 0 !important;
  }
  .alpama-home-contact .alpama-home-section {
    padding-block: 40px !important;
  }
  .alpama-home-contact h2 {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }
  .alpama-home-contact p {
    font-size: 14.5px !important;
  }
  .alpama-home-contact .alpama-home-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 20px !important;
  }
  .alpama-home-contact .alpama-home-primary a,
  .alpama-home-contact .alpama-home-secondary a {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    font-size: 14.5px !important;
  }
}

/* --- MÒVIL PORTRAIT (<= 520px) --- */
@media (max-width: 520px) {
  .alpama-casa-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- PANTALLES MÒBILS PETITES (< 400px) --- */
@media (max-width: 400px) {
  .alpama-hero-tab {
    font-size: 11.5px;
    padding: 8px 2px;
  }
  .alpama-hero-badge {
    font-size: 10px;
    padding: 3px 6px;
  }
  .alpama-proj-slider-title {
    font-size: 19px !important;
  }
  .alpama-casa-teva-title {
    font-size: 22px !important;
  }
  .alpama-sentimental-title {
    font-size: 20px !important;
  }
}


/* ==========================================================================
   8. CORRECCIONS GLOBALS: OVERFLOW HORITZONTAL, LOGOS SLIDER I BREADCRUMBS
   ========================================================================== */

/* Contenció absoluta de desbordament horitzontal a mòbil i escriptori */
html, body { overflow-x: clip; max-width: 100%; }
#page, .site { max-width: 100%; }

/* Taula comparativa responsive sense desbordament */
.alpama-choice-table,
figure.wp-block-table.alpama-choice-table {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* Ticker Slider Continu per a Logos de Col·laboradors */
.alpama-home-trust {
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.alpama-logos-ticker-viewport {
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
  padding: 12px 0 !important;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.alpama-logos-ticker-track {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  width: max-content !important;
  animation: alpamaLogosScroll 26s linear infinite !important;
  will-change: transform;
}

.alpama-logos-ticker-track:hover {
  animation-play-state: paused !important;
}

@keyframes alpamaLogosScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Targetes de Logos Més Grans */
.alpama-home-client-logo,
.alpama-home .alpama-home-client-logo,
.alpama-logos-carousel .alpama-home-client-logo {
  width: 200px !important;
  min-width: 200px !important;
  height: 110px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 1px solid #dde2d8 !important;
  border-radius: 12px !important;
  padding: 14px 20px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 14px rgba(28, 52, 66, 0.05) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.alpama-home-client-logo:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(28, 52, 66, 0.1) !important;
  border-color: #15529b !important;
}

.alpama-home-client-logo img,
.alpama-home .alpama-home-client-logo img,
.alpama-logos-carousel img {
  width: auto !important;
  height: auto !important;
  max-width: 120px !important;
  max-height: 75px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
  margin: 0 auto !important;
}

@media (max-width: 780px) {
  .alpama-logos-ticker-track {
    gap: 16px !important;
    animation-duration: 20s !important;
  }
  .alpama-home-client-logo,
  .alpama-home .alpama-home-client-logo,
  .alpama-logos-carousel .alpama-home-client-logo {
    width: 155px !important;
    min-width: 155px !important;
    height: 92px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
  }
  .alpama-home-client-logo img,
  .alpama-home .alpama-home-client-logo img,
  .alpama-logos-carousel img {
    max-width: 88px !important;
    max-height: 56px !important;
  }
  .alpama-casa-nav {
    margin-inline: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Estils de Fil d’Ariadna (Breadcrumbs & Slug) */
.rank-math-breadcrumb,
.gp-crumbs,
.alpama-detail-crumb {
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  margin: 0 0 16px !important;
  color: #516167 !important;
}

.home-heading .rank-math-breadcrumb,
.page-hero .rank-math-breadcrumb,
.gb-container .rank-math-breadcrumb {
  text-align: center !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 20px !important;
}

.home-heading .rank-math-breadcrumb a,
.page-hero .rank-math-breadcrumb a,
.gb-container .rank-math-breadcrumb a {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  font-weight: 500 !important;
}

.home-heading .rank-math-breadcrumb a:hover,
.page-hero .rank-math-breadcrumb a:hover,
.gb-container .rank-math-breadcrumb a:hover {
  color: #c9df8c !important;
}

.rank-math-breadcrumb .separator,
.gp-crumbs span[aria-hidden=true],
.alpama-crumb-sep {
  margin: 0 8px !important;
  color: #8cad2b !important;
  font-weight: 700 !important;
  opacity: 0.95 !important;
}

.rank-math-breadcrumb .last,
.gp-crumbs span:last-child {
  font-weight: 650 !important;
}

.alpama-detail-crumb a {
  color: #15529b !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

.alpama-detail-crumb a:hover {
  text-decoration: underline !important;
}
