/*
Theme Name: Шаумяна 86 корпус 4
Author: Совет дома
Description: Информационный портал для жителей дома Шаумяна 86/4
Version: 1.0
Text Domain: shaumyana86
*/
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, sans-serif;
    color: #2c3e50;
    line-height: 1.6;
    background: #f4f6f9;
  }
  a { color: #2980b9; text-decoration: none; }
  a:hover { text-decoration: underline; }

  /* HEADER */
  header {
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
  }
  .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  /* НЕОБЫЧНЫЙ СТИЛЬ ЛОГОТИПА В ШАПКЕ */
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
  }
  .logo:hover { text-decoration: none; }
  .logo-icon { font-size: 1.6rem; filter: drop-shadow(0 0 5px rgba(241, 196, 15, 0.5)); }
  .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }
  .logo-main {
    font-size: 1.3rem;
    letter-spacing: 1px;
    font-weight: 500;
  }
  .logo-main span {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #f1c40f;
  }
  .logo-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #bdc3c7;
    margin-top: 2px;
    border-top: 1px solid rgba(241, 196, 15, 0.5);
    padding-top: 3px;
  }

  nav ul { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }
  nav a { color: #ecf0f1; font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
  nav a:hover { color: #f1c40f; text-decoration: none; }

  /* HERO */
  .hero {
    background: linear-gradient(rgba(20, 30, 45, 0.7), rgba(20, 30, 45, 0.7)),
      url('house.jpg') center/cover no-repeat; 
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
    position: relative;
  }
  
  /* ЭЛЕГАНТНЫЙ ЗАГОЛОВОК В БАННЕРЕ */
  .hero h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
  }
  .hero-title-top {
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
  }
  .hero-title-highlight {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    color: #f1c40f;
    line-height: 1;
    margin: 5px 0;
    text-shadow: 0 4px 20px rgba(241, 196, 15, 0.3);
  }
  .hero-title-bottom {
    font-size: 1.5rem;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    color: #ecf0f1;
  }
  
  .hero p { 
    font-size: 1.1rem; 
    max-width: 650px; 
    margin: 0 auto 35px; 
    opacity: 0.95; 
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
  }
  .btn {
    display: inline-block;
    padding: 14px 34px;
    background: #f1c40f;
    color: #2c3e50;
    font-weight: 700;
    border-radius: 30px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform .2s, box-shadow .2s, background .2s;
  }
  .btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(241, 196, 15, 0.4); 
    text-decoration: none; 
    background: #f39c12;
  }

  /* SECTIONS */
  section { padding: 60px 0; }
  h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
  }
  h2::after {
    content: "❖";
    display: block;
    font-size: 1rem;
    color: #f1c40f;
    margin: 10px auto 0;
  }

  /* CARDS */
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  .card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.07);
    transition: transform .2s, box-shadow .2s;
    border-top: 3px solid transparent;
  }
  .card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 10px 24px rgba(0,0,0,0.12); 
    border-top-color: #f1c40f;
  }
  .card .icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
  .card h3 { margin-bottom: 10px; color: #34495e; font-size: 1.15rem; }
  .card p { font-size: 0.95rem; color: #555; }

  /* NEWS */
  .news-item {
    background: #fff;
    border-left: 4px solid #f1c40f;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .news-date { font-size: 0.85rem; color: #888; margin-bottom: 6px; font-weight: 500; }
  .news-item h3 { font-size: 1.1rem; margin-bottom: 6px; color: #2c3e50; }

  /* CONTACTS */
  .contacts {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.07);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
  }
  .contact-block h4 { color: #34495e; margin-bottom: 8px; font-size: 1.05rem; }
  .contact-block p { color: #555; font-size: 0.95rem; }

  /* FOOTER */
  footer {
    background: #1a252f;
    color: #bdc3c7;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
  }
  footer a { color: #f1c40f; }
  
  .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
  }

  @media (max-width: 600px) {
    .hero { padding: 80px 20px; background-attachment: scroll; }
    .hero-title-top { font-size: 1.8rem; }
    .hero-title-highlight { font-size: 3.5rem; }
    .hero-title-bottom { font-size: 1.2rem; }
    nav ul { gap: 12px; font-size: 0.9rem; }
    .logo-main span { font-size: 1.3rem; }
  }
   /* Стиль для карты внутри блока контактов */
  .map-wrapper {
    grid-column: 1 / -1; /* Растягивает карту на всю ширину сетки */
    width: 100%;
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden; /* Скругляет углы у iframe внутри */
    box-shadow: 0 4px 14px rgba(0,0,0,0.07);
  }
  .map-wrapper iframe {
    display: block;
    width: 100%;
    border: none;
  }
   /* Выделенный пункт меню ГИС ЖКХ */
  nav a.gis-link {
    border: 1px solid rgba(241, 196, 15, 0.6);
    border-radius: 20px;
    padding: 4px 12px;
    transition: background .2s, color .2s;
  }
  nav a.gis-link:hover {
    background: #f1c40f;
    color: #1a252f;
    text-decoration: none;
  }
  
    /* Стили для раздела с тарифами */
  .tariff-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
  }
  .tariff-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 25px;
    font-size: 1rem;
  }
  .table-responsive {
    overflow-x: auto; /* Чтобы таблица не ломала вёрстку на телефонах */
  }
  .tariff-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
  }
  .tariff-table th {
    background: #2c3e50;
    color: #f1c40f;
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
  }
  .tariff-table th:first-child { border-top-left-radius: 8px; }
  .tariff-table th:last-child { border-top-right-radius: 8px; }
  
  .tariff-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #dee2e6;
    color: #2c3e50;
  }
  .tariff-table tbody tr:last-child td { border-bottom: none; }
  
  /* Зебра для строк */
  .tariff-table tbody tr:nth-child(even) {
    background-color: #fff;
  }
  .tariff-table tbody tr:nth-child(odd) {
    background-color: #f1f3f5;
  }
  
  .tariff-table tbody tr:hover {
    background-color: #e8f0fe; /* Лёгкий голубой акцент при наведении */
  }
  
  .resource-icon {
    display: inline-block;
    width: 20px;
    text-align: center;
    margin-right: 6px;
  }
  
  .tariff-note {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 20px;
    text-align: center;
    line-height: 1.5;
  }
  .tariff-note a { color: #2980b9; font-weight: 500; }
  
   /* Стили для паспорта дома */
  .house-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.07);
    border-top: 4px solid #f1c40f;
  }
  .house-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
  }
  .house-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
  }
  .house-item:last-child { border-bottom: none; }
  .house-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(241, 196, 15, 0.3));
  }
  .house-text {
    display: flex;
    flex-direction: column;
  }
  .house-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7f8c8d;
    margin-bottom: 2px;
  }
  .house-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
  }
  .house-note {
    font-size: 0.85rem;
    color: #95a5a6;
    margin-top: 25px;
    text-align: center;
    line-height: 1.5;
  }
  .house-note a { color: #2980b9; }
  