/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================================
   LOCAL FONTS (MINIMAL SET)
   ================================== */

/* -------- Roboto -------- */

/* Roboto Light (300) */
@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/Roboto-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Roboto Regular (400) */
@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/Roboto-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Roboto Medium (500) */
@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/Roboto-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


/* -------- Playfair Display -------- */

/* Playfair Regular (400) */
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/Playfair_14pt-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Playfair Medium (500) */
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/Playfair_14pt-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Playfair SemiBold (600) */
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/Playfair_14pt-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #2D3748;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

p {
        padding-bottom: 10px;
}

ul,
ol {
  margin: 0 0 1.2em 1.2em; /* отступ от текста + слева */
  padding: 0;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li {
  margin-bottom: 0.5em;
  line-height: 1.6;
  color: #2A4365;
}

/* вложенные списки */
li ul,
li ol {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}

/* ===== HEADINGS — unified style ===== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.25;
    color: #2A4365;
    margin-top: 0;
}

/* Размеры и отступы */
h1 {
    font-size: 2.6rem;
    margin-bottom: 32px;
}

h2 {
    font-size: 1.8rem; /* как в .service-block h2 */
    margin-bottom: 25px;
}

h3 {
    font-size: 1.45rem;
    margin-bottom: 20px;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

h5 {
    font-size: 1.1rem;
    margin-bottom: 14px;
}

h6 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #4A5568;
}


.section {
    padding: 40px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2A4365;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    text-align: center;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .section {
        padding: 30px 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
}

/* ===== COOKIE BAR (site style) ===== */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;

  background: #f7fafc;                 /* светлый, спокойный фон */
  color: #2A4365;                      /* основной цвет текста */
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -8px 20px rgba(0,0,0,0.08);

  padding: 14px 0;
  transform: translateY(110%);
  transition: transform 220ms ease;
}

.cookie-bar.is-visible {
  transform: translateY(0);
}

.cookie-bar__inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cookie-bar__text {
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 500;
}

/* actions */
.cookie-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* кнопки — спокойные, как на сайте */
.cookie-btn {
  appearance: none;
  border: 1px solid #cbd5e0;
  background: #ffffff;
  color: #2A4365;

  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;

  transition: background 120ms ease, transform 120ms ease, box-shadow 120ms ease;
  font-size: 0.9rem;
}

.cookie-btn:hover {
  background: #edf2f7;
  transform: translateY(-1px);
}

.cookie-btn:active {
  transform: translateY(0);
}

/* основная кнопка */
.cookie-btn--accept {
  background: #2A4365;
  border-color: #2A4365;
  color: #ffffff;
}

.cookie-btn--accept:hover {
  background: #1f3552;
}

/* вторичная */
.cookie-btn--decline {
  background: #ffffff;
}

/* ссылка "Подробнее" */
.cookie-bar__more {
  color: #2A4365;
  text-decoration: underline;
  font-weight: 600;
  font-size: 0.9rem;
}

.cookie-bar__more:hover {
  opacity: 0.85;
}

/* адаптив */
@media (max-width: 768px) {
  .cookie-bar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-bar__actions {
    width: 100%;
    justify-content: flex-start;
  }
}


/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #EA580C;
    color: white;
    box-shadow: 0 4px 15px rgba(197, 48, 48, 0.3);
}

.btn-primary:hover {
    background-color: #9B2C2C;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(197, 48, 48, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #2A4365;
    border: 2px solid #2A4365;
}

.btn-secondary:hover {
    background-color: #2A4365;
    color: white;
}

.btn-big {
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.3rem;
    color: #2A4365;
    margin-right: 10px;
}

.logo img {
    width: 100%;
    height: 60px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Навигация для десктопа */
.desktop-nav {
    display: flex;
    gap: 20px;
}

@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
}

.desktop-nav a {
    color: #4A5568;
    font-weight: 500;
    position: relative;
}

.desktop-nav a:hover {
    color: #EA580C;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #EA580C;
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* Контакты в шапке */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f7fafc;
    color: #4A5568;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    background-color: #2A4365;
    color: white;
    transform: translateY(-3px);
}

.phone-icon {
    width: auto;
    padding: 0 15px;
    gap: 8px;
    border-radius: 25px;
}

.phone-text {
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .phone-text {
        display: none;
    }
    .phone-icon {
        width: 40px;
        padding: 0;
        justify-content: center;
    }
}

/* Кнопка меню для мобильных */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #2A4365;
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }
}

