/* css/style.css */
:root {
  /* Colors - Dark Loft & Warm Wood */
  --bg-dark: #12100f;
  --bg-darker: #090909;
  --bg-card: #1a1715;

  --wood-light: #c99657;
  --wood-accent: #e8d8c4;
  --wood-dark: #8f623b;
  --brand-accent: #bc3125;

  --text-main: #f7f3ee;
  --text-muted: #a89f95;

  --error: #cc3333;

  /* Typography */
  --font-base: 'Montserrat', sans-serif;
  --font-heading: 'Roboto Slab', serif;
  --font-ui: 'Oswald', sans-serif;

  /* General */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

main > section + section {
  margin-top: 2rem;
}

.quick-links {
  padding: 1.6rem 0 0.4rem;
  background: linear-gradient(180deg, rgba(18, 16, 15, 0.94) 0%, rgba(18, 16, 15, 0.68) 100%);
}

.quick-links__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.quick-links__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(201, 150, 87, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(247, 243, 238, 0.86);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
}

.quick-links__link:hover {
  color: #ffffff;
  border-color: rgba(232, 216, 196, 0.5);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--wood-light);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--wood-accent);
  margin: 1rem auto 0;
}

.section-title--left {
  text-align: left;
}

.section-title--left::after {
  margin: 1rem 0 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn--primary {
  background-color: var(--wood-light);
  color: var(--bg-darker);
}

.btn--primary:hover {
  background-color: var(--wood-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

.btn--hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.btn--hero-secondary:hover {
  border-color: var(--wood-accent);
  color: var(--wood-accent);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(57, 53, 50, 0.94);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.header::after {
  content: '';
  position: absolute;
  inset: 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.header__container {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
  color: var(--text-main);
  min-width: max-content;
}

.logo__mark {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d53d31 0%, #9f1e17 100%);
  box-shadow: 0 10px 24px rgba(188, 49, 37, 0.32);
  overflow: hidden;
}

.logo__mark::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-left-color: transparent;
  transform: rotate(-28deg);
}

.logo__mark-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  color: #fff8f4;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logo__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.logo__subtitle {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--wood-accent);
}

.logo--hero {
  justify-content: center;
  gap: 22px;
}

.logo--hero .logo__mark {
  width: 116px;
  height: 116px;
}

.logo--hero .logo__mark::before {
  inset: 14px;
}

.logo--hero .logo__mark-text {
  font-size: 2rem;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
}

.logo--hero .logo__text {
  align-items: flex-start;
  gap: 8px;
}

.logo--hero .logo__title {
  font-size: clamp(2.8rem, 5vw, 4.15rem);
}

.logo--hero .logo__subtitle {
  font-size: 1rem;
  letter-spacing: 0.28em;
}

.nav__list {
  display: flex;
  gap: clamp(18px, 2vw, 44px);
  align-items: center;
}

.nav {
  display: flex;
  justify-self: center;
  align-items: center;
}

.nav__link {
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f6f1eb;
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--wood-accent);
}

.header__phone {
  justify-self: end;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
  color: #ffffff;
  transition: var(--transition);
}

.header__phone:hover {
  color: var(--wood-accent);
}

.header__phone--mobile {
  display: none;
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background-color: #f6f1eb;
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 0 110px;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.58) 0%, rgba(8, 8, 8, 0.32) 40%, rgba(8, 8, 8, 0.7) 100%),
    url('../public/images/hero-bg.png') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1;
  pointer-events: none;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47, 38, 31, 0.28) 0%, rgba(10, 10, 10, 0.08) 24%, rgba(6, 6, 6, 0.52) 100%);
  z-index: 1;
}

.hero__grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.6px, transparent 0.7px);
  background-size: 6px 6px;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  z-index: 1;
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__brand {
  margin-bottom: 36px;
}

.hero__eyebrow {
  margin-bottom: 18px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--wood-accent);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4.8vw, 4.3rem);
  font-weight: 800;
  color: #fbf7f2;
  margin-bottom: 1.25rem;
  line-height: 1.18;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.hero__subtitle {
  max-width: 760px;
  font-size: 1.18rem;
  color: rgba(244, 238, 230, 0.86);
  margin-bottom: 2.2rem;
  font-weight: 400;
}

.hero__form {
  width: 100%;
  margin-bottom: 0.85rem;
}

