* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: #232323;
  background: #ffffff;
  line-height: 1.5;
}
a { color: #ffcc00; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  background: #1c1c1c;
  color: #fff;
  padding: 14px 0;
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo img { height: 60px; width: auto; }
.header-contacts { text-align: right; }
.header-contacts a {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
}
.header-contacts a:hover { color: #ffcc00; }
.header-schedule { font-size: 14px; color: #ccc; margin-top: 4px; }

/* Nav */
.site-nav { background: #ffcc00; }
.site-nav .nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.submenu { list-style: none; margin: 0; padding: 0; }
.site-nav > .container > ul { position: relative; }
.site-nav li { position: relative; }
.site-nav > .container > ul > li > a {
  display: block;
  padding: 14px 18px;
  color: #1c1c1c;
  font-weight: 600;
  white-space: nowrap;
}
.site-nav > .container > ul > li:hover { background: #e6b800; }
.site-nav > .container > ul > li > a:hover { text-decoration: none; }
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1c1c1c;
  min-width: 240px;
  z-index: 20;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
.site-nav > .container > ul > li:hover > .submenu { display: block; }
.submenu li a {
  display: block;
  padding: 10px 16px;
  color: #fff;
  font-weight: 400;
  border-bottom: 1px solid #333;
}
.submenu li a:hover { background: #333; text-decoration: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: #1c1c1c;
  padding: 10px 16px;
  cursor: pointer;
}

/* Hero */
.hero {
  background: #333 url("../img/hero-home.png") center/cover no-repeat;
  color: #fff;
  padding: 60px 0;
}
.hero h1 { font-size: 30px; margin: 0 0 14px; }
.hero h2 { font-size: 18px; font-weight: 400; margin: 0 0 18px; color: #eee; }
.hero .lead { font-size: 16px; margin: 6px 0; }
.hero .accent { color: #ffcc00; font-weight: 600; }

/* Inner page title banner */
.page-title {
  background: #333 url("../img/banner-inner.png") center/cover no-repeat;
  color: #fff;
  padding: 46px 0;
  text-align: center;
}
.page-title h1 { margin: 0; font-size: 28px; }

/* Sections */
section { padding: 40px 0; }
section h2, section h3.section-title {
  font-size: 24px;
  margin: 0 0 24px;
  text-align: center;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  border: 1px solid #e5e5e5;
  border-top: 4px solid #ffcc00;
  border-radius: 6px;
  overflow: hidden;
  background: #fafafa;
  transition: box-shadow .2s ease;
}
.card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.card-body { padding: 20px 16px; text-align: center; }
.card-body h4 { margin: 0 0 8px; font-size: 18px; }
.card-body p { margin: 0 0 12px; font-size: 14px; color: #555; }
.btn {
  display: inline-block;
  padding: 9px 20px;
  background: #ffcc00;
  color: #1c1c1c;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}
.btn:hover { background: #e6b800; text-decoration: none; }

/* Text blocks */
.lead-text { font-size: 16px; color: #333; max-width: 820px; margin: 0 auto 30px; text-align: center; }

/* Price table */
.price-table { width: 100%; border-collapse: collapse; margin: 0 auto; max-width: 900px; }
.price-table th, .price-table td {
  border: 1px solid #e0e0e0;
  padding: 12px 14px;
  text-align: left;
  font-size: 15px;
}
.price-table th { background: #1c1c1c; color: #fff; }
.price-table tr:nth-child(even) { background: #f7f7f7; }
.price-table td.price { font-weight: 700; white-space: nowrap; }

/* Contacts page */
.contacts-block { max-width: 500px; margin: 0 auto; }
.contacts-block .row-item { margin-bottom: 22px; }
.contacts-block .label { font-weight: 700; text-transform: uppercase; font-size: 13px; color: #888; margin-bottom: 4px; }
.contacts-block .value { font-size: 18px; }
.contacts-block .value a { color: #232323; font-weight: 600; }

/* Footer */
.site-footer { background: #1c1c1c; color: #ccc; padding: 40px 0 20px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-grid h4 { color: #fff; margin: 0 0 14px; font-size: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #ccc; }
.footer-grid a:hover { color: #ffcc00; }
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 16px;
  font-size: 13px;
  color: #888;
  text-align: center;
}

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .header-contacts { text-align: left; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav > .container { padding: 0; }
  .site-nav > .container > ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .site-nav > .container > ul.open { display: flex; }
  .site-nav > .container > ul > li { width: 100%; }
  .submenu { position: static; box-shadow: none; }
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
}