/* Мобильное меню */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    font-size: 1.2rem;
    color: #2D3748;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 500;
}

.mobile-nav a:hover {
    color: #EA580C;
    padding-left: 10px;
}

.mobile-contacts {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.mobile-contacts a {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: none;
    font-size: 1.1rem;
    color: #2A4365;
}

.mobile-contacts a i {
    font-size: 1.3rem;
    width: 30px;
}

/* ===== HERO SECTION ===== */
/* ===== HERO SECTION (UPDATED) ===== */
.hero {
    position: relative;
    background: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 75%)), url(../img/hero-bg-2.jpg) no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 170px 0 120px;
    margin-top: 70px;
    overflow: hidden;
}

/* лёгкая виньетка — добавляет глубины */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.35) 100%
    );
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.4rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
    line-height: 1.15;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .hero {
        padding: 140px 0 100px;
        margin-top: 60px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        padding: 0 12px;
    }
}


/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.service-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #EA580C;
}

.service-icon {
    font-size: 2.5rem;
    color: #2A4365;
    margin-bottom: 20px;
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #2A4365;
    margin-bottom: 15px;
}

.service-desc {
    color: #718096;
    margin-bottom: 25px;
    min-height: 72px;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: #EA580C;
    margin-bottom: 25px;
}

/* ===== EFFECTS SECTION ===== */
.effects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .effects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .effects-grid {
        grid-template-columns: 1fr;
    }
}

.effect-item {
    text-align: center;
    padding: 25px 20px;
}

.effect-item i {
    font-size: 3rem;
    color: #EA580C;
    margin-bottom: 20px;
}

.effect-item h3 {
    font-size: 1.3rem;
    color: #2A4365;
    margin-bottom: 12px;
}

.effect-item p {
    color: #718096;
}

/* ===== ABOUT PREVIEW ===== */
.about-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-photo img {
  position: sticky;
  top: 120px; /* отступ от верхнего края (учти высоту шапки) */
}


