/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  margin: 0;
  line-height: 1.5;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

p,
ul,
ol,
dl,
figure,
blockquote,
pre {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
video,
svg,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  margin: 0;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* ─── Layout ─────────────────────────────────────────── */

.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 2rem;
}

/* ─── Header ─────────────────────────────────────────── */

.site-header {
  background: #0d1015;
  color: #fff;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.site-logo a,
.site-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-logo img {
  height: 60px;
  width: auto;
}

/* Nav */
.main-navigation {
  display: flex;
  align-items: center;
}

.nav-dropdown {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-navigation .nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-right: 40px;
}

.main-navigation .nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.main-navigation .nav-menu a:hover {
  opacity: 1;
  color: #e37c20;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  font-size: 0.85rem;
  cursor: pointer;
}

.service-item {
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
}

.elementor-widget-image-gallery .gallery-item img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

/* ─── Header contacts ────────────────────────────────── */

.header-contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.phone-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.phone-group > svg {
  flex-shrink: 0;
  align-self: center;
}

.phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.header-phone,
.header-email {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  transition: color 0.2s;
  text-transform: uppercase;
}

.header-phone:hover,
.header-email:hover {
  color: #e37c20;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  color: #e37c20;
  transition: color 0.2s;
}

.social-link:hover {
  color: #e37c20;
}

/* ─── Footer ─────────────────────────────────────────── */

.site-footer {
  background: #0d1015;
  color: #fff;
}

.site-footer .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 70px;
  padding-block: 1rem;
  flex-wrap: wrap;
}

.site-footer .site-logo img {
  height: 90px;
  width: auto;
}

.site-footer .site-logo-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-privacy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  margin: 0 300px;
}

.footer-privacy:hover {
  color: #fff;
}

.footer-phone,
.footer-email {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  transition: color 0.2s;
  text-transform: uppercase;
}

.footer-phone:hover,
.footer-email:hover {
  color: #e37c20;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

.site-copyright a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.site-copyright a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ─── Skip link ───────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #000;
}
.skip-link:focus {
  top: 0;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

/* ─── Contact Form 7 ─────────────────────────────────── */

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 10px;
  border: 1px solid #d1d5db;
  border-radius: 40px;
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.2s;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  -ms-border-radius: 40px;
  -o-border-radius: 40px;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #e37c20;
}

.wpcf7-form textarea {
  resize: vertical;
  min-height: 140px;
}
.wpcf7-acceptance {
  color: #fff;
}

.wpcf7-submit {
  display: inline-block;
  padding: 0.75rem 2rem;
  margin-top: 10px;
  background: #e37c20;
  color: #fff;
  border: none;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  -ms-border-radius: 40px;
  -o-border-radius: 40px;
}

.wpcf7-submit:hover {
  background: #c96b18;
}

.wpcf7-form .wpcf7-form-control-wrap {
  position: relative;
}

.wpcf7-not-valid-tip {
  position: absolute;
  bottom: -1.2rem;
  left: 1rem;
  color: #e53e3e;
  font-size: 0.75rem;
  white-space: nowrap;
}

.wpcf7-response-output {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* ─── Typography – WordPress editor content ──────────── */
/*
  Applies only inside .entry-content (pages/posts via block/classic editor).
  Elementor pages don't use .entry-content, so these rules won't interfere.
*/

.entry-content {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #1a1a1a;
}

/* Headings */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #0d1015;
}

.entry-content h1 { font-size: 2.25rem; }
.entry-content h2 { font-size: 1.875rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content h4 { font-size: 1.25rem; }
.entry-content h5 { font-size: 1.125rem; }
.entry-content h6 { font-size: 1rem; }

/* First heading — no top margin */
.entry-content > h1:first-child,
.entry-content > h2:first-child,
.entry-content > h3:first-child {
  margin-top: 0;
}
article {
	padding: 2em 0;
}
.entry-title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 1.25em;
}
/* Paragraphs */
.entry-content p {
  margin-bottom: 1.25em;
}

.entry-content p:last-child {
  margin-bottom: 0;
}

/* Lists */
.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li {
  margin-bottom: 0.4em;
}

.entry-content li > ul,
.entry-content li > ol {
  margin-top: 0.4em;
  margin-bottom: 0;
}

/* Links */
.entry-content a {
  color: #e37c20;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.entry-content a:hover {
  color: #c96b18;
}

/* Blockquote */
.entry-content blockquote {
  border-left: 4px solid #e37c20;
  margin: 1.5em 0;
  padding: 0.75em 1.25em;
  background: #f9f6f2;
  color: #444;
  font-style: italic;
}

.entry-content blockquote p {
  margin-bottom: 0;
}

/* Horizontal rule */
.entry-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2em 0;
}

/* Images */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}

.entry-content figure {
  margin: 1.5em 0;
}

.entry-content figcaption {
  font-size: 0.85rem;
  color: #777;
  margin-top: 0.5em;
  text-align: center;
}

/* Tables */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
  padding: 0.6em 0.9em;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.entry-content th {
  background: #f3f4f6;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
}

/* Code */
.entry-content code {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.875em;
  background: #f3f4f6;
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

.entry-content pre {
  background: #1a1a1a;
  color: #e5e7eb;
  padding: 1.25em 1.5em;
  border-radius: 4px;
  overflow-x: auto;
  margin-bottom: 1.5em;
  font-size: 0.875rem;
  line-height: 1.6;
}

.entry-content pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}

/* ─── 404 ────────────────────────────────────────────── */

.error-404 {
  text-align: center;
  padding: 6rem 1rem;
}

.error-404-number {
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: #e37c20;
  font-family: "Oswald", sans-serif;
}

.error-404-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 1rem 0 1.25rem;
  font-family: "Oswald", sans-serif;
}

.error-404-text {
  font-size: 1.1rem;
  color: #555;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.error-404-btn {
  display: inline-block;
  background: #e37c20;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.85rem 2.5rem;
  border-radius: 2px;
  transition: background 0.2s;
}

.error-404-btn:hover {
  background: #c96a18;
  color: #fff;
}

/* ─── Responsive ─────────────────────────────────────── */

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .site-header {
    position: relative;
  }

  .nav-dropdown {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: #0d1015;
    padding: 1rem 2rem 1.25rem;
    z-index: 100;
  }

  .nav-dropdown.is-open {
    display: flex;
  }

  .main-navigation .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .main-navigation .nav-menu a {
    padding-block: 0.6rem;
  }

  .header-contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    margin-top: 0.5rem;
  }

  .site-header {
    position: relative;
  }

  .wpcf7-submit {
    width: 100%;
  }

  .site-footer .container {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
    padding-block: 1.5rem;
  }

  .footer-privacy {
    margin: 0;
  }

  .footer-socials {
    margin-top: 0.25rem;
  }
}
.wpcf7 form.sent .wpcf7-response-output {
  color: #fff;
}
