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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-right: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 50px; /* уменьшено расстояние между пунктами меню */
  margin-right: 40px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
  padding-bottom: 5px;
  border-bottom: 3px solid transparent;
  position: relative;
}

.nav-link:hover {
  color: #b96734;
}

.nav-link.active {
  color: #b96734;
  border-bottom-color: #b96734;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px; /* между номером и RU+кнопкой */
}

.phone {
  font-weight: 500;
  color: #333;
  text-decoration: none;
  font-size: 16px;
}

.lang-selector {
  position: relative;
}

.lang-btn {
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 5px;
  min-width: 120px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.lang-dropdown.active {
  display: block;
}

.lang-option {
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.lang-option:hover {
  background: #f5f5f5;
}

.btn-primary {
  background: #b96734;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: #a05d33;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.hero {
  background-image: url('main1.jpg');    /* если файл лежит рядом со style.css — укажи правильный путь */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    max-width: 800px;
    line-height: 1.3;
    margin-bottom: 630px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: #f5f5f5;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.content-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.content-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-text .highlight {
    font-weight: 500;
    color: #333;
    margin-top: 20px;
}

.content-image {
    width: 100%;
    height: 300px;
    background: #ddd;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;      
  display: block;         
  border-radius: inherit; 
}

.cta-wrapper {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.cta-section {
  background: #00000010;
  padding: 60px 40px;
  text-align: center;
  border-radius: 8px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.cta-section h3 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #00bcd4;
}

.training-content,
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.training-content h2,
.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 40px;
    color: #333;
}

.training-content h2:first-child,
.about-content h2:first-child {
    margin-top: 0;
}

.training-content p,
.about-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.contact-section {
    background: linear-gradient(135deg, #000000 0%, #a05d33 100%);
    padding: 80px 0;
}

.contact-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px; 
  flex-wrap: wrap;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 8px;
}

.contact-form h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 30px;
}
.contact-form,
.contact-info {
  flex: 1 1 50%;
  max-width: 600px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    background: rgba(255,255,255,0.9);
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.captcha-placeholder {
    background: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 12px;
    color: #999;
}

.btn-submit {
    background: #d32f2f;
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #b71c1c;
}

.contact-info {
    color: #fff;
    padding: 40px 0;
}

.contact-info h3 {
    font-size: 32px;
    margin-bottom: 30px;
}

.contact-info .phone-large {
    font-size: 36px;
    font-weight: 700;
    margin: 30px 0;
    display: block;
    color: #fff;
    text-decoration: none;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: #000;
    border-radius: 8px;
    margin-top: 30px;
}
.contact-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}

.contact-modal.is-open { display: block; }

.contact-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.contact-modal__box {
  position: relative;
  max-width: 520px;
  margin: 14vh auto 0;
  background: #fff;
  border-radius: 14px;
  padding: 26px 22px 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.contact-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.contact-modal__title {
  margin: 0 0 6px;
  font-size: 22px;
  color: #111;
  font-weight: 700;
}

.contact-modal__subtitle {
  margin: 0 0 18px;
  color: #555;
  line-height: 1.4;
}

.contact-modal__actions {
  display: grid;
  gap: 12px;
}

.contact-modal__btn {
  display: block;
  text-decoration: none;
  padding: 14px 14px;
  border-radius: 10px;
  background: #1a1a1a;
  color: #fff;
  font-weight: 500;
  transition: transform .2s, background .25s;
}

.contact-modal__btn:hover {
  background: #b96734;
  transform: translateY(-2px);
}
/* Large Desktop */
@media (max-width: 1400px) {
  .container {
    max-width: 1200px;
  }
}

/* Medium Desktop / Laptop */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 40px;
  }

  .hero {
    height: 700px;
  }

  .hero h1 {
    font-size: 44px;
    margin-bottom: 550px;
  }
}

