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

    :root {
      --primary: #c48e2e;
      --secondary: #e7d8b1;
      --accent: #BE8A29;
      --bg-dark: #061a25;
      --bg-card: rgba(196, 142, 46, 0.05);
      --glow: rgba(196, 142, 46, 0.3);
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg-dark);
      color: var(--secondary);
      overflow-x: hidden;
      background-image:
        radial-gradient(circle at 20% 50%, rgba(196, 142, 46, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(190, 138, 41, 0.04) 0%, transparent 50%),
        radial-gradient(rgba(190, 138, 41, 0.05) 1px, transparent 1px);
      background-size: 100% 100%, 100% 100%, 40px 40px;
      background-attachment: fixed;
    }

    /* Cursor follower - only on desktop */
    @media (pointer: fine) {
      .cursor-glow {
        position: fixed;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(196, 142, 46, 0.08) 0%, transparent 70%);
        pointer-events: none;
        transform: translate(-50%, -50%);
        transition: opacity 0.3s;
        z-index: 9999;
        opacity: 0;
      }
    }

    @media (pointer: coarse) {
      .cursor-glow {
        display: none;
      }
    }

    /* Header */
    header {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(6, 26, 37, 0.8);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(196, 142, 46, 0.2);
      transition: all 0.3s ease;
    }

    header.scrolled {
      background: rgba(6, 26, 37, 0.95);
      box-shadow: 0 4px 30px rgba(196, 142, 46, 0.1);
    }

    nav {
      max-width: 1400px;
      margin: 0 auto;
      padding: 20px 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 700;
      font-size: clamp(1.1rem, 3vw, 1.4rem);
      color: var(--primary);
      cursor: pointer;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      text-decoration: none;
    }

    .logo:hover {
      transform: scale(1.05);
    }

    .logo-img {
      height: clamp(28px, 5vw, 36px);
      filter: drop-shadow(0 0 10px rgba(196, 142, 46, 0.3));
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      transform: scaleX(-1);
      opacity: 0;
    }

    .logo.show .logo-img {
      opacity: 1;
    }

    .logo:hover .logo-img {
      filter: drop-shadow(0 0 15px rgba(196, 142, 46, 0.6));
    }

    .logo-img {
      height: clamp(28px, 5vw, 36px);
      filter: drop-shadow(0 0 10px rgba(196, 142, 46, 0.3));
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      transform: scaleX(-1);
      opacity: 0;
    }

    .logo.show .logo-img {
      opacity: 1;
    }

    .logo:hover .logo-img {
      filter: drop-shadow(0 0 15px rgba(196, 142, 46, 0.6));
    }

    .logo-text {
      transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .logo:hover .logo-text {
       color: #e7d8b1;
    }

    .nav-links {
      display: flex;
      gap: clamp(20px, 3vw, 40px);
    }

    .nav-links a {
      color: var(--secondary);
      text-decoration: none;
      font-weight: 500;
      font-size: clamp(0.9rem, 2vw, 1rem);
      position: relative;
      padding: 8px 0;
      transition: color 0.3s ease;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--primary);
      transform: translateX(-50%);
      transition: width 0.3s ease;
      box-shadow: 0 0 10px var(--glow);
    }

    .nav-links a:hover {
      color: var(--primary);
    }

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

    .hamburger {
      display: none;
      width: 30px;
      height: 24px;
      color: var(--primary);
      cursor: pointer;
      background: none;
      border: none;
      z-index: 1001;
      position: relative;
      transition: transform 0.3s ease;
    }

    .hamburger:active {
      transform: scale(0.9);
    }

    .hamburger-icon,
    .close-icon {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 28px;
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .hamburger-icon {
      opacity: 1;
      transform: translate(-50%, -50%) rotate(0deg);
    }

    .close-icon {
      opacity: 0;
      transform: translate(-50%, -50%) rotate(90deg);
    }

    .hamburger.open .hamburger-icon {
      opacity: 0;
      transform: translate(-50%, -50%) rotate(-90deg);
    }

    .hamburger.open .close-icon {
      opacity: 1;
      transform: translate(-50%, -50%) rotate(0deg);
    }

    /* Hero Section */
    #home {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 120px 20px 80px;
      position: relative;
      overflow: hidden;
    }

    .hero-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      margin-bottom: 40px;
      opacity: 1;
      transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      animation: fadeInUp 0.8s ease-out;
    }

    .hero-logo.hide {
      opacity: 0;
      transform: translateY(-50px);
      pointer-events: none;
    }

      .hero-logo-img {
        height: clamp(120px, 25vw, 180px);
        width: clamp(120px, 25vw, 180px); /* Делаем пропорциональный квадрат */
        aspect-ratio: 1 / 1; /* сохраняем круг даже при сжатии */    
        object-fit: cover; /* Чтобы изображение ровно заполняло круг */
        border-radius: 50%; /* Делаем круглым */
        flex-shrink: 0; /* ← ОБЯЗАТЕЛЬНО ДЛЯ МОБИЛОК */    
        filter: drop-shadow(0 0 20px rgba(196, 142, 46, 0.4));
        transform: scaleX(-1);
        transition: 
          filter 0.3s ease,
          transform 0.3s ease; /* плавная анимация */
      }

      .hero-logo-img:hover {
        transform: scaleX(-1) scale(1.08); /* Увеличение на 8% */
        filter: drop-shadow(0 0 30px rgba(196, 142, 46, 0.6));
      }

    .hero-logo-text {
      display: none;
    }

    .hero-content {
      max-width: 900px;
      position: relative;
      z-index: 2;
    }

    #home h1 {
      font-size: clamp(1.8rem, 5vw, 3.5rem);
      color: var(--primary);
      margin-bottom: clamp(16px, 3vw, 24px);
      font-weight: 700;
      line-height: 1.2;
      animation: fadeInUp 0.8s ease-out 0.2s backwards;
      text-shadow: 0 0 30px rgba(196, 142, 46, 0.3);
    }

    #home p {
      font-size: clamp(1rem, 2.5vw, 1.4rem);
      color: var(--secondary);
      margin-bottom: clamp(30px, 5vw, 40px);
      animation: fadeInUp 0.8s ease-out 0.4s backwards;
      line-height: 1.6;
    }

    .cta-button {
      display: inline-block;
      padding: clamp(14px, 2vw, 16px) clamp(36px, 6vw, 48px);
      background: var(--primary);
      color: var(--bg-dark);
      text-decoration: none;
      font-weight: 700;
      font-size: clamp(0.95rem, 2vw, 1.1rem);
      border-radius: 50px;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
      animation: fadeInUp 0.8s ease-out 0.6s backwards;
      box-shadow: 0 0 20px rgba(196, 142, 46, 0.4);
    }

    .cta-button::before {
      content: '';
      position: absolute;
      top: var(--y, 50%);
      left: var(--x, 50%);
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }

    .cta-button:hover::before {
      width: 300px;
      height: 300px;
    }

    .cta-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 30px rgba(196, 142, 46, 0.6);
    }

    .cta-button:active {
      transform: translateY(-1px);
    }

    /* Feature Cards */
    section {
      max-width: 1400px;
      margin: 0 auto;
      padding: clamp(60px, 10vw, 100px) clamp(20px, 5vw, 40px);
    }

    .section-title {
      font-size: clamp(1.8rem, 5vw, 3rem);
      color: var(--primary);
      text-align: center;
      margin-bottom: clamp(40px, 6vw, 60px);
      position: relative;
      display: block;
      width: 100%;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 60%;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--primary), transparent);
      box-shadow: 0 0 10px var(--glow);
    }

    .about-content {
      max-width: 800px;
      margin: 0 auto;
      font-size: clamp(1rem, 2.2vw, 1.15rem);
      line-height: 1.8;
      text-align: center;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
    }

    .about-content.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
      gap: clamp(20px, 3vw, 30px);
      margin-top: 40px;
    }

    .feature-card {
      background: var(--bg-card);
      border: 1px solid rgba(196, 142, 46, 0.2);
      border-radius: 20px;
      padding: clamp(30px, 4vw, 40px) clamp(20px, 3vw, 30px);
      position: relative;
      overflow: hidden;
      transition: all 0.4s ease;
      opacity: 0;
      transform: translateY(30px);
      backdrop-filter: blur(10px);
    }

    .feature-card.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .feature-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(196, 142, 46, 0.1) 0%, transparent 50%);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .feature-card:hover::before {
      opacity: 1;
    }

    .feature-card:hover {
      transform: translateY(-10px);
      border-color: rgba(196, 142, 46, 0.5);
      box-shadow: 0 15px 40px rgba(196, 142, 46, 0.2);
    }

    .feature-icon {
      font-size: clamp(2.2rem, 5vw, 3rem);
      margin-bottom: clamp(15px, 2vw, 20px);
      display: block;
    }

    .feature-card h3 {
      color: var(--primary);
      font-size: clamp(1.2rem, 2.5vw, 1.4rem);
      margin-bottom: clamp(12px, 2vw, 15px);
    }

    .feature-card p {
      color: var(--secondary);
      line-height: 1.6;
      font-size: clamp(0.95rem, 2vw, 1rem);
      opacity: 0.9;
    }

    /* Why Section */
    .why-content {
      max-width: 800px;
      margin: 40px auto;
      text-align: center;
      font-size: clamp(1rem, 2.2vw, 1.15rem);
      line-height: 1.8;
    }

    .why-content h3 {
      text-align: center;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
      gap: clamp(20px, 3vw, 30px);
      margin-top: clamp(40px, 6vw, 60px);
    }

    .stat-item {
      text-align: center;
      padding: clamp(25px, 4vw, 30px);
      background: var(--bg-card);
      border: 1px solid rgba(196, 142, 46, 0.2);
      border-radius: 15px;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .stat-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 30px rgba(196, 142, 46, 0.2);
      border-color: rgba(196, 142, 46, 0.5);
    }

    .stat-item:active {
      transform: translateY(-2px) scale(0.98);
    }

    .stat-number {
      font-size: clamp(2.2rem, 6vw, 3rem);
      color: var(--primary);
      font-weight: 700;
      display: block;
      margin-bottom: 10px;
    }

    .stat-label {
      color: var(--secondary);
      font-size: clamp(0.95rem, 2vw, 1.1rem);
    }

    /* Contact Section */
    .contact-container {
      max-width: 600px;
      margin: 0 auto;
    }

    .contact-form {
      display: flex;
      flex-direction: column;
      gap: clamp(16px, 2.5vw, 20px);
      margin: 40px 0;
    }

    .form-group {
      position: relative;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
    }

    .form-group.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: clamp(14px, 2vw, 16px) clamp(16px, 2.5vw, 20px);
      background: rgba(196, 142, 46, 0.05);
      border: 2px solid rgba(196, 142, 46, 0.2);
      border-radius: 12px;
      color: var(--secondary);
      font-size: clamp(0.95rem, 2vw, 1rem);
      font-family: 'Inter', sans-serif;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .contact-form input:hover,
    .contact-form textarea:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 30px rgba(196, 142, 46, 0.2);
      border-color: rgba(196, 142, 46, 0.5);
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 20px rgba(196, 142, 46, 0.2);
      background: rgba(196, 142, 46, 0.08);
      transform: translateY(0);
      cursor: text;
    }

    .contact-form input:active:not(:focus),
    .contact-form textarea:active:not(:focus) {
      transform: translateY(-2px) scale(0.98);
    }

    .char-counter {
      text-align: right;
      margin-top: 8px;
      font-size: clamp(0.85rem, 1.8vw, 0.9rem);
      color: var(--secondary);
      opacity: 0.7;
    }

    .error-message {
      color: #ff6b6b;
      font-size: clamp(0.85rem, 1.8vw, 0.9rem);
      margin-top: 8px;
      display: none;
    }

    .error-message.show {
      display: block;
    }

    .contact-form input.error,
    .contact-form textarea.error {
      border-color: #ff6b6b;
      box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    }

    .submit-btn {
      padding: clamp(14px, 2vw, 16px) clamp(36px, 5vw, 40px);
      background: var(--primary);
      color: var(--bg-dark);
      border: none;
      border-radius: 12px;
      font-size: clamp(1rem, 2vw, 1.1rem);
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(196, 142, 46, 0.3);
    }

    .submit-btn::before {
      content: '';
      position: absolute;
      top: var(--y, 50%);
      left: var(--x, 50%);
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.3);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }

    .submit-btn:hover::before {
      width: 400px;
      height: 400px;
    }

    .submit-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(196, 142, 46, 0.5);
    }

    .submit-btn:active {
      transform: translateY(-1px);
    }

    .submit-btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    .submit-btn:disabled:hover {
      transform: none;
      box-shadow: 0 4px 15px rgba(196, 142, 46, 0.3);
    }

    .contact-info {
      display: flex;
      flex-direction: column;
      gap: clamp(16px, 2.5vw, 20px);
      margin-top: clamp(30px, 5vw, 40px);
    }

    .contact-row {
      display: flex;
      align-items: center;
      gap: clamp(12px, 2vw, 15px);
      padding: clamp(16px, 2.5vw, 20px);
      background: var(--bg-card);
      border: 1px solid rgba(196, 142, 46, 0.2);
      border-radius: 12px;
      transition: all 0.3s ease;
      opacity: 0;
      transform: translateY(30px);
      cursor: pointer;
    }

    .contact-row.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .contact-row:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 30px rgba(196, 142, 46, 0.2);
      border-color: rgba(196, 142, 46, 0.5);
    }

    .contact-row:active {
      transform: translateY(-2px) scale(0.98);
    }

    .contact-icon {
      width: clamp(20px, 3vw, 24px);
      height: clamp(20px, 3vw, 24px);
      object-fit: contain;
    }

    .label {
      color: var(--accent);
      font-weight: 600;
      font-size: clamp(0.9rem, 2vw, 1rem);
      min-width: clamp(80px, 15vw, 100px);
    }

    .value {
      color: var(--secondary);
      font-size: clamp(0.9rem, 2vw, 1rem);
    }

    .value a {
      color: var(--primary);
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .value a:hover {
      color: var(--secondary);
    }

    /* Footer */
    footer {
      background: rgba(6, 26, 37, 0.95);
      border-top: 1px solid rgba(196, 142, 46, 0.2);
      text-align: center;
      padding: clamp(30px, 5vw, 40px) 20px;
      color: var(--primary);
      font-size: clamp(0.85rem, 1.8vw, 0.9rem);
    }

    /* Back to Top */
    .back-to-top {
      position: fixed;
      right: clamp(20px, 3vw, 30px);
      bottom: clamp(20px, 3vw, 30px);
      width: clamp(45px, 6vw, 50px);
      height: clamp(45px, 6vw, 50px);
      background: var(--primary);
      color: var(--bg-dark);
      border: none;
      border-radius: 50%;
      font-size: clamp(20px, 3vw, 24px);
      cursor: pointer;
      opacity: 0;
      transform: translateY(100px);
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(196, 142, 46, 0.4);
      z-index: 999;
    }

    .back-to-top.show {
      opacity: 1;
      transform: translateY(0);
    }

    .back-to-top:hover {
      transform: translateY(-5px) scale(1.1);
      box-shadow: 0 8px 25px rgba(196, 142, 46, 0.6);
    }

    .back-to-top:active {
      transform: translateY(-2px) scale(1.05);
    }
      .footer-socials {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 20px;
      }
      
      .footer-socials img {
        width: 28px;
        height: 28px;
        object-fit: contain;
        opacity: 0.85;
        transition: opacity 0.3s ease, transform 0.3s ease;
        filter: drop-shadow(0 0 10px rgba(190, 138, 41, 0.5));
      }
      
      .footer-socials img:hover {
        opacity: 1;
        transform: translateY(-2px) scale(1.1);
      }

    /* Success Popup */
    .success-popup {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(6, 26, 37, 0.9);
      backdrop-filter: blur(10px);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 10000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .success-popup.show {
      opacity: 1;
      visibility: visible;
    }

    .success-popup-content {
      background: var(--bg-card);
      border: 2px solid rgba(196, 142, 46, 0.5);
      border-radius: 20px;
      padding: clamp(30px, 5vw, 50px) clamp(30px, 5vw, 50px);
      max-width: 500px;
      width: 90%;
      text-align: center;
      box-shadow: 0 20px 60px rgba(196, 142, 46, 0.3);
      transform: scale(0.8) translateY(30px);
      transition: transform 0.3s ease;
    }

    .success-popup.show .success-popup-content {
      transform: scale(1) translateY(0);
    }

    .success-icon {
      width: 80px;
      height: 80px;
      margin: 0 auto 20px;
      background: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
      color: var(--bg-dark);
      font-weight: 700;
      box-shadow: 0 0 30px rgba(196, 142, 46, 0.5);
      animation: successPulse 0.6s ease-out;
    }

    @keyframes successPulse {
      0% {
        transform: scale(0);
      }
      50% {
        transform: scale(1.1);
      }
      100% {
        transform: scale(1);
      }
    }

    .success-popup-content h3 {
      color: var(--primary);
      font-size: clamp(1.5rem, 4vw, 2rem);
      margin-bottom: 15px;
      font-weight: 700;
    }

    .success-popup-content p {
      color: var(--secondary);
      font-size: clamp(1rem, 2vw, 1.1rem);
      margin-bottom: 30px;
      line-height: 1.6;
    }

    .success-close-btn {
      padding: clamp(12px, 2vw, 14px) clamp(30px, 5vw, 40px);
      background: var(--primary);
      color: var(--bg-dark);
      border: none;
      border-radius: 12px;
      font-size: clamp(1rem, 2vw, 1.1rem);
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(196, 142, 46, 0.3);
    }

    .success-close-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(196, 142, 46, 0.5);
    }

    .success-close-btn:active {
      transform: translateY(-1px);
    }


    /* Animations */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
      nav {
        padding: 15px 20px;
      }

      .logo-img {
        transform: scaleX(-1) translateX(100px);
        opacity: 0;
      }

      .logo.show .logo-img {
        transform: scaleX(-1) translateX(0);
        opacity: 1;
      }

      .hero-logo {
        margin-bottom: 50px;
      }

      .hero-logo-img {
        max-width: none;
      }

      .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(6, 26, 37, 0.98);
        backdrop-filter: blur(20px);
        padding: 0 30px;
        gap: 20px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease,
                    padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(196, 142, 46, 0);
        transform-origin: top;
      }

      .nav-links.open {
        max-height: 400px;
        opacity: 1;
        padding: 30px;
        border-bottom-color: rgba(196, 142, 46, 0.2);
      }

      .nav-links a {
        font-size: 1.2rem;
        padding: 10px 0;
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
      }

      .nav-links.open a {
        opacity: 1;
        transform: translateX(0);
      }

      .nav-links.open a:nth-child(1) { transition-delay: 0.1s; }
      .nav-links.open a:nth-child(2) { transition-delay: 0.15s; }
      .nav-links.open a:nth-child(3) { transition-delay: 0.2s; }
      .nav-links.open a:nth-child(4) { transition-delay: 0.25s; }

      .hamburger {
        display: block;
      }

      .features-grid {
        grid-template-columns: 1fr;
      }

      .contact-row {
        flex-wrap: wrap;
      }

      .label {
        min-width: 70px;
      }
    }

    /* Tablet adjustments */
    @media (min-width: 769px) and (max-width: 1024px) {
      .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* Touch device optimizations */
    @media (pointer: coarse) {
      .cta-button:hover,
      .submit-btn:hover,
      .back-to-top:hover {
        transform: none;
      }

      .feature-card:hover {
        transform: translateY(-5px);
      }

      .contact-row:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(196, 142, 46, 0.2);
        border-color: rgba(196, 142, 46, 0.5);
      }

      .contact-row:active {
        transform: translateY(-2px) scale(0.98);
      }
    }
