    :root {
      --bg: #ffffff;
      --text: #2d2d2d;
      --gray: #666;
      --accent: #2e5a88;      /* синий, сканди */
      --accent-dark: #264e77;
      --light-wood: #e8d9c5;
      --border: #e0e0e0;
    }
    * { margin:0; padding:0; box-sizing:border-box; }
    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      color: var(--text);
      background: var(--bg);
      line-height: 1.6;
    }
    .container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

    header {
      position: sticky;
      top: 0;
      background: white;
      border-bottom: 1px solid var(--border);
      z-index: 100;
      padding: 16px 0;
    }
    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .logo { font-size: 1.8rem; font-weight: 700; color: var(--accent); }
    .logo a {
    display: block;                /* или inline-block */
    text-decoration: none;
      }

    .logo img {
    display: block;
    max-width: 100%;
    height: auto;
    transition: opacity 0.2s ease; /* приятный эффект */
    }

    .logo a:hover img,
    .logo a:focus img {
    opacity: 0.9;                  /* лёгкое затемнение при наведении */
}
    .nav {
    display: flex;
    gap: 28px;
}

    .nav a {
      text-decoration: none;
      font-weight: 500;
      font-size: 1.05rem;
      color: var(--text);
      position: relative;
      transition: color 0.2s;
    }

    .nav a:hover {
      color: var(--accent);
    }

    .nav a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.25s;
    }

    .nav a:hover::after {
      width: 100%;
    }

    .contacts { display: flex; align-items: center; gap: 24px; }
    .phone { font-size: 1.25rem; font-weight: 600; }
    .btn {
      padding: 12px 28px;
      background: var(--accent);
      color: white;
      border: none;
      border-radius: 6px;
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.25s;
    }
    .btn:hover { background: var(--accent-dark); }

    .hero {
      padding: 100px 0 80px;
      text-align: center;
      height: 80vh;
      min-height: 400px;
      background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45)),
                  url('img/Kuhni_v_Niznem_Novgorode.webp') center/cover no-repeat;     
    }
    .hero h1 {
      font-size: clamp(2.8rem, 8vw, 4.8rem);
      margin-bottom: 1.2rem;
      color: #ffffff;
      text-shadow: 0 2px 13px rgba(0,0,0,0.5);
    }
    .hero p {
      font-size: 1.4rem;
      max-width: 720px;
      margin: 0 auto 2.5rem;
      color: #ffffff;
      text-shadow: 0 2px 16px rgba(0,0,0,0.5);
    }

    .advantages {
      padding: 80px 0;
      background: white;
    }
    .adv-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 40px;
      text-align: center;
    }
    .adv-item i { font-size: 3rem; color: var(--accent); margin-bottom: 1rem; }
    .adv-item h3 { margin-bottom: 0.6rem; }

    .examples {
      padding: 80px 0;
      background: #f8fbf9;
    }
    .section-title {
      text-align: center;
      font-size: 2.6rem;
      margin-bottom: 3rem;         
    }
    
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
      gap: 30px;
    }
    .card {
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    }
    .card img {
      width: 100%;
      height: 280px;
      object-fit: cover;
    }
    .card-content {
      padding: 20px;
      text-align: center;
    }
    .card h3 { font-size: 1.35rem; }
    .about {
      background: #f8fbf9;
    }
    
    .banner-bg {
      background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3)),
              url("img/besplatniy_zamer.webp") center/cover no-repeat;
      min-height: 480px;
      display: flex;
      align-items: center;
      position: relative;
    }
    .banner-content { max-width: 780px; margin: 0 auto; padding: 50px 40px; text-align:center; }
    .banner-content h2 { font-size: clamp(2.5rem, 2.5vw, 4rem); margin-bottom: 1.4rem; line-height: 1.15; }
    .banner-content p { font-size: 1.3rem; color: var(--black); margin-bottom: 2.5rem; max-width: 580px; margin-left: auto; margin-right: auto; }
    .banner-content .btn { padding: 16px 48px; font-size: 1.25rem; }
    .small-note { margin-top: 2rem; font-size: 0.98rem; color: #555; }
    
    
    @media (max-width: 768px) {
      .banner-content { padding: 40px 30px; }
      .banner-content h2 { font-size: 2.9rem; }
      .banner-content p { font-size: 1.22rem; }
    }
    
    /*о нас начало*/
    
    .about-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 40px;
      text-align: center;
    }
    .master-card img {
      width: 100%;
      height: 320px;
      object-fit: cover;
      border-radius: 12px;
      margin-bottom: 1.2rem;
    }
    .master-card h3 {
      font-size: 1.4rem;
      margin-bottom: 0.5rem;
    }
    .master-card p {
      color: var(--gray);
      font-size: 1.05rem;
    }
    /* о нас конец*/
    
    /*ответы на вопросы начало*/
    
    .faq-section {
      padding: 80px 0;
      background: #f8fbf9; /* как у about и examples */
    }

    .faq-list {
      max-width: 820px;
      margin: 0 auto;
    }

    .faq-item {
      margin-bottom: 1rem;
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.06);
      overflow: hidden;
    }

    .faq-item summary {
      padding: 1.5rem 2rem;
      font-size: 1.25rem;
      font-weight: 600;
      cursor: pointer;
      list-style: none; /* убираем стрелку по умолчанию */
      position: relative;
      transition: background 0.2s;
    }

    .faq-item summary:hover {
      background: #f0f4f2;
    }

    .faq-item summary::after {
      content: '+';
      position: absolute;
      right: 2rem;
      font-size: 1.8rem;
      color: var(--accent);
      transition: transform 0.3s;
    }

    .faq-item[open] summary::after {
      transform: rotate(45deg);
    }

    .faq-item p {
      padding: 0 2rem 1.8rem;
      margin: 0;
      font-size: 1.1rem;
      color: var(--gray);
    }

    details summary::-webkit-details-marker {
      display: none; /* скрываем дефолтную стрелку в Chrome/Safari */
    }
    /* ответы на вопросы конец*/
    
    /* форма обратной связи начало*/
    
    .form-section {
      padding: 80px 0;
      background: white;
      text-align: center;
    }
    form {
      max-width: 500px;
      margin: 2rem auto 0;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    input {
      padding: 14px;
      font-size: 1.1rem;
      border: 1px solid var(--border);
      border-radius: 6px;
    }
    .contact-section {
      padding: 80px 0;
      background: #f8fbf9;
      text-align: center;
    }
    .contact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 40px;
      margin-top: 2.5rem;
    }
    .contact-item {
      padding: 2rem 1.5rem;
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    }
    .contact-item i {
      font-size: 2.8rem;
      color: var(--accent);
      margin-bottom: 1.2rem;
    }
    .contact-item h3 {
      font-size: 1.4rem;
      margin-bottom: 0.8rem;
    }
    .contact-item a {
      color: var(--accent);
      text-decoration: none;
      font-weight: 500;
    }
    .contact-item a:hover {
      text-decoration: underline;
      color: var(--accent-dark);
    }
    .social-links {
      margin-top: 1.5rem;
      display: flex;
      justify-content: center;
      gap: 1.8rem;
    }
    .social-links a {
      font-size: 1.8rem;
      color: var(--gray);
      transition: color 0.2s;
    }
    .social-links a:hover {
      color: var(--accent);
    }
    /* ───────────────────────────────────────────────────── */
    footer {
      background: #f0f4f2;
      padding: 50px 0 30px;
      text-align: center;
      color: var(--gray);
    }

    @media (max-width: 768px) {
      .hero { padding: 11px 0 10px;}
      .hero h1 {font-size: clamp(1.9rem, 5vw, 3.3rem);
                margin-bottom: 0.6rem;}
      .hero p {margin: 0 auto 0.5rem;
              font-size: 1.3rem;}
      .steps { flex-direction: column; align-items: center; }
      .banner-content h2 { font-size: clamp(2.0rem, 1.5vw, 4rem); margin-bottom: 1.4rem; line-height: 1.15; }
    }
    
    /* плавная прокрутка*/
    html {
      scroll-behavior: smooth;
    }
    
