/* ==========================================================================
   Коректни Покриви — static site styles
   No build step. Breakpoints: 640px (sm), 768px (md), 1024px (lg).
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  --background: 40 30% 99%;
  --foreground: 20 14% 12%;
  --primary: 24 90% 48%;
  --primary-foreground: 0 0% 100%;
  --secondary: 30 20% 96%;
  --muted-foreground: 25 8% 45%;
  --accent: 24 90% 96%;
  --accent-foreground: 24 90% 30%;
  --border: 30 12% 89%;
  --radius: 0.75rem;

  --viber: 247.8 84.9% 66.3%;    /* #7360F2 */
  --whatsapp: 142.4 70.2% 48.6%; /* #25D366 */

  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Onest", "Manrope", sans-serif;

  --header-h: 74px;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-primary-lg: 0 10px 15px -3px hsl(var(--primary) / 0.2), 0 4px 6px -4px hsl(var(--primary) / 0.2);
  --shadow-primary-xl: 0 20px 25px -5px hsl(var(--primary) / 0.25), 0 8px 10px -6px hsl(var(--primary) / 0.2);
}

/* ----------------------------------------------------------------- 2. Base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }

::selection {
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--foreground));
}

:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 700;
  border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ------------------------------------------------------------ 3. Utilities */
.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 5rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.section-muted { background: hsl(var(--secondary) / 0.5); }
.section-dark {
  background: hsl(var(--foreground));
  color: #fff;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 1.75rem; height: 1.75rem; stroke-width: 2; }
/* Viber/WhatsApp marks are solid shapes, not outlines. */
.icon-brand { fill: currentColor; stroke: none; }

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

.section-title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.25;
  color: inherit;
}

.section-head {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.section-sub {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}
.section-sub-left { text-align: left; }

.lead {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}
.lead-tight { margin-top: 1rem; }

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.card-text {
  margin-top: 0.5rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--primary));
  text-decoration: none;
  transition: gap 0.25s ease;
}
.card-link:hover { gap: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease,
    border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: var(--shadow-md);
}

.btn-glow { box-shadow: var(--shadow-primary-lg); }
.btn-glow:hover { box-shadow: var(--shadow-primary-xl); }

.btn-outline {
  background: #fff;
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-outline:hover {
  border-color: hsl(var(--primary) / 0.4);
  color: hsl(var(--primary));
}

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn-xl { padding: 1rem 1.75rem; font-size: 1.125rem; font-weight: 800; }

/* Viber / WhatsApp — round icon button (header) and labelled pill */
.chat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border-radius: 9999px;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}
.chat-btn:hover {
  filter: brightness(1.08);
  box-shadow: var(--shadow-md);
}
.chat-btn:active { transform: scale(0.95); }