.hero-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(280px, 1.2fr);
  gap: 18px;
  align-items: stretch;
  width: 100%;
  padding: 20px;
  background: rgba(66, 61, 58, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.hero-form__field {
  position: relative;
  display: flex;
  min-height: 82px;
  padding: 0 24px;
  background: #f7f6f4;
  border: 2px solid transparent;
  border-radius: 22px;
  transition: var(--transition);
}

.hero-form__field:hover {
  border-color: rgba(79, 150, 231, 0.45);
}

.hero-form__field:focus-within,
.hero-form__field.is-active {
  border-color: #4d97e6;
  box-shadow: 0 0 0 4px rgba(77, 151, 230, 0.16);
}

.hero-form__label {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #816e60;
  pointer-events: none;
  transition: var(--transition);
}

.hero-form__input {
  width: 100%;
  height: 100%;
  padding: 29px 0 10px;
  border: none;
  background: transparent;
  color: #111111;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.2;
  outline: none;
  appearance: textfield;
}

.hero-form__input::placeholder {
  color: transparent;
}

.hero-form__input:focus + .hero-form__label,
.hero-form__input:not(:placeholder-shown) + .hero-form__label,
.hero-form__field.is-active .hero-form__label {
  top: 19px;
  transform: translateY(0);
  font-size: 0.8rem;
  color: #5d8fca;
}

.hero-form__submit {
  min-height: 82px;
  padding: 20px 28px;
  border: none;
  border-radius: 22px;
  background: linear-gradient(135deg, #de2629 0%, #bf191d 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 16px 32px rgba(191, 25, 29, 0.28);
}

.hero-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(191, 25, 29, 0.4);
}

.hero-form__submit:active {
  transform: translateY(0);
}

.hero-form__submit:disabled {
  cursor: wait;
  opacity: 0.8;
  transform: none;
  box-shadow: 0 12px 24px rgba(191, 25, 29, 0.2);
}

.hero-form__status {
  min-height: 24px;
  margin-bottom: 1.1rem;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-form__status.is-success {
  color: #dbf3c3;
}

.hero-form__status.is-error {
  color: #ffc2c2;
}

.hero-form__input::-webkit-outer-spin-button,
.hero-form__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero__fact {
  position: relative;
  padding: 12px 18px 12px 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 12, 12, 0.34);
  backdrop-filter: blur(6px);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__fact::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wood-light);
  box-shadow: 0 0 0 6px rgba(201, 150, 87, 0.14);
  transform: translateY(-50%);
}

