* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
}

button {
  border: none;
  outline: none;
}

button:focus {
  outline: none;
}

button:focus-visible {
  outline: 2px solid #dc2626;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
a {
  text-decoration: none;
  color: inherit
}


.header {
 position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(10px);
  padding: 42px 0;
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 150px;
  display: block;
}



.logo-wrap {
  display: inline-block;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(15, 23, 42, 0.55) 45%,
    rgba(15, 23, 42, 0.25) 100%
  );
}

.logo {
  display: block;
  max-width: 150px;
  height: auto;

  /* магія */
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    rgba(0,0,0,1) 60%,
    rgba(0,0,0,0) 100%
  );
  mask-image: radial-gradient(
    ellipse at center,
    rgba(0,0,0,1) 60%,
    rgba(0,0,0,0) 100%
  );
}
.nav{
    display: flex;
    gap: 32px;
}
.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.nav a:hover {
  color: #E53935;
}


.btn {
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  padding: 14px 28px;
  font-size: 15px;
  background: #E53935;
  color: #fff;
}

.btn-primary:hover {
  background: #c62828;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}
.tel-wrapper {
  display: flex;
  flex-direction: column;   /* головне — ставимо в колонку */
  align-items: center;      /* по центру */
  gap: 16px;                /* відстань між номером і кнопкою */
  margin-top: 20px;
}

.tel-wrapper__phone a {
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  color: #222;
  transition: 0.3s;
}

.tel-wrapper__phone a:hover {
  color: #c00000; /* або твій фірмовий колір */
}

/* Кнопка */
.btn-primary {
  padding: 12px 28px;
  background: #c00000;  /* заміни на свій бренд */
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #a00000;
  transform: translateY(-2px);
}

/* ============================= */
/* MOBILE HEADER */
/* ============================= */

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

/* MOBILE */
@media (max-width: 768px) {

  .header {
    padding: 12px 0;
  }

  .logo {
    max-width: 100px;
  }

  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transition: 0.4s;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    font-size: 20px;
  }

  .tel-wrapper {
    display: none;
  }
}

/* коли меню відкрите — блокуємо скрол сторінки */
.body-menu-open {
  overflow: hidden;
  height: 100vh;
}

@media (max-width: 768px) {
  .nav {
    justify-content: flex-start;  /* зверху вниз */
    padding-top: 100px;
    padding-bottom: 50px;         /* відступ знизу */
    gap: 16px;
    align-items: center;          /* по центру горизонтально */
  }

  /* кнопка "Матеріали" */
  .nav .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 12px;                    /* між текстом і стрілкою */
    border-radius: 12px;
    transition: background 0.3s;
  }

  .nav .dropdown-toggle:hover {
    background: rgba(255,255,255,0.1);
  }

  /* список матеріалів */
  .nav .dropdown-menu {
    max-height: 50vh;
    overflow-y: auto;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  }

  .nav .dropdown-menu a {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    margin: 4px 12px;
    transition: all 0.2s;
  }

  .nav .dropdown-menu a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(4px);
  }

  /* стрілка вниз */
  .nav .arrow-down {
    transition: transform 0.3s;
    font-size: 14px;
  }

  /* якщо dropdown відкритий — стрілка догори */
  .dropdown.active .arrow-down {
    transform: rotate(180deg);
  }
}



.hero {
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.65) 45%,
      rgba(15, 23, 42, 0.35) 100%
    ),
    url('../images/background.jpg') center / cover no-repeat;

  padding: 220px 0 140px;
}

.hero::before {
 
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(15, 23, 42, 0.55) 45%,
    rgba(15, 23, 42, 0.25) 100%
  );
  z-index: 1;

}
.hero-content {
    
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding-top: 60px ;
}

.hero h1 {
    color: #fff;
  font-size: 48px;
  max-width: 760px;
  line-height: 1.15;
  margin-bottom: 20px;
  margin: 0 auto;
}

.logo-main{
    max-width: 600px;
    margin: 100px auto 0 auto;
}

.logo-main img {
    width: 100%;
   
}
.hero-subtitle {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.95;
}

