/* =========================================================
   1. БАЗА
========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-page: #fdf4ec;
  --bg-light: #f8e1cf;
  --bg-accent: #fbe8d9;
  --text-main: #5c2e12;
  --text-soft: #714530;
  --border-soft: #e6d2c3;
  --btn-main: #c47a4a;
   --btn-main:#66341b;
  --btn-main-dark: #ae6132;
  
  --card-bg: #fffaf6;

  --font-ui: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-text: "Lora", "Times New Roman", serif;

  --shadow-soft: 0 12px 30px rgba(60, 30, 15, 0.08);
  --shadow-medium: 0 16px 40px rgba(60, 30, 15, 0.10);
  --shadow-strong: 0 20px 50px rgba(60, 30, 15, 0.12);
}

@font-face {
  font-family: "Aquarelle";
  src: url("../Aquarelle.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DS Note";
  src: url("../DSNote.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inkfree";
  src: url("../Inkfree.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Liana";
  src: url("../Liana.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-page);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   2. ОБЩИЕ ЭЛЕМЕНТЫ
========================================================= */

.section {
  padding: 60px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-orange {
  background: var(--bg-accent);
  color: var(--text-main);
}

.section-title {
  font-family: var(--font-ui);
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 35px;
}

#services,
#about,
#contact {
  scroll-margin-top: 80px;
}

/* ---- общие кнопки ---- */

.btn {
  display: inline-block;
  width: auto;
  padding: 14px 34px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--btn-main);
  color: #fff9f3;
  box-shadow: 0 10px 26px rgba(122, 74, 42, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary:hover {
  background: var(--btn-main-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(122, 74, 42, 0.30);
}

.btn-secondary {
  background: #faf0e7;
  color: var(--btn-main-dark);
}

.btn-secondary:hover {
  background: #ffe9d5;
}





/* =========================================================
   3. HEADER / NAVBAR
========================================================= */

#navbar {
  position: sticky;
  top: 0;
  z-index: 100;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: var(--bg-page);
  padding: 10px 28px;
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.3s ease;
}

.navbar-shadow {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.09);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 38px;
}

.logo {
  padding-right: 15px;
}

.logo img {
  width: 50px;
  height: auto;
}

.contact-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-bar .icon {
  width: 22px;
  height: 22px;
  opacity: 0.9;
  transition: 0.2s ease;
}

.contact-bar .icon:hover {
  opacity: 1;
  transform: scale(1.1);
  cursor: pointer;
}

.contact-bar .phone {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 70px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: 0.3px;
  padding: 6px 4px;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: #a66138;
  text-decoration: underline 1.5px rgba(166, 97, 56, 0.5);
  text-underline-offset: 4px;
}

/* language switch */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.lang-link {
  color: var(--text-main);
  opacity: 0.6;
  transition: 0.25s ease;
}

.lang-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.lang-link.active {
  opacity: 1;
  font-weight: 700;
}

.lang-separator {
  opacity: 0.4;
}

/* =========================================================
   4. ПЕРВАЯ СТРАНИЦА
========================================================= */

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  background: url("../img/showcase10.jpg") center center / cover no-repeat;
}

.hero-overlay {
  position: relative;
  min-height: inherit;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 60px 20px;
  background: rgba(50, 28, 12, 0.35);
  color: #fffaf6;
}
.hero::before {
  background: rgba(60, 30, 15, 0.35);
}



.hero-title {
  font-family: var(--font-ui);
  font-size: 2.6rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #fff5eb;
}

.hero-subtitle {
  max-width: 780px;
  font-family: var(--font-text);
  font-size: 1.1rem;
  margin-bottom: 55px;
  color: #fffbeb;
}

/* ================= SERVICES ================= */

.services {
  padding: 70px 0;
  background: #f8e7d9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: #fdf4ec;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-title {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 600;
  margin: 20px 20px 14px;
  color: #5c2e12;
}

