/* Nikolai Litvinenko site — colors and typography matched to original Hypnotherapy theme */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700&display=swap');
/* Original theme: body=Titillium Web 14px, headings=Arial bold */

:root {
  --primary: #f9b45c;        /* warm gold-orange (original accent) */
  --primary-dark: #e69d3a;
  --primary-light: #faef81;
  --secondary: #65908f;       /* muted teal */
  --secondary-dark: #4d7372;
  --text: #1e1d22;            /* near-black for headings */
  --text-light: #65908f;      /* teal — body text per original */
  --text-muted: #969fa6;
  --bg: #ffffff;
  --bg-soft: #f6f6f6;
  --bg-dark: #1e1d22;
  --bg-darker: #181e3d;
  --border: #e5e5e5;
  --border-soft: #cacaca;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-light);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color .25s; }
a:hover { color: var(--primary-dark); }

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

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Arial', sans-serif;
  color: var(--text);
  font-weight: 700;
  line-height: 1.17;
  margin-bottom: 0.7em;
  margin-top: 0.7em;
}
h1 { font-size: 4.286rem; line-height: 1.12; letter-spacing: -0.4px; }
h2 { font-size: 3.429rem; letter-spacing: -0.3px; }
h3 { font-size: 2.571rem; letter-spacing: -0.3px; }
h4 { font-size: 2.143rem; }
h5 { font-size: 1.714rem; line-height: 1.21; letter-spacing: 0.2px; }
h6 { font-size: 1.286rem; letter-spacing: 0.25px; }

p { margin-bottom: 1em; }

/* ========== HEADER ========== */
.site-header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-contact-bar {
  background: #f6f6f6;
  font-size: 0.78rem;
  color: var(--text-light);
  padding: 6px 0;
  border-bottom: 1px solid #ececec;
  line-height: 1.4;
}
.header-contact-bar .container {
  display: flex;
  gap: 22px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}
@media (max-width: 800px) {
  .header-contact-bar { font-size: 0.72rem; padding: 5px 0; }
  .header-contact-bar .container { gap: 12px; }
  /* Hide email on tablets/mobile — keep both phones + FB */
  .header-contact-bar .container > span:nth-child(3) { display: none; }
}
@media (max-width: 480px) {
  .header-contact-bar { font-size: 0.7rem; }
  .header-contact-bar .container { gap: 10px; }
  /* On very small screens hide the second phone too */
  .header-contact-bar .container > span:nth-child(2) { display: none; }
}
.header-contact-bar a { color: var(--text-light); }
.header-contact-bar a:hover { color: var(--primary-dark); }
.contact-bar-social {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.contact-bar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--text-light);
  transition: color .25s, transform .25s;
}
.contact-bar-social a:hover {
  color: #1877f2;
  transform: scale(1.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-weight: 700;
}
.logo img {
  height: 60px;
  width: auto;
}
.logo-text {
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: var(--text);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav > a {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 0;
  position: relative;
  transition: color .25s;
}
.main-nav > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .25s ease;
}
.main-nav > a:hover {
  color: var(--primary-dark);
}
.main-nav > a:hover::after {
  width: 100%;
}
.main-nav .btn {
  padding: 12px 26px;
  font-size: 0.78rem;
  border-radius: 30px;
  color: #fff;
}
.main-nav .btn:hover { color: #fff; }
.main-nav .btn::after { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  color: var(--text);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  transition: all .25s ease;
  border: 2px solid var(--primary);
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(101,144,143,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249,180,92,0.35);
}
.btn-light {
  background: #fff;
  color: var(--text);
  border-color: #fff;
}
.btn-light:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* ========== HERO ========== */
.hero {
  background: url('img/bg_litvinenko.png') center top no-repeat;
  background-size: 100% auto;
  width: 100%;
  aspect-ratio: 1920 / 553;
  display: flex;
  align-items: center;
  position: relative;
}
.hero .container {
  width: 100%;
}
.hero-content {
  max-width: 540px;
}
.hero-content h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--text);
}
.hero-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--text-light);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  transition: all .25s ease;
}
.hero-fb:hover {
  background: #1877f2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(24,119,242,0.35);
}
@media (max-width: 1100px) {
  .hero-content h1 { font-size: 2.1rem; }
  .hero-content p { font-size: 0.95rem; margin-bottom: 18px; }
  .hero-content { max-width: 45%; }
}
@media (max-width: 900px) {
  /* On mobile: portrait photo on top, text below — uses different image (square portrait) */
  .hero {
    background: none;
    aspect-ratio: auto;
    display: block;
  }
  .hero::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 380px;
    background: url('img/nikolai_litvineko.png') center center / cover no-repeat;
    background-color: var(--bg-soft);
  }
  .hero .container { padding: 32px 20px 40px; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-content h1 { font-size: 1.7rem; line-height: 1.2; margin-bottom: 14px; }
  .hero-content p { font-size: 0.95rem; margin-bottom: 22px; }
  .hero-actions { justify-content: center; }
}
@media (max-width: 600px) {
  .hero-content h1 { font-size: 1.45rem; }
  .hero-content p { font-size: 0.9rem; }
  .hero-actions .btn { padding: 12px 24px; font-size: 0.78rem; }
  .hero-fb { width: 40px; height: 40px; }
}

