/* ===== Variables ===== */
:root {
  --color-bg: #F7F4EF;
  --color-accent: #D89E52;
  --color-text: #36261D;
  --color-white: #FFFFFF;
  --color-references-bg: rgba(54, 38, 29, 0.9);
  --color-footer-bottom: #2a1e17;
  --color-tan-light: #EDE4D6;
  --color-tan-mid: #E8D9C4;
  --color-feature-light: #FAF8F5;
  --color-feature-mid: #FDFCF9;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --container-width: 1200px;
  --feature-block-width: 900px;
  --services-overhang: 48px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 8px 32px rgba(54, 38, 29, 0.06);
  --shadow-card: 0 4px 20px rgba(54, 38, 29, 0.07);
  --transition: 0.25s ease;
  --map-filter: grayscale(1) brightness(1.06) contrast(0.88) saturate(0.85);
  --map-overlay: rgba(216, 158, 82, 0.65);
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.65;
  color: #36261D;
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ===== Utilities ===== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(216, 158, 82, 0.35);
}

.btn--primary:hover {
  background-color: #c88e42;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 158, 82, 0.45);
}

/* Title highlight with hand-drawn underline */
.title-highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.title-highlight__line {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 110%;
  max-width: none;
  height: auto;
  pointer-events: none;
}

.title-highlight--full .title-highlight__line {
  width: 115%;
  bottom: -12px;
}

.title-highlight--light .title-highlight__line {
  filter: brightness(3) saturate(0.8);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9D9182;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
}

.section-intro {
  font-size: 18px;
  color: #36261D;
  line-height: 1.75;
}

/* ===== Header ===== */
.header {
  background-color: var(--color-bg);
  padding: 20px 0;
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.header__logo {
  justify-self: start;
}

.header__logo img {
  width: 240px;
  height: auto;
}

.nav {
  justify-self: end;
  margin-right: 48px;
}

.nav__list {
  display: flex;
  gap: 40px;
}

.nav__link {
  position: relative;
  display: inline-block;
  color: var(--color-text);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 6px;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--color-accent), #e8b56a);
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-accent);
  opacity: 1;
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__social {
  display: flex;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color var(--transition), transform var(--transition);
}

.social-link:hover {
  background-color: rgba(216, 158, 82, 0.15);
  opacity: 1;
  transform: scale(1.05);
}

.social-link--footer {
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  background-color: transparent;
}

.social-link--footer img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(45%) saturate(600%) hue-rotate(357deg) brightness(95%) contrast(90%);
}

.social-link--footer:hover {
  background-color: transparent;
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

/* ===== Hero ===== */
.hero {
  padding: 40px 0 48px;
  overflow: visible;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  min-height: 480px;
}

.hero__content {
  padding-right: 20px;
}

.hero__title {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero__text {
  font-size: 1.3rem;
  line-height: 1.75;
  margin-bottom: 40px;
  color: #36261D;
  max-width: 520px;
}

.hero__text strong {
  font-weight: 700;
}

.hero .btn--primary {
  padding: 18px 44px;
  font-size: 17px;
}

.hero__image-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero__image {
  width: 100%;
  max-width: 520px;
  height: auto;
}

/* ===== USP – overlaps hero bottom ===== */
.usp {
  margin-top: 32px;
  padding: 0 0 80px;
  position: relative;
  z-index: 2;
}

.usp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.usp__card {
  position: relative;
  padding: 40px 32px;
  text-align: center;
}

.usp__card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background-color: rgba(54, 38, 29, 0.1);
}

.usp__icon {
  margin: 0 auto 18px;
}

.usp__title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.usp__text {
  font-size: 0.9rem;
  color: #36261D;
  line-height: 1.65;
}

/* ===== Services ===== */
.services {
  padding: 20px 0 100px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 225px auto auto 1fr;
  column-gap: 20px;
  row-gap: 6px;
  width: calc(100% + var(--services-overhang) * 2);
  max-width: calc(var(--container-width) + var(--services-overhang) * 2);
  margin-left: calc(var(--services-overhang) * -1);
}

.service-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-card__image {
  width: 100%;
  height: 100%;
  min-height: 225px;
  object-fit: cover;
  object-position: center;
}

.service-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px 0;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: #36261D;
}