.service-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #c47a4a;
  margin: 12px auto 0;
  border-radius: 2px;
}

.service-text {
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.7;
  color: #6b4a38;
  text-align: left;
  padding: 0 22px 24px;
  flex-grow: 1;
}




.service-card--premium {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #f8f1eb;
  border: 1px solid rgba(92, 46, 18, 0.06);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(60, 30, 15, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card--premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(60, 30, 15, 0.14);
}

.service-card--premium .service-card__media {
  position: relative;
  height: 180px;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 22px;
  background: #efe5dc;
}

.service-card--premium .service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  filter: brightness(0.96) contrast(0.95) saturate(0.88);
}

.service-card--premium .service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 248, 241, 0.08);
  pointer-events: none;
  border-radius: 18px;
}

.service-card--premium .service-card__body {
  display: flex;
  flex-direction: column;
   align-items: flex-start;
  text-align: left;
  flex: 1;
  padding: 4px 12px 12px;
}

.service-card--premium .service-card__icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 18px;
  display: block;
}

.service-card--premium .service-card__title {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
  max-width: 18ch;
}

.service-card--premium .service-card__line {
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: rgba(166, 97, 56, 0.58);
  margin: 14px 0 16px;
}

.service-card--premium .service-card__text {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.97rem;
  line-height: 1.72;
  color: rgba(92, 46, 18, 0.74);
  max-width: 29ch;
}


/* ================= ABOUT НА 1 СТРАНИЦЕ ================= */



.section-orange .about-btn {
  display: block;
  width: fit-content;
  margin: 28px auto 0;
  padding: 12px 34px;
  border-radius: 8px;
  background: #8b4b2a;
  background: #733d22;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 10px 26px rgba(122, 74, 42, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.section-orange .about-btn:hover {
  background: #733d22;
  background: #8b4b2a;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(122, 74, 42, 0.30);
}

/* ================= CONTACT FORM ================= */

#contact {
  background: var(--bg-page);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-text p {
  margin-top: 10px;
  line-height: 1.5;
  color: var(--text-soft);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form label {
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form input,
.contact-form textarea {
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  font: inherit;
  background: var(--card-bg);
  color: var(--text-main);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--btn-main);
  outline: none;
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.checkbox input {
  accent-color: #c47a4a;
}

.checkbox a {
  color: var(--btn-main);
  text-decoration: underline;
}

.checkbox a:hover {
  color: var(--btn-main-dark);
}

.contact-form .btn-primary {
  display: block;
  width: 100%;
}

/* =========================================================
   5. ВТОРАЯ СТРАНИЦА
========================================================= */

/* ================= ABOUT HERO ================= */

.about-hero-full {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  overflow: hidden;
  background: #000;
}

.about-hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 25, 10, 0.37);
}



.about-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.about-hero-title {
  transform: translateY(-2px);
  font-family: "Liana", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: #270303;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

/* ================= ABOUT PAGE ОСНОВА ================= */

.about-page {
  background: var(--bg-accent);
  padding: 80px 0 70px;
}

.about-row {
  max-width: 980px;
  margin: -190px auto 80px;
  position: relative;
  z-index: 5;
}


.about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px;
  max-width: 1000px;
  margin: -255px auto 0;
  position: relative;
  z-index: 6;
  align-items: stretch;
}


.info-card {
  background: rgba(255, 248, 243, 0.82);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
   box-shadow: 0 18px 46px rgba(60, 30, 15, 0.12);
  backdrop-filter: blur(2px);
}

info-card {
  background: rgba(253, 244, 236, 0.90);
  border: 1px solid rgba(230, 210, 195, 0.75);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(60, 30, 15, 0.12);
  backdrop-filter: blur(2px);
}

.info-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.info-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255, 248, 241, 0.12),
    rgba(255, 248, 241, 0.04)
  );
  pointer-events: none;
}
.info-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
   filter: saturate(0.92) brightness(0.98);

}