.hero-features {
  margin-top: 12px;
  font-size: 15px;
  opacity: 0.8;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero__buttons a {
  margin-right: 15px;
}
@media (max-width: 768px) {
  .hero__buttons {
    display: flex;
  }
}

.products {
  background: #f1f2f4;
  padding: 100px 0; 
}

.products h2 {
  color: #f1f2f4;
  font-size: 40px;
  margin-bottom: 48px;
}

.products-grid {
 display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}


.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(15,23,42,0.95) 0%,
      rgba(15,23,42,0.75) 35%,
      rgba(15,23,42,0.35) 65%,
      rgba(15,23,42,0) 100%
    );
  z-index: 1;
}

.product-overlay {
  position: relative;
  z-index: 2;
  padding: 20px;
  padding-right: 80px;        
  width: 100%;
  color: #fff;
}

.product-overlay h3 {
  font-size: 20px;
  margin-bottom: 6px;
  line-height: 1.2;
}

.product-overlay p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}


.arrow {
  position: absolute;
  right: 20px;    
  bottom: 20px;    
  width: 40px;
  height: 40px;
  background: #e53935;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  z-index: 3;
}

.products {
 background: linear-gradient(
      to bottom,
      rgba(10, 15, 30, 0.9),
      rgba(10, 15, 30, 0.95)
    ),
    url('../images/background.jpg') center/cover no-repeat;
}

.advantages {
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.65) 45%,
      rgba(15, 23, 42, 0.35) 100%
    ),
    url('../images/background.jpg') center / cover no-repeat;
  padding: 80px 0;
}

.advantages::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.75); /* затемнення як на макеті */
}

.advantages-overlay {
  position: relative;
  z-index: 2;
}

.advantages h2 {
  text-align: center;
  color: #fff;
  font-size: 36px;
  margin-bottom: 40px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.adv-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 30px 24px;
  color: #fff;
  backdrop-filter: blur(4px);
  min-height: 200px;
}

.adv-card img {
  width: 56px;
  height: auto;
  margin-bottom: 16px;
}

.adv-card h3 {
  font-size: 42px;
  margin-bottom: 8px;
}

.adv-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.adv-text {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.4;
}
.adv-card img {
    width: 200px;
    height: 150px;
}

.works {
  padding: 80px 0;
  background: #0f172a;
}

.works-title {
  text-align: center;
  color: #fff;
  font-size: 36px;
  margin-bottom: 10px;
}

.works-subtitle {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 40px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.work-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: 0.3s;
}

.work-item:hover img {
  transform: scale(1.05);
}

.works-btn {
  display: inline-block;
  margin: 40px auto 0;
  padding: 14px 28px;
  background: #ef4444;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.works-btn:hover {
  background: #dc2626;
}

.footer {
  background: #020617;
  color: #cbd5f5;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col a {
  color: #cbd5f5;
  text-decoration: none;
  transition: 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contacts li {
  margin-bottom: 8px;
}

.footer-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: #ef4444;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.footer-btn:hover {
  background: #dc2626;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 16px;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}
.footer-logo img {
  max-width: 160px;
  height: auto;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

/* ============================= */
/* FOOTER RESPONSIVE */
/* ============================= */

@media (max-width: 992px) {

  .footer {
    padding: 40px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-logo img {
    max-width: 130px;
  }

}

@media (max-width: 600px) {

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 25px;
  }

  .footer-col h4 {
    margin-bottom: 12px;
  }

  .footer-col ul {
    padding: 0;
  }

  .footer-btn {
    width: 100%;
    padding: 12px;
  }

  .footer-desc {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 12px;
  }

}

.contacts {
  position: relative;
  padding: 80px 0;
 background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.65) 45%,
      rgba(15, 23, 42, 0.35) 100%
    ),
    url('../images/background.jpg') center / cover no-repeat;
  color: #fff;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contacts h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
}

.contacts h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ef4444;
  margin-top: 8px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.contact-list li {
  margin-bottom: 12px;
  opacity: 0.9;
  line-height: 1.5;
}

.mt {
  margin-top: 30px;
}

.wpcf7-response-output {
    display: none !important;
}



.contacts-map iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 6px;
}

/* Твоя форма Contact Form 7 — повний клон старих стилів */
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 textarea {
    width: 100% !important;
    padding: 14px !important;
    margin-bottom: 14px !important;
    border: none !important;
    border-radius: 4px !important;
    background: #e6e6e6 !important;
    font-size: 14px !important;
    box-sizing: border-box;
}

.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7 input.wpcf7-submit {
    width: 100% !important;
    padding: 16px !important;
    border: none !important;
    background: #ef4444 !important;
    color: #fff !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    transition: 0.2s !important;
    font-size: 14px !important; /* як у твоїх inputs */
}

