* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
    }

    body {
      background: #f5f7fb;
      color: #1e2b3c;
      line-height: 1.5;
      scroll-behavior: smooth;
    }

    /* анимированная шапка */
    .header {
      background: linear-gradient(135deg, #0b2a4f 0%, #1b3a62 70%, #2b5580 100%);
      color: white;
      padding: 2rem 1rem 3rem;
      position: relative;
      overflow: hidden;
      box-shadow: 0 10px 25px rgba(0, 20, 40, 0.3);
    }

    .header::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -20%;
      width: 140%;
      height: 200%;
      background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
      animation: softGlow 12s infinite alternate ease-in-out;
    }

    @keyframes softGlow {
      0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
      }
      100% {
        transform: translate(-3%, -2%) scale(1.1);
        opacity: 0.7;
      }
    }

    .header-content {
      max-width: 1200px;
      margin: 0 auto;
      position: relative;
      z-index: 5;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
    }

    .header-text h1 {
      font-size: 2.8rem;
      font-weight: 800;
      letter-spacing: -0.5px;
      line-height: 1.2;
      text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
      animation: fadeInUp 1s ease;
    }

    .header-text h1 i {
      color: #ffd966;
      margin-right: 8px;
    }

    .header-text .badge {
      background: rgba(255, 215, 0, 0.25);
      backdrop-filter: blur(5px);
      display: inline-block;
      padding: 0.5rem 1.5rem;
      border-radius: 40px;
      font-weight: 600;
      margin-top: 1rem;
      font-size: 1.3rem;
      border: 1px solid rgba(255, 255, 200, 0.5);
      animation: pulse 2.5s infinite;
    }

    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.5);
      }
      70% {
        box-shadow: 0 0 15px 10px rgba(255, 215, 0, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
      }
    }

    .btn-calculate-header {
      background: #f5b042;
      border: none;
      color: #1e2b3c;
      padding: 1.2rem 3rem;
      font-size: 1.8rem;
      font-weight: 700;
      border-radius: 60px;
      cursor: pointer;
      box-shadow: 0 15px 25px -8px rgba(0, 0, 0, 0.5), 0 0 0 2px #ffda88 inset;
      transition: 0.3s;
      display: inline-flex;
      align-items: center;
      gap: 15px;
      animation: bounceLight 2s infinite, float 4s infinite;
      margin-top: 1rem;
    }

    .btn-calculate-header:hover {
      background: #ffc107;
      transform: scale(1.05) translateY(-3px);
      box-shadow: 0 25px 30px -8px black;
    }

    @keyframes bounceLight {

      0%,
      100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-6px);
      }
    }

    @keyframes float {
      0% {
        box-shadow: 0 15px 25px -8px rgba(0, 0, 0, 0.5), 0 0 0 2px #ffda88 inset;
      }
      50% {
        box-shadow: 0 20px 30px -5px #00000080, 0 0 0 4px #ffeeaa inset;
      }
    }

    /* главный контейнер */
    .container {
      max-width: 1300px;
      margin: -2rem auto 0;
      padding: 0 20px;
      position: relative;
      z-index: 20;
    }

    /* карточка калькулятора */
    .calculator-card {
      background: white;
      border-radius: 40px;
      box-shadow: 0 30px 50px rgba(0, 10, 30, 0.2);
      padding: 2.5rem 2rem;
      margin-bottom: 4rem;
      border: 1px solid rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(2px);
    }

    .calculator-title {
      font-size: 2.2rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 10px;
      color: #0b2a4f;
      margin-bottom: 2rem;
    }

    .calculator-title i {
      background: #0b2a4f;
      color: white;
      border-radius: 50%;
      padding: 12px;
    }

    .form-row {
      display: flex;
      flex-wrap: wrap;
      gap: 25px;
      margin-bottom: 30px;
    }

    .form-group {
      flex: 1 1 200px;
      min-width: 200px;
    }

    .form-group label {
      font-weight: 600;
      display: block;
      margin-bottom: 8px;
      color: #2c3e50;
      font-size: 1.1rem;
    }

	div.contacts_form{
	    position: relative;
		display: flex;
		flex-direction: column;
		gap: 10px;
		margin: 0px 0px 20px 0px;
	}

    .form-group select,
    .form-group input,
	input:is(#first_name, #contact){
      width: 100%;
      padding: 15px 18px;
      font-size: 1.1rem;
      border: 2px solid #e0e7ef;
      border-radius: 24px;
      background: #f9fcff;
      transition: 0.2s;
      cursor: pointer;
      font-weight: 500;
    }

    .form-group select:focus,
    .form-group input:focus {
      border-color: #2b5580;
      outline: none;
      background: white;
    }

    .price-indicator {
      background: #e9f0fa;
      border-radius: 30px;
      padding: 18px 25px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      font-size: 1.3rem;
      margin: 20px 0 10px;
    }

    .price-indicator span:first-child {
      font-weight: 600;
    }

    .price-indicator .final-price {
      font-size: 2.8rem;
      font-weight: 800;
      color: #0b2a4f;
      letter-spacing: 2px;
    }

    .btn-order {
      background: #2a6e3b;
      color: white;
      border: none;
      width: 100%;
      padding: 22px;
      font-size: 2rem;
      font-weight: 700;
      border-radius: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 15px;
      cursor: pointer;
      transition: 0.2s;
      border-bottom: 6px solid #1a4d2a;
      margin-top: 25px;
    }

    .btn-order:hover {
      background: #1f8737;
      transform: scale(1.01);
      border-bottom-width: 4px;
    }

    /* about */
    .about-section {
      background: white;
      border-radius: 40px;
      padding: 3rem;
      margin-bottom: 3rem;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    }

    .section-title {
      font-size: 2.2rem;
      font-weight: 700;
      color: #0b2a4f;
      margin-bottom: 1.5rem;
    }

    .about-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 2.5rem;
      align-items: center;
    }

    .about-text {
      flex: 2 1 400px;
    }

    .about-text p {
      font-size: 1.2rem;
      margin-bottom: 1.2rem;
      color: #2d3f53;
    }

    .features {
      list-style: none;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 15px;
      margin: 30px 0;
    }

    .features li {
      background: #f0f5fd;
      padding: 12px 20px;
      border-radius: 40px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .features li i {
      color: #2b5580;
    }

    .about-image {
      flex: 1 1 280px;
      text-align: center;
    }

    .about-image img {
      max-width: 100%;
      border-radius: 40px;
      box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
      transition: 0.5s;
      border: 4px solid white;
    }

    .about-image img:hover {
      transform: scale(1.02) rotate(0.5deg);
    }

    /* галерея / фото продукта */
    .product-photo-section {
      background: #dde7f5;
      border-radius: 40px;
      padding: 3rem;
      margin-bottom: 3rem;
      text-align: center;
    }

    .photo-grid {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 30px;
      margin-top: 30px;
    }

    .photo-item {
      background: white;
      padding: 15px;
      border-radius: 40px;
      max-width: 400px;
      box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    }

    .photo-item img {
		width: 100%;
		border-radius: 30px;
		display: block;
		position: absolute;
		height: 100%;
		object-fit: cover;
		z-index: 1;
		opacity: 0.6;
    }

    .photo-caption {
      margin-top: 15px;
      font-weight: 600;
      font-size: 1.2rem;
    }

    /* контакты */
    .contacts-section {
      background: #0b2a4f;
      border-radius: 40px;
      padding: 3rem;
      color: white;
      margin-bottom: 2rem;
    }

    .contacts-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      justify-content: space-between;
      margin-top: 30px;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 20px;
      font-size: 1.3rem;
      background: rgba(255, 255, 255, 0.1);
      padding: 15px 30px;
      border-radius: 60px;
      backdrop-filter: blur(4px);
      flex: 1 1 250px;
	  color: white;
	  text-decoration: none;
    }

    .contact-item i {
      font-size: 2.2rem;
      color: #ffd966;
    }

    .city {
      margin-top: 30px;
      font-size: 1.8rem;
      font-weight: 300;
      display: flex;
      align-items: center;
      gap: 10px;
      justify-content: center;
    }

    hr {
      margin: 20px 0;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* адаптив */
    @media (max-width: 700px) {
      .header-content {
        flex-direction: column;
        text-align: center;
      }

      .btn-calculate-header {
        font-size: 1.4rem;
        padding: 1rem 2rem;
      }

      .calculator-title {
        font-size: 1.8rem;
      }
    }

    /* таблица плотности */
    .density-note {
      background: #f9fbfd;
      border-radius: 28px;
      padding: 20px 25px;
      margin: 25px 0 0;
      font-size: 0.95rem;
      color: #3b4f65;
      border: 1px dashed #b3c7e0;
    }

    .density-note b {
      color: #0b2a4f;
    }

    /* Стили для кастомного модального окна (уведомление клиенту) */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(5px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
    }

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

    .modal-content {
      background: white;
      max-width: 450px;
      width: 90%;
      padding: 2.5rem 2rem;
      border-radius: 50px;
      text-align: center;
      box-shadow: 0 40px 60px rgba(0, 0, 0, 0.4);
      transform: scale(0.8);
      transition: 0.3s;
    }

    .modal-overlay.show .modal-content {
      transform: scale(1);
    }

    .modal-content i {
      font-size: 5rem;
      color: #2a6e3b;
      margin-bottom: 1rem;
    }

    .modal-content h3 {
      font-size: 2.2rem;
      font-weight: 800;
      color: #0b2a4f;
    }

    .modal-content p {
      font-size: 1.3rem;
      margin: 1rem 0 2rem;
    }

    .modal-btn {
      background: #f5b042;
      border: none;
      padding: 1rem 3rem;
      border-radius: 50px;
      font-weight: 700;
      font-size: 1.3rem;
      cursor: pointer;
      transition: 0.2s;
      border-bottom: 4px solid #c57c1f;
    }

    .modal-btn:hover {
      background: #ffc107;
      transform: scale(1.02);
    }