/* ==========================================================================
   San Roque Mascotas — production stylesheet
   Design tokens mirror the original design system (colors, type, shadows).
   ========================================================================== */

:root {
  --background: 40 30% 97%;
  --foreground: 220 20% 20%;

  --card: 0 0% 100%;

  --primary: 194 100% 38%;
  --primary-foreground: 0 0% 100%;

  --secondary: 40 25% 92%;

  --muted-foreground: 220 10% 45%;

  --accent: 25 60% 55%;

  --destructive: 0 84.2% 60.2%;

  --border: 40 20% 88%;

  --radius: 0.75rem;

  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-soft: 0 4px 20px -4px hsl(220 20% 20% / 0.08);
  --shadow-card: 0 8px 30px -8px hsl(220 20% 20% / 0.1);
  --shadow-button: 0 4px 14px -3px hsl(145 35% 45% / 0.35);

  --container-max: 72rem;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
}
p {
  margin: 0;
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Offset anchored sections so the sticky header never covers the heading */
#servicios,
#servicios-detalle,
#nosotros,
#contacto {
  scroll-margin-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

/* ---------- Layout helpers ---------- */
.container-narrow {
  max-width: var(--container-max);
  margin-inline: auto;
}

.section-padding {
  padding: 4rem 1.5rem;
}
@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 2rem;
  }
}
@media (min-width: 1024px) {
  .section-padding {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.heading-xl {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
}
@media (min-width: 768px) {
  .heading-xl {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .heading-xl {
    font-size: 3.75rem;
  }
}

.heading-lg {
  font-size: 1.875rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .heading-lg {
    font-size: 2.25rem;
  }
}

.heading-md {
  font-size: 1.25rem;
  font-weight: 600;
}
@media (min-width: 768px) {
  .heading-md {
    font-size: 1.5rem;
  }
}

.eyebrow {
  display: block;
  color: hsl(var(--primary));
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-header {
  max-width: 42rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-header h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.section-header p {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
}
.section-header--wide {
  margin-bottom: 4rem;
}

.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--filled {
  fill: currentColor;
  stroke: none;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  z-index: 100;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease-out forwards;
}
.animate-fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.btn .icon {
  width: 1rem;
  height: 1rem;
}

.btn-lg {
  height: 3rem;
  padding-inline: 2rem;
}
.btn-xl {
  height: 3.5rem;
  padding-inline: 2.5rem;
  font-size: 1rem;
}
.btn-xl .icon,
.btn-lg .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-button);
}
.btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid hsl(var(--primary));
  background: transparent;
  color: hsl(var(--primary));
}
.btn-outline:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-onlight {
  border: 2px solid hsl(var(--primary-foreground));
  background: hsl(var(--primary-foreground));
  color: hsl(var(--primary));
}
.btn-onlight:hover {
  background: hsl(var(--primary-foreground) / 0.9);
}

.btn-block {
  width: 100%;
}

/* ---------- Top contact bar ---------- */
.topbar {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.875rem;
}
.topbar__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .topbar__inner {
    padding-inline: 2rem;
    justify-content: space-between;
  }
}
@media (min-width: 1024px) {
  .topbar__inner {
    padding-inline: 3rem;
  }
}
.topbar__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .topbar__group {
    gap: 1.5rem;
  }
}
.topbar__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s;
}
.topbar__link:hover {
  opacity: 0.8;
}
.topbar__email {
  display: none;
}
@media (min-width: 640px) {
  .topbar__email {
    display: flex;
  }
}
.topbar__address {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .topbar__address {
    display: flex;
  }
}