.wpcf7 input.wpcf7-submit:hover {
    background: #E53935 !important;
}

/* Прибрати дефолтні стилі WP (опціонально, якщо щось вилазить) */
.wpcf7-form-control {
    margin-bottom: 0 !important;
}


/* адаптив */
@media (max-width: 900px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .contacts-map iframe {
    height: 320px;
  }
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.arrow-down {
  display: inline-block;
  margin-left: 4px;
  transition: 0.2s;
}

/* меню */
.dropdown-menu {
  position: absolute;
  top: 150%;
  left: 0;
  min-width: 260px;

  background: rgba(10, 15, 30, 0.96);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 10px 0;

  box-shadow: 0 20px 50px rgba(0,0,0,0.5);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  z-index: 100;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #cbd5f5;
  text-decoration: none;
  font-size: 15px;
  transition: 0.2s;
}

.dropdown-menu a:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #fff;
  padding-left: 26px;
}

/* показ при наведенні */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown:hover .arrow-down {
  transform: rotate(180deg);
}
/* metalocherepica */

/* ========== CHEREPYTSIA INTRO ========== */

.materiallayout-intro {
  padding: 224px 0;
  background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.65) 45%,
      rgba(15, 23, 42, 0.35) 100%
    ),
    url('../images/background.jpg') center / cover no-repeat;
}

.materiallayout-intro__wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

.materiallayout-intro__title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 25px;
}

.materiallayout-intro__text {
  font-size: 18px;
  line-height: 1.7;
  color: #fff;
  max-width: 560px;
}

.materiallayout-intro__image {
  
  display: flex;
  justify-content: center;
}

.materiallayout-intro__image img {
  max-width: 420px;
  transform: rotate(-6deg);
  filter: drop-shadow(0 35px 45px rgba(0, 0, 0, 0.25));
}

/* =========================
   RESPONSIVE
========================= */

/* <= 1200px */
@media (max-width: 1200px) {
  .materiallayout-intro {
    padding: 180px 0 100px;
  }

  .materiallayout-intro__wrapper {
    gap: 40px;
  }

  .materiallayout-intro__title {
    font-size: 38px;
  }

  .materiallayout-intro__text {
    font-size: 16px;
  }

  .materiallayout-intro__image img {
    max-width: 360px;
  }
}

/* <= 992px (планшети) */
@media (max-width: 992px) {

  .materiallayout-intro {
    padding: 150px 0 80px;
  }

  .materiallayout-intro__wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .materiallayout-intro__content {
    margin: 0 auto;
  }

  .materiallayout-intro__text {
    margin: 0 auto;
  }

  .materiallayout-intro__image {
    margin-top: 40px;
  }

  .materiallayout-intro__image img {
    transform: rotate(0deg);
    max-width: 320px;
  }
}

/* <= 576px (телефони) */
@media (max-width: 576px) {

  .materiallayout-intro {
    padding: 120px 0 60px;
  }

  .materiallayout-intro__title {
    font-size: 28px;
  }

  .materiallayout-intro__text {
    font-size: 15px;
    line-height: 1.6;
  }

  .materiallayout-intro__image img {
    max-width: 260px;
  }
}

/* ========== CHEREPYTSIA TYPES ========== */

.materiallayout-types {
  padding: 90px 0 110px;
  background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.65) 45%,
      rgba(15, 23, 42, 0.35) 100%
    ),
    url('../images/background.jpg') center / cover no-repeat;
}

.materiallayout-types__head {
  text-align: center;
  margin-bottom: 60px;
}

.materiallayout-types__title {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.materiallayout-types__subtitle {
  font-size: 18px;
  color: #fff;
}

.materiallayout-types__grid {
    margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}


/* ========== CARD ========== */

.materiallayout-card {
  background: #fff;
  border-radius: 14px;
  padding: 35px 25px 30px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.materiallayout-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.12);
}

.materiallayout-card img {
  max-width: 100%;
  margin-bottom: 20px;
}

.materiallayout-card__label {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}
/* ===== FLIP CARD ===== */

.materiallayout-card {
  perspective: 1200px;
  height: 520px;
  background: none;
  padding: 0;
}

.materiallayout-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.materiallayout-card:hover .materiallayout-card__inner {
  transform: rotateY(180deg);
}

/* FRONT & BACK */

.materiallayout-card__front,
.materiallayout-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 14px;
  background: #fff;
  padding: 35px 25px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* FRONT */