.lead-form {
  background: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(15px);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(212, 163, 115, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.lead-form__input, .lead-form__select {
  flex: 1;
  min-width: 200px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(18, 18, 18, 0.8);
  color: var(--text-main);
  border-radius: var(--border-radius);
  font-family: var(--font-base);
  outline: none;
  transition: var(--transition);
}

.lead-form__input:focus, .lead-form__select:focus {
  border-color: var(--wood-light);
}

.lead-form .btn {
  flex: 1;
  min-width: 200px;
}

/* Services */
.services {
  padding: 6rem 0;
  background-color: var(--bg-darker);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  display: block;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--wood-light);
  box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}

.service-card__image {
  position: relative;
  height: 250px;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__overlay {
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: linear-gradient(to top, rgba(12,12,12,0.72), rgba(12,12,12,0.08) 52%, transparent);
}

.service-card__content {
  padding: 2rem;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--wood-accent);
  margin-bottom: 1rem;
}

.service-card__desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-card__link {
  color: var(--wood-light);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Advantages */
.advantages {
  padding: 5rem 0 5.5rem;
  background-color: var(--bg-dark);
}

.advantages__container {
  max-width: 1040px;
}

.advantages__lead {
  max-width: 760px;
  margin: -0.8rem auto 2.3rem;
  text-align: center;
  color: var(--text-muted);
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.advantage-item {
  text-align: center;
  padding: 1.8rem 1.7rem 1.7rem;
  min-height: 238px;
  border: 1px solid rgba(201, 150, 87, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.advantage-item:hover {
  border-color: rgba(201, 150, 87, 0.42);
  background: var(--bg-card);
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.advantage-item__ornament {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-item__ornament::before,
.advantage-item__ornament::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 150, 87, 0.34);
}

.advantage-item__ornament::after {
  inset: 10px;
  border-color: rgba(232, 216, 196, 0.2);
}

.advantage-item__crest {
  position: relative;
  width: 26px;
  height: 26px;
  border: 1.8px solid var(--wood-light);
  transform: rotate(45deg);
}

.advantage-item__crest::before,
.advantage-item__crest::after {
  content: '';
  position: absolute;
  background: var(--wood-accent);
}

.advantage-item__ornament--production .advantage-item__crest {
  border-radius: 50%;
  transform: none;
}

.advantage-item__ornament--production .advantage-item__crest::before {
  width: 18px;
  height: 1.8px;
  left: 3px;
  top: 12px;
}

.advantage-item__ornament--production .advantage-item__crest::after {
  width: 1.8px;
  height: 18px;
  left: 12px;
  top: 3px;
}

.advantage-item__ornament--timing .advantage-item__crest::before {
  width: 2px;
  height: 16px;
  left: 11px;
  top: 2px;
  transform: rotate(-45deg);
  transform-origin: center bottom;
}

.advantage-item__ornament--timing .advantage-item__crest::after {
  width: 12px;
  height: 2px;
  left: 11px;
  top: 12px;
}

.advantage-item__ornament--material .advantage-item__crest {
  width: 22px;
  height: 30px;
  border-radius: 50% 0 50% 50%;
  transform: rotate(45deg);
}

.advantage-item__ornament--material .advantage-item__crest::before {
  width: 2px;
  height: 18px;
  left: 10px;
  top: 5px;
  transform: rotate(-45deg);
}

.advantage-item__ornament--material .advantage-item__crest::after {
  width: 10px;
  height: 2px;
  left: 6px;
  top: 16px;
  transform: rotate(-45deg);
}

.advantage-item__ornament--contract .advantage-item__crest {
  width: 24px;
  height: 30px;
  border-radius: 6px 6px 10px 10px;
  transform: none;
}

.advantage-item__ornament--contract .advantage-item__crest::before {
  width: 14px;
  height: 2px;
  left: 4px;
  top: 9px;
}

.advantage-item__ornament--contract .advantage-item__crest::after {
  width: 14px;
  height: 2px;
  left: 4px;
  top: 17px;
}

.advantage-item__title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  color: var(--wood-light);
  margin-bottom: 0.7rem;
  line-height: 1.25;
}

.advantage-item__desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 320px;
  margin: 0 auto;
}

/* Portfolio */
.portfolio {
  position: relative;
  padding: 5.6rem 0 6rem;
  background:
    radial-gradient(circle at top center, rgba(201, 150, 87, 0.08) 0%, transparent 34%),
    linear-gradient(180deg, #0d0b0a 0%, #090909 100%);
}

.portfolio__container {
  position: relative;
}

.portfolio__header {
  max-width: 880px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.portfolio__eyebrow {
  margin-bottom: 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wood-accent);
}

.portfolio__lead {
  max-width: 760px;
  margin: -0.6rem auto 0;
  color: var(--text-muted);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-showcase {
  appearance: none;
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 480px;
  padding: 0;
  border: 1px solid rgba(201, 150, 87, 0.18);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.02) 100%),
    #14110f;
  color: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  transition: var(--transition);
}

.portfolio-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.18) 0%, rgba(7, 7, 7, 0.42) 38%, rgba(7, 7, 7, 0.88) 100%);
  pointer-events: none;
}

.portfolio-showcase:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 150, 87, 0.42);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.46);
}

.portfolio-showcase:focus-visible {
  outline: 2px solid rgba(255, 248, 241, 0.9);
  outline-offset: 6px;
}

.portfolio-showcase__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.portfolio-showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.76);
  transition: transform 0.8s ease, filter 0.4s ease;
}

.portfolio-showcase:hover .portfolio-showcase__media img {
  transform: scale(1.08);
  filter: saturate(0.92) brightness(0.84);
}

.portfolio-showcase__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  width: 100%;
  min-height: 480px;
  padding: 30px 28px;
  position: relative;
  z-index: 2;
}

.portfolio-showcase__badge {
  align-self: flex-start;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff2e1;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-showcase__title {
  font-family: var(--font-heading);
  font-size: 1.74rem;
  line-height: 1.14;
  color: #ffffff;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
}

.portfolio-showcase__text {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.84);
}

.portfolio-showcase__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-showcase__meta span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
}