.info-card__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(223, 180, 142, 0.733);
  border: 1px solid rgba(92, 46, 18, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-text);
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(60, 30, 15, 0.10);
}

.info-card__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(253, 244, 236, 0.82);
  border: 1px solid rgba(92, 46, 18, 0.10);
  border-radius: 10px;
  padding: 9px 14px;
  font-family: var(--font-text);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 10px 22px rgba(60, 30, 15, 0.08);
  backdrop-filter: blur(4px);
}

.info-card__body {
  padding: 16px 16px 18px;
}

.info-card__title {
  margin: 0 0 10px;
  font-family: var(--font-text);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
}

.info-card__text {
  color: var(--text-soft);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.65;
  max-width: 62ch;
}

.info-card__text p {
  margin: 0 0 10px;
}

.info-card__text p:last-child {
  margin-bottom: 0;
}



/* ================= КНОПКА НА 2 СТРАНИЦЕ ================= */

.about-page .about-btn {
  display: block;
  width: fit-content;
  margin: 28px auto 0;
  padding: 12px 28px;
  border-radius: 10px;
  background: #a66138;
  background: #8b4b2a;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: 0.25s ease;
}

.about-page .about-btn:hover {
  background: #8b4b2a;
   background: #a66138;
}

/* ================= TRUST / ПОЧЕМУ ВЫБИРАЮТ НАС ================= */

.trust {
  background: var(--bg-accent);
  padding: 70px 0 60px;
}

.trust .container {
  max-width: 1100px;
}

.trust-head {
  text-align: center;
  margin: 0 0 34px;
}

.trust-title {
  margin: 0;
  font-family: var(--font-text);
  font-size: clamp(1.8rem, 2.7vw, 2.2rem);
  font-weight: 600;
  color: var(--text-main);
}

.trust-line {
  width: 70px;
  height: 2px;
  background: rgba(166, 97, 56, 0.6);
  margin: 14px auto 0;
  border-radius: 999px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-card {
  background: rgba(255, 247, 240, 0.75);
  border: 1px solid rgba(92, 46, 18, 0.10);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(60, 30, 15, 0.10);

  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  min-height: 290px;
}

.trust-icon {
  width: 155px;
  height: 155px;
  margin: 0 auto 14px;

  border-radius: 50%;
  background: rgba(166, 97, 56, 0.010);

  display: grid;
  place-items: center;

  padding: 5px;
  overflow: hidden;
}

.trust-icon img {
  width: 100%;
  height: 80%;
  object-fit: contain;
}

.trust-card-title {
  margin: 10px 0 10px;
  text-align: center;

  font-family: var(--font-text);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-main);
}

.trust-card-line {
  width: 46px;
  height: 1px;
  background: rgba(166, 97, 56, 0.35);
  margin: 0 auto 12px;
  border-radius: 999px;
}

.trust-card-text {
  margin: 0;
  text-align: left;

  font-family: var(--font-ui);
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(92, 46, 18, 0.72);
  max-width: 34ch;
}

.trust-bottom {
  text-align: center;
  margin-top: 34px;
}

.trust-bottom-kicker {
  margin: 0 0 6px;
  font-family: var(--font-ui);
  color: rgba(92, 46, 18, 0.70);
}

.trust-bottom-text {
  margin: 0 0 18px;
  font-family: var(--font-ui);
  color: rgba(92, 46, 18, 0.80);
}

.trust-bottom-text strong {
  font-family: var(--font-text);
  color: #a66138;
}

.trust-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 30px;
  border-radius: 10px;

  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;

  color: #fff;
  background: #a66138;
   background: #8b4b2a;
  box-shadow: 0 10px 26px rgba(122, 74, 42, 0.22);

  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.trust-btn:hover {
  background: #8b4b2a;
  background: #a66138;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(122, 74, 42, 0.30);
}

/* ================= CONTACT BLOCK НА 2 СТРАНИЦЕ ================= */