/* ========== SECTIONS ========== */
section {
  padding: 90px 0;
}
section.alt {
  background: var(--bg-soft);
}
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 22px;
  margin-bottom: 12px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: var(--primary);
}
.section-title .subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 14px;
}

/* ========== 4 ОБЛАСТИ — top cards ========== */
.conditions-section {
  padding: 50px 0 70px;
}
.conditions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.condition-card {
  background: transparent;
  padding: 24px 18px;
  text-align: center;
  border: none;
  transition: transform .3s;
}
.condition-card:hover {
  transform: translateY(-4px);
}
.condition-card h3 {
  color: var(--text);
  margin-bottom: 14px;
  font-size: 1.2rem;
  font-weight: 700;
}
.condition-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== ABOUT INTRO with photo ========== */
.about-intro {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 70px;
  align-items: center;
}
.about-intro-img img {
  border-radius: 0;
  box-shadow: 0 24px 50px rgba(0,0,0,0.18);
}
.about-intro-text .subtitle {
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  margin-bottom: 14px;
}
.about-intro-text h2 {
  margin-bottom: 24px;
  font-size: 2.4rem;
}
.about-intro-text p {
  font-size: 1.05rem;
  margin-bottom: 22px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========== SERVICE CARDS ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
/* Contact card filling 2 grid cells next to last service card */
.services-contact-card {
  grid-column: span 2;
  background: linear-gradient(135deg, #1e1d22 0%, #2b2e41 100%);
  color: #fff;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.services-contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/meditation1.jpg') center/cover;
  opacity: 0.12;
}
.services-contact-card > * { position: relative; z-index: 1; }
.services-contact-card h3 {
  color: #fff;
  font-size: 1.6rem;
  margin: 0 0 10px;
}
.services-contact-card > p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 22px;
}
.services-contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 24px;
}
.services-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 0;
  transition: color .2s, transform .2s;
}
.services-contact-item:hover {
  color: var(--primary);
  transform: translateX(4px);
}
.services-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(249,180,92,0.18);
  border-radius: 50%;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.services-contact-fb:hover { color: #4b9af5; }
.services-contact-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .services-contact-card { grid-column: span 2; }
  .services-contact-list { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-contact-card { grid-column: span 2; }
}
@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-contact-card { grid-column: span 1; }
}
.service-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.service-card:hover {
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
  transform: translateY(-6px);
  border-color: var(--primary);
}
.service-card-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(249,180,92,0.25) 100%);
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover .service-card-img::after { opacity: 1; }
.service-card-body {
  padding: 28px 26px;
}
.service-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 700;
  transition: color .25s;
}
.service-card:hover .service-card-body h3 {
  color: var(--primary-dark);
}
.service-card-body p {
  color: var(--text-light);
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.service-card-arrow {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform .25s ease;
}
.service-card:hover .service-card-arrow {
  transform: translateX(6px);
}

/* ========== METHODS — alternating image/text rows ========== */
.method-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}
.method-row:last-child { margin-bottom: 0; }
.method-row.reverse {
  direction: rtl;
}
.method-row.reverse > * {
  direction: ltr;
}
.method-row-img {
  height: 360px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 36px rgba(0,0,0,0.15);
  transition: transform .3s ease;
}
.method-row:hover .method-row-img {
  transform: scale(1.02);
}
.method-row-text h3 {
  font-size: 1.9rem;
  color: var(--text);
  margin: 0 0 18px;
  font-weight: 700;
  line-height: 1.2;
}
.method-row-text p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .method-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
  }
  .method-row.reverse { direction: ltr; }
  .method-row-img { height: 240px; }
  .method-row-text h3 { font-size: 1.5rem; }
}