.materiallayout-card__front img {
  max-width: 100%;
  margin-bottom: 20px;
}

/* BACK */

.materiallayout-card__back {
  transform: rotateY(180deg);
  text-align: center;
}

.materiallayout-card__back h3 {
  font-size: 26px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

/* BUTTON */

.btn-detail {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  outline: none;
  background: #ef4444;
  border: none;
  border-radius: 6px;
  cursor: pointer;

  transition: background 0.25s ease, transform 0.25s ease,
              box-shadow 0.25s ease;
}

.materiallayout-card__back button:hover {
  background: #ef4444;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(242, 106, 46, 0.35);
}
.request {
  padding: 100px 20px;
 background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.65) 45%,
      rgba(15, 23, 42, 0.35) 100%
    ),
    url('../images/background.jpg') center / cover no-repeat;
}

.request__container {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 60px 50px;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.request__title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #222;
  margin-bottom: 50px;
  line-height: 1.3;
}

.request__title span {
  position: relative;
  display: inline-block;
}

.request__title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  background: #ff4d4f;
  border-radius: 2px;
}

/* Request форма — градієнт + флекс */
.wpcf7-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
}

.wpcf7 .request__field input,
.wpcf7 .request__field textarea,
.wpcf7 div input[type="text"],
.wpcf7 div input[type="tel"],
.wpcf7 div textarea {
    width: 100% !important;
    padding: 18px 20px !important;
    font-size: 16px !important;
    border-radius: 14px !important;
    border: 1px solid #dbe3f0 !important;
    background: #f3f6fb !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box;
    color: #555 !important;
}

.wpcf7 div textarea {
    resize: none;
    min-height: 130px;
}

.wpcf7 div input:focus,
.wpcf7 div textarea:focus,
.wpcf7 .request__field input:focus,
.wpcf7 .request__field textarea:focus {
    background: #fff !important;
    border-color: #ff4d4f !important;
    box-shadow: 0 0 0 4px rgba(255, 77, 79, 0.15) !important;
}

.wpcf7 input.wpcf7-submit.request__btn {
    margin-top: 20px !important;
    align-self: center !important;
    padding: 16px 60px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #ff4d4f, #ff7a45) !important;
    border: none !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 15px 35px rgba(255, 77, 79, 0.4) !important;
}

.wpcf7 input.wpcf7-submit.request__btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 45px rgba(255, 77, 79, 0.55) !important;
}

/* Сховати повідомлення */
.wpcf7-response-output {
    display: none !important;
}

.metal-info {
  padding: 80px 20px;
  background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.65) 45%,
      rgba(15, 23, 42, 0.35) 100%
    ),
    url('../images/background.jpg') center / cover no-repeat;
}

.metal-info .container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

.section-subtitle {
  font-size: 28px;
  margin: 50px 0 20px;
  font-weight: 600;
}

.section-subtitle.center {
  text-align: center;
}

.section-text {
  font-size: 18px;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 30px;
}

/* список */
.styled-list {
  list-style: none;
  padding-left: 0;
}

.styled-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 17px;
  color: #fff;
}

.styled-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #e53935;
  font-weight: bold;
}

/* інформаційні блоки */
.info-block {
  background: #fff;
  padding: 30px;
  margin-top: 30px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-left: 6px solid #e53935;
}

.info-block h3 {
  margin-bottom: 12px;
  font-size: 22px;
  color: #555;
}

.info-block p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* акцентний блок */


/* RAL */
.ral-wrapper {
  margin-top: 30px;
  text-align: center;
}

.ral-wrapper img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}


/* ===== PRODUCT PAGE ===== */
.product-page {
  padding: 216px 0;
  background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.65) 45%,
      rgba(15, 23, 42, 0.35) 100%
    ),
    url('../images/background.jpg') center / cover no-repeat;
}

.product-title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #fff;
}

/* MAIN GRID */
.product-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* GALLERY */
.product-gallery{
    max-width: 450px;
}
.product-gallery img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 20px;
}


/* INFO */
.product-info {
  font-size: 16px;
  line-height: 1.6;
}