.contact-block {
  margin-top: 18px;
  background: rgba(253, 244, 236, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

.contact-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
  padding: 18px;
  align-items: stretch;
}

.contact-photo {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-title {
  margin: 0 0 10px;
  font-family: var(--font-text);
  font-size: 1.55rem;
  font-weight: 600;
}

.contact-name {
  margin: 0 0 2px;
  font-family: var(--font-text);
  font-size: 1.25rem;
  font-weight: 600;
  color: #8b4b2a;
}

.contact-role {
  margin: 0 0 12px;
  color: var(--text-soft);
  font-family: var(--font-ui);
}

.contact-grid-mini {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 16px;
  align-items: start;
}

.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: rgba(248, 225, 207, 0.65);
  color: var(--text-main);
  font-family: var(--font-ui);
  font-weight: 500;
  width: fit-content;
}

.email-pill img {
  width: 30px;
  height: 20px;
  opacity: 1;
  filter: none;
}

.contact-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.contact-points li {
  position: relative;
  padding-left: 22px;
  color: var(--text-main);
  font-family: var(--font-ui);
}

.contact-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #8b4b2a;
  font-weight: 800;
}

.cta-row {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 28px;
}

.cta-btn {
  display: inline-block;
  padding: 14px 42px;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #a66138;
  box-shadow: 0 10px 26px rgba(122, 74, 42, 0.22);
  transition: all 0.25s ease;
}

.cta-btn:hover {
  background: #8b4b2a;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(122, 74, 42, 0.30);
}

/* =========================================================
   6. ARTICLES PAGE
========================================================= */

.articles-page {
  background: var(--bg-page);
  padding: 44px 0 70px;
}

.articles-hero {
  text-align: center;
  padding: 10px 0 22px;
}

.articles-title {
  font-family: var(--font-text);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.articles-subtitle {
  font-family: var(--font-ui);
  color: var(--text-soft);
  font-size: 1rem;
}

.articles-arrow {
  display: inline-block;
  margin-left: 8px;
  color: #a66138;
  font-weight: 700;
}

.articles-featured {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 26px;
  background: rgba(253, 244, 236, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(60, 30, 15, 0.10);
  margin-top: 16px;
}

.featured-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(60, 30, 15, 0.14);
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(196, 122, 74, 0.18);
  border: 1px solid rgba(92, 46, 18, 0.10);
  color: var(--text-main);
}

.tag--on-media {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(196, 122, 74, 0.75);
  border-color: rgba(196, 122, 74, 0.35);
  color: #fff;
}

.featured-title {
  font-family: var(--font-text);
  font-size: 1.6rem;
  margin: 4px 0 10px;
  color: var(--text-main);
}

.featured-text {
  font-family: var(--font-ui);
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 70ch;
}

.featured-btn {
  padding: 10px 20px;
  border-radius: 10px;
}

.articles-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 22px 0 24px;
  padding: 14px 0;
  border-top: 1px solid rgba(92, 46, 18, 0.08);
  border-bottom: 1px solid rgba(92, 46, 18, 0.08);
}

.filter-btn {
  border: 1px solid rgba(92, 46, 18, 0.10);
  background: rgba(253, 244, 236, 0.92);
  padding: 8px 14px;
  border-radius: 10px;
  font-family: var(--font-ui);
  color: var(--text-main);
  cursor: default;
}

