/*
Theme Name: BinomiDentalTheme
Theme URI: https://example.com/binomidentaltheme
Author: BinomiDental
Author URI: https://example.com
Description: Theme básico para clínica dental, preparado para WordPress 6.9.1, con plantilla de inicio simple en home.php.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: binomidentaltheme
Requires at least: 6.0
Tested up to: 6.9.1
Requires PHP: 7.4
*/

/* Reset muy básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

/* Scroll reveal (home) */
.home-scroll-reveal-active .scroll-reveal {
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.home-scroll-reveal-active .scroll-reveal:not(.is-visible) {
  opacity: 0;
}

.home-scroll-reveal-active .scroll-reveal--up:not(.is-visible) {
  transform: translateY(2rem);
}

.home-scroll-reveal-active .scroll-reveal--left:not(.is-visible) {
  transform: translateX(-1.75rem);
}

.home-scroll-reveal-active .scroll-reveal--right:not(.is-visible) {
  transform: translateX(1.75rem);
}

.home-scroll-reveal-active .scroll-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-scroll-reveal-active .scroll-reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

body {
  font-family: "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  line-height: 1.5;
  color: #1f2933;
  background-color: #ffffff;
}

:root {
  --site-max-width: 1706px;
  --site-gutter: 1.5rem;
}

/* Contenedores de contenido: máx. 1706px. Fondos de header/footer/hero siguen a 100%. */
.site-header__inner,
.site-footer__inner,
.home-first-block__inner,
.odontoleg-block__header,
.odontoleg-swiper,
.odontoleg-block__empty,
.google-reviews-block__inner,
.home-serveis-block__inner,
.nostra-clinica-block__inner,
.box-block__inner,
.home-faq-block__inner,
.home-location-block__inner,
.home-contact-block__inner,
.home-contact-block__brand,
.legal-page__inner,
.odontoleg-detail-shell,
.servei-detail-shell {
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
}

body button,
body input,
body select,
body textarea {
  font-family: "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
}

a {
  color: #0b7285;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #121212;
  color: #ffffff;
  padding: 1rem 0;
}

.site-header__inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--site-gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header__left,
.site-header__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  width: 225px;
  justify-content: flex-end;
  gap: 0.65rem;
}

.site-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.site-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
}

.main-nav a {
  color: #ffffff;
  font-weight: 400;
  font-size: 18px;
}

.main-nav a:hover,
.main-nav a:focus {
  text-decoration: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
}

.header-cta:hover,
.header-cta:focus {
  background: #ffffff;
  color: #000000;
  text-decoration: none;
}

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.55rem;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.site-header__toggle-box {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 0.85rem;
}