@media (max-width: 992px) {
    .about-preview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-text {
    padding-right: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===== FAQ SECTION ===== */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    text-align: left;
    background: none;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #2A4365;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #EA580C;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 0 25px 0;
    color: #4A5568;
    line-height: 1.7;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: #2A4365;
    color: #e2e8f0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-contacts h3, .footer-social h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.footer-contacts p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contacts a {
    color: #cbd5e0;
}

.footer-contacts a:hover {
    color: white;
}

.footer-contacts i {
    width: 20px;
    color: #EA580C;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #EA580C;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #4A5568;
    color: #a0aec0;
    font-size: 0.9rem;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #718096;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    color: #EA580C;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2A4365;
    margin-bottom: 10px;
    text-align: center;
}

.modal-subtitle {
    color: #718096;
    text-align: center;
    margin-bottom: 30px;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.telegram {
    background-color: #0088cc;
    color: white;
}

.viber {
    background-color: #7360f2;
    color: white;
}

.phone {
    background-color: #2A4365;
    color: white;
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
}

.modal-btn i {
    font-size: 1.4rem;
}

.modal-note {
    text-align: center;
    color: #a0aec0;
    margin-top: 25px;
    font-size: 0.9rem;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ НОВЫХ СТРАНИЦ ===== */

/* Хлебные крошки */
.breadcrumbs {
    background-color: #f7fafc;
    padding: 20px 0;
    margin-top: 90px;
    font-size: 0.9rem;
    color: #718096;
}

.breadcrumbs a {
    color: #4A5568;
}

.breadcrumbs a:hover {
    color: #EA580C;
}

.breadcrumbs span {
    color: #2A4365;
    font-weight: 500;
}

/* Страница услуги: Hero */
.service-hero {
    padding: 30px 0;
}

.service-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .service-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.service-highlight {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.service-highlight i {
    font-size: 2rem;
    color: #EA580C;
    width: 60px;
    text-align: center;
}

.service-highlight h3 {
    font-size: 1.1rem;
    color: #4A5568;
    margin-bottom: 5px;
}

.service-highlight p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2A4365;
}

.service-highlight .price {
    font-size: 1.8rem;
    color: #EA580C;
    font-weight: 700;
}

.service-hero-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Детали услуги */
.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
}

.details-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.details-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #2A4365;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.details-card h2 i {
    color: #EA580C;
}

.benefits-list {
    margin-top: 20px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.benefits-list i {
    color: #48bb78;
    margin-top: 3px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 25px;
}

@media (max-width: 576px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}

.result-item {
    text-align: center;
    padding: 20px 15px;
    background-color: #f7fafc;
    border-radius: 10px;
}

.result-item i {
    font-size: 2rem;
    color: #EA580C;
    margin-bottom: 15px;
}

.result-item h3 {
    font-size: 1.1rem;
    color: #2A4365;
    margin-bottom: 10px;
}

.result-item p {
    font-size: 0.9rem;
    color: #718096;
}

/* CTA блок на страницах услуг */
.cta-box {
    background: linear-gradient(135deg, #2A4365 0%, #3c5b8d 100%);
    color: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin-top: 60px;
}

.cta-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Страница "О мастере" */
.page-hero {
    background-color: #f7fafc;
    padding: 80px 0 40px;
    margin-top: 70px;
    text-align: center;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-photo img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2A4365;
    margin: 40px 0 20px;
}

.about-text h2:first-child {
    margin-top: 0;
}

.approach-list {
    margin: 25px 0;
}

.approach-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.approach-list i {
    color: #EA580C;
    margin-top: 3px;
}

.experience-grid {
    margin: 30px 0;
}

.experience-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.exp-year {
    background-color: #EA580C;
    color: white;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.exp-content h3 {
    font-size: 1.2rem;
    color: #2A4365;
    margin-bottom: 8px;
}

.about-cta {
    background-color: #f7fafc;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    text-align: center;
}

.about-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #2A4365;
    margin-bottom: 15px;
}

/* Страница "Контакты" */
.contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .contacts-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-card {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    /*border-bottom: 1px solid #e2e8f0;*/
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: #f7fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #EA580C;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.3rem;
    color: #2A4365;
    margin-bottom: 10px;
}

.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details a {
    color: #2A4365;
    font-weight: 500;
}

.contact-details a:hover {
    color: #EA580C;
}

.contact-note {
    font-size: 0.9rem !important;
    color: #718096 !important;
    margin-top: 8px !important;
    font-style: italic;
}

.messenger-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.messenger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.messenger-btn.telegram {
    background-color: #0088cc;
    color: white;
}

.messenger-btn.viber {
    background-color: #7360f2;
    color: white;
}

.messenger-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
}

.social-links {
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.social-icons-large {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background-color: #f7fafc;
    border-radius: 12px;
    font-weight: 500;
    color: #2A4365;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #2A4365;
    color: white;
}

.social-icon.instagram:hover {
    background-color: #E1306C;
}

/* Форма контактов */
.contact-form {
    background-color: #f7fafc;
    padding: 35px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #2A4365;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2A4365;
    box-shadow: 0 0 0 3px rgba(42, 67, 101, 0.1);
}

.form-footer {
    margin-top: 30px;
}

.form-note {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 15px;
    text-align: center;
}

.form-success {
    background-color: #f0fff4;
    border: 1px solid #9ae6b4;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: #22543d;
}

.form-success i {
    font-size: 3rem;
    color: #38a169;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contacts-cta {
    text-align: center;
    margin-top: 20px;
    padding: 40px;
    background-color: #f7fafc;
    border-radius: 20px;
}

.contacts-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2A4365;
    margin-bottom: 15px;
}

.contacts-cta p {
    font-size: 1.1rem;
    color: #718096;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ===== РАЗДЕЛИТЕЛЬ В ШАПКЕ ===== */
.contact-separator {
    color: #e2e8f0;
    margin: 0 10px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .contact-separator {
        display: none;
    }
}

/* ===== НОВЫЕ ЦВЕТА ===== */
/* Основной акцент - апельсиновый */
.btn-primary {
    background-color: #F97316 !important;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3) !important;
}

.btn-primary:hover {
    background-color: #EA580C !important;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4) !important;
}

/* Иконки и акценты */
.service-icon,
.effect-item i,
.contact-icon:hover,
.footer-contacts i,
.social-icons a:hover,
.modal-close:hover,
.faq-question:hover,
.faq-question.active,
.service-card:hover {
    color: #F97316 !important;
    border-color: #F97316 !important;
}

/* Карточка услуг при наведении */
.service-card:hover {
    border-color: #F97316 !important;
}

/* ===== НОВЫЙ МАКЕТ: 2 карточки в ряд, 1 ниже ===== */
.wide-card {
    grid-column: 1 / -1; /* Занимает все колонки */
    background-color: #fff;
    border-radius: 15px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.wide-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2A4365;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.wide-card h2 i {
    color: #F97316;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-item {
    text-align: center;
    padding: 25px 20px;
}

.benefit-item i {
    font-size: 2.5rem;
    color: #F97316;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 1.2rem;
    color: #2A4365;
    margin-bottom: 10px;
}

.benefit-item p {
    color: #718096;
    font-size: 0.95rem;
}

/* Мини CTA блок */
.cta-mini {
    background-color: #f7fafc;
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
    text-align: center;
}

.cta-mini p {
    margin-bottom: 15px;
    font-weight: 500;
}

/* ===== ИСПРАВЛЕНИЕ ШАПКИ ===== */
.contact-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: rgba(249, 115, 22, 0.1);
    border-radius: 20px;
    color: #2A4365;
    font-weight: 500;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.contact-phone:hover {
    background-color: #F97316;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .phone-text {
        display: none;
    }
    .contact-phone {
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    .contact-phone {
        display: none;
    }
    .phone-icon .phone-text {
        display: inline;
    }
}

/* ===== НОВЫЙ МАКЕТ: 2 БЛОКА ШИРОКИХ + 1 НИЖЕ ===== */
.two-column-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .two-column-grid {
        gap: 30px;
    }
}

.service-block.wide-block {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.service-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2A4365;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-block h2 i {
    color: #F97316;
    font-size: 1.6rem;
}

.block-features {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #4A5568;
}

.feature i {
    color: #48bb78;
    font-size: 1.1rem;
}

.schedule-info {
    margin: 25px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item i {
    font-size: 2rem;
    color: #F97316;
    width: 40px;
    text-align: center;
}

.info-item strong {
    display: block;
    color: #4A5568;
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2A4365;
}

.info-item .price {
    color: #F97316;
    font-size: 1.8rem;
}

.btn-wide {
    width: 100%;
    justify-content: center;
    margin-top: 15px;
}

.full-width-block {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.full-width-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2A4365;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.full-width-block h2 i {
    color: #F97316;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-item {
    text-align: center;
    padding: 25px 20px;
}

.benefit-item i {
    font-size: 2.5rem;
    color: #F97316;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 1.2rem;
    color: #2A4365;
    margin-bottom: 10px;
}

.benefit-item p {
    color: #718096;
    font-size: 0.95rem;
}

.cta-mini {
    background-color: #f7fafc;
    padding: 25px;
    border-radius: 10px;
    margin-top: auto;
    text-align: center;
}

.cta-mini p {
    margin-bottom: 20px;
    font-weight: 500;
    color: #2A4365;
}

/* ===== СТРАНИЦА ПОДАРОЧНЫХ СЕРТИФИКАТОВ ===== */
.gift-ideas {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.gift-ideas h3 {
    font-size: 1.3rem;
    color: #2A4365;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gift-ideas h3 i {
    color: #F97316;
}

.idea-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .idea-grid {
        grid-template-columns: 1fr;
    }
}

.idea-item {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid #F97316;
}

.idea-item i {
    color: #F97316;
    font-size: 1.2rem;
    margin-bottom: 8px;
    display: block;
}

.idea-item h4 {
    font-size: 1rem;
    color: #2A4365;
    margin-bottom: 5px;
}

.idea-item p {
    font-size: 0.9rem;
    color: #718096;
}

/* Варианты сертификатов */
.certificate-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 25px 0;
}

.certificate-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #F97316;
}

.certificate-card.highlighted {
    border: 2px solid #F97316;
    background: linear-gradient(to bottom right, #fff, #fff8f0);
}

.cert-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #F97316;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.cert-header h3 {
    font-size: 1.2rem;
    color: #2A4365;
    margin: 0;
}

.cert-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #F97316;
}

.certificate-card p {
    color: #4A5568;
    margin-bottom: 15px;
    line-height: 1.5;
}

.cert-features {
    list-style: none;
    padding: 0;
}

.cert-features li {
    padding: 5px 0;
    color: #4A5568;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cert-features li:before {
    content: "✓";
    color: #48bb78;
    font-weight: bold;
}

.certificate-note {
    background: #f0f9ff;
    border-left: 4px solid #F97316;
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
}

.certificate-note p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #2A4365;
}

.certificate-note p:last-child {
    margin-bottom: 0;
}

.certificate-note i {
    color: #F97316;
}

/* Шаги заказа */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step {
    text-align: center;
    padding: 25px 20px;
    background: #f8fafc;
    border-radius: 12px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: #F97316;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step h3 {
    font-size: 1.2rem;
    color: #2A4365;
    margin: 20px 0 10px;
}

.step p {
    color: #718096;
    font-size: 0.95rem;
}

.cta-center {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #2A4365 0%, #3c5b8d 100%);
    color: white;
    border-radius: 20px;
    margin-top: 40px;
}

.cta-center h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.cta-center p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-center .btn-primary {
    background: white;
    color: #2A4365;
    font-weight: 600;
}

.cta-center .btn-primary:hover {
    background: #F97316;
    color: white;
}

.faq-section {
    margin-top: 60px;
}

/* =========================================================
   FINAL MODERN UI MOTION — SAFE & NOTICEABLE
   colors untouched | copy to END of style.css
   ========================================================= */

:root{
  --ease: cubic-bezier(.16,1,.3,1);
  --ease-out: cubic-bezier(.2,.8,.2,1);

  --t-fast: 140ms;
  --t-mid: 260ms;
  --t-slow: 520ms;

  --shadow-soft: 0 12px 34px rgba(0,0,0,.10);
  --shadow-strong: 0 28px 90px rgba(0,0,0,.22);
}

/* -------------------------
   BUTTONS — springy & clear
   ------------------------- */
.btn-primary,
.btn-secondary,
.modal-btn{
  transition:
    transform var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease-out),
    filter var(--t-fast) linear !important;
  will-change: transform;
}

.btn-primary:hover,
.btn-secondary:hover,
.modal-btn:hover{
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: var(--shadow-soft) !important;
}

.btn-primary:active,
.btn-secondary:active,
.modal-btn:active{
  transform: translateY(0) scale(.97) !important;
  box-shadow: none !important;
}

/* -------------------------
   CARDS — modern lift
   ------------------------- */
.service-card,
.certificate-card,
.details-card,
.wide-card,
.full-width-block{
  transition:
    transform var(--t-slow) var(--ease),
    box-shadow var(--t-slow) var(--ease-out) !important;
  will-change: transform;
}

.service-card:hover,
.certificate-card:hover{
  transform: translateY(-14px) scale(1.025) !important;
  box-shadow: var(--shadow-strong) !important;
}

/* -------------------------
   HEADER — premium feel
   ------------------------- */
.site-header{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    box-shadow var(--t-mid) var(--ease-out),
    backdrop-filter var(--t-mid) var(--ease-out) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.08) !important;
}

