/* Сантехкоммун — utility / trustworthy local service */
:root {
  --teal-950: #06262c;
  --teal-900: #0b3a42;
  --teal-800: #0f4a54;
  --teal-700: #15606c;
  --teal-100: #d8ecef;
  --teal-50: #eef6f7;
  --amber-600: #c4782a;
  --amber-500: #d4893a;
  --amber-400: #e09a4f;
  --amber-50: #faf3ea;
  --slate-900: #1a2428;
  --slate-700: #3d4a50;
  --slate-600: #5a6a72;
  --slate-400: #8a9aa3;
  --slate-200: #d4dce0;
  --slate-100: #e8eef0;
  --slate-50: #f4f7f8;
  --white: #ffffff;
  --danger: #b33a2e;
  --success: #1a7a4c;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shadow-soft: 0 8px 32px rgba(11, 58, 66, 0.08);
  --radius: 12px;
  --header-h: 68px;
  --callbar-h: 64px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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: 1.0625rem;
  line-height: 1.65;
  color: var(--slate-900);
  background-color: var(--slate-50);
  background-image:
    radial-gradient(ellipse 120% 80% at 10% -20%, rgba(21, 96, 108, 0.07), transparent 50%),
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(196, 120, 42, 0.05), transparent 45%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 48px,
      rgba(11, 58, 66, 0.015) 48px,
      rgba(11, 58, 66, 0.015) 49px
    );
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
  min-height: 100vh;
}

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

a {
  color: var(--teal-800);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--amber-600);
}

:focus-visible {
  outline: 3px solid var(--amber-400);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: var(--teal-900);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header / Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 58, 66, 0.08);
  height: var(--header-h);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--teal-900);
  text-decoration: none;
  line-height: 1.2;
  min-width: 0;
}

.logo img {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.logo > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo > span > span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--slate-600);
  margin-top: 0.1rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--teal-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
  box-shadow: var(--shadow-soft);
  padding: 1rem 0 1.5rem;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ease), opacity 0.3s ease, visibility 0.3s;
  max-height: calc(100vh - var(--header-h) - var(--callbar-h));
  overflow-y: auto;
}

.site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-nav a {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--slate-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 8px;
  min-height: 44px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--teal-50);
  color: var(--teal-900);
}

.header-phones {
  display: none;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--amber-600);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(196, 120, 42, 0.35);
  animation: cta-pulse 2.8s ease-in-out infinite;
}

.btn-primary:hover {
  background: var(--amber-500);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--teal-900);
  border-color: var(--teal-900);
}

.btn-secondary:hover {
  background: var(--teal-900);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--teal-900);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(196, 120, 42, 0.35); }
  50% { box-shadow: 0 4px 28px rgba(196, 120, 42, 0.55); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(145deg, var(--teal-950) 0%, var(--teal-900) 42%, var(--teal-800) 78%, #1a5560 100%);
  padding: 3rem 0 4rem;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1.5'%3E%3Cpath d='M10 60h30M80 60h30M60 10v30M60 80v30'/%3E%3Ccircle cx='60' cy='60' r='14'/%3E%3Ccircle cx='60' cy='60' r='6'/%3E%3Cpath d='M40 40l-12-12M80 40l12-12M40 80l-12 12M80 80l12 12'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -40%;
  width: 70%;
  height: 90%;
  background: radial-gradient(circle, rgba(196, 120, 42, 0.22) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  color: var(--white);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 4.5vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 1rem;
  max-width: 22ch;
  color: rgba(255, 255, 255, 0.95);
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.hero-meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-meta strong {
  color: var(--white);
  font-weight: 700;
}

/* —— Page hero (inner) —— */
.page-hero {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(160deg, var(--teal-50) 0%, var(--slate-50) 100%);
  border-bottom: 1px solid rgba(11, 58, 66, 0.06);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--teal-900);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.page-hero .lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--slate-600);
  max-width: 52ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.breadcrumb a {
  color: var(--teal-700);
  text-decoration: none;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: var(--slate-400);
}

/* —— Sections —— */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(11, 58, 66, 0.04);
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--teal-900);
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.section-head p {
  margin: 0;
  color: var(--slate-600);
  font-size: 1.05rem;
}

/* —— Service list (not cards clutter) —— */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(11, 58, 66, 0.1);
}

.service-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(11, 58, 66, 0.1);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.25s var(--ease);
}

.service-list a:hover {
  padding-left: 0.5rem;
}

.service-list h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: var(--teal-900);
}

.service-list p {
  margin: 0.35rem 0 0;
  grid-column: 1 / -1;
  color: var(--slate-600);
  font-size: 0.95rem;
}

.service-list .price {
  font-weight: 700;
  color: var(--amber-600);
  white-space: nowrap;
  font-size: 0.95rem;
}

/* —— Trust / facts strip —— */
.facts {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.fact {
  padding-left: 1rem;
  border-left: 3px solid var(--amber-600);
}

.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--teal-900);
  margin-bottom: 0.25rem;
}

.fact span {
  color: var(--slate-600);
  font-size: 0.95rem;
}

/* —— Prose —— */
.prose {
  max-width: 65ch;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--teal-900);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  font-size: 1.15rem;
  color: var(--teal-800);
  margin: 1.5rem 0 0.5rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--slate-700);
}

.prose ul,
.prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--slate-700);
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose li::marker {
  color: var(--amber-600);
}