.product-specs {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.product-specs li {
  margin-bottom: 8px;
}

.product-description {
  margin-bottom: 40px;
  color: #fff;
}

/* FORM */
.product-form {
  background: #fff;
  backdrop-filter: blur(8px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.product-form h3 {
color:#1c1c1c;
  margin-bottom: 20px;
  font-size: 22px;
}

.product-form input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #d0d7e2;
  font-size: 15px;
}

.product-form input:focus {
  outline: none;
  border-color: #2f80ed;
}

.product-form button {
  width: 100%;
  padding: 14px;
  border-radius: 30px;
  border: none;
  background: #2f80ed;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.product-form button:hover {
  background: #1c66c7;
}

/* ===== RELATED PRODUCTS (STUB) ===== */
.related-products {
  padding: 80px 0;
}

.related-products h2 {
  text-align: center;
  margin-bottom: 40px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.related-card {
  height: 260px;
  border-radius: 20px;
  background: linear-gradient(135deg, #e9eef5, #f7f9fc);
}

/* HIDDEN FOR NOW */
.hidden {
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .product-main {
    grid-template-columns: 1fr;
  }

  .product-title {
    font-size: 32px;
  }
}

.info-block li {
    color: #555;
}

/* Pulomaterial*/

.lumber {
    background: linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.65) 45%,
      rgba(15, 23, 42, 0.35) 100%
    ),
    url('../images/background.jpg') center / cover no-repeat;
  padding: 216px 20px 60px 20px ;
}

.lumber-title-page {
  text-align: center;
  font-size: 40px;
  color: #fff;
  margin-bottom: 40px;
}

.lumber-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
  align-items: stretch;
}

/* CARD */
.lumber-card {
  border: 1px solid #ccc;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 20px;
}

/* HEADER */
.lumber-card__header {
  background: #585d63;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  position: relative;
}

.lumber-card__title {
  font-size: 36px;
  margin: 0;
}

.lumber-card__subtitle {
  font-size: 14px;
  opacity: 0.8;
}

/* BADGE */
.lumber-badge {
  position: absolute;
  top: 20px;
  left: -40px;
  background: #e53935;
  color: #fff;
  padding: 6px 50px;
  transform: rotate(-45deg);
  font-size: 12px;
}

/* BODY */
.lumber-card__body {
  color: #555;
  padding: 30px 20px;
  text-align: center;
}

.lumber-status {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

.lumber-length {
  margin-bottom: 20px;
}

/* SIZES */
.lumber-sizes {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.lumber-sizes li {
  padding: 10px 0;
  border-top: 1px solid #eee;
  font-size: 15px;
}

.lumber-sizes li:last-child {
  border-bottom: 1px solid #eee;
}

/* BUTTON */
.lumber-btn {
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

.lumber-btn:hover {
  background: #c52a2a;
}

/* NOTE */
.lumber-note {
  font-size: 13px;
  color: #777;
  margin-top: 20px;
}

.lumber-card__footer {
 margin-top: auto;
  text-align: center;
}

@media (max-width: 768px) {

  .lumber {
    padding: 140px 15px 40px 15px;
  }

  .lumber-title-page {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .lumber-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lumber-card__title {
    font-size: 26px;
  }

  .lumber-card__header {
    padding: 20px 15px;
  }

  .lumber-card__body {
    padding: 20px 15px;
  }

  .lumber-status {
    font-size: 18px;
  }

  .lumber-btn {
    width: 100%;
  }

  .lumber-badge {
    left: -55px;
    font-size: 10px;
    padding: 5px 40px;
  }
}


/* ====== СЕКЦІЯ ====== */
.wood-gallery-section {
  padding: 60px 0;
 background: linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.65) 45%,
      rgba(15, 23, 42, 0.35) 100%
    ),
    url('../images/background.jpg') center / cover no-repeat;
}

.wood-text {
  max-width: 900px;
  margin: 0 auto 40px;
  color: #666;
  line-height: 1.6;
}

/* ====== ГАЛЕРЕЯ ====== */
.wood-gallery {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.wood-gallery__img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.wood-gallery__img:hover {
  transform: scale(1.03);
}

.wood-gallery {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

/* <= 1200px */
@media (max-width: 1200px) {
  .wood-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* <= 768px */
@media (max-width: 768px) {
  .wood-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* <= 480px */
@media (max-width: 480px) {
  .wood-gallery {
    grid-template-columns: 1fr;
  }
}
.info-block {
  max-width: 1000px;
  margin: 0 auto 40px;
  color: #fff;
}

@media (max-width: 768px) {
  .info-block h3 {
    font-size: 20px;
  }

  .info-block p {
    font-size: 14px;
  }
}


/* ====== LIGHTBOX ====== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox__img {
  max-height: 90vh;
  max-width: 90vw;
}

.lightbox__close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 20px;
}

.lightbox__prev {
  left: 20px;
}

.lightbox__next {
  right: 20px;
}

/* Анімація появи */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.metalsiding__row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.metalsiding__content {
  flex: 1;
}

.metalsiding__image {
  flex: 1;
}

.metalsiding__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

 .accessories img {
    max-width: 620px;
  transform: rotate(0deg);
  filter: drop-shadow(0 35px 45px rgba(0, 0, 0, 0.25));
}

.ventilation {
  padding: 40px 0;
}



.ventilation__intro {
  color: #666;
}

.ventilation__intro a {
  color: #1e73be;
  text-decoration: none;
}

.ventilation__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.ventilation-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.ventilation-item img {
  width: 160px;
  flex-shrink: 0;
}

.ventilation-item p {
  font-size: 17px;
  line-height: 1.6;
  color: #555;
}

.ventilation-item strong {
  font-weight: 600;
  color: #333;
}

.vent{
    max-width: 300px;
}

.materiallayout-intro__image {
  display: flex;
  flex-direction: column; /* h3 над img */
  align-items: center;    /* по центру по горизонталі */
  text-align: center;
}

.materiallayout-intro__image h3 {
  margin-bottom: 20px;
  font-size: 26px;
  font-weight: 700;
}


.vodostik img{
  max-width: 620px;
  transform: rotate(0deg);
  filter: drop-shadow(0 35px 45px rgba(0, 0, 0, 0.25));

}
.vodostikk img{
    max-width: 420px;
}

.info-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  margin-top: 50px;
}

.info-layout__left,
.info-layout__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Блок з розмірами */
.info-sizes h4 {
  margin-bottom: 10px;
  font-weight: 600;
  color: #555;
}

.info-sizes p {
  margin: 4px 0;
  color: #555;
}

/* Картинки */
.info-layout img {
  max-width: 100%;
  transform: rotate(0deg);
  height: auto;
  display: block;
}

/* Таблиця / додаткові зображення */
.info-media img {
  border-radius: 6px;
}


.info-left-card {
  display: flex;
  flex-direction: column;
  align-items: center; /* ключовий момент */
  gap: 20px;
  text-align: center;
}

.materiallayout-intro__image img {
  max-width: 520px;
}

.info-sizes {
  width: 100%;
}

.info-sizes h4 {
  color: #555;
  margin-bottom: 10px;
  font-weight: 600;
}

.info-sizes p {
  margin: 4px 0;
  color: #555;
}

.info-layout__right h4 {
    color: #555;
  margin-bottom: 10px;
  font-weight: 600;
}

.vikna img{
    transform: rotate(0deg);
 
}




.vikna-wrapper{
    margin-top: 226px;
}
 h1 {
text-align: center;
color: #555;
margin-bottom: 60px;
}

.roofwindows-types__grid {
  display: grid;
  margin-top: 40px;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.roofwindows-types__item {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; 
}

.roofwindows-types__item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
}

.roofwindows-types__item:hover img {
  transform: scale(1.08);           
}

.velux-install{
    margin:  0 auto;
    max-width:600px;
}
.velux-install img {
    width: 100%;
}

.logo-dometra{
    margin: 0 auto;
    max-width: 400px;

}

.logo-dometra img {
    width: 100%;
}

.sendvich img{
  max-width: 620px;
  max-height: 300px;
  transform: rotate(0deg);
  filter: drop-shadow(0 35px 45px rgba(0, 0, 0, 0.25));

}


.characteristic{
    max-width: 620px;
    margin: 0 auto;
}

.pok-characteristic{
    max-width: 320px;
    margin: 0 auto;
}

.shodu {
    max-width: 420px;
    margin: 0 auto;
}

.bitumna{
    max-width: 520px;
    margin: 0 auto;
}

.pvh{
    max-width: 520px;
    margin: 0 auto;
}

.keramichna{
    max-width: 520px;
    margin: 0 auto;

}

.shtakentii{
   max-width: 520px;
    margin: 0 auto;
}

.dubel{
    max-width: 320px;
    margin: 0 auto;
}

.griliato{
    max-width: 520px;
    margin: 0 auto;
}

.griliato-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* карточка */
.griliato-item {
  border-radius: 12px;
  text-align: center;
}

/* картинка */
.griliato-item img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.griliato-title {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.metaloplastukovi-vikna {
    max-width: 320px;
    margin: 0 auto;
}

.vikna-gallery {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.vikna-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.4s ease;
}

.vikna-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: 0.6s ease;
}

.vikna-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.vikna-card:hover img {
  transform: scale(1.07);
}

.doors-gallery {
  margin-top: 40px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.door-card {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.4s ease;
}

.door-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  transition: 0.6s ease;
}

.door-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.15);
}

.door-card:hover img {
  transform: scale(1.05);
}

/* HERO */
.gallery-hero {
  padding: 240px 0 80px;
 background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.65) 45%,
      rgba(15, 23, 42, 0.35) 100%
    ),
    url('../images/background.jpg') center / cover no-repeat;
  text-align: center;
  color: #fff;
}

.gallery-hero h1 {
     color: #fff;
  font-size: 48px;
  max-width: 760px;
  line-height: 1.15;
  margin-bottom: 20px;
  margin: 20px auto;
}

.gallery-hero p {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.85;
}

/* FILTERS */
.gallery-filters {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-section{
    padding: 80px 0;
    background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.65) 45%,
      rgba(15, 23, 42, 0.35) 100%
    ),
    url('../images/background.jpg') center / cover no-repeat;
}

.filter-btn {
  background: transparent;
  border: 1px solid #ffffff40;
  color: #fff;
  padding: 10px 22px;
  margin: 5px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: #e10600;
  border-color: #e10600;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* ITEM */
.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: 0.4s;
}

/* Hover ефект */
.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: "Переглянути";
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.6);
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

