﻿/* Restors — globālie stili, koka toņi, responsīvs */

:root {
  --color-bg: #f7f2ea;
  --color-bg-alt: #efe6d8;
  --color-ink: #1a1210;
  --color-ink-muted: #5a4a42;
  --color-accent: #8b5a2b;
  --color-accent-dark: #5c3d1e;
  --color-white: #ffffff;
  --color-scrim: rgba(18, 12, 8, 0.55);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 20px 50px rgba(26, 18, 16, 0.12);
  --shadow-soft: 0 8px 30px rgba(26, 18, 16, 0.08);
  --header-h: 92px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-white);
  color: var(--color-ink);
  border-radius: 8px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ——— Header (balta josla) ——— */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid rgba(90, 74, 66, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 20px rgba(26, 18, 16, 0.05);
  pointer-events: auto;
  transition: box-shadow var(--transition);
}

.header--solid {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 6px 28px rgba(26, 18, 16, 0.1);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  min-height: var(--header-h);
  padding: 0 min(1.5rem, 4vw);
  pointer-events: auto;
}

.nav {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
  order: 1;
}

.header__end {
  display: flex;
  align-items: center;
  gap: 0.65rem 0.9rem;
  flex-shrink: 0;
  order: 2;
}

.header__phone {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}
.header__phone:hover {
  color: var(--color-accent-dark);
}

.header__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: var(--color-ink);
  background: rgba(90, 74, 66, 0.07);
  border: 1px solid rgba(90, 74, 66, 0.12);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}
.header__social-link:hover {
  color: var(--color-accent-dark);
  background: rgba(139, 90, 43, 0.1);
  border-color: rgba(139, 90, 43, 0.22);
  transform: translateY(-1px);
}

.header__social-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.logo {
  order: 0;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  transition: transform var(--transition), opacity var(--transition);
}
.logo__img {
  display: block;
  width: auto;
  height: auto;
  max-height: 80px;
  border-radius: 4px;
  box-shadow: 0 1px 10px rgba(26, 18, 16, 0.08);
}
.logo:hover {
  transform: translateY(-1px);
}
.logo:hover .logo__img {
  opacity: 0.94;
}
.logo--footer .logo__img {
  max-height: 56px;
  box-shadow: none;
  border-radius: 3px;
  filter: brightness(1.08);
}
.logo--footer:hover .logo__img {
  opacity: 0.88;
  filter: brightness(1.15);
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.9rem;
}

.nav__link {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width var(--transition);
}
.nav__link:hover::after,
.nav__link:focus-visible::after {
  width: 100%;
}
.nav__link--cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-shadow: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.nav__link--cta::after {
  display: none;
}
.nav__link--cta:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  order: 3;
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 2;
}
.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 1px;
  transition: var(--transition);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #2a1810;
}
.hero__media[data-placeholder]::after {
  content: attr(data-placeholder);
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  font-size: 0.7rem;
  max-width: 16rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 2;
  text-align: left;
}

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

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 8, 0.4) 0%, rgba(20, 12, 8, 0.75) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: min(64rem, 100%);
  margin-left: clamp(1rem, 6vw, 5rem);
  margin-right: auto;
  padding-inline: 0.5rem;
  text-align: left;
  animation: hero-fade 1s var(--transition) both;
}

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__stat {
  font-family: var(--font);
  font-size: clamp(1rem, 1.9vw, 1.3rem);
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 0.85rem;
  max-width: 50rem;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
}

.hero__title {
  font-family: var(--font);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.95rem;
  text-wrap: balance;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
  color: #fff;
  max-width: 58rem;
}

.hero__desc {
  font-family: var(--font);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 1.4rem;
  max-width: 54rem;
  text-wrap: balance;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
}
.btn--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.btn--block {
  width: 100%;
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  animation: hero-bob 2.5s ease-in-out infinite;
}
@keyframes hero-bob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 6px);
  }
}
.hero__scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}
.section--alt {
  background: var(--color-bg-alt);
}
.section--contact {
  background: linear-gradient(180deg, var(--color-bg) 0%, #ebe2d2 100%);
}

.section__title {
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: var(--color-ink);
}
.section__lead {
  color: var(--color-ink-muted);
  max-width: 40rem;
  margin: 0;
}
.section__head {
  margin-bottom: 2.5rem;
  text-align: left;
}

/* ——— Par mums ——— */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.about__text p {
  color: var(--color-ink-muted);
  margin: 0 0 1rem;
}
.about__text p:last-of-type {
  margin-bottom: 0;
}
.about__text em {
  color: var(--color-accent-dark);
  font-style: normal;
  font-weight: 600;
}
.about__media {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: #3a2a22;
}
.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* ——— Services ——— */
.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(90, 74, 66, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #2a1810;
}
.service-card__image img,
.service-card__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition);
}
.service-card:hover .service-card__image img,
.service-card:hover .service-card__image video {
  transform: scale(1.04);
}
.service-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  padding: 1.25rem 1.25rem 0;
}
.service-card__text {
  font-size: 0.95rem;
  color: var(--color-ink-muted);
  margin: 0;
  padding: 0 1.25rem 1.5rem;
}

