/* Strict corporate theme — Reactive Mechanics */
:root {
    --bg: #100403;
    --panel: #1a0706;
    --ink: #ffffff;
    --muted: rgba(255,255,255,0.72);
    --line: rgba(255,255,255,0.12);
    --brand: #ebb701; /* accent */
    --brand-2: #400d0a; /* deep */
  }
  
  * { box-sizing: border-box; }
  html, body { height: 100%; }
  body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, var(--bg) 0%, #0c0302 100%);
    scroll-behavior: smooth;
  }
  
  .wrap { width: min(1080px, 92%); margin: 0 auto; }
  a { color: var(--ink); text-decoration: none; }
  .muted { color: var(--muted); }
  
  .btn { 
    display: inline-block; 
    padding: 12px 18px; 
    border-radius: 10px; 
    font-weight: 600; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }
  .btn--primary { 
    background: var(--brand); 
    color: #2b0a08; 
    box-shadow: 0 4px 12px rgba(235, 183, 1, 0.3);
  }
  .btn--primary:hover { 
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(235, 183, 1, 0.4);
  }
  .btn--primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(235, 183, 1, 0.3);
  }
  .btn--ghost { 
    border: 1px solid var(--brand); 
    color: var(--brand); 
    background: transparent;
  }
  .btn--ghost:hover { 
    background: rgba(235,183,1,0.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(235, 183, 1, 0.2);
  }
  .btn--ghost:active {
    transform: translateY(0);
  }
  
  /* Header */
  .header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: #ffffff; backdrop-filter: blur(8px); }
  .header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
  .brand { display: flex; align-items: center; gap: 10px; }
  .brand__stack { display: grid; }
  .rm-logo { display: inline-flex; align-items: center; margin-right: 8px; }
  .rm-logo__img { height: 48px; width: auto; display: block; object-fit: contain; }
  .brand__name { font-weight: 700; color: #111111; letter-spacing: 0.3px; }
  .brand__sub { color: #666666; font-size: 12px; }
  .menu { display: flex; gap: 16px; align-items: center; flex-wrap: nowrap; }
  .menu a { 
    color: #333333; 
    white-space: nowrap; 
    transition: all 0.3s ease;
    position: relative;
  }
  .menu a:hover { 
    color: var(--brand);
    transform: translateY(-1px);
  }
  .menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: width 0.3s ease;
  }
  .menu a:hover::after {
    width: 100%;
  }
  .menu .phone { 
    color: #333333; 
    font-size: 14px; 
    font-weight: 500; 
    white-space: nowrap; 
    transition: all 0.3s ease;
  }
  .menu .phone:hover {
    color: var(--brand);
    transform: translateY(-1px);
  }
  .menu .email { 
    color: #333333; 
    text-decoration: none; 
    font-size: 14px; 
    font-weight: 500; 
    white-space: nowrap; 
    transition: all 0.3s ease;
  }
  .menu .email:hover { 
    color: var(--brand);
    transform: translateY(-1px);
  }
  .menu .phone::before { content: "📞"; margin-right: 4px; transition: transform 0.3s ease; }
  .menu .phone:hover::before { transform: scale(1.1); }
  .menu .email::before { content: "✉️"; margin-right: 4px; transition: transform 0.3s ease; }
  .menu .email:hover::before { transform: scale(1.1); }

  /* Mobile menu toggle */
  .menu-toggle { 
    display: none; 
    background: none; 
    border: none; 
    font-size: 24px; 
    color: #333; 
    cursor: pointer; 
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 4px;
  }
  .menu-toggle:hover { 
    color: var(--brand);
    background: rgba(235, 183, 1, 0.1);
    transform: scale(1.1);
  }
  .menu-toggle:active {
    transform: scale(0.95);
  }
  
  /* Hero */
  .hero { padding: 52px 0; border-bottom: 1px solid var(--line); background: radial-gradient(900px 600px at 100% -20%, rgba(235,183,1,0.12), transparent 60%); }
  .hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
  .hero h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); }
  .hero p { margin: 0 0 18px; color: var(--muted); }
  .hero__img { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #0b0302; }
  .kpis { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .kpis li { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
  .kpis strong { color: var(--brand); display: block; }
  .kpis span { color: var(--muted); font-size: 12px; }
  
  /* Sections */
  .section { padding: 42px 0; }
  .section h2 { margin: 0 0 16px; font-size: 24px; position: relative; }
  .section h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--brand); margin-top: 8px; border-radius: 2px; }
  
  /* Company hero with background */
  .company-hero { position: relative; background: #0c0302; }
  .company-hero::before {
    content: "";
    position: absolute; inset: 0;
    background: url('../image/tazelye-masiny-ispol-zuemye-v-stroitel-noi-promyslennosti-i-masinostroenii.jpg') center/cover no-repeat;
    opacity: 0.18;
  }
  .company-hero .wrap { position: relative; }
  .company-hero h2, .company-hero p { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
  .company-hero .products-grid { max-width: 960px; margin-left: auto; margin-right: auto; }
  
  /* Product switcher */
  .product-switcher { margin-top: 16px; display: grid; gap: 10px; }
  .product-switcher .switch-row { display: flex; gap: 14px; justify-content: center; }
  .product-switcher .switch-row .btn { padding: 16px 22px; font-size: 16px; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; border-radius: 12px; text-align: center; line-height: 1.15; }
  .product-switcher .switch-row .btn img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.25); }
  .product-switcher .subgroups { position: relative; display: block; overflow: hidden; height: 0; transition: height 560ms cubic-bezier(0.22, 1, 0.36, 1); }
  .product-switcher .subgroup { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1); }
  .product-switcher .subgroup.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  
  /* Subtle stagger for cards */
  .product-switcher .subgroup .product-card { opacity: 0; transform: translateY(8px); transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1); }
  .product-switcher .subgroup.is-open .product-card { opacity: 1; transform: translateY(0); }
  .product-switcher .subgroup.is-open .product-card:nth-child(1) { transition-delay: 40ms; }
  .product-switcher .subgroup.is-open .product-card:nth-child(2) { transition-delay: 80ms; }
  .product-switcher .subgroup.is-open .product-card:nth-child(3) { transition-delay: 120ms; }
  .product-switcher .switch-row .btn { background: var(--brand); color: #000000; border-color: transparent; }
  .product-switcher .switch-row .btn:hover { filter: brightness(0.95); }
  .product-switcher .switch-row .is-active { background: var(--brand); color: #000000; border-color: transparent; }
  
  .callout { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(800px 400px at 90% -10%, rgba(235,183,1,0.08), transparent 60%); }
  .lead { margin: 0; font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); }
  
  /* Company + Products */
  .products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
  .product-card { display: grid; grid-template-rows: 160px auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .product-card .media { background-size: cover; background-position: center; border-bottom: 1px solid var(--line); display: grid; place-items: center; background: var(--brand); }
  .product-card .media .label { color: var(--brand-2); font-weight: 800; letter-spacing: 0.4px; }
  .product-card .meta { padding: 12px; }
  .product-card .title { font-weight: 600; }
  .product-card .desc { color: var(--muted); font-size: 14px; margin-top: 4px; }
  .product-card:hover { outline: 2px solid rgba(235,183,1,0.35); }
  
  /* About */
  .about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
  .about__card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
  .list { margin: 0; padding-left: 18px; color: var(--muted); }
  
  /* Table */
  .table { display: grid; gap: 8px; }
  .table .row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
  
  /* Docs */
  .docs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  
  /* Video */
  .video .video__frame { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0b0302; }
  .video .video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
  
  /* Gallery */
  .grid--gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .ph { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #0b0302; }
  
  /* Contact */
  .contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; align-items: start; }
  .form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
  .form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
  .form label.full { grid-column: 1 / -1; }
  .form input, .form textarea { width: 100%; padding: 10px 12px; background: #0b0302; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
  
  /* Footer */
  .footer { border-top: 1px solid var(--line); padding: 16px 0; color: var(--muted); }
  .footer__inner { display: flex; align-items: center; justify-content: space-between; }
  
  /* Evolution Grid */
  .evolution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
  .evolution-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
  .evolution-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(235,183,1,0.15); }
  .evolution-card--highlight { border-color: var(--brand); background: linear-gradient(135deg, var(--panel) 0%, rgba(235,183,1,0.05) 100%); }
  .evolution-icon { font-size: 48px; margin-bottom: 12px; }
  .evolution-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--brand); }
  .evolution-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

  /* Timeline */
  .timeline { position: relative; margin-top: 20px; }
  .timeline::before { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; width: 2px; background: var(--brand); }
  .timeline-item { position: relative; margin-bottom: 30px; padding-left: 80px; }
  .timeline-year { position: absolute; left: 0; top: 0; width: 60px; height: 60px; background: var(--brand); color: #2b0a08; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
  .timeline-content h3 { margin: 0 0 8px; color: var(--brand); font-size: 18px; }
  .timeline-content p { margin: 0; color: var(--muted); line-height: 1.6; }

  /* Advantages Grid */
  .advantages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
  .advantage-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; transition: transform 0.3s ease, border-color 0.3s ease; }
  .advantage-card:hover { transform: translateY(-2px); border-color: var(--brand); }
  .advantage-card h3 { margin: 0 0 12px; font-size: 16px; color: var(--ink); }
  .advantage-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }

  /* About Product Section */
  .intro-text { text-align: center; margin: 20px 0 40px; }
  .intro-text p { font-size: 18px; color: var(--muted); line-height: 1.6; max-width: 800px; margin: 0 auto; }

  /* Applications Section */
  .applications-section { margin: 40px 0; }
  .applications-section h3 { text-align: center; margin-bottom: 30px; color: var(--brand); font-size: 24px; }
  .applications-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
  .application-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-align: center; transition: all 0.3s ease; }
  .application-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 8px 25px rgba(235,183,1,0.15); }
  .app-icon { font-size: 32px; margin-bottom: 12px; }
  .application-card h4 { margin: 0 0 8px; color: var(--brand); font-size: 16px; }
  .application-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

  /* Advantages List */
  .advantages-section { margin: 50px 0; }
  .advantages-section h3 { text-align: center; margin-bottom: 30px; color: var(--brand); font-size: 24px; }
  .advantages-list { display: grid; gap: 20px; margin-top: 20px; }
  .advantage-item { display: flex; gap: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; transition: all 0.3s ease; }
  .advantage-item:hover { border-color: var(--brand); transform: translateX(4px); }
  .advantage-number { flex-shrink: 0; width: 40px; height: 40px; background: var(--brand); color: #2b0a08; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
  .advantage-content h4 { margin: 0 0 8px; color: var(--ink); font-size: 18px; }
  .advantage-content p { margin: 0; color: var(--muted); line-height: 1.6; }

  /* Cost Benefit Section */
  .cost-benefit-section { margin: 50px 0; }
  .cost-benefit-card { background: linear-gradient(135deg, var(--panel) 0%, rgba(235,183,1,0.05) 100%); border: 1px solid var(--brand); border-radius: 16px; padding: 30px; text-align: center; }
  .cost-benefit-card h3 { margin: 0 0 16px; color: var(--brand); font-size: 24px; }
  .cost-benefit-card p { margin: 0 0 20px; color: var(--muted); font-size: 16px; line-height: 1.6; }
  .cost-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
  .cost-feature { display: flex; align-items: center; gap: 10px; padding: 12px; background: rgba(235,183,1,0.1); border-radius: 8px; }
  .cost-icon { font-size: 20px; }
  .cost-feature span:last-child { color: var(--ink); font-size: 14px; font-weight: 500; }

  /* Requisites Page */
  .requisites-container { display: grid; gap: 30px; margin: 40px 0; }
  .requisites-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
  .requisites-card h2 { margin: 0 0 20px; color: var(--brand); font-size: 24px; text-align: center; }
  .requisites-grid { display: grid; gap: 16px; }
  .requisite-item { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .requisite-item:last-child { border-bottom: none; }
  .requisite-label { color: var(--muted); font-weight: 500; font-size: 14px; }
  .requisite-value { color: var(--ink); font-weight: 600; font-size: 15px; word-break: break-all; }
  .contact-info { text-align: center; margin: 50px 0; padding: 30px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
  .contact-info h3 { margin: 0 0 16px; color: var(--brand); font-size: 20px; }
  .contact-info p { margin: 0 0 20px; color: var(--muted); line-height: 1.6; }

  /* Responsive */
  @media (max-width: 960px) {
    .hero__inner { grid-template-columns: 1fr; }
    .about__grid { grid-template-columns: 1fr; }
    .docs { grid-template-columns: 1fr; }
    .grid--gallery { grid-template-columns: repeat(2, 1fr); }
    .contact { grid-template-columns: 1fr; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .form { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .evolution-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .applications-grid { grid-template-columns: repeat(2, 1fr); }
    .cost-features { grid-template-columns: 1fr; }
    .requisite-item { grid-template-columns: 1fr; gap: 8px; }
    .contact-info { flex-direction: column; gap: 4px; margin: 0 4px; }
    .contact-info .phone, .contact-info .email { font-size: 12px; }
  }
  @media (max-width: 768px) {
    .header__inner { padding: 12px 0; }
    .menu { 
      display: none; 
      position: absolute; 
      top: 100%; 
      left: 0; 
      right: 0; 
      background: #ffffff; 
      border-bottom: 1px solid var(--line); 
      flex-direction: column; 
      padding: 20px; 
      gap: 16px; 
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transform: translateY(-20px);
      opacity: 0;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .menu.open { 
      display: flex; 
      transform: translateY(0);
      opacity: 1;
    }
    .menu-toggle { display: block; }
    .brand__name { font-size: 18px; }
    .rm-logo__img { height: 40px; }
    .hero { padding: 40px 0; }
    .hero h1 { font-size: 28px; }
    .section { padding: 40px 0; }
    .wrap { width: 95%; }
  }
  
  @media (max-width: 640px) {
    .grid--gallery { grid-template-columns: 1fr; }
    .kpis { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 60px; }
    .timeline-year { width: 40px; height: 40px; font-size: 12px; }
    .applications-grid { grid-template-columns: 1fr; }
    .advantage-item { flex-direction: column; text-align: center; }
    .advantage-number { align-self: center; }
    .requisites-card { padding: 20px; }
    .requisite-item { padding: 8px 0; }
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 16px; }
    .btn { padding: 10px 16px; font-size: 14px; }
    .article-text { font-size: 15px; }
    .article-text p { margin-bottom: 16px; }
  }
  
  @media (max-width: 480px) {
    .wrap { width: 98%; }
    .header__inner { padding: 10px 0; }
    .brand__name { font-size: 16px; }
    .rm-logo__img { height: 36px; }
    .hero { padding: 30px 0; }
    .hero h1 { font-size: 22px; }
    .section { padding: 30px 0; }
    .btn { padding: 8px 14px; font-size: 13px; }
    .article-text { font-size: 14px; }
    .article-header h1 { font-size: 20px; }
    .article-placeholder { padding: 30px 15px; }
    .placeholder-icon { font-size: 40px; }
  }

  /* Articles page styles */
  .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
  }

  .article-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }

  .article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(235, 183, 1, 0.1), transparent);
    transition: left 0.6s ease;
  }

  .article-card:hover::before {
    left: 100%;
  }

  .article-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(235, 183, 1, 0.15);
    border-color: var(--brand);
  }

  .article-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
    transition: all 0.3s ease;
  }

  .article-card:hover .article-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(235, 183, 1, 0.3));
  }

  .article-card h3 {
    margin: 0 0 12px;
    color: var(--brand);
    font-size: 20px;
    font-weight: 600;
  }

  .article-card p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
  }

  .articles-info {
    margin-top: 60px;
    padding: 30px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .articles-info h3 {
    margin: 0 0 16px;
    color: var(--brand);
    font-size: 20px;
  }

  .articles-info p {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.6;
  }

  .info-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }

  .info-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
  }

  .info-icon {
    font-size: 20px;
  }

  .menu a.active {
    color: var(--brand);
    font-weight: 600;
  }

  @media (max-width: 640px) {
    .articles-grid {
      grid-template-columns: 1fr;
    }
    
    .info-features {
      grid-template-columns: 1fr;
    }
  }

  /* Article page styles */
  .article-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.2s ease;
  }

  .back-link:hover {
    color: var(--brand);
  }

  .article-header h1 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 32px;
    font-weight: 700;
  }

  .article-meta {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
  }

  .article-content {
    max-width: 800px;
    margin: 0 auto;
  }

  .article-placeholder {
    text-align: center;
    padding: 60px 40px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .placeholder-icon {
    font-size: 64px;
    margin-bottom: 24px;
    display: block;
  }

  .article-placeholder h3 {
    margin: 0 0 16px;
    color: var(--brand);
    font-size: 24px;
    font-weight: 600;
  }

  .article-placeholder p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 16px;
  }

  .article-placeholder p:last-child {
    margin-bottom: 0;
  }

  .article-text {
    line-height: 1.8;
    font-size: 16px;
    color: var(--ink);
  }

  .article-text p {
    margin: 0 0 20px;
    text-align: justify;
  }

  .article-text p:last-child {
    margin-bottom: 0;
  }

  .article-text strong {
    color: var(--brand);
    font-weight: 600;
  }

  .address {
    color: var(--muted);
    font-size: 14px;
    margin-top: 8px;
  }

  /* Touch-friendly improvements */
  .btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu a, .menu .phone, .menu .email {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 0;
  }

  /* Improve form inputs for mobile */
  input, textarea, select {
    font-size: 16px; /* Prevents zoom on iOS */
    min-height: 44px;
    padding: 12px;
  }

  /* Better spacing for mobile */
  .section {
    padding: 40px 0;
  }

  .hero__cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Scroll animations */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .scale-in.visible {
    opacity: 1;
    transform: scale(1);
  }

  /* Staggered animations */
  .stagger-1 { transition-delay: 0.1s; }
  .stagger-2 { transition-delay: 0.2s; }
  .stagger-3 { transition-delay: 0.3s; }
  .stagger-4 { transition-delay: 0.4s; }

  /* Pulse animation for important elements */
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }

  .pulse {
    animation: pulse 2s infinite;
  }

  /* Floating animation */
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
  }

  .float {
    animation: float 3s ease-in-out infinite;
  }

  /* Shimmer effect */
  @keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
  }

  .shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
  }

  @media (max-width: 640px) {
    .article-header h1 {
      font-size: 24px;
    }
    
    .article-placeholder {
      padding: 40px 20px;
    }
    
    .placeholder-icon {
      font-size: 48px;
    }
    
    .hero__cta {
      align-items: stretch;
    }
    
    .hero__cta .btn {
      max-width: none;
    }
  }
  