/* Tablet Landscape */
@media (max-width: 968px) {
  /* Header Navigation */
  nav {
    flex-wrap: wrap;
    gap: 15px;
  }

  .logo {
    font-size: 28px;
    margin-right: 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
  }

  .header-number {
    order: 1;
  }

  .lang-selector {
    order: 2;
  }

  .contact-button {
    order: 2;
  }

  /* Hero Section */
  .hero {
    height: 600px;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 38px;
    max-width: 90%;
    margin-bottom: 450px;
    padding: 0 20px;
  }

  /* Content Sections */
  .section {
    padding: 60px 0;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-text h2 {
    font-size: 30px;
    text-align: center;
  }

  .content-text p {
    text-align: center;
    font-size: 16px;
  }

  .content-text .highlight {
    text-align: center;
  }

  .content-image {
    max-width: 500px;
    margin: 0 auto;
    height: 320px;
  }

  /* CTA Section */
  .cta-wrapper {
    padding: 50px 20px;
  }

  .cta-section {
    padding: 50px 35px;
  }

  .cta-section h3 {
    font-size: 26px;
  }

  /* Contact Form - CENTERED */
  .contact-section {
    padding: 60px 0;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .contact-form,
  .contact-info {
    width: 100%;
    max-width: 600px;
  }

  .contact-form {
    padding: 35px 30px;
  }

  .contact-form h2 {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .contact-info {
    padding: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
  }

  .contact-info h3 {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .contact-info .phone-large {
    font-size: 32px;
    margin: 25px 0;
  }

  .map-placeholder {
    height: 280px;
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  /* Header */
  header {
    padding: 12px 0;
  }

  .container {
    padding: 0 25px;
  }

  nav {
    padding: 10px 0;
  }

  .logo {
    font-size: 24px;
  }

  .phone {
    font-size: 14px;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
  }

  .nav-links {
    gap: 12px;
    padding-top: 12px;
  }

  .nav-link {
    font-size: 15px;
  }

  /* Hero */
  .hero {
    height: 500px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 360px;
  }

  /* Sections */
  .section {
    padding: 50px 0;
  }

  .content-text h2 {
    font-size: 28px;
    margin-bottom: 18px;
  }

  .content-text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .content-image {
    height: 280px;
    max-width: 100%;
  }

  /* CTA */
  .cta-wrapper {
    padding: 40px 15px;
  }

  .cta-section {
    padding: 40px 30px;
  }

  .cta-section h3 {
    font-size: 24px;
    margin-bottom: 25px;
    line-height: 1.4;
  }

  /* Contact Form - CENTERED Professional Layout */
  .contact-section {
    padding: 50px 0;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .contact-form,
  .contact-info {
    width: 100%;
    max-width: 550px;
  }

  .contact-form {
    padding: 30px 25px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
  }

  .contact-form h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
  }

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

  .form-group input,
  .form-group textarea {
    padding: 14px 18px;
    font-size: 15px;
    border-radius: 8px;
  }

  .form-group textarea {
    min-height: 110px;
  }

  .form-footer {
    flex-direction: column;
    gap: 18px;
    margin-top: 25px;
  }

  .captcha-placeholder {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
  }

  .btn-submit {
    width: 100%;
    padding: 14px 40px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
  }

  /* Contact Info - CENTERED */
  .contact-info {
    padding: 25px 20px;
    text-align: center;
  }

  .contact-info h3 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .contact-info .phone-large {
    font-size: 28px;
    margin: 20px 0;
    display: inline-block;
  }

  .map-placeholder {
    height: 250px;
    border-radius: 12px;
  }
}

/* Mobile Landscape */
@media (max-width: 640px) {
  .hero {
    height: 450px;
  }

  .hero h1 {
    font-size: 28px;
    margin-bottom: 310px;
  }

  .content-text h2 {
    font-size: 26px;
  }

  .content-image {
    height: 250px;
  }

  /* Contact Form - CENTERED */
  .contact-form,
  .contact-info {
    max-width: 500px;
  }
}

/* Mobile Portrait - CENTERED & Professional */
@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  /* Header */
  .logo {
    font-size: 22px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-link {
    font-size: 14px;
    padding: 8px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .phone {
    font-size: 13px;
  }

  .lang-btn {
    padding: 6px 12px;
    font-size: 13px;
  }

  .btn-primary {
    padding: 8px 16px;
    font-size: 13px;
    min-height: 44px;
    min-width: 44px;
  }

  /* Hero Section */
  .hero {
    height: 420px;
    background-position: center center;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.5;
    margin-bottom: 280px;
    padding: 0 15px;
    font-weight: 700;
  }

  /* Content Sections */
  .section {
    padding: 45px 0;
  }

  .content-text {
    padding: 0 10px;
  }

  .content-text h2 {
    font-size: 24px;
    margin-bottom: 16px;
    line-height: 1.4;
  }

  .content-text p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 14px;
  }

  .content-text .highlight {
    margin-top: 18px;
    font-size: 15px;
  }

  .content-image {
    height: 240px;
    border-radius: 12px;
  }

  /* CTA Section */
  .cta-wrapper {
    padding: 35px 12px;
  }

  .cta-section {
    padding: 35px 25px;
    border-radius: 12px;
  }

  .cta-section h3 {
    font-size: 22px;
    margin-bottom: 22px;
    line-height: 1.5;
  }

  /* Contact Section - PERFECTLY CENTERED */
  .contact-section {
    padding: 45px 0;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    padding: 0 15px;
  }

  /* Contact Form - CENTERED Clean Professional Style */
  .contact-form {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 28px 22px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  }

  .contact-form h2 {
    font-size: 26px;
    margin-bottom: 22px;
    text-align: center;
    font-weight: 700;
  }

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

  .form-group input,
  .form-group textarea {
    padding: 15px 18px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.95);
    transition: all 0.3s ease;
  }

  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #b96734;
    box-shadow: 0 0 0 3px rgba(185,103,52,0.1);
  }

  .form-group textarea {
    min-height: 120px;
  }

  .form-footer {
    flex-direction: column;
    gap: 16px;
    margin-top: 22px;
  }

  .captcha-placeholder {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: 10px;
    background: rgba(255,255,255,0.98);
    font-size: 13px;
  }

  .btn-submit {
    width: 100%;
    padding: 16px 40px;
    font-size: 17px;
    border-radius: 10px;
    font-weight: 600;
    background: #b96734;
    box-shadow: 0 4px 12px rgba(185,103,52,0.3);
    transition: all 0.3s ease;
    min-height: 44px;
  }

  .btn-submit:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(185,103,52,0.3);
  }

  /* Contact Info - CENTERED Professional Mobile Style */
  .contact-info {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 28px 22px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    text-align: center;
  }

  .contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
  }

  .contact-info .phone-large {
    font-size: 26px;
    margin: 20px 0;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.5px;
  }

  .map-placeholder {
    height: 220px;
    border-radius: 14px;
    margin-top: 20px;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }

  .service-card h3 {
    font-size: 22px;
  }

  /* Modal Improvements */
  .contact-modal__box {
    margin-top: 8vh;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .contact-modal__title {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .contact-modal__subtitle {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .contact-modal__btn {
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 10px;
    font-weight: 600;
  }

  /* Typography */
  body {
    font-size: 14px;
  }

  h1 {
    line-height: 1.3;
  }

  h2 {
    line-height: 1.4;
  }

  h3 {
    line-height: 1.4;
  }

  p {
    line-height: 1.6;
  }
}

/* Small Mobile (iPhone SE, old Android) - CENTERED */
@media (max-width: 380px) {
  .container {
    padding: 0 15px;
  }

  .logo {
    font-size: 20px;
  }

  .hero {
    height: 380px;
  }

  .hero h1 {
    font-size: 23px;
    margin-bottom: 250px;
  }

  .content-text h2 {
    font-size: 22px;
  }

  .content-text p {
    font-size: 14px;
  }

  .content-image {
    height: 220px;
  }

  .cta-section {
    padding: 30px 20px;
  }

  .cta-section h3 {
    font-size: 20px;
  }

  /* Contact Form & Info - CENTERED */
  .contact-grid {
    padding: 0 10px;
  }

  .contact-form,
  .contact-info {
    max-width: 100%;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .contact-form h2 {
    font-size: 24px;
  }

  .form-group input,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 15px;
  }

  .btn-submit {
    padding: 15px 35px;
    font-size: 16px;
  }

  .contact-info {
    padding: 24px 18px;
  }

  .contact-info h3 {
    font-size: 22px;
  }

  .contact-info .phone-large {
    font-size: 24px;
  }

  .section-title {
    font-size: 24px;
  }

  .btn-primary,
  .btn-hero,
  .btn-cta {
    font-size: 13px;
    padding: 8px 20px;
  }
}

/* Landscape Orientation Fix */
@media (max-width: 968px) and (max-height: 500px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 350px;
    padding: 80px 0 60px;
  }

  .hero h1 {
    margin-bottom: 0;
  }

  .section {
    padding: 40px 0;
  }

  .contact-section {
    padding: 40px 0;
  }
}

/* Tablets Portrait */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    max-width: 95%;
  }

  .services-grid,
  .products-grid,
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .materials-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact Form - CENTERED on Tablets */
  .contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-form,
  .contact-info {
    max-width: 650px;
  }
}

/* Performance Optimization for Mobile */
@media (max-width: 768px) {
  .service-card:hover,
  .product-card:hover,
  .video-card:hover,
  .material-card:hover,
  .why-card:hover,
  .stat-card:hover,
  .spec-badge:hover {
    transform: none;
  }

  .service-card:active,
  .product-card:active,
  .video-card:active {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero,
  .content-image img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* =========================
   NAV DROPDOWN (mobile)
   ========================= */

/* Desktop: просто обычное меню (как раньше) */
.nav-dd {
  display: flex;
  align-items: center;
}
.nav-dd__toggle,
.nav-dd__label {
  display: none;
}
.nav-dd__panel.nav-links {
  display: flex;
  position: static;
}

/* Mobile/Tablet: превращаем меню в dropdown */
@media (max-width: 968px) {
  header nav { position: relative; }

  /* Блок dropdown занимает строку и НЕ мешает */
  .nav-dd {
    order: 3;
    width: 100%;
    display: block;
  }

  /* Показываем кнопку "Страницы" */
  .nav-dd__label {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;

    font-weight: 500;
    color: #333;
    cursor: pointer;
    user-select: none;
    min-height: 44px;
  }

  /* Стрелка */
  .nav-dd__label::after {
    content: "▾";
    transition: transform .2s ease;
  }

  /* Скрытый checkbox */
  .nav-dd__toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  /* Панель ссылок по умолчанию скрыта */
  .nav-dd__panel.nav-links {
    display: none !important;
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);

    flex-direction: column;
    gap: 6px;

    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);

    padding: 8px;
    z-index: 2000;

    /* убираем то, что у тебя включается на мобиле */
    width: auto;
    margin: 0;
    border-top: 1px solid #eee;
  }

  /* Открыто */
  .nav-dd__toggle:checked + .nav-dd__label::after {
    transform: rotate(180deg);
  }
  .nav-dd__toggle:checked + .nav-dd__label + .nav-dd__panel.nav-links {
    display: flex !important;
  }

  .nav-dd__panel .nav-link {
    padding: 12px 12px;
    border-radius: 10px;
    border-bottom: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-dd__panel .nav-link.active {
    background: rgba(185, 103, 52, 0.12);
    border-bottom-color: transparent;
  }
}
/* iPhone 14 (390px) */
@media (min-width: 385px) and (max-width: 395px) and (orientation: portrait) {
  .hero h1 { font-size: 30px; margin-bottom: 320px; }
  .nav-dd__label { font-size: 15px; }
}

/* iPhone 13 Pro Max (428px) */
@media (min-width: 420px) and (max-width: 435px) and (orientation: portrait) {
  .hero h1 { font-size: 34px; margin-bottom: 340px; }
  .nav-dd__label { font-size: 15px; }
}

/* Galaxy Z Flip (часто ~360px в портрете) */
@media (min-width: 350px) and (max-width: 370px) and (orientation: portrait) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 28px; margin-bottom: 290px; }
  .nav-dd__label { font-size: 14px; }
}

/* 1920x1080 (большой десктоп) */
@media (min-width: 1900px) and (min-height: 1000px) {
  .container { max-width: 1600px; }
  .hero { height: 820px; }
  .hero h1 { font-size: 54px; margin-bottom: 600px; }
}

/* HP 15.6" (самый частый кейс: 1366x768) */
@media (min-width: 1320px) and (max-width: 1400px) and (max-height: 820px) {
  .hero { height: 680px; }
  .hero h1 { font-size: 44px; margin-bottom: 480px; }
  .section { padding: 70px 0; }
}