.chat-pill {
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.chat-pill:hover {
  filter: brightness(1.08);
  box-shadow: var(--shadow-md);
}

.chat-viber { background: hsl(var(--viber)); }
.chat-whatsapp { background: hsl(var(--whatsapp)); }

/* Decorative dot pattern (the “roof grid”) */
.roof-grid {
  background-image: radial-gradient(hsl(var(--primary) / 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Scroll reveal. Cards stagger via an inline `--d`; the delay is scoped to the
   reveal properties so it never lags a hover. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------- 4. Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgb(0 0 0 / 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: var(--radius);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.logo-mark .icon { stroke-width: 2.2; }
.logo:hover .logo-mark { transform: translateY(-2px); }
.logo-text { line-height: 1.15; }
.logo-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.logo-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: hsl(var(--primary));
}

.desktop-nav,
.header-cta { display: none; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  color: hsl(var(--foreground) / 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link:hover { color: hsl(var(--primary)); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 16rem;
  padding: 0.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.75);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown a:hover {
  background: hsl(var(--accent));
  color: hsl(var(--primary));
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-panel {
  overflow: hidden;
  max-height: 0;
  border-top: 1px solid transparent;
  background: #fff;
  transition: max-height 0.3s ease, border-color 0.3s ease;
}
.mobile-panel.is-open {
  max-height: 520px;
  border-top-color: hsl(var(--border));
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 1rem;
}
.mobile-nav > a:not(.btn) {
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground) / 0.8);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mobile-nav > a:not(.btn):hover {
  background: hsl(var(--accent));
  color: hsl(var(--primary));
}
.mobile-call {
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
}
.mobile-chat {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.mobile-chat .chat-pill {
  flex: 1;
  padding-inline: 0.75rem;
}

/* ----------------------------------------------------------------- 5. Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
  scroll-margin-top: var(--header-h);
}
.hero-bg,
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-bg {
  background: linear-gradient(to bottom, hsl(var(--secondary) / 0.7), hsl(var(--background)));
}
.hero-pattern { opacity: 0.6; }

.hero-inner {
  display: grid;
  gap: 3rem;
  padding-block: 3.5rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-bottom: 1.25rem;
  padding: 0.375rem 1rem;
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: 9999px;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.hero-title .accent { color: hsl(var(--primary)); }

.hero-lead {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2.25rem;
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground) / 0.7);
}
.hero-badges .icon { color: hsl(var(--primary)); }

.hero-media { position: relative; }
.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-2xl);
}
.hero-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.hero-image-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.4), transparent);
}

.hero-card {
  position: relative;
  z-index: 10;
  width: 92%;
  margin: -4rem auto 0;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-xl);
}
.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
}
.check-list {
  display: grid;
  gap: 0.625rem;
  margin-top: 1rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.375;
  color: hsl(var(--foreground) / 0.75);
}
.check-list .icon {
  margin-top: 0.125rem;
  color: hsl(var(--primary));
}

/* ---------------------------------------------------------------- 6. About */
.about-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.about-media { position: relative; order: 2; }
.about-image {
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
}
.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-badge {
  display: none;
  position: absolute;
  top: -1rem;
  right: -1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-lg);
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.1;
}
.about-badge-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}
.about-copy { order: 1; }

/* ------------------------------------------------------------- 7. Problems */
.problems-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.problem-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: #fff;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms),
    border-color 0.3s ease, box-shadow 0.3s ease;
}
.problem-card.is-visible:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: var(--shadow-lg);
}
.problem-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  flex: none;
  border-radius: var(--radius);
  background: hsl(var(--accent));
  color: hsl(var(--primary));
  transition: background-color 0.3s ease, color 0.3s ease;
}
.problem-card:hover .problem-icon {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* ------------------------------------------------------------- 8. Services */
.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: #fff;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms),
    border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card.is-visible:hover {
  transform: translateY(-6px);
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: var(--shadow-xl);
}
.service-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: hsl(var(--secondary));
  transition: color 0.3s ease;
}
.service-card:hover .service-num { color: hsl(var(--accent)); }
.service-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-sm);
}
.service-card .card-title { position: relative; margin-top: 1.5rem; }
.service-card .card-text { position: relative; flex: 1; margin-top: 0.75rem; }
.service-card .card-link { position: relative; }

/* ---------------------------------------------------------------- 9. Trust */
.trust-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.section-dark .lead { color: rgb(255 255 255 / 0.7); }
.trust-card {
  padding: 2rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 1.5rem;
  background: rgb(255 255 255 / 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.trust-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}
.trust-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgb(255 255 255 / 0.85);
}
.trust-list .icon {
  margin-top: 0.125rem;
  color: hsl(var(--primary));
}

/* ------------------------------------------------------------- 10. Process */
.process-wrap {
  position: relative;
  margin-top: 4rem;
}
.process-line { display: none; }
.process-grid {
  display: grid;
  gap: 2rem;
}
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.process-num {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 0 0 8px hsl(var(--background)),
    0 10px 15px -3px hsl(var(--primary) / 0.25),
    0 4px 6px -4px hsl(var(--primary) / 0.25);
}
.process-title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}
.process-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}

/* ----------------------------------------------------------- 11. Locations */
.locations-head { display: grid; gap: 2rem; }
.locations-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}
.location-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: #fff;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms),
    border-color 0.3s ease, box-shadow 0.3s ease;
}
.location-card.is-visible:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: var(--shadow-lg);
}
.location-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.location-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: var(--radius);
  background: hsl(var(--accent));
  color: hsl(var(--primary));
}
.location-city {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}
.location-card .card-text { flex: 1; margin-top: 1rem; }
.location-card .card-link { margin-top: 1.25rem; }

/* ------------------------------------------------------------- 12. Gallery */
.gallery-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.7), rgb(0 0 0 / 0.1) 50%, transparent);
}
.gallery-item figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  font-weight: 600;
  color: #fff;
}

/* ----------------------------------------------------------------- 13. FAQ */
.faq-inner {
  display: grid;
  gap: 3rem;
}
.faq-call {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.accordion-item {
  margin-bottom: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: #fff;
}
.accordion-item h3 { font: inherit; margin: 0; }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  text-align: left;
  color: hsl(var(--foreground));
  cursor: pointer;
}
.accordion-chevron {
  color: hsl(var(--muted-foreground));
  transition: transform 0.2s ease;
}
.accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }
.accordion-panel {
  overflow: hidden;
  height: 0;
  transition: height 0.25s ease;
}
.accordion-content {
  padding: 0 1.25rem 1rem;
  font-size: 1rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}