.service-card__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.service-card__tagline {
  font-weight: 700;
  font-size: 0.75rem;
  color: rgba(54, 38, 29, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
  padding: 2px 18px 0;
}

.service-card__text {
  font-size: 16px;
  line-height: 1.6;
  color: #36261D;
  padding: 4px 18px 24px;
}

@supports not (grid-template-rows: subgrid) {
  .services__grid {
    grid-template-rows: none;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }

  .service-card__header {
    min-height: 3.5rem;
  }

  .service-card__tagline {
    min-height: 3.5rem;
  }

  .service-card__text {
    flex: 1;
  }
}

/* ===== Feature Blocks – full-width row bg, narrow inner grid ===== */
.feature-blocks {
  padding: 0;
}

.feature-blocks__row--light {
  background-color: var(--color-feature-light);
}

.feature-blocks__row--mid {
  background-color: var(--color-feature-mid);
}

.feature-blocks__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: var(--feature-block-width);
  margin: 0 auto;
}

.feature-blocks__image-wrap {
  display: grid;
  overflow: hidden;
  min-height: 0;
}

.feature-blocks__image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature-blocks__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 48px;
}

.feature-blocks__row--light .feature-blocks__content {
  padding-left: 56px;
}

.feature-blocks__row--mid .feature-blocks__content {
  padding-right: 56px;
}

.feature-blocks__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 28px;
  line-height: 1.3;
}

.feature-blocks__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-blocks__list li {
  padding-left: 22px;
  position: relative;
  line-height: 1.65;
  font-size: 18px;
  color: #36261D;
}

.feature-blocks__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

/* ===== CTA Banner ===== */
.cta-banner {
  padding: 80px 40px;
}

.cta-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  max-width: 1000px;
  height: 390px;
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: 48px;
  box-shadow: var(--shadow-card);
  padding: 60px 68px;
  overflow: hidden;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 52%;
}

.cta-banner__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #36261D;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-banner__text {
  font-size: 19px;
  line-height: 1.65;
  color: #36261D;
  margin-bottom: 28px;
}

.cta-banner__image-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  line-height: 0;
}

.cta-banner__dog {
  height: 100%;
  width: 95%;
  object-fit: contain;
  object-position: bottom right;
  border-bottom-right-radius: 48px;
  pointer-events: none;
}

/* ===== References ===== */
.references {
  background-color: var(--color-references-bg);
  color: var(--color-white);
  padding: 90px 80px;
  text-align: center;
}

.references__layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.references__content {
  flex: 1;
  min-width: 0;
  max-width: 700px;
}

.references__title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 48px;
  line-height: 1.3;
}

.references__slider {
  width: 100%;
}

.references__track-wrap {
  overflow: hidden;
}

.references__track {
  display: flex;
  transition: transform 0.4s ease;
}

.references__slide {
  min-width: 100%;
  padding: 0 8px;
}

.references__quote {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
  opacity: 0.92;
}

.references__author {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.references__stars {
  margin: 0 auto;
}

.references__arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background-color var(--transition);
}

.references__arrow:hover {
  border-color: var(--color-accent);
  background-color: rgba(216, 158, 82, 0.25);
}

.references__carousel-nav {
  display: none;
}

.references__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.references__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width var(--transition), background-color var(--transition), opacity var(--transition);
}

.references__dot.is-active {
  width: 28px;
  background-color: var(--color-accent);
}

.references__dot:hover {
  opacity: 0.85;
}

.references__mobile-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background-color var(--transition);
}

.references__mobile-arrow:hover {
  border-color: var(--color-accent);
  background-color: rgba(216, 158, 82, 0.25);
}

/* ===== About ===== */
.about {
  --about-content-width: 820px;
  padding: 100px 0;
}

.about__content {
  width: 100%;
  max-width: var(--about-content-width);
  margin-inline: auto;
}

.about__intro {
  margin-bottom: 64px;
  text-align: center;
}

.about__intro .title-highlight__line {
  width: 110%;
  object-fit: fill;
}

