:root {
  --bg: #e8f4fc;
  --bg-soft: #dbeefe;
  --surface: #ffffff;
  --text: #1e3a5f;
  --muted: #4a6d8c;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --border: #b8d4f0;
  --shadow: 0 20px 45px rgba(37, 99, 235, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Elms Sans", sans-serif;;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(147, 197, 253, 0.45), transparent 35%),
    radial-gradient(circle at 90% 35%, rgba(191, 219, 254, 0.55), transparent 30%),
    linear-gradient(180deg, #e0f2fe 0%, #e8f4fc 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  padding: 1rem 0 3rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(147, 197, 253, 0.35), transparent 35%),
    radial-gradient(circle at 10% 35%, rgba(191, 219, 254, 0.4), transparent 25%);
}

.navbar {
  position: sticky;
  top: 1rem;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex: 0 0 auto;
}

.brand-logo {
  height: 2.1rem;
  width: auto;
  max-width: min(190px, 38vw);
  display: block;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0;
  margin-left: auto;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: 0.2s ease;
  white-space: nowrap;
}

.nav-links a:not(.nav-cta):hover,
.nav-links a.active:not(.nav-cta) {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.nav-links a.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 0.42rem 0.75rem;
}

.nav-links a.nav-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

.page-subheader {
  padding: 1rem 0 2.5rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(147, 197, 253, 0.4), transparent 35%),
    radial-gradient(circle at 10% 35%, rgba(191, 219, 254, 0.45), transparent 25%);
}

.page-subheader .navbar {
  margin-bottom: 2.6rem;
}

.page-intro {
  max-width: 720px;
  margin-top: 0.35rem;
}

.page-intro .eyebrow {
  color: var(--muted);
}

.page-intro p {
  color: var(--muted);
  margin: 0;
}

.pricing-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(18, 48, 77, 0.08);
  overflow: hidden;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.pricing-table thead {
  background: linear-gradient(180deg, rgba(219, 234, 254, 0.95) 0%, rgba(191, 219, 254, 0.85) 100%);
}

.pricing-table th,
.pricing-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.pricing-table th {
  font-weight: 700;
  color: #1e40af;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.06);
}

.pricing-table .col-price {
  white-space: nowrap;
  font-weight: 700;
  color: var(--primary-dark);
}

.pricing-section-row:hover {
  background: transparent;
}

.pricing-table .pricing-section-cell {
  background: linear-gradient(180deg, rgba(147, 197, 253, 0.45) 0%, rgba(191, 219, 254, 0.55) 100%);
  color: #1e40af;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pricing-note {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--bg-soft);
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.pricing-note p {
  margin: 0 0 0.5rem;
}

.pricing-note p:last-child {
  margin-bottom: 0;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.2rem;
}

.menu-toggle span {
  display: block;
  width: 1.45rem;
  height: 2px;
  background: var(--text);
  margin: 0.27rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2.2rem;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.95rem, 3.4vw, 3rem);
}

h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
}

.hero-text p {
  margin: 0 0 1.05rem;
  color: var(--muted);
}

.hero-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}


/* --- Hero kontaktiriba --- */
.hero-contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 18px;
  padding: 1rem 1.15rem;
  margin-top: 1.45rem;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
  max-width: 700px;
}

.hero-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #163a73;
  flex: 1;
  min-width: 0;
}

.hero-contact-item h4 {
  margin: 0;
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  font-weight: 800;
  line-height: 1.2;
}

.hero-contact-item p {
  margin: 0.12rem 0 0;
  font-size: 0.82rem;
  color: #6c7ea3;
  line-height: 1.25;
}

.hero-contact-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex: 0 0 auto;
}

.divider {
  width: 1px;
  height: 3rem;
  background: #dce5f5;
  margin: 0 0.9rem;
  flex: 0 0 auto;
}



.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.section {
  padding: 4.4rem 0;
}