/* ——— Brands ——— */
.brands {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.brand-tile {
  min-height: 6rem;
}
.brand-tile__inner {
  height: 100%;
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid rgba(90, 74, 66, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), border-color var(--transition);
  position: relative;
}
.brand-tile__inner::after {
  content: "Logo: ielikt attēlu";
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  color: #a09088;
  white-space: nowrap;
}
.brand-tile__inner--logo::after {
  display: none;
}
.brand-tile__inner:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
}
.brand-tile__logo {
  width: min(82%, 190px);
  max-height: 64px;
  object-fit: contain;
  display: block;
}
.brand-tile__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0.02em;
}

/* ——— Gallery ——— */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: row dense;
  gap: 1rem;
}
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #1a120e;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition);
}
.gallery__item:hover img {
  transform: scale(1.03);
}
.gallery__lightbox-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
  font: inherit;
}
.gallery__lightbox-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__label {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.35;
  padding: 0.5rem 0.65rem;
  border-radius: 0.5rem;
  text-wrap: balance;
}
.gallery__item--wide {
  grid-column: span 4;
  aspect-ratio: 16 / 7;
}
.gallery__item--span {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 7;
  min-height: 200px;
}
.gallery__item--tall {
  grid-row: span 2;
  grid-column: span 2;
  min-height: 420px;
}
.gallery__item--video {
  min-height: 200px;
}
.gallery__item:not(.gallery__item--wide):not(.gallery__item--span):not(.gallery__item--tall) {
  grid-column: span 2;
  aspect-ratio: 1;
}

.gallery__item[data-placeholder]::before {
  content: attr(data-placeholder);
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  font-size: 0.6rem;
  line-height: 1.2;
  max-width: 10rem;
  text-align: right;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

/* ——— Lightbox ——— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(10, 7, 5, 0.88);
}
.lightbox[hidden] {
  display: none;
}
.lightbox__figure {
  margin: 0;
  max-width: min(96vw, 1100px);
  max-height: 90vh;
}
.lightbox__img {
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}
.lightbox__caption {
  margin-top: 0.75rem;
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
}
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #1a120e;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
body.lightbox-open {
  overflow: hidden;
}

/* ——— Video tile with overlay (gridasguru style) ——— */
.video-tile {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}
.video-tile--compact {
  min-height: 220px;
  aspect-ratio: 16 / 9;
}
.gallery__item--tall .video-tile {
  min-height: 100%;
  border-radius: 0;
}
.video-tile__el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-tile__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.25rem 1.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
  color: #fff;
  text-align: left;
  pointer-events: none;
}
.video-tile__overlay > * {
  pointer-events: auto;
}
.video-tile__overlay--gradient {
  background: linear-gradient(135deg, rgba(20, 12, 8, 0.25) 0%, rgba(0, 0, 0, 0.7) 100%);
}
.video-tile__tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.85;
  margin: 0 0 0.35rem;
}
.video-tile__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.video-tile__text {
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 28rem;
}
.video-tile__hint {
  display: block;
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 0.25rem;
}
.video-tile__play {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a120e;
  background: #f0e0d0;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  width: max-content;
  transition: background var(--transition), transform var(--transition);
  align-self: flex-start;
}
.video-tile__play:hover {
  background: #fff;
  transform: scale(1.02);
}
.gallery__item--tall .video-tile__title {
  font-size: 1.35rem;
}
.gallery__item--tall .video-tile__text {
  font-size: 0.9rem;
}

/* ——— Benefits ——— */
.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
}
.benefit {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid rgba(90, 74, 66, 0.1);
  box-shadow: var(--shadow-soft);
  transition: border-color var(--transition), transform var(--transition);
}
.benefit:hover {
  border-color: var(--color-accent);
  transform: translateX(4px);
}
.benefit__icon {
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
  color: var(--color-accent);
  font-size: 1.1rem;
  line-height: 1.5;
}
.benefit__title {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  font-weight: 600;
}
.benefit p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.95rem;
}