.about__intro p:not(.section-label) {
  margin-bottom: 18px;
  line-height: 1.75;
  color: #36261D;
  font-size: 1rem;
}

.about__grid {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 32px;
  align-items: stretch;
  width: 100%;
}

.about__image-wrap {
  position: relative;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.about__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about__advantages-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7A6F63;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  list-style: none;
}

.about__advantage {
  --about-advantage-icon-size: 40px;
  display: grid;
  grid-template-columns: var(--about-advantage-icon-size) 1fr;
  gap: 18px;
  width: 100%;
  align-items: start;
}

.about__advantage-icon-col {
  display: flex;
  justify-content: center;
}

.about__advantage-icon {
  width: var(--about-advantage-icon-size);
  height: var(--about-advantage-icon-size);
  margin-top: calc((1.2rem * 1.35 - var(--about-advantage-icon-size)) / 2);
}

.about__advantage-content {
  min-width: 0;
}

.about__advantage-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 6px;
}

.about__advantage-text {
  margin: 0;
  max-width: 20rem;
  line-height: 1.7;
  font-size: 1rem;
  color: #36261D;
}

/* ===== Gallery strip ===== */
.gallery {
  padding: 0 0 100px;
}

.gallery__intro {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.gallery__intro .section-title {
  margin-bottom: 0;
}

.gallery__intro .title-highlight__line {
  width: 110%;
  object-fit: fill;
}

.gallery__strip {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: calc(var(--container-width) + 160px);
  margin: 0 auto;
  padding: 0 32px;
}

.gallery__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 0;
  cursor: grab;
  touch-action: pan-x pan-y;
  user-select: none;
  padding: 2px;
  margin: -2px;
}

.gallery__viewport.is-dragging {
  cursor: grabbing;
}

.gallery__track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.gallery__slide {
  flex: 0 0 calc((100% - 32px) / 3);
  margin: 0;
  min-width: 0;
}

.gallery__placeholder,
.gallery__image {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: none;
  border: none;
  transition: box-shadow var(--transition);
}

.gallery__placeholder {
  background:
    linear-gradient(135deg, var(--color-tan-mid) 0%, var(--color-tan-light) 45%, var(--color-tan-mid) 100%);
  position: relative;
  overflow: hidden;
}

.gallery__image {
  display: block;
  height: auto;
  object-fit: cover;
  padding: 0;
  margin: 0;
  transition: box-shadow var(--transition);
}

.gallery__trigger {
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
  cursor: pointer;
}

.gallery__trigger:hover .gallery__image {
  box-shadow: 0 0 0 2px var(--color-accent);
  transition: box-shadow var(--transition);
}

.gallery__placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 12px,
    rgba(54, 38, 29, 0.04) 12px,
    rgba(54, 38, 29, 0.04) 24px
  );
  pointer-events: none;
}

.gallery__arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(54, 38, 29, 0.12);
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), background-color var(--transition), color var(--transition);
}

.gallery__arrow:hover:not(:disabled) {
  border-color: var(--color-accent);
  background-color: rgba(216, 158, 82, 0.12);
  color: var(--color-text);
}

.gallery__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ===== Legal page ===== */
.legal {
  padding: 40px 0 100px;
}

.legal__inner {
  max-width: 820px;
}

.legal__lead {
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.legal__subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 36px 0 12px;
}

.legal p {
  margin-bottom: 16px;
}

.legal__list {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal__list li {
  margin-bottom: 12px;
}

.legal a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 3px;
}

.legal__back {
  margin-top: 40px;
  font-weight: 600;
}

/* ===== Lightbox ===== */
[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
  border: none;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background-color var(--transition);
}

.lightbox__close:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.7);
}

body.lightbox-open {
  overflow: hidden;
}

/* ===== Contact ===== */
.contact {
  padding: 0;
  background-color: var(--color-feature-mid);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.contact__map {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
}

#contact-map {
  width: 100%;
  height: 100%;
  min-height: 440px;
}

.contact__map .leaflet-tile-pane {
  filter: var(--map-filter);
}

.contact__map .leaflet-tile-pane::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--map-overlay);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.contact-map-marker {
  background: transparent !important;
  border: none !important;
}