/* -------------------------
   NAV — subtle motion
   ------------------------- */
.desktop-nav a{
  transition: transform var(--t-fast) var(--ease-out) !important;
}
.desktop-nav a:hover{
  transform: translateY(-1px);
}
.desktop-nav a::after{
  transition:
    width var(--t-mid) var(--ease),
    left var(--t-mid) var(--ease) !important;
}

/* -------------------------
   FORMS — tactile focus
   ------------------------- */
.form-group input,
.form-group select,
.form-group textarea{
  transition:
    transform var(--t-fast) var(--ease-out),
    box-shadow var(--t-mid) var(--ease-out) !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
}

/* Keyboard focus */
:where(a, button, input, select, textarea, .faq-question):focus{
  outline: none;
}
:where(a, button, input, select, textarea, .faq-question):focus-visible{
  outline: 3px solid rgba(66,153,225,.55);
  outline-offset: 3px;
  border-radius: 12px;
}

/* -------------------------
   MODAL — modern entrance
   ------------------------- */
.modal-overlay{
  transition: opacity var(--t-mid) var(--ease-out) !important;
}

.modal{
  transform: translateY(26px) scale(.96) !important;
  transition:
    transform var(--t-slow) var(--ease),
    box-shadow var(--t-slow) var(--ease-out) !important;
}