/* ——— Process ——— */
#process {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: url("../assets/process-background.jpg") center / cover no-repeat #1a120e;
}
#process::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(26, 18, 16, 0.58);
}
#process .section__title {
  color: var(--color-white);
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.45);
}
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.process__item {
  background: var(--color-white);
  border: 1px solid rgba(90, 74, 66, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.process__step {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.process__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.process__text {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.95rem;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3.5rem;
  align-items: start;
}
.contact-dl {
  margin: 1.5rem 0 0;
}
.contact-dl dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7a6a60;
  margin-top: 1rem;
}
.contact-dl dt:first-of-type {
  margin-top: 0;
}
.contact-dl dd {
  margin: 0.2rem 0 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.contact-link {
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-link:hover {
  color: var(--color-accent);
  text-decoration: underline;
}
.media-note {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: #8a7a72;
  margin-top: 0.15rem;
}
.social-label {
  margin: 1.75rem 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}
.social__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--color-ink);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  background: var(--color-white);
  border: 1px solid rgba(90, 74, 66, 0.15);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), border-color var(--transition), color var(--transition);
}
.social__btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
  transform: translateY(-2px);
}
.social__icon {
  width: 1.15rem;
  height: 1.15rem;
}
.social--footer {
  margin-top: 0.5rem;
  justify-content: center;
}
.social__btn--icononly {
  padding: 0.6rem;
  border-radius: 50%;
}
.social__btn--icononly .social__icon {
  width: 1.3rem;
  height: 1.3rem;
}

.form-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(90, 74, 66, 0.1);
  position: relative;
}
.form-card__title {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
}
.form__row {
  margin-bottom: 1.1rem;
}
.form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6a5a50;
  margin-bottom: 0.35rem;
}
.form__input,
.form__textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(90, 74, 66, 0.2);
  border-radius: 10px;
  background: #fdfcfa;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.2);
}
.form__textarea {
  resize: vertical;
  min-height: 120px;
}
.form__input--file {
  padding: 0.62rem 0.7rem;
  line-height: 1.25;
}
.form__hint {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: #7d6e64;
}
.form__status {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  min-height: 1.25rem;
  color: var(--color-accent-dark);
}
.form__status[aria-hidden="true"] {
  color: #5a4a42;
}

/* ——— Footer ——— */
.footer {
  background: #1a120e;
  color: #d4c4b4;
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem 1rem;
}
.footer__text {
  margin: 0;
  font-size: 0.9rem;
  max-width: 32rem;
}
.footer__text span {
  color: #a89888;
}
.footer__copy {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: #7a6a60;
}
.footer .logo--footer {
  color: #f0e0d0;
}
.footer .logo--footer:hover {
  color: #fff;
}
.footer .social__btn--icononly {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #f0e0d0;
}
.footer .social__btn--icononly:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--transition), transform 0.6s var(--transition);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal--delay {
  transition-delay: 0.1s;
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .hero__content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .hero__stat,
  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .about__media {
    order: -1;
    max-height: 420px;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .brands {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery__item--wide,
  .gallery__item--span {
    grid-column: 1 / -1;
  }
  .gallery__item--tall {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 360px;
  }
  .gallery__item--video {
    grid-column: 1 / -1;
  }
  .benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .nav__list {
    gap: 0.25rem 1.05rem;
  }
  .nav__link {
    font-size: 1rem;
  }
  .header__phone {
    font-size: 1.02rem;
  }
}

@media (min-width: 721px) {
  .nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .header__phone {
    font-size: 0.92rem;
  }
  .header__social-link {
    width: 2rem;
    height: 2rem;
  }
  .header__social-icon {
    width: 1rem;
    height: 1rem;
  }
  .logo__img {
    max-height: 64px;
  }
}

@media (max-width: 720px) {
  .header__inner {
    min-height: 80px;
  }
  :root {
    --header-h: 80px;
  }
  .logo__img {
    max-height: 70px;
  }

  .header__end {
    order: 1;
  }
  .nav-toggle {
    order: 2;
    display: flex;
  }
  .nav {
    order: 3;
    position: fixed;
    inset: 0 0 0 30%;
    background: #f7f2ea;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    padding: 5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 1;
  }
  .nav.is-open {
    transform: translateX(0);
  }
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav__link {
    color: var(--color-ink) !important;
    text-shadow: none;
    font-size: 1.1rem;
  }
  .nav__link--cta {
    margin-top: 0.5rem;
  }
  body.nav-open {
    overflow: hidden;
  }

  .form-card::before {
    position: static;
    display: block;
    margin-bottom: 1rem;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery__item:not(.gallery__item--span) {
    grid-column: 1;
  }
}