.site-header__toggle-line {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.site-header__toggle-line:nth-child(1) {
  top: 0;
}

.site-header__toggle-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.site-header__toggle-line:nth-child(3) {
  bottom: 0;
}

.site-header.is-nav-open .site-header__toggle-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.site-header.is-nav-open .site-header__toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .site-header__toggle-line:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-main {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 2.5rem auto 0;
  padding: 0 var(--site-gutter);
}

.home .site-main,
.page-template-page-home .site-main {
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.home-first-block {
  position: relative;
  height: 820px;
  min-height: 820px;
  margin: 0;
  background-position: 82% 22%;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  border-bottom: 2px solid #f3c450;
}

@media (min-width: 1280px) {
  .home-first-block {
    background-position: 80% 14%;
  }
}

@media (min-width: 1600px) {
  .home-first-block {
    background-position: 78% 8%;
  }
}

.home-first-block__inner {
  position: relative;
  height: 100%;
  min-height: 820px;
  margin: 0 auto;
  padding: 4.25rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.home-first-block__content {
  position: relative;
  z-index: 1;
  width: min(100%, 46rem);
  max-width: 55%;
  text-align: left;
}

.home-first-block__title {
  color: #121212;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 500;
}

.home-first-block__title p {
  margin: 0;
}

.home-first-block__title .yellow,
.home-first-block__title span.yellow {
  color: #f3c450;
}

.home-first-block__description {
  margin: 2rem 0 1.5rem;
  max-width: 25rem;
  color: #121212;
  font-size: 1.5875rem;
  line-height: 1.45;
  font-weight: 400;
}

.home-first-block__cta {
  display: inline-block;
  border-radius: 999px;
  padding: 0.65rem 1.75rem;
  border: 1px solid #f3c450;
  background: transparent;
  color: #121212;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.home-first-block__cta:hover,
.home-first-block__cta:focus {
  background: #f3c450;
  color: #ffffff;
  text-decoration: none;
}

.home-first-block__video {
  position: relative;
  display: block;
  width: min(270px, 42vw);
  margin-top: 1.75rem;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(18, 18, 18, 0.22);
  text-decoration: none;
}

.home-first-block__video-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-first-block__video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 18, 18, 0.18);
  pointer-events: none;
}

.home-first-block__video-play::before {
  content: "";
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(18, 18, 18, 0.18);
}

.home-first-block__video-play::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  margin-left: 0.2rem;
  border-top: 0.45rem solid transparent;
  border-bottom: 0.45rem solid transparent;
  border-left: 0.75rem solid #121212;
}

.home-first-block__video:hover .home-first-block__video-play,
.home-first-block__video:focus .home-first-block__video-play {
  background: rgba(18, 18, 18, 0.28);
}

.odontoleg-block {
  background: #ffffff;
  color: #121212;

  padding: 3rem 0 3rem;
  overflow: hidden;
}

.odontoleg-block__header {
  margin: 0 auto 2.25rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.odontoleg-block__intro {
  flex: 1;
  min-width: 0;
}

.odontoleg-block__title {
  color: #f3c450;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

.odontoleg-block__title p {
  margin: 0;
}

.odontoleg-block__title strong {
  font-weight: 500;
}

.odontoleg-block__text {
  max-width: 42rem;
  margin: 0;
  color: #5c5c5c;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
}

.odontoleg-block__cta {
  flex-shrink: 0;
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid #f3c450;
  background: #ffffff;
  color: #121212;
  padding: 0.65rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.odontoleg-block__cta:hover,
.odontoleg-block__cta:focus {
  text-decoration: none;
  background: #f3c450;
  color: #ffffff;
}

.odontoleg-swiper {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.odontoleg-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 1.5rem;
}

.odontoleg-card {
  width: min(31vw, 300px);
  min-width: 260px;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

.odontoleg-swiper .swiper-slide {
  width: min(31vw, 300px);
}

.odontoleg-card__link {
  display: block;
  position: relative;
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  border-radius: 1rem;
  user-select: none;
  -webkit-user-drag: none;
}

.odontoleg-card__image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  transform: scale(1);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.odontoleg-card__link:hover .odontoleg-card__image,
.odontoleg-card__link:focus-visible .odontoleg-card__image {
  transform: scale(1.08);
}

.odontoleg-card__image--fallback {
  background: linear-gradient(135deg, #d9dde3 0%, #b8bec8 100%);
}

.odontoleg-card__shade {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.48);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.odontoleg-card__link:hover .odontoleg-card__shade,
.odontoleg-card__link:focus-visible .odontoleg-card__shade {
  opacity: 1;
}

.odontoleg-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.odontoleg-card__name {
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.odontoleg-card__role {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 400;
}

.odontoleg-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.85rem;
  padding: 0.45rem 1.25rem;
  border: 1px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(0.55rem);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.25s ease;
}

.odontoleg-card__link:hover .odontoleg-card__cta,
.odontoleg-card__link:focus-visible .odontoleg-card__cta {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .odontoleg-card__link:hover .odontoleg-card__cta {
    background: rgba(255, 255, 255, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .odontoleg-card__image,
  .odontoleg-card__shade,
  .odontoleg-card__cta {
    transition: none;
  }

  .odontoleg-card__link:hover .odontoleg-card__image,
  .odontoleg-card__link:focus-visible .odontoleg-card__image {
    transform: none;
  }
}

.odontoleg-block__empty {
  margin: 0 auto;
  padding: 0 1.5rem;
  color: #5c5c5c;
}

.google-reviews-block {
  background: #ffffff;
  padding: 3rem 0;
}

.google-reviews-block__inner {
  margin: 0 auto;
  padding: 0 1.5rem;
}

.google-reviews-block__header {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.google-reviews-block__title {
  color: #f3c450;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

.google-reviews-block__subtitle {
  color: #121212;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
  max-width: 40rem;
}

.google-reviews-swiper {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.google-reviews-swiper * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.google-reviews-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
  padding: 0 1.5rem;
}

.google-reviews-swiper .swiper-slide {
  width: min(82vw, 320px);
  height: auto;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .google-reviews-swiper .swiper-slide {
    width: min(44vw, 340px);
  }
}

@media (min-width: 1024px) {
  .google-reviews-swiper .swiper-slide {
    width: min(31vw, 300px);
    min-width: 280px;
  }
}

.google-review-card {
  width: 100%;
  height: 100%;
}

.google-review-card__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #f3c450;
  border-radius: 1rem;
  background: #ffffff;
  padding: 1.35rem 1.15rem 1.1rem;
}

.google-review-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  margin-bottom: 0.85rem;
}

.google-review-card__avatar--initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--review-avatar-color, #1a73e8);
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.google-review-card__name {
  color: #121212;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.55rem;
}

.google-review-card__stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  margin-bottom: 0.75rem;
}

.google-review-card__star {
  color: #d9d9d9;
  font-size: 1rem;
  line-height: 1;
}

.google-review-card__star.is-filled {
  color: #f3c450;
}

.google-review-card__text {
  color: #121212;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

.google-review-card__google {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.google-review-card__google-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  background: linear-gradient(135deg, #4285f4 0%, #ea4335 45%, #fbbc05 70%, #34a853 100%);
}

.google-reviews-block__footer {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.google-reviews-block__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #f3c450;
  background: #ffffff;
  color: #121212;
  text-decoration: none;
  padding: 0.65rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.google-reviews-block__button:hover,
.google-reviews-block__button:focus {
  text-decoration: none;
  color: #ffffff;
  background: #f3c450;
}

.home-serveis-block {
  background: #ffffff;
  padding: 3rem 0 3.5rem;
}

.home-serveis-block__inner {
  margin: 0 auto;
  padding: 0 1.5rem;
}

.home-serveis-block__header {
  max-width: none;
  margin: 0 0 2.25rem;
  text-align: left;
}

.home-serveis-block__title {
  color: #f3c450;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  font-weight: 500;
  margin: 0 0 1rem;
}

.home-serveis-block__subtitle {
  color: #121212;
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 400;
  margin: 0;
  max-width: 44rem;
}

.home-serveis-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.home-servei-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1.6rem 1.15rem 1.4rem;
  border: 1px solid #f3c450;
  border-radius: 0.85rem;
  background: #ffffff;
  color: #121212;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.home-servei-card:hover,
.home-servei-card:focus {
  background: #f3c450;
  border-color: #f3c450;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.home-servei-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
}

.home-servei-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: filter 0.25s ease;
}

.home-servei-card:hover .home-servei-card__icon img,
.home-servei-card:focus .home-servei-card__icon img {
  filter: brightness(0) invert(1);
}

.home-servei-card__icon-fallback {
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid #f3c450;
  border-radius: 50%;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.home-servei-card:hover .home-servei-card__icon-fallback,
.home-servei-card:focus .home-servei-card__icon-fallback {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.home-servei-card__title {
  margin: 0;
  color: #f3c450;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 600;
  transition: color 0.25s ease;
}

.home-servei-card:hover .home-servei-card__title,
.home-servei-card:focus .home-servei-card__title {
  color: #ffffff;
}

.home-servei-card__text {
  margin: 0;
  color: #5c5c5c;
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 400;
  transition: color 0.25s ease;
}

.home-servei-card:hover .home-servei-card__text,
.home-servei-card:focus .home-servei-card__text {
  color: #ffffff;
}

.home-serveis-block__empty {
  text-align: center;
  color: #5c5c5c;
}

@media (max-width: 1024px) {
  .home-serveis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nostra-clinica-block {
  margin: 0 0 2.5rem;
  background: #ffffff;
  padding: 3rem 0;
}

.nostra-clinica-block__inner {
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nostra-clinica-block__header {
  margin-bottom: 3rem;
}

.nostra-clinica-block__title {
  color: #f3c450;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  font-weight: 500;
  margin: 0 0 0.65rem;
}

.nostra-clinica-block__subtitle {
  color: #6b6b6b;
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 400;
  margin: 0;
  max-width: 44rem;
}

.nostra-clinica-block__list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.nostra-clinica-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.nostra-clinica-row__media {
  width: 100%;
}

.nostra-clinica-row__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.25rem;
}

.nostra-clinica-row__content {
  max-width: none;
}

.nostra-clinica-row__title {
  color: #f3c450;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  font-weight: 500;
  margin: 0 0 1.25rem;
}

.nostra-clinica-row__text {
  color: #4a4a4a;
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 400;
}

.nostra-clinica-row__text p {
  margin: 0 0 0.85rem;
}

.nostra-clinica-row__text p:last-child {
  margin-bottom: 0;
}

.nostra-clinica-block__empty {
  color: #5c5c5c;
  font-size: 1rem;
}

.box-block {
  margin: 0 0 2.5rem;
  background: #ffffff;
  padding: 0 0 3rem;
}

.box-block__inner {
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.box-row {
  display: grid;
  grid-template-columns: 1fr minmax(0, min(72vw, 820px));
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.box-row__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  text-align: center;
  min-width: 0;
}

.box-row__kicker {
  color: #f3c450;
  font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.box-row__number {
  color: #f3c450;
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 500;
  line-height: 0.95;
}

.box-row__media {
  width: 100%;
  justify-self: end;
}

.box-row__image {
  display: block;
  width: 100%;
  max-height: 380px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1.25rem;
}

.box-block__empty {
  color: #5c5c5c;
  font-size: 1rem;
}

.home-faq-block {
  background: #ffffff;
  color: #121212;
  padding: 3rem 0 0;
}

.home-faq-block__inner {
  margin: 0 auto;
  padding: 0 1.5rem;
}

.home-faq-block__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.home-faq-block__intro {
  flex: 1;
  min-width: 0;
}

.home-faq-block__title {
  color: #f3c450;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  font-weight: 500;
  margin: 0 0 0.75rem;
}

.home-faq-block__title p {
  margin: 0;
}

.home-faq-block__title strong {
  font-weight: 500;
}

.home-faq-block__subtitle {
  color: #121212;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
  max-width: 36rem;
}

.home-faq-block__button {
  flex-shrink: 0;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #f3c450;
  background: #ffffff;
  color: #121212;
  text-decoration: none;
  padding: 0.65rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.home-faq-block__button:hover,
.home-faq-block__button:focus {
  text-decoration: none;
  color: #ffffff;
  background: #f3c450;
}

.home-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 52rem;
  margin: 0 auto;
}

.home-faq-item {
  border: 1px solid #f3c450;
  border-radius: 1rem;
  overflow: hidden;
  background: #ffffff;
}

.home-faq-item__question {
  position: relative;
  width: 100%;
  min-height: 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  border: 0;
  background: #ffffff;
  color: #6b6b6b;
  padding: 0.9rem 1.25rem;
  font-family: "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
  cursor: pointer;
}

.home-faq-item__question-text {
  grid-column: 2;
  text-align: center;
}

.home-faq-item__icon {
  grid-column: 3;
  justify-self: end;
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 300;
  color: #6b6b6b;
}

.home-faq-item__answer {
  padding: 0 1.25rem 1.1rem;
  color: #5c5c5c;
  font-size: 0.98rem;
  line-height: 1.55;
  text-align: center;
}

.home-faq-item__answer p {
  margin: 0 0 0.8rem;
}

.home-faq-item__answer p:last-child {
  margin-bottom: 0;
}

.home-faq-block__empty {
  color: #5c5c5c;
  font-size: 1rem;
  text-align: center;
}

.home-faq-contact-divider {
  width: 100%;
  height: 1px;
  margin: 25px 0;
  border: 0;
  background: #f3c450;
}

.home-location-block {
  margin: 0;
  background: #ffffff;
  padding: 1.5rem 0 2.5rem;
}

.home-location-block__inner {
  margin: 0 auto;
  padding: 0 1.5rem;
}

.home-location-block__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 0 1.5rem;
  text-align: left;
}

.home-location-block__intro {
  flex: 1;
  min-width: 0;
}

.home-location-block__title {
  margin: 0 0 0.75rem;
  color: #f3c450;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  font-weight: 500;
}

.home-location-block__address {
  margin: 0;
  color: #121212;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  max-width: 36rem;
}

.home-location-block__link {
  flex-shrink: 0;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border: 1px solid #f3c450;
  border-radius: 999px;
  color: #121212;
  background: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.home-location-block__link:hover,
.home-location-block__link:focus {
  background: #f3c450;
  color: #ffffff;
  text-decoration: none;
}

.home-location-block__map {
  overflow: hidden;
  border: 1px solid #f3c450;
  border-radius: 0.85rem;
  background: #f5f5f5;
  line-height: 0;
}

.home-location-block__iframe {
  display: block;
  width: 100%;
  height: min(420px, 55vh);
  border: 0;
}

.home-contact-block {
  margin: 0;
  background: #ffffff;
  color: #121212;
  padding: 25px 0 0;
}

.home-contact-block__inner {
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 2.3rem;
  align-items: start;
}

.home-contact-block__title {
  color: #f3c450;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  font-weight: 500;
  margin-bottom: 0.55rem;
}

.home-contact-block__intro {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
  color: #121212;
  margin-bottom: 1.4rem;
}

.home-contact-block__subtitle {
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 600;
  color: #121212;
  margin: 0 0 0.75rem;
}

.home-contact-block__list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.home-contact-block__list-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 400;
}

.home-contact-block__icon {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  background-color: #f3c450;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.home-contact-block__list-item--phone .home-contact-block__icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8c1.5 2.9 3.7 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.3 22 2 13.7 2 3c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1L6.6 10.8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8c1.5 2.9 3.7 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.3 22 2 13.7 2 3c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1L6.6 10.8z'/%3E%3C/svg%3E");
}

.home-contact-block__list-item--whatsapp .home-contact-block__icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M17.5 14.2c-.3-.2-1.8-.9-2.1-1-.3-.1-.5-.2-.7.2-.2.3-.8 1-.9 1.2-.2.2-.3.2-.6.1-.3-.2-1.2-.4-2.3-1.4-.8-.8-1.4-1.7-1.6-2-.2-.3 0-.5.1-.6.1-.1.3-.3.4-.5.1-.2.1-.3.2-.5.1-.2 0-.4 0-.5 0-.2-.7-1.7-1-2.3-.3-.6-.6-.5-.7-.5h-.6c-.2 0-.5.1-.7.3-.2.3-1 1-1 2.4s1 2.8 1.1 3c.1.2 2 3.1 4.8 4.3.7.3 1.2.5 1.6.6.7.2 1.3.2 1.8.1.5-.1 1.8-.7 2.1-1.4.2-.7.2-1.3.2-1.4 0-.2-.2-.3-.5-.4zM12 2C6.5 2 2 6.1 2 11.4c0 1.9.6 3.7 1.6 5.2L2 22l5.6-1.5c1.4.8 3 1.2 4.7 1.2 5.5 0 10-4.1 10-9.4S17.5 2 12 2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M17.5 14.2c-.3-.2-1.8-.9-2.1-1-.3-.1-.5-.2-.7.2-.2.3-.8 1-.9 1.2-.2.2-.3.2-.6.1-.3-.2-1.2-.4-2.3-1.4-.8-.8-1.4-1.7-1.6-2-.2-.3 0-.5.1-.6.1-.1.3-.3.4-.5.1-.2.1-.3.2-.5.1-.2 0-.4 0-.5 0-.2-.7-1.7-1-2.3-.3-.6-.6-.5-.7-.5h-.6c-.2 0-.5.1-.7.3-.2.3-1 1-1 2.4s1 2.8 1.1 3c.1.2 2 3.1 4.8 4.3.7.3 1.2.5 1.6.6.7.2 1.3.2 1.8.1.5-.1 1.8-.7 2.1-1.4.2-.7.2-1.3.2-1.4 0-.2-.2-.3-.5-.4zM12 2C6.5 2 2 6.1 2 11.4c0 1.9.6 3.7 1.6 5.2L2 22l5.6-1.5c1.4.8 3 1.2 4.7 1.2 5.5 0 10-4.1 10-9.4S17.5 2 12 2z'/%3E%3C/svg%3E");
}

.home-contact-block__list-item--email .home-contact-block__icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.home-contact-block__list a {
  color: #121212;
  text-decoration: none;
}

.home-contact-block__list-text {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
}

.home-contact-block__list-separator {
  color: #121212;
}

.home-contact-block__hours {
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 400;
}

.home-contact-block__form-intro {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
  color: #121212;
  margin-bottom: 1rem;
}

.home-contact-block .wpcf7 {
  margin: 0;
}

.home-contact-block .wpcf7 form,
.home-contact-block .wpcf7-form.home-contact-cf7-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}

.home-contact-block .wpcf7 form > input[type="hidden"],
.home-contact-block .wpcf7 form > .wpcf7-response-output,
.home-contact-block .wpcf7 form > .screen-reader-response {
  margin: 0;
}

.home-contact-block .wpcf7 form p {
  margin: 0;
}

.home-contact-block .cf7-row {
  margin: 0;
  width: 100%;
}

.home-contact-block .cf7-row--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-contact-block .cf7-row--two .cf7-col,
.home-contact-block .cf7-row--two > p {
  margin: 0;
  min-width: 0;
}

/* CF7 a vegades agrupa email i telèfon dins un sol <p> */
.home-contact-block .cf7-row--two > p:has(.wpcf7-email):has(.wpcf7-tel) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  grid-column: 1 / -1;
}

.home-contact-block .cf7-row--two > p:has(.wpcf7-email):has(.wpcf7-tel) > br {
  display: none;
}

.home-contact-block .wpcf7 form:not(:has(.cf7-row--two)) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-contact-block .wpcf7 form:not(:has(.cf7-row--two)) > p:has(.wpcf7-text),
.home-contact-block .wpcf7 form:not(:has(.cf7-row--two)) > p:has(.wpcf7-textarea),
.home-contact-block .wpcf7 form:not(:has(.cf7-row--two)) > .cf7-form-footer,
.home-contact-block .wpcf7 form:not(:has(.cf7-row--two)) > p:has(.wpcf7-acceptance),
.home-contact-block .wpcf7 form:not(:has(.cf7-row--two)) > p:has(.wpcf7-submit) {
  flex: 1 1 100%;
  width: 100%;
}

.home-contact-block .wpcf7 form:not(:has(.cf7-row--two)) > p:has(.wpcf7-email),
.home-contact-block .wpcf7 form:not(:has(.cf7-row--two)) > p:has(.wpcf7-tel) {
  flex: 1 1 calc(50% - 0.375rem);
  min-width: 0;
}

.home-contact-block .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.home-contact-block .wpcf7-text,
.home-contact-block .wpcf7-email,
.home-contact-block .wpcf7-tel,
.home-contact-block .wpcf7-textarea {
  width: 100%;
  border: 1px solid #f3c450;
  background: #ffffff;
  color: #121212;
  border-radius: 0.75rem;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  padding: 0.85rem 1rem;
}

.home-contact-block .wpcf7-textarea {
  min-height: 170px;
  resize: vertical;
}

.home-contact-block .wpcf7 input::placeholder,
.home-contact-block .wpcf7 textarea::placeholder {
  color: rgba(18, 18, 18, 0.55);
}

.home-contact-block .cf7-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.home-contact-block .cf7-form-footer__acceptance,
.home-contact-block .cf7-form-footer__submit {
  margin: 0;
}

.home-contact-block .wpcf7-list-item {
  margin: 0;
}

.home-contact-block .wpcf7-acceptance label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #121212;
}

.home-contact-block .wpcf7-acceptance input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: #f3c450;
}

.home-contact-block .wpcf7-acceptance .wpcf7-list-item-label {
  display: inline;
}

.home-contact-block .wpcf7-acceptance a {
  color: #2563eb;
  text-decoration: underline;
}

.home-contact-block .wpcf7-acceptance a:hover,
.home-contact-block .wpcf7-acceptance a:focus {
  color: #1d4ed8;
}

.home-contact-block .wpcf7-submit {
  margin: 0;
  border-radius: 999px;
  border: 1px solid #f3c450;
  color: #121212;
  background: #ffffff;
  padding: 0.65rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.home-contact-block .wpcf7-submit:hover,
.home-contact-block .wpcf7-submit:focus {
  background: #f3c450;
  color: #ffffff;
}

.home-contact-block__brand {
  margin: 3.5rem auto 0;
  padding: 0 1.5rem 3.5rem;
  display: flex;
  justify-content: center;
}

.home-contact-block__brand img {
  width: min(380px, 92%);
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

.legal-page {
  background: #ffffff;
  padding: 3rem 0 4rem;
}

.legal-page__inner {
  max-width: 52rem;
  margin: 0 auto;
}

.legal-page__title {
  color: #f3c450;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 2rem;
}

.legal-page__content {
  color: #121212;
  font-size: 1rem;
  line-height: 1.65;
}

.legal-page__content h2 {
  color: #121212;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 2rem 0 0.85rem;
}

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

.legal-page__content p {
  margin: 0 0 1rem;
}

.legal-page__content p:last-child {
  margin-bottom: 0;
}

.odontoleg-detail-page {
  background: transparent;
  margin: 0;
  padding: 0 0 2.5rem;
}

.odontoleg-detail-shell {
  margin: 0 auto;
  padding: 0 1.5rem;
}

.odontoleg-detail {
  background: transparent;
  border-radius: 0.2rem;
  padding: 1rem 1.15rem 1.25rem;
}

.odontoleg-detail__back {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #f3c450;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2933;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.95rem;
  text-decoration: none;
  background: #ffffff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.odontoleg-detail__back:hover,
.odontoleg-detail__back:focus {
  text-decoration: none;
  background: #f3c450;
  color: #ffffff;
}

.odontoleg-detail__layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2.2rem;
  align-items: start;
}

.odontoleg-detail__left {
  padding-right: 0.5rem;
}

.odontoleg-detail__title {
  font-size: clamp(2.05rem, 3vw, 2.85rem);
  line-height: 1.05;
  color: #1f2933;
  margin-bottom: 0.3rem;
}

.odontoleg-detail__role {
  color: #1f2933;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.odontoleg-detail__content {
  font-size: 1.5rem;
  line-height: 1.45;
  color: #3f4752;
}

.odontoleg-detail__content p + p {
  margin-top: 0.95rem;
}

.odontoleg-detail__right {
  display: flex;
  justify-content: flex-end;
}

.odontoleg-detail__image {
  width: 100%;
  max-width: 670px;
  height: 100%;
  max-height: 740px;
  object-fit: cover;
  border-radius: 0.9rem;
  display: block;
}

.servei-detail-page {
  background: transparent;
  margin: 0;
  padding: 0 0 2.5rem;
}

.servei-detail-shell {
  margin: 0 auto;
  padding: 0 1.5rem;
}

.servei-detail {
  background: transparent;
  border-radius: 0.2rem;
  padding: 1rem 1.15rem 1.25rem;
}

.servei-detail__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.servei-detail__back {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #f3c450;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2933;
  font-size: 1.5rem;
  line-height: 1;
  margin: 0;
  text-decoration: none;
  background: #ffffff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.servei-detail__back:hover,
.servei-detail__back:focus {
  text-decoration: none;
  background: #f3c450;
  color: #ffffff;
}

.servei-detail__title {
  font-size: clamp(2.05rem, 3vw, 2.85rem);
  line-height: 1.05;
  color: #1f2933;
  margin: 0;
  font-weight: 600;
}

.servei-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.2rem;
  align-items: start;
}

.servei-detail--with-image .servei-detail__layout {
  grid-template-columns: 1fr 0.95fr;
}

.servei-detail__left {
  max-width: 46rem;
  padding-right: 0.5rem;
}

.servei-detail--with-image .servei-detail__left {
  max-width: none;
}

.servei-detail__content {
  font-size: 1.25rem;
  line-height: 1.55;
  color: #3f4752;
}

.servei-detail__content h2 {
  margin: 1.75rem 0 0.75rem;
  color: #f3c450;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.2;
}

.servei-detail__content h2:first-child {
  margin-top: 0;
}

.servei-detail__content h3 {
  margin: 1.25rem 0 0.65rem;
  color: #f3c450;
  font-size: 1.25rem;
  font-weight: 600;
}

.servei-detail__content strong,
.servei-detail__content b {
  color: #f3c450;
  font-weight: 600;
}

.servei-detail__content p {
  margin: 0 0 0.95rem;
}

.servei-detail__content p + p {
  margin-top: 0.95rem;
}

.servei-detail__content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.servei-detail__content li {
  margin-bottom: 0.45rem;
}

.servei-detail__right {
  display: flex;
  justify-content: flex-end;
}

.servei-detail__image {
  width: 100%;
  max-width: 670px;
  height: 100%;
  max-height: 740px;
  object-fit: cover;
  border-radius: 0.9rem;
  display: block;
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.section-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.section-card p {
  font-size: 0.95rem;
  color: #4b5563;
}

.posts-list {
  margin-top: 1rem;
  list-style: none;
}

.posts-list li + li {
  margin-top: 0.5rem;
}

.site-footer {
  border-top: 2px solid #d6b447;
  padding: 3rem 0 2rem;
  background: #121212;
  color: #ffffff;
}

.site-footer__inner {
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.site-footer__title {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.site-footer__item {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.site-footer__item a {
  color: #ffffff;
  font-weight: 400;
}

.site-footer__map {
  margin-top: 1rem;
}

.site-footer__map a {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
}

.site-footer__social {
  margin-bottom: 0;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  text-decoration: none;
}

.site-footer__social-icon {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  background-color: #ffffff;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm5 5.8A5.2 5.2 0 1 0 17.2 13 5.2 5.2 0 0 0 12 7.8zm0 2.2a3 3 0 1 1-3 3 3 3 0 0 1 3-3zm5.45-3.35a1.2 1.2 0 1 1-1.2 1.2 1.2 1.2 0 0 1 1.2-1.2z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm5 5.8A5.2 5.2 0 1 0 17.2 13 5.2 5.2 0 0 0 12 7.8zm0 2.2a3 3 0 1 1-3 3 3 3 0 0 1 3-3zm5.45-3.35a1.2 1.2 0 1 1-1.2 1.2 1.2 1.2 0 0 1 1.2-1.2z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.site-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.site-footer__bottom a {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 400;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: none;
  opacity: 0.9;
}

@media (max-width: 640px) {
  .home .site-main,
  .page-template-page-home .site-main {
    padding: 0;
  }

  .site-header {
    padding: 0.75rem 0;
  }

  .site-header__inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .site-header__left {
    width: auto;
    flex: 1;
    justify-content: flex-start;
  }

  .site-header__right {
    width: auto;
    order: 2;
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .site-header__nav {
    order: 3;
    flex: 1 1 100%;
    display: none;
    justify-content: stretch;
    padding: 0.35rem 0 0.15rem;
  }

  .site-header.is-nav-open .site-header__nav {
    display: block;
  }

  .main-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    width: 100%;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    font-size: 0.92rem;
    text-align: center;
  }

  .header-cta {
    font-size: 13px;
    padding: 0.42rem 0.85rem;
  }

  .home-first-block {
    width: 100%;
    height: auto;
    min-height: 72vh;
    margin: 0;
    background-position: 70% center;
    background-size: cover;
  }

  .home-first-block__inner {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 72vh;
    padding: 1rem 1rem 1.35rem;
    justify-content: flex-end;
  }

  .home-first-block__content {
    max-width: 100%;
    width: 100%;
    padding: 1rem 1.05rem 1.1rem;
    background: rgba(255, 255, 255, 0.93);
    border-radius: 0.75rem;
  }

  .home-first-block__title {
    font-size: clamp(1.55rem, 6.5vw, 1.9rem);
  }

  .home-first-block__description {
    max-width: 100%;
    margin: 0.75rem 0 1rem;
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .home-first-block__cta {
    font-size: 0.98rem;
    padding: 0.55rem 1.35rem;
  }

  .odontoleg-block__header,
  .odontoleg-block__empty,
  .google-reviews-block__inner,
  .home-serveis-block__inner,
  .nostra-clinica-block__inner,
  .box-block__inner,
  .home-faq-block__inner,
  .home-location-block__inner,
  .home-contact-block__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .odontoleg-swiper .swiper-wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-contact-block__brand {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-first-block__video {
    width: min(200px, 58vw);
    margin-top: 1.25rem;
  }

  .odontoleg-block {
    padding: 2rem 0 1.75rem;
  }

  .odontoleg-block__header {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 0 1rem;
    margin-bottom: 1.75rem;
  }

  .odontoleg-block__cta {
    align-self: flex-start;
  }

  .odontoleg-swiper .swiper-wrapper {
    padding: 0 1rem;
  }

  .odontoleg-block__empty {
    padding: 0 1rem;
  }

  .google-reviews-block {
    padding: 2.25rem 0;
  }

  .google-reviews-block__inner {
    padding: 0 1rem;
  }

  .google-reviews-block__header {
    margin-bottom: 1.5rem;
  }

  .google-reviews-swiper .swiper-wrapper {
    padding: 0;
  }

  .home-serveis-block {
    padding: 2.25rem 0 2.5rem;
  }

  .home-serveis-block__inner {
    padding: 0 1rem;
  }

  .home-serveis-block__header {
    margin-bottom: 1.5rem;
  }

  .home-serveis-block__title {
    font-size: 1.7rem;
  }

  .home-serveis-block__subtitle {
    font-size: 1rem;
  }

  .home-serveis-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .home-servei-card {
    padding: 1.35rem 1.1rem;
  }

  .nostra-clinica-block {
    padding: 2.5rem 0;
  }

  .nostra-clinica-block__inner {
    padding: 0 1rem;
  }

  .nostra-clinica-block__header {
    margin-bottom: 2rem;
  }

  .nostra-clinica-block__list {
    gap: 2.5rem;
  }

  .nostra-clinica-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .nostra-clinica-row__content {
    max-width: none;
  }

  .nostra-clinica-row__title {
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    margin-bottom: 1rem;
  }

  .nostra-clinica-row__text {
    font-size: 1.125rem;
    line-height: 1.5;
  }

  .box-block {
    padding-bottom: 2.25rem;
  }

  .box-block__inner {
    padding: 0 1rem;
    gap: 2rem;
  }

  .box-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .box-row__label {
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 0;
    text-align: center;
  }

  .box-row__kicker {
    font-size: 1.75rem;
  }

  .box-row__number {
    font-size: clamp(3.5rem, 14vw, 5rem);
  }

  .box-row__media {
    max-width: 100%;
    justify-self: stretch;
  }

  .box-row__image {
    max-height: none;
    aspect-ratio: 16 / 10;
  }

  .odontoleg-card {
    min-width: 230px;
    width: 72vw;
  }

  .odontoleg-card__image {
    height: 330px;
  } 

  .odontoleg-card__name {
    font-size: 1.55rem;
  }

  .odontoleg-card__role {
    font-size: 1rem;
  }

  .home-faq-block {
    padding: 2.25rem 0 0;
  }

  .home-faq-block__inner {
    padding: 0 1rem;
  }

  .home-faq-block__header {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .home-faq-block__button {
    align-self: flex-start;
  }

  .home-faq-accordion {
    max-width: none;
  }

  .home-faq-block__title {
    font-size: 1.75rem;
  }

  .home-faq-item__question {
    font-size: 1rem;
    min-height: 3.25rem;
    padding: 0.85rem 1rem;
    grid-template-columns: 2.5rem 1fr 2.5rem;
  }

  .home-faq-item__question-text {
    grid-column: 2;
  }

  .home-faq-item__icon {
    grid-column: 3;
    font-size: 1.35rem;
  }

  .home-faq-item__answer {
    padding: 0 1rem 1rem;
    font-size: 0.95rem;
  }

  .home-location-block {
    padding: 1rem 0 1.75rem;
  }

  .home-location-block__inner {
    padding: 0 1rem;
  }

  .home-location-block__header {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .home-location-block__link {
    align-self: flex-start;
  }

  .home-location-block__title {
    font-size: 1.7rem;
  }

  .home-location-block__address {
    font-size: 1rem;
  }

  .home-location-block__iframe {
    height: 280px;
  }

  .home-contact-block {
    padding-top: 25px;
  }

  .home-contact-block__inner {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 0 1rem;
  }

  .home-contact-block__title {
    font-size: 2.1rem;
  }

  .home-contact-block__subtitle {
    font-size: 1.55rem;
  }

  .home-contact-block__list-item,
  .home-contact-block__hours,
  .home-contact-block__form-intro,
  .home-contact-block .wpcf7-text,
  .home-contact-block .wpcf7-email,
  .home-contact-block .wpcf7-tel,
  .home-contact-block .wpcf7-textarea {
    font-size: 1.08rem;
  }

  .home-contact-block .cf7-row--two,
  .home-contact-block .cf7-row--two > p:has(.wpcf7-email):has(.wpcf7-tel),
  .home-contact-block .wpcf7 form:not(:has(.cf7-row--two)) > p:has(.wpcf7-email),
  .home-contact-block .wpcf7 form:not(:has(.cf7-row--two)) > p:has(.wpcf7-tel) {
    grid-template-columns: 1fr;
    flex: 1 1 100%;
    width: 100%;
  }

  .home-contact-block .cf7-form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .home-contact-block .cf7-form-footer__submit {
    display: flex;
    justify-content: flex-end;
  }

  .home-contact-block .wpcf7-textarea {
    min-height: 150px;
  }

  .home-contact-block__brand {
    margin-top: 2.5rem;
    padding: 0 1rem 2.5rem;
  }

  .odontoleg-detail-page {
    padding: 1.5rem 0 2rem;
  }

  .odontoleg-detail {
    padding: 0.9rem 0.9rem 1rem;
  }

  .odontoleg-detail__layout {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .odontoleg-detail__left {
    padding-right: 0;
  }

  .odontoleg-detail__title {
    font-size: 2.25rem;
  }

  .odontoleg-detail__role {
    font-size: 1.4rem;
  }

  .odontoleg-detail__content {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .odontoleg-detail__right {
    justify-content: flex-start;
  }

  .odontoleg-detail__image {
    max-height: none;
  }

  .servei-detail-page {
    padding: 1.5rem 0 2rem;
  }

  .servei-detail {
    padding: 0.9rem 0.9rem 1rem;
  }

  .servei-detail__top {
    gap: 0.75rem;
    margin-bottom: 1.35rem;
  }

  .servei-detail__title {
    font-size: 2rem;
  }

  .servei-detail__layout,
  .servei-detail--with-image .servei-detail__layout {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .servei-detail__left {
    padding-right: 0;
    max-width: none;
  }

  .servei-detail__content {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .servei-detail__content h2 {
    font-size: 1.3rem;
  }

  .servei-detail__right {
    justify-content: flex-start;
  }

  .servei-detail__image {
    max-height: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-footer__bottom-links {
    gap: 1rem 1.5rem;
  }
}