.about-hero {
  padding: 120px 0 80px;
  background: linear-gradient(
      to bottom,
      rgba(10, 15, 30, 0.9),
      rgba(10, 15, 30, 0.95)
    ),
    url('../images/background.jpg') center/cover no-repeat;
  text-align: center;
  color: #fff;
}

.about-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.about-hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.about-section {
  padding: 100px 0;
   background: linear-gradient(
      to bottom,
      rgba(10, 15, 30, 0.9),
      rgba(10, 15, 30, 0.95)
    ),
    url('../images/background.jpg') center/cover no-repeat;

}


.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 25px;
  font-weight: 700;
}

.about-text p {
  margin-bottom: 18px;
  line-height: 1.7;
  color: #fff;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-advantages {
  padding: 100px 0;
  background: #0f172a;
  color: #fff;
  text-align: center;
}

.about-advantages h2 {
  font-size: 32px;
  margin-bottom: 60px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.advantage-item {
  background: rgba(255,255,255,0.05);
  padding: 35px 25px;
  border-radius: 18px;
  transition: 0.3s;
}

.advantage-item:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.1);
}

.advantage-item h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.advantage-item p {
  font-size: 15px;
  opacity: 0.85;
}

.about-numbers {
  padding: 100px 0;
  background: #f1f5f9;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: center;
  gap: 40px;
}