.modal-overlay.active .modal{
  transform: translateY(0) scale(1) !important;
  box-shadow: var(--shadow-strong) !important;
}

/* -------------------------
   FAQ — smooth open (OPTIONAL)
   remove this block if you want old behavior
   ------------------------- */
.faq-answer{
  display: block !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 !important;
  transition:
    max-height var(--t-slow) var(--ease),
    opacity var(--t-mid) var(--ease-out),
    padding var(--t-mid) var(--ease-out) !important;
}
.faq-answer.active{
  max-height: 700px;
  opacity: 1;
  padding: 0 0 25px 0 !important;
}
.faq-question i{
  transition: transform var(--t-mid) var(--ease) !important;
}

/* -------------------------
   SYSTEM RESPECT
   ------------------------- */
@media (prefers-reduced-motion: reduce){
  *{
    transition: none !important;
    animation: none !important;
  }
}

/* ===== Footer layout fix (compact + balanced) ===== */

.site-footer{
  padding: 40px 0 22px; /* было 70px 0 30px — делаем компактнее */
}

.footer-content.footer-content--compact{
  display: grid;
  grid-template-columns: 220px 1fr 220px; /* лого фикс, контакты гибкие, соцсети фикс */
  gap: 32px;
  align-items: start;
  margin-bottom: 10px; /* меньше воздуха */
}