.portfolio-showcase__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.portfolio-showcase__count {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-showcase__cta {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.overlay--gallery {
  z-index: 2100;
}

.modal__content--gallery {
  width: min(1080px, 100%);
}

.portfolio-gallery {
  padding: 56px 54px 44px;
}

.portfolio-gallery__header {
  max-width: 760px;
  margin-bottom: 22px;
}

.portfolio-gallery__eyebrow {
  margin-bottom: 12px;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wood-light);
}

.portfolio-gallery__title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.08;
  color: #fff9f3;
  margin-bottom: 0.8rem;
}

.portfolio-gallery__lead {
  color: rgba(247, 243, 238, 0.76);
  font-size: 1.02rem;
}

.portfolio-gallery__stage {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.portfolio-gallery__frame {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  background: #0b0908;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.portfolio-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b0908;
}

.portfolio-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 9, 8, 0.72);
  color: #fff7ee;
  font-size: 1.4rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: var(--transition);
}

.portfolio-gallery__nav:hover {
  background: rgba(201, 150, 87, 0.18);
  color: #ffffff;
}

.portfolio-gallery__nav:disabled {
  opacity: 0.42;
  cursor: default;
}

.portfolio-gallery__nav--prev {
  left: 20px;
}

.portfolio-gallery__nav--next {
  right: 20px;
}

.portfolio-gallery__footer {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.portfolio-gallery__meta {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.portfolio-gallery__counter {
  color: var(--wood-light);
  font-family: var(--font-ui);
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.portfolio-gallery__caption {
  color: rgba(247, 243, 238, 0.78);
}

.portfolio-gallery__request {
  width: 100%;
  min-width: 250px;
  justify-content: center;
}

.portfolio-gallery__cta {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.portfolio-gallery__prompt {
  color: rgba(247, 243, 238, 0.76);
  font-size: 0.98rem;
  max-width: 620px;
}

.portfolio__footer {
  margin-top: 2rem;
  padding: 26px 28px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background:
    linear-gradient(135deg, rgba(201, 150, 87, 0.14) 0%, rgba(188, 49, 37, 0.1) 100%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 150, 87, 0.18);
}

.portfolio__note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 720px;
  color: rgba(247, 243, 238, 0.82);
}

.portfolio__note-mark {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 3px;
  border: 1px solid rgba(201, 150, 87, 0.55);
  transform: rotate(45deg);
}

.portfolio__note-mark::before,
.portfolio__note-mark::after {
  content: '';
  position: absolute;
  background: var(--wood-accent);
}

.portfolio__note-mark::before {
  top: 8px;
  left: 3px;
  width: 12px;
  height: 1px;
}

.portfolio__note-mark::after {
  top: 3px;
  left: 8px;
  width: 1px;
  height: 12px;
}

/* Contacts */
.contacts {
  padding: 6rem 0;
  background-color: var(--bg-dark);
}

.contacts__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contacts__list li {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.contacts__label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.contacts__val {
  font-size: 1.5rem;
  color: var(--wood-accent);
  font-family: var(--font-heading);
}

/* Footer */
.footer {
  background-color: #050505;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Modals */
.overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal__content {
  width: min(1080px, 100%);
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(34, 30, 27, 0.98) 0%, rgba(18, 16, 15, 0.98) 100%);
  transform: translateY(30px) scale(0.98);
  transition: var(--transition);
  border: 1px solid rgba(212, 163, 115, 0.24);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.overlay.active .modal__content {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text-main);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal__close:hover {
  color: var(--wood-light);
  border-color: rgba(212, 163, 115, 0.4);
  background: rgba(8, 8, 8, 0.84);
}

.modal-page {
  display: flex;
  flex-direction: column;
}

.modal-page__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: 380px;
}

.modal-page__intro {
  padding: 52px 52px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(201, 150, 87, 0.14) 0%, transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.modal-page__media {
  position: relative;
  min-height: 100%;
  background: #131110;
}

.modal-page__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 17, 15, 0.08) 0%, rgba(20, 17, 15, 0.68) 100%);
}

.modal-page__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-page__eyebrow {
  margin-bottom: 16px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wood-light);
}

.modal-page__title {
  font-family: var(--font-heading);
  color: #fffaf4;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.modal-page__lead {
  max-width: 540px;
  color: rgba(247, 243, 238, 0.8);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.modal-page__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-page__chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  color: #f7f3ee;
}

.modal-page__section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 34px 52px 0;
}