/* —— Price table —— */
.price-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  min-width: 280px;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid rgba(11, 58, 66, 0.1);
  vertical-align: top;
}

.price-table th {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-600);
  background: var(--teal-50);
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--teal-900);
  white-space: nowrap;
}

.price-table tbody tr:hover td {
  background: rgba(238, 246, 247, 0.6);
}

.price-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--slate-600);
}

/* —— Reviews —— */
.reviews-grid {
  display: grid;
  gap: 1.5rem;
}

.review {
  padding: 0;
  border: none;
  background: transparent;
  border-top: 1px solid rgba(11, 58, 66, 0.12);
  padding-top: 1.5rem;
}

.review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.review-author {
  font-weight: 700;
  color: var(--teal-900);
}

.review-meta {
  font-size: 0.85rem;
  color: var(--slate-600);
}

.review-stars {
  color: var(--amber-600);
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.review-text {
  margin: 0;
  color: var(--slate-700);
}

.reviews-aggregate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(11, 58, 66, 0.1);
}

.reviews-score {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal-900);
  line-height: 1;
}

.reviews-aggregate p {
  margin: 0;
  color: var(--slate-600);
}

.reviews-status {
  color: var(--slate-600);
  font-size: 0.95rem;
}

.reviews-status.is-error {
  color: var(--danger);
}

/* —— FAQ —— */
.faq {
  max-width: 40rem;
}

.faq details {
  border-bottom: 1px solid rgba(11, 58, 66, 0.12);
  padding: 0.25rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--teal-900);
  padding: 1rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--amber-600);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0 0 1.15rem;
  color: var(--slate-700);
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-block h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--teal-900);
  margin: 0 0 1rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1rem;
}

.contact-list .label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-600);
  margin-bottom: 0.2rem;
}

.contact-list a {
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--teal-900);
}

.contact-list a:hover {
  color: var(--amber-600);
}

.map-embed-wrap {
  width: 100%;
  aspect-ratio: 16 / 12;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--slate-100);
}

.map-embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
}

/* —— Forms —— */
.form {
  display: grid;
  gap: 1.15rem;
  max-width: 28rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--slate-900);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid rgba(11, 58, 66, 0.2);
  border-radius: 8px;
  background: var(--white);
  color: var(--slate-900);
  transition: border-color 0.2s ease;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--teal-700);
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 96, 108, 0.15);
}

.form-field .error {
  display: none;
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.form-field.is-invalid .error {
  display: block;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: var(--danger);
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: rgba(26, 122, 76, 0.08);
  border-left: 3px solid var(--success);
  color: var(--success);
  font-weight: 600;
  border-radius: 0 8px 8px 0;
}

.form-success.is-visible {
  display: block;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--slate-600);
  margin: 0;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.35rem 0.75rem;
  align-items: start;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--teal-800);
}

.checkbox-field label {
  font-weight: 500;
  font-size: 0.9rem;
}

.checkbox-field .error {
  grid-column: 2;
}

/* —— CTA band —— */
.cta-band {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  color: var(--white);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='18' fill='none' stroke='%23fff' stroke-opacity='0.05' stroke-width='2'/%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  margin: 0 0 0.65rem;
  position: relative;
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 36ch;
  position: relative;
}

.cta-band .btn-group {
  position: relative;
}

/* —— Works gallery placeholders —— */
.works-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.work-item {
  display: grid;
  gap: 0.75rem;
}

.work-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, var(--teal-800), var(--teal-900)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M5 30h20M35 30h20M30 5v20M30 35v20' fill='none' stroke='%23fff' stroke-opacity='0.12' stroke-width='2'/%3E%3Ccircle cx='30' cy='30' r='8' fill='none' stroke='%23fff' stroke-opacity='0.15' stroke-width='2'/%3E%3C/svg%3E");
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
  overflow: hidden;
  position: relative;
}

.work-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-visual .work-label {
  position: relative;
  z-index: 1;
  background: rgba(6, 38, 44, 0.72);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

.work-item h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--teal-900);
}

.work-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--slate-600);
}

/* —— Sticky call bar —— */
.call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--teal-900);
  box-shadow: 0 -4px 24px rgba(6, 38, 44, 0.25);
}

.call-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  min-height: 44px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.call-bar a:last-child {
  border-right: none;
  background: var(--amber-600);
}

.call-bar a:hover {
  color: var(--white);
  filter: brightness(1.08);
}

.call-bar .call-label {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.8;
}

/* —— Footer —— */
.site-footer {
  background: var(--teal-950);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.site-footer h2 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--amber-400);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 0.5rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-phones a {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

/* —— Reveal animation —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* —— Misc —— */
.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;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.hours-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--amber-50);
  color: var(--amber-600);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 6px;
}

/* —— Tablet+ —— */
@media (min-width: 640px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 4.5rem 0 5rem;
  }
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .call-bar {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-height: none;
    overflow: visible;
  }

  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.15rem;
    align-items: center;
  }

  .site-nav a {
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
  }

  .header-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
    flex-shrink: 0;
  }

  .header-phones a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--teal-900);
    text-decoration: none;
    white-space: nowrap;
  }

  .header-phones a:hover {
    color: var(--amber-600);
  }

  .header-inner {
    gap: 1.5rem;
  }

  .logo {
    flex-shrink: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }

  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .map-embed {
    aspect-ratio: 16 / 11;
  }
}

@media (min-width: 1100px) {
  .site-nav a {
    padding: 0.5rem 0.75rem;
  }
}