/* ========== TESTIMONIAL — clean modern card ========== */
.testimonial-clean {
  background: var(--bg-soft);
  padding: 90px 0;
}
.testimonial-card {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  padding: 50px 60px 40px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  position: relative;
  border-top: 3px solid var(--primary);
}
.testimonial-quote-mark {
  position: absolute;
  top: -10px;
  left: 40px;
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  color: var(--primary);
  font-weight: 700;
}
.testimonial-text {
  padding-top: 20px;
}
.testimonial-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 1em;
}
.testimonial-text .testimonial-final {
  color: var(--text);
  font-size: 1.05rem;
  margin-top: 16px;
  margin-bottom: 24px;
}
.testimonial-author-block {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.testimonial-author-name {
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
}
.testimonial-author-place {
  color: var(--text-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
@media (max-width: 700px) {
  .testimonial-card { padding: 36px 24px 30px; }
  .testimonial-quote-mark { font-size: 5rem; left: 20px; }
}

/* ========== CTA + AUDIO COMBINED ========== */
.cta-audio {
  background: linear-gradient(135deg, #1e1d22 0%, #2b2e41 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-audio::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/meditation1.jpg') center/cover;
  opacity: 0.18;
}
.cta-audio .container { position: relative; z-index: 1; }
.cta-audio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Both columns share heading style */
.cta-audio-left h2,
.cta-audio-right h2 {
  color: #fff;
  font-size: 2.1rem;
  margin: 0 0 16px;
  line-height: 1.2;
}
.cta-audio-left > p,
.cta-audio-right > p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Audio block inside CTA */
.cta-audio-block {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.cta-audio-label {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.cta-audio-block audio {
  width: 100%;
  max-width: 480px;
  filter: invert(1) hue-rotate(180deg);
}

/* Form on dark background */
.cta-audio-right .contact-form {
  background: rgba(255,255,255,0.06);
  padding: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.cta-audio-right .contact-form input,
.cta-audio-right .contact-form textarea {
  background: rgba(255,255,255,0.95);
  border-color: transparent;
}
.cta-audio-right .contact-form input:focus,
.cta-audio-right .contact-form textarea:focus {
  background: #fff;
  border-color: var(--primary);
}
.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.cta-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 10px 0;
  transition: color .25s, transform .25s;
}
.cta-contact:hover {
  color: var(--primary);
  transform: translateX(4px);
}
.cta-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(249,180,92,0.15);
  border-radius: 50%;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .cta-audio-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .cta-audio { padding: 60px 0; }
  .cta-audio-right h2 { font-size: 1.9rem; }
}

/* ========== CONTACT FORM ========== */
.contact-form {
  background: var(--bg);
  padding: 0;
}
.contact-form .form-grid { margin-bottom: 0; }
.form-row { margin-bottom: 16px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-soft);
  color: var(--text);
  transition: border-color .25s, background .25s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form button {
  margin-top: 12px;
  padding: 16px 40px;
  font-size: 0.9rem;
}
.form-result {
  margin-top: 18px;
  padding: 14px 18px;
  font-size: 0.95rem;
}
.form-result.ok {
  background: #e9f5e9;
  color: #2d5a2d;
  border-left: 3px solid #52a052;
}
.form-result.err {
  background: #fcebec;
  color: #761a23;
  border-left: 3px solid #d63d4c;
}

/* ========== PAGE HEADER ========== */
.page-header {
  background: linear-gradient(rgba(30,29,34,0.7), rgba(30,29,34,0.7)), url('img/bg_litvinenko.png') center/cover;
  color: #fff;
  padding: 120px 0 80px;
  text-align: center;
}
.page-header h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 14px;
}
.breadcrumbs {
  margin-top: 14px;
  font-size: 0.9rem;
  opacity: 0.9;
  color: #fff;
}
.breadcrumbs a { color: var(--primary); }
.breadcrumbs a:hover { color: #fff; }

/* ========== ARTICLE ========== */
.article {
  max-width: 870px;
  margin: 0 auto;
  background: var(--bg);
  padding: 0;
}
.article h2 {
  color: var(--text);
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  font-size: 1.8rem;
}
.article h2:first-child { margin-top: 0; }
.article h3 {
  color: var(--text);
  margin-top: 1.4em;
  font-size: 1.35rem;
}
.article p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.85;
}
.article-cta {
  text-align: center;
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.article-cta-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
}
.article-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 30px;
}
.article-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-soft);
  border-radius: 30px;
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all .25s;
}
.article-contact:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249,180,92,0.3);
}
.article-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.article-contact-fb:hover {
  background: #1877f2;
  box-shadow: 0 6px 16px rgba(24,119,242,0.35);
}