.contact-map-marker::before {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  background-color: var(--color-accent);
  border: 3px solid var(--color-white);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(54, 38, 29, 0.22);
}

.contact__map .leaflet-control-zoom a {
  color: var(--color-text);
  border-color: rgba(54, 38, 29, 0.12);
}

.contact__map .leaflet-control-zoom a:hover {
  background-color: var(--color-bg);
}

.contact__map .leaflet-bar {
  border: none;
  box-shadow: var(--shadow-card);
}

.contact__map .leaflet-control-attribution {
  background: rgba(247, 244, 239, 0.88);
  color: rgba(54, 38, 29, 0.55);
  font-size: 10px;
}

.contact__map .leaflet-control-attribution a {
  color: rgba(54, 38, 29, 0.65);
}

.contact__info {
  display: flex;
  align-items: center;
  padding: 48px 56px 48px 40px;
}

.contact__info-inner {
  max-width: 520px;
}

.contact__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 32px;
  line-height: 1.25;
}

.contact__name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.contact__details p,
.contact__booking p {
  margin-bottom: 8px;
  line-height: 1.65;
  font-size: 0.95rem;
}

.contact__details a,
.contact__booking a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 3px;
}

.contact__booking {
  margin: 28px 0;
  padding: 24px;
  background-color: var(--color-tan-light);
  border-radius: var(--radius-sm);
}

.contact__nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.contact__nav-link {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.95rem;
}

.contact__social {
  display: flex;
  gap: 12px;
}

/* ===== Footer ===== */
.footer {
  padding: 0;
}

.footer__main {
  background-color: var(--color-references-bg);
  padding: 56px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: auto 0.85fr 1.55fr 0.75fr;
  column-gap: 42px;
  row-gap: 48px;
  align-items: start;
}

.footer__brand {
  padding-right: 28px;
}

.footer__logo {
  width: 260px;
  max-width: 100%;
  height: auto;
  transform: translateY(-8px);
  filter: brightness(0) saturate(100%) invert(98%) sepia(6%) saturate(347%) hue-rotate(322deg) brightness(103%) contrast(92%);
}

.footer__heading {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  color: var(--color-bg);
}

.footer__links a,
.footer__address a {
  color: var(--color-bg);
  font-size: 0.8rem;
  line-height: 1.85;
  text-decoration: none;
}

.footer__links a:hover,
.footer__address a:hover {
  color: var(--color-white);
  opacity: 1;
}

.footer__address p {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--color-bg);
  margin-bottom: 4px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__bottom {
  background-color: var(--color-footer-bottom);
  padding: 18px 0;
}

.footer__bottom-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  color: rgba(247, 244, 239, 0.78);
}

.footer__bottom-copy {
  text-align: left;
}

.footer__bottom-rights {
  text-align: center;
}

.footer__bottom-legal {
  text-align: right;
}