.number-item span {
  font-size: 42px;
  font-weight: 700;
  color: #dc2626;
  display: block;
  margin-bottom: 10px;
}

.number-item p {
  color: #475569;
}
.about-hero {
  padding: 320px 0 80px;
   background: linear-gradient(
      to bottom,
      rgba(10, 15, 30, 0.9),
      rgba(10, 15, 30, 0.95)
    ),
    url('../images/background.jpg') center/cover no-repeat;
  text-align: center;
  color: #fff;
}

.about-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}


.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 25px;
  font-weight: 700;
}

.about-text p {
  margin-bottom: 18px;
  line-height: 1.7;
  color: #fff;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.about-advantages {
  padding: 100px 0;
  color: #fff;
  text-align: center;
   background: linear-gradient(
      to bottom,
      rgba(10, 15, 30, 0.9),
      rgba(10, 15, 30, 0.95)
    ),
    url('../images/background.jpg') center/cover no-repeat;
}

.about-advantages h2 {
  font-size: 32px;
  margin-bottom: 60px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.advantage-item {
  background: rgba(255,255,255,0.05);
  padding: 35px 25px;
  border-radius: 18px;
  transition: 0.3s;
}

.advantage-item:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.1);
}

.advantage-item h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.advantage-item p {
  font-size: 15px;
  opacity: 0.85;
}
.about-numbers {
  padding: 100px 0;
  background: linear-gradient(
      to bottom,
      rgba(10, 15, 30, 0.9),
      rgba(10, 15, 30, 0.95)
    ),
    url('../images/background.jpg') center/cover no-repeat;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: center;
  gap: 40px;
}