/* ========== BACK TO TOP ========== */
#back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .3s ease;
  z-index: 99;
}
#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
#back-to-top svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 700px) {
  #back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg-darker);
  color: #b8c3cc;
  padding: 70px 0 0;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 5fr 3fr 3fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--primary);
}
.footer-col p {
  color: #969fa6;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-col a { color: var(--primary); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid #2b2e41;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7480;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .conditions { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .methods { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    gap: 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav .btn { width: 100%; text-align: center; }
  .header-contact-bar .container { justify-content: center; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 90px 0; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  section { padding: 60px 0; }
  .page-header { padding: 80px 0 60px; }
  .page-header h1 { font-size: 2.2rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
}
@media (max-width: 700px) {
  .conditions, .services-grid, .methods { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-phones { font-size: 1.3rem; }
}

/* ========== YOUTUBE SECTION ========== */
.youtube-section {
  padding: 70px 0;
}
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.youtube-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: all .3s ease;
  overflow: hidden;
}
.youtube-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  border-color: #ff0000;
}
.youtube-thumb {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
}
.youtube-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 4px 16px rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.15);
  transition: background .3s, color .3s;
}
.youtube-card:hover .youtube-play {
  background: rgba(255,0,0,0.4);
  color: #fff;
}
.youtube-card-body {
  padding: 16px 18px;
}
.youtube-card-body h4 {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text);
  line-height: 1.4;
  font-weight: 600;
}
.contact-bar-social .social-yt:hover { color: #ff0000; }
@media (max-width: 1100px) {
  .youtube-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .youtube-grid { grid-template-columns: 1fr; }
}

/* ========== YOUTUBE FEATURED (single video layout) ========== */
.youtube-featured {
  max-width: 1000px;
  margin: 0 auto;
}
.youtube-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: all .3s ease;
}
.youtube-featured-card:hover {
  border-color: #ff0000;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.youtube-featured-thumb {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  min-height: 320px;
}
.youtube-play-large {
  font-size: 5rem;
}
.youtube-featured-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.youtube-featured-label {
  display: inline-block;
  background: #ff0000;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 30px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.youtube-featured-body h3 {
  font-size: 1.6rem;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.3;
}
.youtube-featured-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 22px;
}
.youtube-featured-body .btn {
  align-self: flex-start;
  pointer-events: none;
}
@media (max-width: 800px) {
  .youtube-featured-card {
    grid-template-columns: 1fr;
  }
  .youtube-featured-thumb {
    min-height: 220px;
    padding-bottom: 56.25%;
    height: 0;
  }
  .youtube-featured-body { padding: 28px 24px; }
  .youtube-featured-body h3 { font-size: 1.3rem; }
}