/* ─── Бургер ───────────────────────── */
    .burger {
      display: none;
      width: 32px;
      height: 22px;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
    }

    .burger span {
      height: 3px;
      width: 100%;
      background: var(--accent);
      border-radius: 2px;
      transition: 0.3s;
    }

/* ─── Мобильное меню ───────────────── */
    .mobile-menu {
      position: fixed;
      inset: 0;
      background: white;
      z-index: 200;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 26px;
      transform: translateY(-100%);
      transition: transform 0.35s ease;
    }

    .mobile-menu a {
      font-size: 1.6rem;
      text-decoration: none;
      color: var(--text);
      font-weight: 600;
    }

    .mobile-phone {
      margin-top: 10px;
      font-size: 1.4rem;
    }

    .mobile-btn {
      margin-top: 20px;
    }

/* ─── Активные состояния ───────────── */
    .mobile-menu.active {
      transform: translateY(0);
    }

    .burger.active span:nth-child(1) {
      transform: rotate(45deg) translateY(9px);
    }

    .burger.active span:nth-child(2) {
      opacity: 0;
    }

    .burger.active span:nth-child(3) {
      transform: rotate(-45deg) translateY(-9px);
    }

/* ─── Адаптив ──────────────────────── */
    @media (max-width: 900px) {
      .nav {
        display: none;
      }

    .burger {
      display: flex;
    }

    .contacts {
      gap: 14px;
      }
    }

    @media (min-width: 901px) {
      .mobile-menu {
        display: none;
      }
    }
    
    /* ─── Overlay ─────────────────────── */
    .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    }

    .menu-overlay.active {
      opacity: 1;
      pointer-events: all;
      }
    
    /* ─── Адаптация шапки ───────────────── */
    .phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    }

    .phone i {
    font-size: 1.4rem;
    color: var(--accent);
    }

/* Мобильные */
    @media (max-width: 900px) {
      
    .header-inner {
      gap: 10px;
    }
    .hero h1 {
      font-size: clamp(1.8rem, 5vw, 2.8rem);
      margin-bottom: 2.2rem;
    }
    .contacts {
      order: 2;
    }

    .burger {
      order: 3;
    }
    header {
      padding: 12px 0;
    }

    .logo {
      font-size: 1.35rem;
    }

    .phone-text {
      display: none; /* скрываем номер */
    }

    .contacts {
      gap: 14px;
    }

    .btn {
      padding: 8px 16px;
      font-size: 0.95rem;
    }

    .burger {
      margin-left: 6px;
      }
    }

/* Очень маленькие экраны */
    @media (max-width: 420px) {
      
    .contacts a[href*="t.me"] {
      display: none;
    }

    .logo {
      font-size: 1.15rem;
    }

    .btn {
      padding: 6px 12px;
      font-size: 0.9rem;
    }

    .phone i {
      font-size: 1.25rem;
      }
    }