.main-pricing {
  padding-top: 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin-bottom: 2rem;
}

.section-header p {
  color: var(--muted);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(18, 48, 77, 0.08);
}

.card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card-content {
  padding: 1rem 1rem 1.2rem;
}

.card-content h3 {
  margin: 0 0 0.25rem;
  color: #1e40af;
}

.card-content p {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.card-content a {
  display: block;
  margin: 0.2rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 0.88fr;
  gap: 1.4rem;
  align-items: start;
}

.contact-info p {
  color: var(--muted);
}

.contact-info h3 {
  margin: 1.2rem 0 0.6rem;
  color: #1e40af;
  font-size: 1.05rem;
}

.contact-info h3:first-child {
  margin-top: 0;
}

.hours-table-wrap {
  overflow-x: auto;
  margin-top: 0.35rem;
}

.hours-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.hours-table-doctors {
  font-size: 1rem;
}

.hours-table-doctors thead th {
  background: linear-gradient(180deg, rgba(219, 234, 254, 0.95) 0%, rgba(191, 219, 254, 0.85) 100%);
  color: #1e40af;
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.hours-table th,
.hours-table td {
  padding: 0.55rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.hours-table-doctors th,
.hours-table-doctors td {
  padding: 0.9rem 1rem;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table tbody th[scope="row"] {
  font-weight: 700;
  color: var(--text);
  width: 22%;
  min-width: 7rem;
  white-space: nowrap;
}

.hours-table-doctors tbody th[scope="row"] {
  font-size: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.hours-table td {
  color: var(--muted);
  font-weight: 600;
}

.hours-slot {
  display: block;
  padding: 0.35rem 0;
  line-height: 1.45;
  color: var(--text);
  font-weight: 600;
}

.hours-slot + .hours-slot {
  border-top: 1px dashed var(--border);
  margin-top: 0.15rem;
  padding-top: 0.5rem;
}

.hours-note {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.contact-layout-full {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.4rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-list li {
  margin: 0.5rem 0;
  color: var(--text);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.08);
}

.contact-form h3 {
  margin: 0 0 0.5rem;
  color: #1e40af;
}

.contact-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.05rem 1.1rem;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.08);
  position: sticky;
  top: 5.2rem;
}

.contact-aside h3 {
  margin: 0 0 0.6rem;
  color: #1e40af;
}

.aside-lead {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.aside-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aside-list li {
  margin: 0.55rem 0;
  color: var(--text);
  font-size: 0.95rem;
}

.aside-list a {
  font-weight: 800;
}

.aside-foot {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-form label {
  font-weight: 600;
  margin-top: 0.7rem;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  margin-bottom: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.72rem 0.78rem;
  font: inherit;
  color: var(--text);
  background: #f8fbff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.2);
  border-color: var(--primary);
}

.form-note {
  font-size: 0.85rem;
  margin-top: 0.6rem;
  color: var(--muted);
}

.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 15px 34px rgba(18, 48, 77, 0.08);
}

.map-wrap iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
}

.site-footer {
  background:
    radial-gradient(circle at 20% 0%, rgba(147, 197, 253, 0.35), transparent 45%),
    linear-gradient(180deg, #bfdbfe 0%, #93c5fd 100%);
  color: #1e3a5f;
  padding: 2rem 0;
}

.site-footer h3 {
  margin-top: 0;
  color: #1e40af;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: #1d4ed8;
}

@media (max-width: 960px) {
  .hero,
  .staff-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    position: static;
    top: auto;
  }

  .hero-image {
    min-height: 280px;
  }
}

@media (max-width: 1024px) {
  .brand-logo {
    height: 1.95rem;
    max-width: min(170px, 50vw);
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
    z-index: 120;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    width: min(280px, 92vw);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem;
    z-index: 115;
  }

  .navbar {
    position: relative;
  }

  .navbar.open .nav-links {
    display: flex;
  }
}

/* --- Ehitus/haljastus/transport kodulehe lisastiilid --- */

.btn-ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.6rem;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
}

.hero-highlights li {
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
  font-weight: 600;
}

.hero-highlights li::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 0.55rem;
  transform: translateY(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem 1.15rem 1.35rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 20% 10%, rgba(79, 140, 255, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 140, 255, 0.35);
}

.service-card:hover::after {
  opacity: 1;
}

.service-head {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(79, 140, 255, 0.28);
  background: rgba(79, 140, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.service-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding-left: 1.05rem;
  position: relative;
  margin: 0.45rem 0;
  color: var(--text);
  font-weight: 600;
}

.service-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(79, 140, 255, 0.95);
  position: absolute;
  left: 0;
  top: 0.6rem;
  transform: translateY(-50%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: start;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
}

.about-card p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.stat {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 140, 255, 0.35);
}

.gallery-item img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-caption {
  padding: 0.9rem 0.95rem 1rem;
}

.gallery-caption strong {
  display: block;
  margin-bottom: 0.35rem;
}

.gallery-caption span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.93rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.1rem 1.25rem;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(79, 140, 255, 0.28);
  background: rgba(79, 140, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.contact-layout:not(.contact-layout-full) {
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-layout.contact-layout-full {
  grid-template-columns: 1fr 1fr;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.form-message {
  margin-top: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  min-height: 1.2em;
}

/* Katkestused uutele grididele */
@media (max-width: 960px) {
  .services-grid,
  .gallery-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

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

  .hero-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .hero-image {
    min-height: 260px;
  }
}

/* --- Kodukorra & kasuliku info sektsioon (pärast kaarti) --- */
.info-after-map {
  padding: 1.9rem 0 2.3rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.info-grid-single {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.info-left {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.15rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.info-left-title {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  color: #0f4a98;
}

.info-item {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(217, 231, 251, 0.9);
}

.info-item:first-of-type {
  border-top: none;
  padding-top: 0.2rem;
}

.info-item-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.info-item-icon {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(79, 140, 255, 0.14);
  color: var(--primary-dark);
  font-weight: 900;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.info-item-title {
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
}

.info-item-body {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
}

.info-item-body a {
  color: var(--primary);
  font-weight: 700;
  word-break: break-word;
}

.info-right {
  display: grid;
  gap: 1rem;
}

.info-right-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.info-right-title {
  margin: 0 0 0.55rem;
  color: #0f4a98;
  font-size: 1.12rem;
}

.info-right-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #e11d48;
  color: #fff;
  border: 1px solid rgba(225, 29, 72, 0.28);
  border-radius: 10px;
  padding: 0.62rem 0.95rem;
  font-weight: 900;
  margin-top: 0.9rem;
  text-decoration: none;
  transition: 0.18s ease;
  box-shadow: 0 10px 22px rgba(225, 29, 72, 0.16);
  white-space: nowrap;
  align-self: flex-end;
}

.btn-red:hover {
  background: #be123c;
  transform: translateY(-1px);
}

.btn-red-arrow {
  font-weight: 1000;
}

.rules-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  padding: 1.3rem 1.25rem;
}

.rules-wrap h2 {
  margin-top: 0;
  color: #0f4a98;
}

.rules-lead {
  color: var(--muted);
  font-weight: 600;
  margin: 0.4rem 0 1rem;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rules-col h3 {
  margin: 0 0 0.55rem;
  color: #0f4a98;
  font-size: 1.05rem;
}

.rules-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
}

.rules-list li {
  margin: 0.55rem 0;
  color: var(--muted);
  font-weight: 600;
}

.rules-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rules-actions .btn {
  margin-top: 0;
}

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

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

  .contact-layout,
  .contact-layout.contact-layout-full,
  .contact-layout:not(.contact-layout-full) {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form {
    min-width: 0;
  }

  .hours-table {
    min-width: 460px;
  }
}