.number-item span {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}

.number-item p {
  color: #475569;
}
.about-cta {
  padding: 100px 0;
 background: linear-gradient(
      to bottom,
      rgba(10, 15, 30, 0.9),
      rgba(10, 15, 30, 0.95)
    ),
    url('../images/background.jpg') center/cover no-repeat;
  text-align: center;
  color: #fff;
}

.about-cta h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-cta p {
  max-width: 600px;
  margin: 0 auto 35px;
  opacity: 0.85;
}

.contacts-hero {
  padding: 240px 0 80px;
 background: linear-gradient(
      to bottom,
      rgba(10, 15, 30, 0.9),
      rgba(10, 15, 30, 0.95)
    ),
    url('../images/background.jpg') center/cover no-repeat;
  text-align: center;
  color: #fff;
}

.contacts-hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #fff;
}

.contacts-hero p {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.contacts-page {
  padding: 100px 0;
  background: linear-gradient(
      to bottom,
      rgba(10, 15, 30, 0.9),
      rgba(10, 15, 30, 0.95)
    ),
    url('../images/background.jpg') center/cover no-repeat;
}

.contacts-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contacts-info h2 {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.contact-item span {
  font-size: 22px;
}

.contact-item a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.contacts-form-wrapper h2 {
  margin-bottom: 25px;
}

.contacts-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contacts-form input,
.contacts-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-family: inherit;
}

.contacts-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contacts-form input:focus,
.contacts-form textarea:focus {
  outline: none;
  border-color: #dc2626;
}
.contacts-map-section {
  padding: 80px 0;
  background: linear-gradient(
      to bottom,
      rgba(10, 15, 30, 0.9),
      rgba(10, 15, 30, 0.95)
    ),
    url('../images/background.jpg') center/cover no-repeat;
}

.contacts-cta {
  padding: 100px 0;
   background: linear-gradient(
      to bottom,
      rgba(10, 15, 30, 0.9),
      rgba(10, 15, 30, 0.95)
    ),
    url('../images/background.jpg') center/cover no-repeat;
  text-align: center;
  color: #fff;
}

.contacts-cta h2 {
  margin-bottom: 20px;
}

.contacts-cta p {
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.85;
}


/* ===== MODAL ===== */

.callback-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.callback-modal.active {
  display: flex;
}

.callback-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
}

.callback-box {
  position: relative;
  background: #0f172a;
  padding: 40px 35px;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  z-index: 2;
  animation: modalFade 0.3s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.callback-box h3 {
  margin-bottom: 10px;
  color: #fff;
}

.callback-box p {
  font-size: 14px;
  margin-bottom: 25px;
  color: #cbd5e1;
}

/* Callback форма — твій темний стиль */
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"] {
    width: 100% !important;
    padding: 14px !important;
    margin-bottom: 15px !important;
    border-radius: 10px !important;
    border: 1px solid #334155 !important;
    background: #1e293b !important;
    color: #fff !important;
    font-size: 14px !important;
    box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="tel"]:focus {
    border-color: #dc2626 !important;
    outline: none !important;
}

.wpcf7 input.wpcf7-submit {
    width: 100% !important;
    padding: 14px !important;
    border-radius: 10px !important;
    border: none !important;
    background: #dc2626 !important;
    color: #fff !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    font-size: 14px !important;
}

.wpcf7 input.wpcf7-submit:hover {
    background: #b91c1c !important;
}

/* Сховати повідомлення (як у першій) */
.wpcf7-response-output {
    display: none !important;
}


.callback-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}

.callback-success {
  display: none;
  margin-top: 15px;
  color: #22c55e;
  font-weight: 600;
}

.page-title {
  font-size: 42px;
  text-align: center;
  margin: 60px 0 30px;
  color: #fff;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.material-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  background: #000; /* щоб не було білого при завантаженні */
}

.material-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  opacity: 0.9;
  transition: 0.4s;
}

.material-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.1));
}

.material-card span {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 18px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  z-index: 2;
}

.material-card:hover img {
  transform: scale(1.08);
  opacity: 1;
}


.materials {
    position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.65) 45%,
      rgba(15, 23, 42, 0.35) 100%
    ),
    url('../images/background.jpg') center / cover no-repeat;

  padding: 220px 0 140px;
}

