/* latin-ext */
@font-face {
  font-family: 'Caprasimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/caprasimo-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Caprasimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/caprasimo-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/figtree-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/figtree-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/figtree-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/figtree-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/figtree-latin-ext-600.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/figtree-latin-600.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg: #f5ead8;
  --color-surface: #ebddc5;
  --color-text: #201e1d;
  --color-accent: #c67139;
  --color-accent-2: #7a8a5e;
  --color-divider: color-mix(in srgb, #201e1d 16%, transparent);

  --color-neutral-100: #f9f4ed;
  --color-neutral-900: #2e2b25;

  --color-accent-100: #fff2eb;
  --color-accent-200: #ffe1d0;
  --color-accent-600: #b2622d;
  --color-accent-700: #8c491a;
  --color-accent-800: #643312;

  --color-accent-2-100: #f0fae1;
  --color-accent-2-800: #3d472b;

  --font-heading: "Caprasimo", system-ui, sans-serif;
  --font-heading-weight: 400;
  --font-body: "Figtree", system-ui, sans-serif;

  --space-1: 4.4px;
  --space-2: 8.8px;
  --space-3: 13.2px;
  --space-4: 17.6px;
  --space-5: 22px;
  --space-6: 26.4px;
  --space-8: 35.2px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2e2b25 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2e2b25 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2e2b25 22%, transparent);
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; overflow-x: clip; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
.heading-comma { font-weight: 300; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent-700); text-decoration: none; }
a:hover { color: var(--color-accent); }
img { display: block; max-width: 100%; }
::selection { background: var(--color-accent-200); }

.kicker {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent-700);
  margin: 0 0 var(--space-4);
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(40px,6vw,72px) clamp(20px,5vw,64px);
}

.photo-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4);
  background: linear-gradient(160deg, var(--color-accent-100), var(--color-surface));
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
  font-size: 13px;
  line-height: 1.5;
}

#hero-photo {
  inset: -10%;
  width: 120%;
  height: 120%;
}
.photo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: 999px;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-block { width: 100%; margin-top: var(--space-2); }

.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: 999px;
}
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }

.nav {
  display: flex; align-items: center; gap: var(--space-4);
  max-width: 1280px; margin: 0 auto;
  padding: var(--space-4) clamp(20px, 5vw, 64px);
}
.nav a { color: inherit; font-size: 14px; margin-right: var(--space-6); }
.nav a:hover { color: var(--color-accent); }
.nav-phone { font-size: 14px; margin-right: var(--space-4); white-space: nowrap; }

[data-reveal] { opacity: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(24px,4vw,64px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  margin: 0 0 var(--space-4);
}

.hero-word {
  position: relative;
  display: inline-grid;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.08em;
}
.hero-word span {
  grid-area: 1 / 1;
  color: var(--color-accent-700);
  transition: transform 0.6s cubic-bezier(.16,.84,.44,1), opacity 0.5s ease;
  transform: translateY(100%);
  opacity: 0;
}
.hero-word span.is-active {
  transform: translateY(0);
  opacity: 1;
}
.hero-word span.is-prev {
  transform: translateY(-100%);
  opacity: 0;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.65;
  max-width: 46ch;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero-photo-frame {
  position: relative;
  border-radius: calc(var(--radius-lg) * 1.4);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 719px) {
  .hero { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; row-gap: var(--space-2); }
  .nav a { margin-right: var(--space-3); }
}

.approach-heading {
  font-size: clamp(28px, 3vw, 38px);
  max-width: 20ch;
  margin: 0 0 var(--space-8);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px,3vw,40px);
}

.approach-card {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-4);
}
.approach-card h3 { font-size: 20px; margin: 0 0 var(--space-2); }
.approach-card p {
  font-size: 14.5px;
  color: color-mix(in srgb, var(--color-text) 75%, transparent);
  margin: 0;
}

.compare-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: calc(var(--radius-lg) * 1.2);
  overflow: hidden;
  cursor: ew-resize;
  touch-action: none;
  box-shadow: var(--shadow-lg);
  user-select: none;
}
.compare-slider img {
  -webkit-user-drag: none;
  user-drag: none;
}
.compare-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 58% 0 0);
}
.compare-tag {
  position: absolute;
  top: var(--space-3);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: color-mix(in srgb, #201e1d 55%, transparent);
  padding: 4px 12px;
  border-radius: 999px;
  pointer-events: none;
}
.compare-tag-left { left: var(--space-4); }
.compare-tag-right { right: var(--space-4); }
.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  pointer-events: none;
}
.compare-handle {
  position: absolute;
  top: 50%;
  left: 42%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translate(-50%,-50%);
  display: grid;
  place-content: center;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px,2.5vw,32px);
}

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

.service-photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-3);
}
.service-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 { font-size: 18px; margin: 0 0 6px; }
.service-card p {
  font-size: 14.5px;
  color: color-mix(in srgb, var(--color-text) 75%, transparent);
  margin: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(24px,3vw,40px);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-accent-100);
  display: grid;
  place-content: center;
  margin-bottom: var(--space-4);
}

.step-card h3 { font-size: 18px; margin: 0 0 var(--space-2); }
.step-card p {
  font-size: 14.5px;
  color: color-mix(in srgb, var(--color-text) 75%, transparent);
  margin: 0;
}

.trust {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(32px,4vw,64px);
  align-items: center;
}

.trust-photo-frame {
  position: relative;
  border-radius: calc(var(--radius-lg) * 1.2);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.trust-stats {
  display: flex;
  gap: clamp(28px,4vw,48px);
  flex-wrap: wrap;
}

.trust-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(32px,3vw,44px);
  color: var(--color-accent-700);
  margin: 0;
  line-height: 1;
}
.trust-stat-label {
  font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
  margin: var(--space-2) 0 0;
  max-width: 16ch;
}

.trust-rating { margin-top: var(--space-6); }

@media (max-width: 719px) {
  .trust { grid-template-columns: 1fr; }
}

.reviews { padding-left: 0; padding-right: 0; }
.reviews-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,64px);
  text-align: center;
}

.reviews-mask {
  position: relative;
  margin-top: var(--space-8);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

@keyframes reviews-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-6 * (320px + var(--marquee-gap)))); }
}
.reviews-track {
  --marquee-gap: clamp(20px,2.5vw,28px);
  display: flex;
  width: max-content;
  gap: var(--marquee-gap);
  padding: 4px;
  animation: reviews-marquee 42s linear infinite;
}
.reviews-track:hover { animation-play-state: paused; }

.review-card {
  width: 320px;
  flex-shrink: 0;
  text-align: left;
  border-top: 2px solid var(--color-accent-200);
  background: var(--color-neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.review-card p:first-child {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
  margin: 0 0 var(--space-4);
}
.review-name { font-size: 14px; font-weight: 600; margin: 0; }
.review-meta {
  font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
  margin: 2px 0 0;
}

.loyalty-panel {
  background: var(--color-accent-2-100);
  border-radius: calc(var(--radius-lg) * 1.2);
  padding: clamp(32px,5vw,56px);
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: clamp(24px,4vw,48px);
  align-items: center;
}
.loyalty-tags {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(32px,4vw,64px);
}
.contacts-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: var(--space-4);
}
.contacts-photo-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.contacts-map-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-accent-700);
  margin: 0 0 var(--space-1);
}
.contacts-address {
  font-size: 14.5px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.footer-tagline {
  font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
  margin: 0;
}
.footer-heading {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--space-2);
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
}
.footer-line { font-size: 14px; margin: 0 0 4px; }

@media (max-width: 719px) {
  .loyalty-panel, .contacts { grid-template-columns: 1fr; }
}