.modal-page__panel {
  padding: 26px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-page__heading {
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  color: var(--wood-accent);
  font-size: 1.35rem;
}

.modal-page__list {
  display: grid;
  gap: 0.85rem;
}

.modal-page__list li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(247, 243, 238, 0.86);
}

.modal-page__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--wood-light);
}

.modal-page__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 52px 0;
}

.modal-page__card {
  padding: 24px 24px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-page__card-title {
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
  color: #fff5ea;
  font-size: 1.18rem;
}

.modal-page__card-text {
  color: var(--text-muted);
}

.modal-page__cta {
  margin: 24px 52px 52px;
  padding: 28px 30px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(201, 150, 87, 0.16) 0%, rgba(188, 49, 37, 0.12) 100%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 150, 87, 0.2);
}

.modal-page__cta-copy {
  max-width: 620px;
}

.modal-page__cta-title {
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: #fff8f2;
}

.modal-page__cta-text {
  color: rgba(247, 243, 238, 0.78);
}

.overlay--request {
  z-index: 2200;
  align-items: center;
}

.modal__content--request {
  width: min(640px, 100%);
  border-radius: 24px;
  background: #f6f2ee;
  border: 1px solid rgba(112, 100, 91, 0.18);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

.modal__close--light {
  background: rgba(255, 255, 255, 0.92);
  color: #302a26;
  border-color: rgba(46, 41, 37, 0.12);
}

.modal__close--light:hover {
  color: #b71f23;
  border-color: rgba(183, 31, 35, 0.24);
  background: #ffffff;
}

.request-modal {
  padding: 56px 44px 42px;
}

.request-modal__title {
  margin-bottom: 0.7rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  color: #191513;
}

.request-modal__caption {
  margin-bottom: 1.8rem;
  text-align: center;
  color: #7a7068;
  font-size: 1rem;
}

.request-form {
  display: grid;
  gap: 18px;
}

.request-form__field {
  position: relative;
  display: flex;
  min-height: 90px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid rgba(76, 67, 59, 0.2);
  background: rgba(255, 255, 255, 0.96);
  transition: var(--transition);
}

.request-form__field--textarea {
  min-height: 178px;
}

.request-form__field:hover {
  border-color: rgba(183, 31, 35, 0.26);
}

.request-form__field:focus-within,
.request-form__field.is-active {
  border-color: rgba(207, 32, 39, 0.72);
  box-shadow: 0 0 0 4px rgba(207, 32, 39, 0.08);
}

.request-form__control {
  width: 100%;
  height: 100%;
  padding: 30px 0 12px;
  border: none;
  background: transparent;
  color: #161210;
  font-family: var(--font-heading);
  font-size: 1.26rem;
  line-height: 1.2;
  outline: none;
  appearance: none;
  resize: none;
}

.request-form__control--textarea {
  min-height: 178px;
  padding-top: 34px;
}

.request-form__control::placeholder {
  color: transparent;
}

.request-form__label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #8e857d;
  font-size: 1rem;
  font-family: var(--font-heading);
  pointer-events: none;
  transition: var(--transition);
}

.request-form__field--textarea .request-form__label {
  top: 32px;
  transform: none;
}

.request-form__control:focus + .request-form__label,
.request-form__control:not(:placeholder-shown) + .request-form__label,
.request-form__field.is-active .request-form__label {
  top: 16px;
  transform: none;
  font-size: 0.8rem;
  color: #c31f25;
}

.request-form__submit {
  min-height: 66px;
  margin-top: 8px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #de2629 0%, #bf191d 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 16px 30px rgba(191, 25, 29, 0.24);
}

.request-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(191, 25, 29, 0.34);
}

.request-form__submit:disabled {
  cursor: wait;
  opacity: 0.84;
  transform: none;
  box-shadow: 0 12px 20px rgba(191, 25, 29, 0.16);
}

.request-form__status {
  min-height: 24px;
  margin-top: 14px;
  text-align: center;
  color: #726961;
}

.request-form__status.is-success {
  color: #1f7a37;
}

.request-form__status.is-error {
  color: #b71f23;
}