/* ------------------------------------------------------------- 14. Contact */
.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 2rem;
  border-radius: 1.5rem;
  background: hsl(var(--foreground));
  color: #fff;
}
.contact-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
}
.contact-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.contact-lead {
  max-width: 32rem;
  color: rgb(255 255 255 / 0.7);
}
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgb(255 255 255 / 0.7);
}
.contact-hours .icon { color: hsl(var(--primary)); }

.contact-chat {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.contact-chat .chat-pill { flex: 1 1 14rem; }

.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
a.contact-card:hover {
  border-color: rgb(255 255 255 / 0.25);
  background: rgb(255 255 255 / 0.09);
}
.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: var(--radius);
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
}
.contact-card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(255 255 255 / 0.5);
}
.contact-card-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* -------------------------------------------------------------- 15. Footer */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.4);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.footer-text {
  margin-top: 1rem;
  max-width: 20rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-list {
  display: grid;
  gap: 0.625rem;
  margin-top: 1rem;
}
.footer-contacts { gap: 0.75rem; }
.footer-list a,
.footer-list span {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}
.footer-list a:hover { color: hsl(var(--primary)); }
.footer-list .icon { color: hsl(var(--primary)); }
.footer-area {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
}
.footer-area .icon {
  margin-top: 0.25rem;
  color: hsl(var(--primary));
}

.footer-bottom { border-top: 1px solid hsl(var(--border)); }
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.5rem;
  text-align: center;
}
.footer-bottom-inner p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground) / 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-top-link:hover { color: hsl(var(--primary)); }

/* ------------------------------------------- 16. Floating quick contact CTA */
.quick-contact {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}
/* The chat buttons sit a size below the call button, which stays primary. */
.quick-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.quick-btn:hover { transform: scale(1.05); }
.quick-btn:active { transform: scale(0.95); }
.quick-btn .icon { position: relative; }

.quick-viber {
  background: hsl(var(--viber));
  box-shadow: 0 20px 25px -5px hsl(var(--viber) / 0.3),
    0 8px 10px -6px hsl(var(--viber) / 0.3);
}
.quick-whatsapp {
  background: hsl(var(--whatsapp));
  box-shadow: 0 20px 25px -5px hsl(var(--whatsapp) / 0.3),
    0 8px 10px -6px hsl(var(--whatsapp) / 0.3);
}
.call-button {
  width: 3.5rem;
  height: 3.5rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 20px 25px -5px hsl(var(--primary) / 0.3),
    0 8px 10px -6px hsl(var(--primary) / 0.3);
}
.call-ping {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.4);
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* =============================================== 17. Responsive — ≥ 640px */
@media (min-width: 640px) {
  .container { padding-inline: 2rem; }

  .hero-title { font-size: 3.75rem; }
  .hero-actions { flex-direction: row; }
  .hero-image img { height: 520px; }
  .hero-card {
    position: absolute;
    left: -2rem;
    bottom: -2rem;
    width: 300px;
    margin: 0;
  }

  .section-title { font-size: 2.25rem; }

  .problems-grid,
  .services-grid,
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .contact-panel { padding-inline: 3.5rem; }
  .contact-actions { flex-direction: row; align-items: center; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 2; }
  .footer-bottom-inner { flex-direction: row; text-align: left; }
}

/* =============================================== 18. Responsive — ≥ 768px */
@media (min-width: 768px) {
  .locations-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============================================== 19. Responsive — ≥ 1024px */
@media (min-width: 1024px) {
  .desktop-nav,
  .header-cta { display: flex; align-items: center; gap: 0.75rem; }
  .menu-toggle,
  .mobile-panel { display: none; }

  .section { padding-block: 7rem; }

  .hero-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    padding-block: 5rem;
  }

  .about-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }
  .about-media { order: 1; }
  .about-copy { order: 2; }
  .about-image img { height: 480px; }
  .about-badge { display: block; }

  .services-grid,
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

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

  .process-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
  }
  .process-line {
    display: block;
    position: absolute;
    top: 1.75rem;
    left: 0;
    right: 0;
    height: 1px;
    background: hsl(var(--border));
  }

  .locations-head {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }
  .locations-head .lead { margin-top: 0; }

  .faq-inner {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
  }

  .contact-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 1; }

  .quick-contact { display: none; }
}

/* ============================================ 20. Motion / print niceties */
@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;
    transition-delay: 0ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header,
  .quick-contact,
  .skip-link { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .accordion-panel { height: auto !important; }
  body { background: #fff; }
}