.footer__bottom-legal a {
  color: rgba(247, 244, 239, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__bottom-legal a:hover {
  color: var(--color-white);
  opacity: 1;
}

/* ===== Scroll reveal ===== */
.js-reveal .reveal {
  opacity: 0.35;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

.js-reveal .hero .reveal {
  opacity: 0;
}

.js-reveal .reveal--left {
  transform: translate3d(-8px, 6px, 0);
}

.js-reveal .reveal--right {
  transform: translate3d(8px, 6px, 0);
}

.js-reveal .reveal--scale {
  transform: translateY(8px) scale(0.995);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js-reveal .reveal .title-highlight__line {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.5s ease-out;
  transition-delay: calc(var(--reveal-delay, 0s) + 0.05s);
}

.js-reveal .reveal.is-visible .title-highlight__line {
  clip-path: inset(0 0 0 0);
}

.hero__title.reveal { --reveal-delay: 0.02s; }
.hero__text.reveal { --reveal-delay: 0.06s; }
.hero__content .btn.reveal { --reveal-delay: 0.1s; }
.hero__image-wrap.reveal { --reveal-delay: 0.08s; }

.usp__grid .reveal:nth-child(2) { --reveal-delay: 0.05s; }
.usp__grid .reveal:nth-child(3) { --reveal-delay: 0.1s; }

.services__grid .reveal:nth-child(2) { --reveal-delay: 0.04s; }
.services__grid .reveal:nth-child(3) { --reveal-delay: 0.08s; }
.services__grid .reveal:nth-child(4) { --reveal-delay: 0.12s; }

.about__list .reveal:nth-child(2) { --reveal-delay: 0.05s; }
.about__list .reveal:nth-child(3) { --reveal-delay: 0.1s; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal,
  .js-reveal .hero .reveal,
  .js-reveal .reveal.is-visible,
  .js-reveal .reveal .title-highlight__line,
  .js-reveal .reveal.is-visible .title-highlight__line {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1320px) {
  .services__grid {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
}

@media (max-width: 1200px) {
  html {
    scroll-padding-top: 72px;
  }

  .header {
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 10001;
    background-color: var(--color-bg);
  }

  .header__inner {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .header__logo img {
    width: 190px;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 2;
  }

  .header__social {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    z-index: 10000;
    margin-right: 0;
    justify-self: auto;
    background-color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 24px 40px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .nav__list {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-right: 0;
    padding: 0;
    justify-content: center;
  }

  .nav__link {
    display: block;
    padding: 18px 20px;
    font-size: 1.05rem;
    letter-spacing: 0.14em;
    text-align: center;
    border-radius: 14px;
    transition: background-color var(--transition), color var(--transition);
  }

  .nav__link::after {
    content: none;
  }

  .nav__link:hover,
  .nav__link:focus-visible {
    background-color: rgba(216, 158, 82, 0.12);
    color: var(--color-accent);
    opacity: 1;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 6px;
  }

  .service-card__image {
    width: 100%;
    height: 225px;
  }

}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 36px;
  }

  .footer__brand {
    grid-column: 1 / -1;
    padding-right: 0;
    text-align: center;
  }

  .footer__logo {
    margin: 0 auto;
    transform: none;
  }

  .footer__col:nth-child(3) {
    grid-column: 1 / -1;
  }

  .hero__inner {
    min-height: auto;
  }

  .references {
    padding: 80px 40px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 72px;
  }

  .js-reveal .reveal {
    transform: translateY(8px);
  }

  .js-reveal .reveal--left,
  .js-reveal .reveal--right,
  .js-reveal .reveal--scale {
    transform: translateY(8px);
  }

  .container {
    padding: 0 32px;
  }

  .header__logo img {
    width: 170px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-intro {
    font-size: 16px;
  }

  .hero {
    padding-top: 12px;
    padding-bottom: 32px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .hero__content {
    padding-right: 0;
    order: 2;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
    margin-bottom: 18px;
  }

  .hero__text {
    font-size: 1.05rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
  }

  .hero .btn--primary {
    width: 100%;
    max-width: 320px;
    padding: 16px 28px;
    font-size: 15px;
  }

  .hero__image-wrap {
    order: 1;
    justify-content: center;
  }

  .hero__image {
    max-width: min(340px, 88vw);
  }

  .usp {
    margin-top: 16px;
    padding-bottom: 56px;
  }

  .usp__grid {
    grid-template-columns: 1fr;
    border-radius: var(--radius-sm);
    max-width: calc(100% - 56px);
    margin-inline: auto;
  }

  .usp__card {
    padding: 28px 24px;
  }

  .usp__card:not(:last-child)::after {
    top: auto;
    right: 24px;
    left: 24px;
    bottom: 0;
    width: auto;
    height: 1px;
  }

  .services {
    padding-bottom: 64px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: calc(100% - 56px);
    margin-inline: auto;
  }

  .service-card__image {
    width: 100%;
    height: 225px;
  }

  .feature-blocks__inner {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .feature-blocks__content {
    padding: 48px 32px;
    align-items: center;
    text-align: left;
  }

  .feature-blocks__row--light .feature-blocks__content,
  .feature-blocks__row--mid .feature-blocks__content {
    padding-left: 32px;
    padding-right: 32px;
  }

  .feature-blocks__title,
  .feature-blocks__list {
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
    text-align: left;
  }

  .feature-blocks__list li {
    font-size: 16px;
  }

  .feature-blocks__row--mid .feature-blocks__image-wrap {
    order: -1;
  }

  .feature-blocks__image-wrap {
    min-height: 0;
  }

  .feature-blocks__image {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: initial;
  }

  .cta-banner {
    padding: 48px 32px;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
    padding: 36px 36px 0;
    border-radius: 28px;
    margin-inline: auto;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .cta-banner__content {
    max-width: 100%;
    padding-bottom: 2px;
    position: relative;
    z-index: 1;
  }

  .cta-banner__text {
    max-width: none;
    font-size: 17px;
    margin-bottom: 20px;
  }

  .cta-banner__image-wrap {
    position: relative;
    flex-shrink: 0;
    width: calc(100% + 36px);
    height: auto;
    min-height: 0;
    margin-top: 0;
    margin-right: -36px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
  }

  .cta-banner__dog {
    width: min(70%, 280px);
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: bottom right;
    border-bottom-right-radius: 28px;
    border-bottom-left-radius: 0;
  }

  .references {
    padding: 56px 32px;
  }

  .references__layout {
    flex-direction: column;
    gap: 24px;
    max-width: none;
  }

  .references__title {
    margin-bottom: 32px;
  }

  .references__arrow {
    display: none;
  }

  .references__slider {
    touch-action: pan-y;
  }

  .references__carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
  }

  .about {
    padding: 64px 0;
  }

  .about__intro {
    margin-bottom: 40px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__image-wrap {
    aspect-ratio: 4 / 3;
  }

  .gallery {
    padding-bottom: 64px;
  }

  .gallery__intro {
    margin-bottom: 40px;
  }

  .gallery__strip {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 28px;
  }

  .gallery__viewport {
    grid-column: 1;
    grid-row: 1;
  }

  .gallery__arrow {
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
    width: 40px;
    height: 40px;
    align-self: center;
    box-shadow: 0 4px 16px rgba(54, 38, 29, 0.12);
  }

  .gallery__arrow--prev {
    justify-self: start;
    margin-left: 8px;
  }

  .gallery__arrow--next {
    justify-self: end;
    margin-right: 8px;
  }

  .gallery__arrow:disabled {
    opacity: 0;
    pointer-events: none;
  }

  .gallery__slide {
    flex: 0 0 100%;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  #contact-map {
    min-height: 280px;
  }

  .contact__info {
    padding: 32px 32px 40px;
  }

  .contact__title {
    margin-bottom: 24px;
  }

  .contact__booking {
    margin: 24px 0;
    padding: 20px;
  }

  .footer__main {
    padding: 40px 0 36px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 28px;
  }

  .footer__brand {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: 24px;
    margin-bottom: 4px;
    text-align: center;
    border-bottom: 1px solid rgba(247, 244, 239, 0.12);
  }

  .footer__logo {
    width: 220px;
    margin: 0 auto;
    transform: none;
  }

  .footer__col:nth-child(3) {
    grid-column: 1 / -1;
  }

  .footer__heading {
    margin-bottom: 12px;
  }

  .footer__bottom {
    padding: 16px 0 20px;
  }

  .footer__bottom-inner {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: center;
    font-size: 0.6rem;
  }

  .footer__bottom-copy,
  .footer__bottom-rights,
  .footer__bottom-legal {
    text-align: center;
  }

  .title-highlight {
    white-space: normal;
    max-width: 100%;
  }

  .title-highlight__line,
  .title-highlight--full .title-highlight__line {
    width: 100%;
    max-width: 100%;
    left: 0;
    transform: none;
    bottom: -8px;
  }

  .about__intro .title-highlight__line {
    width: 100%;
  }

  .gallery__intro .title-highlight__line {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 28px;
  }

  .header__logo img {
    width: 150px;
  }

  .hero__title {
    font-size: 1.65rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .footer__brand {
    padding-bottom: 20px;
  }

  .footer__col:nth-child(3) {
    grid-column: auto;
    padding-top: 4px;
    border-top: 1px solid rgba(247, 244, 239, 0.12);
  }

  .footer__bottom-inner {
    gap: 8px;
  }
}