/* Media Queries */
@media (max-width: 1100px) {
  .header__container {
    gap: 22px;
  }

  .nav__list {
    gap: 18px;
  }

  .header__phone {
    font-size: 1.05rem;
  }
}

@media (max-width: 992px) {
  .header__container {
    gap: 20px;
  }

  .logo--hero .logo__title {
    font-size: 3rem;
  }

  .logo--hero .logo__subtitle {
    font-size: 0.9rem;
  }

  .hero-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-form__submit {
    grid-column: 1 / -1;
  }

  .overlay {
    padding: 18px;
  }

  .modal-page__hero {
    grid-template-columns: 1fr;
  }

  .modal-page__media {
    order: -1;
    min-height: 300px;
  }

  .modal-page__intro,
  .modal-page__section,
  .modal-page__cards {
    padding-left: 32px;
    padding-right: 32px;
  }

  .modal-page__intro {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .modal-page__section {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .modal-page__cards {
    grid-template-columns: 1fr;
  }

  .modal-page__cta {
    margin: 24px 32px 32px;
    flex-direction: column;
    align-items: flex-start;
  }

  .request-modal {
    padding: 48px 32px 32px;
  }

  .advantages__lead {
    margin-bottom: 1.9rem;
  }

  .portfolio__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-showcase:first-child {
    grid-column: 1 / -1;
  }

  .portfolio-showcase,
  .portfolio-showcase__body {
    min-height: 440px;
  }

  .portfolio__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-gallery {
    padding: 48px 32px 32px;
  }

  .portfolio-gallery__stage,
  .portfolio-gallery__meta,
  .portfolio-gallery__cta {
    max-width: 100%;
  }

  .advantage-item {
    min-height: 224px;
    padding: 1.55rem 1.3rem;
  }

  .contacts__container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .quick-links {
    padding-top: 1.2rem;
  }

  .quick-links__container {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .quick-links__link {
    flex: 0 0 auto;
  }

  .header::after {
    inset: 6px 10px;
  }

  .header__container {
    grid-template-columns: auto auto;
    min-height: 72px;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    min-height: calc(100vh - 72px);
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    padding: 40px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(-105%);
    transition: var(--transition);
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .nav__list {
    flex-direction: column;
    gap: 20px;
    font-size: 1.2rem;
  }

  .header__phone {
    display: none;
  }

  .header__phone--mobile {
    display: inline-flex;
  }
  
  .burger-menu {
    display: flex;
    justify-self: end;
  }
  
  .burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero {
    min-height: auto;
    padding: 148px 0 80px;
  }

  .overlay {
    padding: 0;
  }

  .modal__content {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
  }

  .modal__close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .modal-page__media {
    min-height: 240px;
  }

  .modal-page__intro,
  .modal-page__section,
  .modal-page__cards {
    padding-left: 20px;
    padding-right: 20px;
  }

  .modal-page__intro {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .modal-page__panel,
  .modal-page__card {
    padding: 20px;
    border-radius: 18px;
  }

  .modal-page__cta {
    margin: 20px 20px 24px;
    padding: 22px 20px;
    border-radius: 20px;
  }

  .modal-page__cta .btn {
    width: 100%;
  }

  .overlay--request {
    align-items: flex-start;
  }

  .modal__content--request {
    min-height: auto;
    border-radius: 0;
  }

  .request-modal {
    padding: 56px 20px 24px;
  }

  .request-form__field {
    min-height: 78px;
  }

  .request-form__field--textarea {
    min-height: 160px;
  }

  .request-form__control {
    font-size: 1.15rem;
    padding-top: 26px;
  }

  .request-form__control--textarea {
    min-height: 160px;
    padding-top: 30px;
  }

  .portfolio {
    padding: 4.8rem 0 5.2rem;
  }

  .portfolio__grid {
    grid-template-columns: 1fr;
  }

  .portfolio-showcase,
  .portfolio-showcase__body {
    min-height: 400px;
  }

  .portfolio-showcase__body {
    padding: 22px 20px 24px;
  }

  .portfolio-showcase__title {
    font-size: 1.52rem;
  }

  .portfolio-showcase__meta span {
    width: 100%;
    text-align: center;
  }

  .portfolio-showcase__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio__footer {
    margin-top: 1.5rem;
    padding: 22px 20px;
    border-radius: 20px;
  }

  .modal__content--gallery {
    min-height: 100vh;
    border-radius: 0;
  }

  .portfolio-gallery {
    padding: 58px 20px 24px;
  }

  .portfolio-gallery__frame {
    border-radius: 22px;
  }

  .portfolio-gallery__nav {
    width: 48px;
    height: 48px;
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .portfolio-gallery__nav--prev {
    left: 14px;
  }

  .portfolio-gallery__nav--next {
    right: 14px;
  }

  .portfolio-gallery__footer {
    align-items: stretch;
  }

  .portfolio-gallery__request {
    width: 100%;
    min-width: 0;
  }

  .portfolio-gallery__prompt {
    font-size: 0.92rem;
  }

  .advantages__grid {
    gap: 16px;
  }

  .advantage-item {
    min-height: 210px;
    padding: 1.35rem 1rem;
  }

  .advantage-item__ornament {
    width: 66px;
    height: 66px;
    margin-bottom: 0.85rem;
  }

  .advantage-item__title {
    font-size: 1.12rem;
  }

  .advantage-item__desc {
    font-size: 0.9rem;
  }

  .hero::before {
    inset: 12px;
  }

  .logo--hero {
    flex-direction: column;
    gap: 18px;
  }

  .logo--hero .logo__text {
    align-items: center;
  }

  .logo--hero .logo__mark {
    width: 90px;
    height: 90px;
  }

  .logo--hero .logo__mark::before {
    inset: 11px;
  }

  .logo--hero .logo__mark-text {
    font-size: 1.55rem;
  }

  .logo--hero .logo__title {
    font-size: 2.45rem;
  }

  .logo--hero .logo__subtitle {
    font-size: 0.82rem;
    letter-spacing: 0.22em;
  }

  .hero__title { font-size: 2.2rem; }
  .hero__subtitle { font-size: 1rem; }

  .hero-form {
    gap: 14px;
    padding: 16px;
  }

  .hero-form__field,
  .hero-form__submit {
    min-height: 76px;
    border-radius: 20px;
  }

  .hero-form__field {
    padding: 0 20px;
  }

  .hero-form__label {
    left: 20px;
  }

  .hero-form__input {
    font-size: 1.28rem;
    padding-top: 26px;
  }

  .hero__fact {
    width: 100%;
    max-width: 360px;
  }

  .footer__container { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .quick-links__link {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.84rem;
  }

  .container {
    padding: 0 16px;
  }

  .logo {
    gap: 10px;
  }

  .logo__mark {
    width: 46px;
    height: 46px;
  }

  .logo__mark::before {
    inset: 6px;
  }

  .logo__mark-text {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }

  .logo__title {
    font-size: 1.12rem;
  }

  .logo__subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .header__container {
    min-height: 68px;
  }

  .nav {
    top: 68px;
    min-height: calc(100vh - 68px);
  }

  .hero {
    padding: 136px 0 72px;
  }

  .modal-page__title {
    font-size: 1.8rem;
  }

  .modal-page__lead {
    font-size: 0.96rem;
  }

  .modal-page__chip {
    width: 100%;
    text-align: center;
  }

  .modal-page__heading {
    font-size: 1.2rem;
  }

  .modal-page__cta-title {
    font-size: 1.25rem;
  }

  .request-modal__title {
    font-size: 1.9rem;
  }

  .request-modal__caption {
    font-size: 0.94rem;
  }

  .request-form__submit {
    min-height: 60px;
    font-size: 1.02rem;
  }

  .portfolio__lead {
    font-size: 0.95rem;
  }

  .portfolio-showcase,
  .portfolio-showcase__body {
    min-height: 360px;
  }

  .portfolio-showcase__title {
    font-size: 1.34rem;
  }

  .portfolio-gallery__title {
    font-size: 1.88rem;
  }

  .portfolio-gallery__lead,
  .portfolio-gallery__caption {
    font-size: 0.94rem;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .advantages__lead {
    font-size: 0.94rem;
  }

  .hero__eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero-form {
    grid-template-columns: 1fr;
  }

  .hero-form__submit,
  .hero-form__field {
    width: 100%;
  }

  .hero-form__label {
    font-size: 0.94rem;
  }

  main > section + section {
    margin-top: 1.35rem;
  }

  .hero__fact {
    font-size: 0.82rem;
    padding: 12px 14px 12px 34px;
  }

  .hero__fact::before {
    left: 14px;
  }
}
