/* Base structural styles recreating the Elementor + Astra layout grid.
   Per-page colors/spacing/typography come from elementor-global.css and post-*.css
   (the real compiled styles exported from the original site). */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  color: #303030;
  line-height: 1.6;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; line-height: 1.3; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Site header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.site-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.site-logo-text { font-family: "Roboto Slab", serif; font-weight: 600; font-size: 20px; color: #1972B4; }
.site-logo-text small { display:block; font-family:"Roboto",sans-serif; font-weight:400; font-size:12px; color:#7A7A7A; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav ul { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: 10px 14px; text-decoration: none; color: #303030;
  font-weight: 500; font-size: 15px; border-radius: 6px; transition: background .2s, color .2s;
}
.main-nav a:hover { background: #E7F6FF; color: #1972B4; }
.main-nav .has-dropdown { position: relative; }
.main-nav .dropdown {
  display: none; position: absolute; top: 100%; left: 0; background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); border-radius: 8px; padding: 8px; min-width: 260px;
  flex-direction: column; gap: 0;
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown { display: flex; }
.main-nav .dropdown a { padding: 8px 12px; font-size: 14px; }

.header-phone {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  background: #0067FF; color: #fff !important; padding: 10px 18px; border-radius: 6px;
  font-weight: 600; font-size: 14px; white-space: nowrap;
}
.header-phone:hover { background: #0052cc; }

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none; cursor: pointer; padding: 8px; border-radius: 6px; border: 1px solid #ddd;
}
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  display: block; width: 22px; height: 2px; background: #303030; position: relative; transition: .2s;
}
.nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; position: absolute; }
.nav-toggle-label span::before { top: -7px; }
.nav-toggle-label span::after { top: 7px; }

@media (max-width: 900px) {
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; box-shadow: 0 8px 20px rgba(0,0,0,.1); max-height: 0; overflow: hidden; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px; }
  .main-nav .dropdown { position: static; box-shadow: none; display: flex; padding-left: 14px; }
  .nav-toggle-label { display: block; }
  .nav-toggle:checked ~ .main-nav { max-height: 1000px; }
  .header-phone { display: none; }
}

/* ---------- Elementor grid recreation ---------- */
.elementor-section { position: relative; }
.elementor-container {
  display: flex; flex-wrap: wrap; align-items: stretch; position: relative;
  max-width: 1140px; margin: 0 auto; padding: 0 20px;
}
.elementor-column { position: relative; min-height: 1px; width: 100%; }
.elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 10px; }
.elementor-column-gap-narrow > .elementor-column > .elementor-element-populated { padding: 5px; }
.elementor-column-gap-extended > .elementor-column > .elementor-element-populated { padding: 15px; }
.elementor-column-gap-wide > .elementor-column > .elementor-element-populated { padding: 20px; }
.elementor-column-gap-wider > .elementor-column > .elementor-element-populated { padding: 25px; }
.elementor-column-gap-no > .elementor-column > .elementor-element-populated { padding: 0; }
.elementor-widget-wrap { width: 100%; }
.elementor-element-populated { display: flex; flex-direction: column; width: 100%; }

.elementor-col-10 { width: 10%; } .elementor-col-16 { width: 16.666%; }
.elementor-col-20 { width: 20%; } .elementor-col-25 { width: 25%; }
.elementor-col-30 { width: 30%; } .elementor-col-33 { width: 33.333%; }
.elementor-col-40 { width: 40%; } .elementor-col-50 { width: 50%; }
.elementor-col-60 { width: 60%; } .elementor-col-66 { width: 66.666%; }
.elementor-col-70 { width: 70%; } .elementor-col-75 { width: 75%; }
.elementor-col-80 { width: 80%; } .elementor-col-83 { width: 83.333%; }
.elementor-col-90 { width: 90%; } .elementor-col-100 { width: 100%; }

@media (max-width: 900px) {
  .elementor-column { width: 100% !important; }
}

.e-con { position: relative; }
.e-con.e-flex { display: flex; flex-wrap: wrap; }
.e-con-inner { display: flex; flex-wrap: wrap; width: 100%; max-width: 1140px; margin: 0 auto; padding: 10px 20px; gap: 16px; }

/* ---------- Widgets ---------- */
.elementor-widget-container { position: relative; }
.elementor-heading-title { font-weight: 600; }
.elementor-heading-title.elementor-size-small { font-size: 18px; }
.elementor-heading-title.elementor-size-medium { font-size: 25px; }
.elementor-heading-title.elementor-size-large { font-size: 35px; }
.elementor-heading-title.elementor-size-xl { font-size: 40px; }
.elementor-heading-title.elementor-size-xxl { font-size: 59px; }

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

.elementor-button-wrapper { display: flex; }
.elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 6px; text-decoration: none; font-weight: 600;
  background: #0067FF; color: #fff; transition: opacity .2s;
}
.elementor-button:hover { opacity: .88; }

.elementor-divider { display: flex; align-items: center; padding: 10px 0; }
.elementor-divider-separator { width: 100%; border-top: 1px solid #E7F6FF; }

.elementor-spacer-inner { width: 100%; }

.elementor-icon-box-wrapper { display: flex; align-items: flex-start; gap: 16px; }
.elementor-icon-box-icon { flex-shrink: 0; }
.elementor-icon-box-icon .elementor-icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: #E7F6FF; color: #1972B4; font-size: 22px;
}
.elementor-icon-box-title { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.elementor-icon-box-title span { display: block; }
.elementor-icon-box-description { margin: 0; }

.elementor-image-box-wrapper { display: flex; flex-direction: column; }
.elementor-image-box-img { margin: 0 0 14px; }
.elementor-image-box-title { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.elementor-image-box-description { margin: 0; }

.elementor-testimonial-wrapper { }
.elementor-testimonial-content { font-size: 17px; font-style: italic; margin-bottom: 16px; }
.elementor-testimonial-meta { display: flex; align-items: center; gap: 12px; }
.elementor-testimonial-image img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.elementor-testimonial-name { font-weight: 600; }
.elementor-testimonial-title { font-size: 13px; opacity: .8; }

.elementor-custom-embed iframe, .elementor-wrapper iframe { display: block; width: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #14213D; color: #fff; padding: 50px 20px 20px; margin-top: 40px; }
.site-footer-inner { max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer a { color: #cfe0ff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul li { margin-bottom: 8px; }
.footer-bottom { max-width: 1140px; margin: 30px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15);
  font-size: 13px; color: #9fb2d6; text-align: center; }