/* ---------- Main navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--primary));
  border-bottom: 1px solid hsl(var(--primary) / 0.8);
}
.navbar__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 1rem 1.5rem;
}
@media (min-width: 768px) {
  .navbar__inner {
    padding-inline: 2rem;
  }
}
@media (min-width: 1024px) {
  .navbar__inner {
    padding-inline: 3rem;
  }
}
.navbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.navbar__logo:hover {
  opacity: 0.8;
}
.navbar__logo img {
  height: 3rem;
  width: auto;
}

.navbar__links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .navbar__links {
    display: flex;
  }
}
.navbar__link {
  color: hsl(var(--primary-foreground) / 0.8);
  font-weight: 500;
  transition: color 0.2s;
}
.navbar__link:hover {
  color: hsl(var(--primary-foreground));
}

.navbar__toggle {
  display: inline-flex;
  padding: 0.5rem;
  color: hsl(var(--primary-foreground));
}
@media (min-width: 768px) {
  .navbar__toggle {
    display: none;
  }
}
.navbar__toggle .icon {
  width: 1.5rem;
  height: 1.5rem;
}
.navbar__toggle .icon-close {
  display: none;
}
.navbar__toggle[aria-expanded='true'] .icon-menu {
  display: none;
}
.navbar__toggle[aria-expanded='true'] .icon-close {
  display: block;
}

.navbar__mobile {
  display: none;
  padding: 1rem 0 0.5rem;
}
.navbar__mobile.is-open {
  display: block;
}
@media (min-width: 768px) {
  .navbar__mobile {
    display: none !important;
  }
}
.navbar__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.navbar__mobile-links .navbar__link {
  padding-block: 0.5rem;
}
.navbar__mobile .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    hsl(var(--background) / 0.95) 0%,
    hsl(var(--background) / 0.7) 50%,
    hsl(var(--background) / 0) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 4rem 1.5rem;
}
@media (min-width: 768px) {
  .hero__content {
    padding: 6rem 2rem;
  }
}
@media (min-width: 1024px) {
  .hero__content {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.hero__stars {
  display: flex;
}
.hero__stars .icon {
  width: 1rem;
  height: 1rem;
  fill: hsl(var(--accent));
  color: hsl(var(--accent));
}
.hero__badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.hero h1 {
  margin-bottom: 1.5rem;
}
.hero h1 .accent {
  color: hsl(var(--primary));
}

.hero__subhead {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 42rem;
}
@media (min-width: 768px) {
  .hero__subhead {
    font-size: 1.25rem;
  }
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero__ctas {
    flex-direction: row;
  }
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}
.hero__stat-num {
  font-size: 1.875rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.hero__stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ---------- Services grid ---------- */
.services-bg {
  background: hsl(var(--secondary) / 0.3);
}

.services__grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: stretch;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-align: left;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.service-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.service-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}
.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__price {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: hsl(var(--card) / 0.9);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary));
}

.service-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.service-card__icon .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}
.service-card__title {
  margin-bottom: 0.5rem;
}
.service-card__desc {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.6;
  flex-grow: 1;
}

.services__cta {
  display: flex;
  justify-content: center;
}
.pill-link {
  padding: 0.75rem 2rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.2s;
}
.pill-link:hover {
  background: hsl(var(--primary) / 0.9);
}

/* ---------- Accordion (services detail) ---------- */
.accordion {
  max-width: 48rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding-inline: 1.5rem;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1rem;
  text-align: left;
}
.accordion-trigger__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.accordion-trigger__left .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}
.accordion-trigger__label {
  font-size: 1.125rem;
  font-weight: 600;
}

.accordion-chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.accordion-item.is-open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease-out;
}
.accordion-item.is-open .accordion-content {
  grid-template-rows: 1fr;
}
.accordion-content-inner {
  overflow: hidden;
}
.accordion-content-inner__pad {
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}
.tag--strong {
  font-weight: 500;
}
.tag--muted {
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
}

.detail-subhead {
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.detail-subhead .icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.two-col {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.callout {
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
}
.callout--soft {
  background: hsl(var(--primary) / 0.05);
  font-weight: 500;
  font-size: 0.875rem;
}
.callout--flex {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.callout--flex .icon {
  margin-top: 0.125rem;
}
.callout--warning {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--destructive) / 0.3);
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 0.875rem;
}

.check-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .check-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.check-item .icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.price-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.price-card {
  border-radius: 0.5rem;
  padding: 1rem;
  background: hsl(var(--secondary) / 0.5);
}
.price-card h5 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.price-card__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  padding-block: 0.125rem;
}
.price-card__row strong {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.detail-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .detail-cta {
    flex-direction: row;
  }
}

/* ---------- Reviews / carousel ---------- */
.carousel {
  position: relative;
  max-width: 64rem;
  margin-inline: auto;
}
.carousel__viewport {
  overflow: hidden;
}
.carousel__track {
  display: flex;
  margin-left: -1rem;
  transition: transform 0.4s ease;
}
.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding-left: 1rem;
}
@media (min-width: 768px) {
  .carousel__slide {
    flex-basis: 50%;
  }
}
@media (min-width: 1024px) {
  .carousel__slide {
    flex-basis: 33.3333%;
  }
}

