:root {
  --bg: #0f0f10;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: #171719;
  --surface-soft: #f4f1eb;
  --text: #f5f5f2;
  --text-muted: rgba(245, 245, 242, 0.72);
  --text-dark: #141414;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(17, 17, 17, 0.08);
  --accent: #d98b2b;
  --accent-soft: rgba(217, 139, 43, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at top left, rgba(217, 139, 43, 0.12), transparent 28%),
    linear-gradient(180deg, #0f0f10 0%, #161616 100%);
  color: var(--text);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}

.section {
  padding: 88px 0;
}

.section--light {
  background: linear-gradient(180deg, #f5f0e8 0%, #ece7df 100%);
  color: var(--text-dark);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.section-heading h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-heading p {
  margin: 20px 0 0;
  max-width: 640px;
  color: inherit;
  opacity: 0.76;
  font-size: 1rem;
  line-height: 1.8;
}

.about-actions {
  margin-top: 28px;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 12;
  padding: 24px 0 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 16px;
}

.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nav-phone,
.nav-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  color: #ffffff;
}

.nav-phone {
  gap: 8px;
  padding: 0 16px 0 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  white-space: nowrap;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.nav-phone svg {
  flex: 0 0 auto;
}

.nav-instagram {
  width: 36px;
  flex: 0 0 36px;
  transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
}

.nav-phone:hover,
.nav-phone:focus-visible,
.nav-instagram:hover,
.nav-instagram:focus-visible {
  opacity: 0.78;
  border-color: rgba(255, 255, 255, 0.32);
}

.nav-instagram:hover,
.nav-instagram:focus-visible {
  transform: translateY(-1px);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.lang-switch__button {
  min-width: 42px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.lang-switch__button.is-active {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.nav-links {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links a {
  transition: opacity 0.25s ease, color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
  opacity: 0.72;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.28);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

.mobile-menu {
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 9, 0.56);
}

.mobile-menu__panel {
  position: absolute;
  top: 84px;
  right: 16px;
  width: min(320px, calc(100% - 32px));
  max-height: calc(100dvh - 108px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: grid;
  gap: 0;
  padding: 20px 20px 10px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 241, 234, 0.98) 100%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.mobile-menu__label {
  margin-bottom: 10px;
  color: rgba(17, 17, 17, 0.42);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mobile-menu__panel a {
  padding: 16px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  color: #111111;
  font-family: "Montserrat", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  background: transparent;
  transition: color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.mobile-menu__panel a:hover,
.mobile-menu__panel a:focus-visible {
  color: var(--accent);
  border-color: rgba(217, 139, 43, 0.28);
  transform: translateX(6px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0.02em;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease;
  cursor: pointer;
}

.button--full {
  width: 100%;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.button--accent {
  color: #111;
  background: linear-gradient(135deg, #efbf72 0%, var(--accent) 100%);
  box-shadow: 0 18px 40px rgba(217, 139, 43, 0.28);
}

.button--accent:hover,
.button--accent:focus-visible {
  box-shadow: 0 24px 50px rgba(217, 139, 43, 0.38);
}

.button--ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 112px 0 52px;
  background:
    linear-gradient(180deg, rgba(8, 8, 9, 0.32) 0%, rgba(8, 8, 9, 0.78) 100%),
    linear-gradient(90deg, rgba(8, 8, 9, 0.8) 0%, rgba(8, 8, 9, 0.24) 60%),
    url("https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -6%;
  background:
    radial-gradient(circle at 80% 30%, rgba(217, 139, 43, 0.24), transparent 20%),
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.06), transparent 28%);
  transform: scale(1.08);
  animation: hero-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, 1.5%, 0);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 11vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-copy p {
  margin: 24px 0 0;
  max-width: 560px;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 34px;
}

.about-grid,
.metrics-grid,
.contact-grid,
.contact-list {
  display: grid;
  gap: 18px;
}

.stats {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.stat-card,
.service-card,
.metric-card,
.contact-card,
.project-card {
  border-radius: var(--radius-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.stat-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.stat-card:hover,
.service-card:hover,
.metric-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.stat-value,
.metric-value {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.stat-title {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

.stat-card span,
.metric-card span {
  display: block;
  margin-top: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

.services-grid,
.advantages-grid,
.projects-grid {
  display: grid;
  gap: 18px;
}

.advantages-grid {
  margin-top: 8px;
}

.advantage-card {
  padding: 26px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(217, 139, 43, 0.24);
  background: rgba(255, 255, 255, 0.07);
}

.advantage-number {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.advantage-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1rem;
}

.service-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: left;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(217, 139, 43, 0.32);
}

.service-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.service-card--cta {
  appearance: none;
  font: inherit;
  color: #111111;
  background: linear-gradient(135deg, #efbf72 0%, var(--accent) 100%);
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(217, 139, 43, 0.22);
  cursor: pointer;
}

.service-card--cta:hover,
.service-card--cta:focus-visible {
  background: linear-gradient(135deg, #f4c77e 0%, #de8d28 100%);
  border-color: transparent;
  box-shadow: 0 24px 48px rgba(217, 139, 43, 0.32);
}

.service-card--cta .service-icon {
  background: rgba(17, 17, 17, 0.08);
  color: #111111;
}

.service-card--cta h3,
.service-card--cta p {
  color: #111111;
}

.service-card--cta .service-icon,
.service-card--cta h3,
.service-card--cta p {
  cursor: pointer;
}

.projects-grid {
  grid-auto-rows: 280px;
}

.projects-grid--collapsed .project-card--hidden {
  display: none;
}

.projects-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.button--projects {
  color: var(--text-dark);
  border-color: rgba(17, 17, 17, 0.14);
  background: rgba(255, 255, 255, 0.54);
}

.button--projects:hover,
.button--projects:focus-visible {
  border-color: rgba(17, 17, 17, 0.3);
  background: rgba(255, 255, 255, 0.82);
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 18px 45px rgba(10, 10, 10, 0.12);
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.04) 10%, rgba(12, 12, 12, 0.84) 100%);
  color: #fff;
}

.project-overlay strong {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

.project-overlay span,
.project-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.metric-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line-dark);
  box-shadow: 0 18px 40px rgba(15, 15, 16, 0.08);
}

.metric-card span {
  color: rgba(20, 20, 20, 0.68);
}

.cta-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%),
    linear-gradient(120deg, rgba(217, 139, 43, 0.16) 0%, transparent 55%);
  box-shadow: var(--shadow);
}

.cta-panel h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-wrap: balance;
}

.cta-panel p {
  margin: 20px 0 28px;
  max-width: 620px;
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-card {
  padding: 28px 0;
  border-radius: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  background: transparent;
  box-shadow: none;
}

.contact-card small {
  display: block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.48);
}

.contact-card strong {
  display: block;
  margin-bottom: 14px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.contact-card p {
  margin: 0;
  color: rgba(20, 20, 20, 0.76);
  line-height: 1.5;
  font-size: 1.05rem;
}

.contact-card p a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.3rem, 4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-align: center;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.contact-card p a:hover,
.contact-card p a:focus-visible {
  color: var(--accent);
  opacity: 0.9;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 18px;
}

.contact-social,
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(20, 20, 20, 0.72);
  font-size: 0.95rem;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.contact-social {
  font-weight: 600;
}

.contact-email {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.contact-social:hover,
.contact-social:focus-visible,
.contact-email:hover,
.contact-email:focus-visible {
  color: #111111;
  opacity: 0.9;
}

.contact-actions {
  margin-top: 28px;
}

.site-footer {
  padding: 22px 0 34px;
  color: rgba(245, 245, 242, 0.56);
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 9, 0.72);
  backdrop-filter: blur(10px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f3ed 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  color: var(--text-dark);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.06);
  color: var(--text-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.9rem, 7vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.modal-text {
  margin: 16px 0 24px;
  color: rgba(20, 20, 20, 0.68);
  line-height: 1.8;
}

.project-modal {
  padding: 20px;
}

.project-modal__dialog {
  width: min(100%, 1080px);
  padding: 16px;
  background: rgba(15, 15, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.project-modal__dialog .modal-close {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.project-modal__figure {
  margin: 0;
}

.project-modal__figure img {
  display: block;
  width: 100%;
  max-height: min(76vh, 920px);
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.project-modal__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  padding: 18px 6px 6px;
}

.project-modal__caption span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-modal__caption strong {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.88rem;
  color: rgba(20, 20, 20, 0.8);
}

.field input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-dark);
  font: inherit;
}

.field input::placeholder {
  color: rgba(20, 20, 20, 0.36);
}

.field input:focus {
  outline: none;
  border-color: rgba(217, 139, 43, 0.72);
  box-shadow: 0 0 0 4px rgba(217, 139, 43, 0.14);
}

.field input.is-invalid {
  border-color: rgba(190, 50, 50, 0.52);
  box-shadow: 0 0 0 4px rgba(190, 50, 50, 0.1);
}

.form-status {
  min-height: 24px;
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: #efbf72;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(calc(100% - 36px), 420px);
  padding: 16px 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-dark);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

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

.toast__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #111111;
  font-weight: 800;
}

.toast p {
  margin: 0;
  color: rgba(20, 20, 20, 0.82);
  font-weight: 600;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

body.menu-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 680px) {
  .container {
    width: min(calc(100% - 56px), var(--container));
  }

  .hero-copy h1 {
    line-height: 0.9;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .services-grid,
  .advantages-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  .nav {
    justify-content: center;
  }

  .nav-toggle,
  .mobile-menu {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .nav-tools {
    position: absolute;
    right: 28px;
  }

  .section-heading h2,
  .section-heading h3 {
    max-width: 12ch;
  }

  .hero {
    padding: 128px 0 64px;
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }

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

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

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

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

  .projects-grid .project-card:nth-child(1),
  .projects-grid .project-card:nth-child(4) {
    grid-row: span 2;
    min-height: 578px;
  }

  .metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 919px) {
  .nav {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 12px;
  }

  .nav-tools {
    order: 1;
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .nav-toggle {
    order: 2;
    margin-left: auto;
  }

  .nav-meta {
    justify-content: flex-end;
    margin-left: auto;
  }

  .nav-phone {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
  }
}

@media (min-width: 1160px) {
  .section {
    padding: 110px 0;
  }

  .service-card {
    padding: 30px;
  }

  .cta-panel {
    padding: 42px;
  }
}