.filter-btn.is-active {
  background: rgba(196, 122, 74, 0.80);
  color: #fff;
  border-color: rgba(196, 122, 74, 0.30);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.a-card {
  background: rgba(253, 244, 236, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(60, 30, 15, 0.10);
}

.a-card-media {
  position: relative;
  height: 170px;
  overflow: hidden;
}

.a-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a-tags {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
}

.a-card-body {
  padding: 16px 16px 18px;
}

.a-card-title {
  font-family: var(--font-text);
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: var(--text-main);
}

.a-card-text {
  font-family: var(--font-ui);
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 12px;
}

.a-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  color: #8b4b2a;
}

.a-card-link:hover {
  text-decoration: underline;
}

.articles-cta {
  margin-top: 34px;
  background: rgba(248, 225, 207, 0.55);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 24px 22px;
  text-align: center;
}

.articles-cta-title {
  font-family: var(--font-text);
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.articles-cta-text {
  font-family: var(--font-ui);
  color: var(--text-soft);
  margin: 0 auto 14px;
  max-width: 70ch;
}

/* =========================================================
   7. ARTICLE PAGE
========================================================= */

.article-page {
  background: var(--bg-page);
  padding: 46px 0 70px;
}

.article-container {
  max-width: 980px;
}

.article-header {
  margin-bottom: 18px;
}

.article-title {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 2.05rem;
  line-height: 1.18;
  color: var(--text-main);
  margin: 0 0 14px;
  text-align: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: rgba(92, 46, 18, 0.75);
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: rgba(92, 46, 18, 0.75);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs__sep {
  opacity: 0.55;
}

.breadcrumbs__current {
  opacity: 0.85;
}

.breadcrumbs__home {
  font-size: 1.02rem;
  line-height: 1;
  transform: translateY(-1px);
}

.article-hero {
  margin: 22px 0 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 45px rgba(60, 30, 15, 0.10);
}

.article-hero img {
  width: 100%;
  height: auto;
}

.article-intro {
  margin: 0 auto 22px;
  max-width: 72ch;
  font-family: var(--font-text);
  font-size: 1.08rem;
  line-height: 1.78;
  color: rgba(92, 46, 18, 0.85);
}

.article-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0 26px;
}

.a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.a-btn--primary {
  background: var(--btn-main);
  color: #fff;
  box-shadow: 0 12px 28px rgba(122, 74, 42, 0.18);
}

.a-btn--primary:hover {
  background: var(--btn-main-dark);
  transform: translateY(-1px);
}

.a-btn--ghost {
  background: rgba(248, 225, 207, 0.35);
  border-color: rgba(92, 46, 18, 0.12);
  color: var(--text-main);
}

.a-btn--ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(60, 30, 15, 0.10);
}

.a-btn__icon {
  font-size: 1rem;
  opacity: 0.85;
}

.article-section {
  margin-top: 34px;
}

.article-h2 {
  font-family: var(--font-text);
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--text-main);
}

.a-grid {
  display: grid;
  gap: 18px;
}

.a-grid--2 {
  grid-template-columns: 1fr 1fr;
}

.a-card__title {
  margin: 0 0 12px;
  font-family: var(--font-text);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
}

.a-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.a-list li {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-ui);
  color: rgba(92, 46, 18, 0.92);
  line-height: 1.55;
}

.a-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #8b4b2a;
  font-weight: 800;
}

.a-mini {
  background: rgba(253, 244, 236, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(60, 30, 15, 0.06);
  padding: 16px 18px 20px;
}

.a-mini__title {
  margin: 0 0 8px;
  font-family: var(--font-text);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding-left: 24px;
}

.a-mini__title::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #8b4b2a;
  font-weight: 800;
}

.a-mini__text {
  margin: 0;
  font-family: var(--font-ui);
  color: rgba(92, 46, 18, 0.80);
  line-height: 1.6;
  font-size: 0.95rem;
}

.article-cta {
  margin-top: 34px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: rgba(248, 225, 207, 0.35);
  box-shadow: 0 16px 38px rgba(60, 30, 15, 0.10);
}

.article-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.article-cta__title {
  margin: 0 0 8px;
  font-family: var(--font-text);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
}

.article-cta__text {
  margin: 0;
  font-family: var(--font-ui);
  color: rgba(92, 46, 18, 0.82);
  line-height: 1.6;
}