.review-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.review-card__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}
.review-card__stars .icon {
  width: 1rem;
  height: 1rem;
  fill: hsl(var(--primary));
  color: hsl(var(--primary));
}
.review-card__text {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1rem;
}
.review-card__author {
  border-top: 1px solid hsl(var(--border));
  padding-top: 1rem;
}
.review-card__name {
  font-weight: 600;
  font-size: 0.875rem;
}
.review-card__date {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 2px solid hsl(var(--primary));
  background: hsl(var(--background));
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s,
    color 0.2s;
  left: 0.25rem;
}
.carousel__btn:hover:not(:disabled) {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.carousel__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.carousel__btn--next {
  left: auto;
  right: 0.25rem;
}
@media (min-width: 1024px) {
  .carousel__btn {
    left: -3.5rem;
  }
  .carousel__btn--next {
    left: auto;
    right: -3.5rem;
  }
}
.carousel__btn .icon {
  width: 1rem;
  height: 1rem;
}

.reviews__cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about h2 {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}
.about__lead {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.about__body {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  line-height: 1.7;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.feature-item .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
}
.feature-item span {
  font-size: 0.875rem;
}

.about__visual {
  position: relative;
}
.about__panel {
  background: linear-gradient(
    to bottom right,
    hsl(var(--primary) / 0.1),
    hsl(var(--accent) / 0.1)
  );
  border-radius: 1rem;
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .about__panel {
    padding: 2rem;
  }
}
@media (min-width: 1024px) {
  .about__panel {
    padding: 3rem;
  }
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .stat-grid {
    gap: 1.5rem;
  }
}
.stat-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
@media (min-width: 640px) {
  .stat-card {
    padding: 1.5rem;
  }
}
.stat-card__num {
  font-size: 1.875rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: hsl(var(--primary));
}
@media (min-width: 640px) {
  .stat-card__num {
    font-size: 2.25rem;
  }
}
.stat-card__label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}
@media (min-width: 640px) {
  .stat-card__label {
    font-size: 0.875rem;
  }
}

.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(40px);
  display: none;
}
@media (min-width: 640px) {
  .blob {
    display: block;
  }
}
.blob--1 {
  top: -1rem;
  right: -1rem;
  width: 6rem;
  height: 6rem;
  background: hsl(var(--primary) / 0.2);
}
.blob--2 {
  bottom: -1rem;
  left: -1rem;
  width: 8rem;
  height: 8rem;
  background: hsl(var(--accent) / 0.2);
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: box-shadow 0.2s;
}
.contact-card:hover {
  box-shadow: var(--shadow-card);
}
.contact-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.contact-card__icon .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}
.contact-card h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.contact-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.contact__ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .contact__ctas {
    flex-direction: row;
  }
}

.map-frame {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.map-frame iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 3rem 1.5rem;
}
@media (min-width: 768px) {
  .footer {
    padding-inline: 2rem;
  }
}
@media (min-width: 1024px) {
  .footer {
    padding-inline: 3rem;
  }
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer__brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}
.footer__brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}
.footer__desc {
  color: hsl(var(--background) / 0.7);
  font-size: 0.875rem;
}

.footer h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.footer__links a {
  color: hsl(var(--background) / 0.7);
  transition: color 0.2s;
}
.footer__links a:hover {
  color: hsl(var(--primary));
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.footer__contact a,
.footer__contact .footer__addr {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: hsl(var(--background) / 0.7);
}
.footer__contact a:hover {
  color: hsl(var(--primary));
}
.footer__contact .icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer__hours {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: hsl(var(--background) / 0.7);
}
.footer__hours strong {
  color: hsl(var(--background));
}
.footer__hours .indent {
  margin-left: 0.5rem;
}
.footer__hours .spacer {
  margin-top: 0.5rem;
}

.footer__bottom {
  border-top: 1px solid hsl(var(--background) / 0.2);
  padding-top: 2rem;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.875rem;
  color: hsl(var(--background) / 0.7);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.footer__legal a {
  color: hsl(var(--background) / 0.7);
  transition: color 0.2s;
}
.footer__legal a:hover {
  color: hsl(var(--primary));
}
.footer__legal a[aria-current='page'] {
  color: hsl(var(--background));
}

/* ---------- Cookie notice ---------- */
/* Sticky (not fixed) as the last element of <body>: it rests below the footer
   at the end of the page, so it never permanently covers any content. */
.cookie-notice {
  position: sticky;
  bottom: 0;
  z-index: 60;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  border-top: 1px solid hsl(var(--background) / 0.2);
  box-shadow: 0 -8px 30px -8px hsl(220 20% 20% / 0.3);
}
.cookie-notice[hidden] {
  display: none;
}
.cookie-notice__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .cookie-notice__inner {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding-inline: 2rem;
  }
}
@media (min-width: 1024px) {
  .cookie-notice__inner {
    padding-inline: 3rem;
  }
}
.cookie-notice__text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: hsl(var(--background) / 0.85);
}
@media (min-width: 768px) {
  .cookie-notice__text {
    font-size: 0.875rem;
  }
}
.cookie-notice__text a {
  color: hsl(var(--background));
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-notice__text a:hover {
  color: hsl(var(--primary));
}
.cookie-notice__close {
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Legal pages ---------- */
.legal__inner {
  max-width: 48rem;
  margin-inline: auto;
}
.legal h1 {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}
.legal h2 {
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.legal p,
.legal ul {
  line-height: 1.7;
}
.legal p + p,
.legal p + ul,
.legal ul + p {
  margin-top: 1rem;
}
.legal ul {
  list-style: disc;
  padding-left: 1.5rem;
}
.legal li + li {
  margin-top: 0.5rem;
}
.legal li::marker {
  color: hsl(var(--primary));
}
.legal strong {
  font-weight: 600;
}
.legal a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
.legal a:hover {
  text-decoration-thickness: 2px;
}