.footer-brand{
  display: flex;
  align-items: flex-start;
}

.footer-logo{
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.footer-logo img{
  height: auto;
  width: 180px;         /* ограничиваем размер лого */
  max-width: 100%;
  object-fit: contain;
}

/* Контакты чуть плотнее */
.footer-contacts p{
  margin-bottom: 12px; /* было 15 */
}

/* Соцсети — аккуратнее и ближе */
.social-icons{
  gap: 14px; /* было 20 */
}
.social-icons a{
  width: 46px;  /* было 50 */
  height: 46px;
}

/* Нижняя линия компактнее */
.footer-bottom{
  padding-top: 18px; /* было 30 */
}

/* Адаптив: планшет — 2 колонки, мобилка — 1 колонка */
@media (max-width: 992px){
  .footer-content.footer-content--compact{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand social"
      "contacts contacts";
  }
  .footer-brand{ grid-area: brand; }
  .footer-social{ grid-area: social; justify-self: end; }
  .footer-contacts{ grid-area: contacts; }
}

@media (max-width: 576px){
  .footer-content.footer-content--compact{
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "contacts"
      "social";
  }
  .footer-social{ justify-self: start; }
  .footer-logo img{ width: 160px; }
}

/* ===== Footer contacts split ===== */

.footer-contacts--split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.footer-contact-col h3{
  margin-bottom: 18px;
}

.footer-contact-col p{
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-note{
  font-size: 0.85rem;
  color: #a0aec0;
}

/* CTA button in footer */
.btn-footer{
  margin-top: 14px;
  padding: 12px 26px;
  font-size: 0.95rem;
  border-radius: 999px;
}

/* Tablet */
@media (max-width: 992px){
  .footer-contacts--split{
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* Mobile */
@media (max-width: 576px){
  .btn-footer{
    width: 100%;
    text-align: center;
  }
}

/* Intro for product pages (Certificates) */
.page-intro{
  padding: 34px 0 26px;         /* меньше воздуха */
  background: #f8fafc;          /* лёгкий фон, чтобы отделить от контента */
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.page-intro h1{
  margin: 0 0 10px;
  text-align: center;
}

.page-intro-sub{
  margin: 0 auto 18px;
  max-width: 720px;
  text-align: center;
  color: #5a6b82;
  font-size: 1.05rem;
  line-height: 1.5;
}

.page-intro-actions{
  display: flex;
  justify-content: center;
}

/* чтобы кнопка не выглядела "одиноко" */
.page-intro .btn-primary{
  padding: 14px 28px;
  border-radius: 999px;
}

/* мобилка — ещё компактнее */
@media (max-width: 768px){
  .page-intro{ padding: 26px 0 20px; }
  .page-intro-sub{ font-size: 1rem; margin-bottom: 14px; }
}

/* =========================
   404 PAGE (EXPANDED)
========================= */

.section-404 {
  padding: 120px 0 100px;
}

.error-404 {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.error-404__title {
  font-size: 5.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent-color, #ff7a18);
}

.error-404__subtitle {
  font-size: 1.5rem;
  margin-bottom: 22px;
  font-weight: 500;
}

.error-404__text {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 46px;
}

.error-404__actions {
  margin-bottom: 60px;
}

/* SERVICES */
.error-404__services {
  margin-bottom: 64px;
}

.error-404__services-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.error-404__services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.error-404__services-list li {
  margin: 10px 0;
}

.error-404__services-list a {
  font-size: 1.05rem;
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
}

.error-404__services-list a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* SOCIAL */
.error-404__social {
  font-size: 0.95rem;
  opacity: 0.9;
}

.error-404__instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 1.05rem;
  color: inherit;
  text-decoration: none;
}

.error-404__instagram i {
  font-size: 1.4rem;
  color: #e1306c;
}

.error-404__instagram:hover {
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 600px) {
  .section-404 {
    padding: 80px 0 70px;
  }

  .error-404__title {
    font-size: 4rem;
  }
}