.a-btn--cta {
  background: linear-gradient(180deg, #c47a4a 0%, #8b4b2a 100%);
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(122, 74, 42, 0.20);
}

.a-btn--cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(122, 74, 42, 0.28);
}

/* =========================================================
   8. FOOTER
========================================================= */

.footer {
  background: #7a4a2a;
  color: #fff7ec;
  padding: 32px 0 24px;
  border-top: 1px solid #e6d2c3;
}

.footer a {
  color: #fff7ec;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  gap: 40px;
}

.footer-col-left {
  justify-self: flex-start;
}

.footer-col-center {
  justify-self: center;
  text-align: center;
}

.footer-col-right {
  justify-self: flex-end;
  text-align: right;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-icon {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-icon:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.footer-phone,
.footer-email {
  font-size: 1rem;
  font-family: var(--font-text);
}

.footer-logo {
  max-width: 180px;
  height: auto;
  margin: 0 auto;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.footer-menu a {
  font-family: var(--font-ui);
  font-size: 1rem;
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 247, 236, 0.25);
  font-family: var(--font-text);
}

/* =========================================================
   9. ADAPTIVE / MEDIA
========================================================= */

/* ---------- общие крупные ---------- */

@media (max-width: 980px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- до 900 ---------- */

@media (max-width: 900px) {
  /* header */
  #navbar {
    padding: 10px 16px;
  }

  .nav-links {
    gap: 20px;
  }

  /* 1 страница */
  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 220px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* 2 страница */
  .about-page {
    padding: 40px 0 60px;
  }

  .about-row {
    max-width: 100%;
    margin: 0 auto 50px;
  }

  .about-cards {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-grid-mini {
    grid-template-columns: 1fr;
  }

  /* articles */
  .articles-featured {
    grid-template-columns: 1fr;
  }

  .a-card-media {
    height: 190px;
  }

  /* article */
  .article-title {
    font-size: 1.75rem;
  }

  .a-grid--2 {
    grid-template-columns: 1fr;
  }

  .article-cta__inner {
    grid-template-columns: 1fr;
  }

  .a-btn--cta {
    justify-self: center;
  }

  /* footer */
  .footer-row {
    gap: 28px;
  }
}

/* ---------- до 700 ---------- */

@media (max-width: 700px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- до 640 ---------- */

@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-card {
    min-height: auto;
  }
}

/* ---------- до 600 ---------- */

@media (max-width: 600px) {
  /* header */
  #navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
  }

  .nav-left {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }

  .logo img {
    width: 72px;
  }

  .contact-bar {
    gap: 6px;
  }

  .contact-bar .icon {
    width: 20px;
    height: 20px;
  }

  .contact-bar .phone {
    font-size: 0.9rem;
  }

  .nav-right {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 0;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 4px 0;
  }

  /* 1 страница */
  .hero {
    min-height: 80vh;
  }

  .hero-overlay {
    padding: 40px 16px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero .btn-primary {
    width: auto;
    display: inline-block;
    text-align: center;
    padding: 14px 32px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-orange .container {
    padding: 0 16px;
  }

  .section-orange h2 {
    font-size: 1.4rem;
  }

  .section-orange p {
    font-size: 0.9rem;
  }

  .section-orange .about-btn {
    margin-top: 24px;
    padding: 12px 28px;
  }

  .contact-text h2 {
    font-size: 1.4rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
  }

  /* 2 страница */
  .about-page .about-btn {
    width: fit-content;
    margin: 24px auto 0;
    padding: 12px 24px;
  }

  .cta-btn {
    padding: 12px 28px;
    font-size: 0.98rem;
  }

  .trust-btn {
    padding: 12px 24px;
    font-size: 0.98rem;
  }

  /* article */
  .article-page {
    padding: 34px 0 55px;
  }

  .article-title {
    font-size: 1.55rem;
  }

  .article-intro {
    font-size: 1.02rem;
  }

  /* footer */
  .footer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .footer-col-right {
    text-align: center;
  }
}