/* 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;
}

.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: rgba(255, 255, 255, 0.7);
  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;
}

/* ─── 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;
}

/* ─── 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;
  }
}
