@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&display=swap");

:root {
  --text: #4a3528;
  --olive: #b5b089;
  --black: #050505;

  --font-main: "Montserrat", sans-serif;
  --font-serif: "Oswald", sans-serif;
}

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

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

input,
button,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

p {
  line-height: 1.3;
}

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

ul,
ol {
  list-style: none;
}

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

:focus {
  outline: none;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
  font-size: 21px;
  background: #f9f8f6;
}

.header {
  position: relative;
  z-index: 10000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 0;
  position: absolute;
  width: 100%;
  z-index: 100;
  background-color: var(--olive);
}

.logo img {
  width: 250px;
  height: 95px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 0.5rem;
}

.nav-links li a {
  color: var(--text);
  font-weight: 500;
  transition: 0.3s;
  text-shadow: 0 8px 12px rgba(0, 0, 0, 0.25);
}

.nav-links li a:hover {
  color: #fff;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 10;
  position: relative;
  right: 10px;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
}

.menu-icon.active span {
  background: white;
}

.menu-icon.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-icon.active span:nth-child(2) {
  opacity: 0;
}

.menu-icon.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.menu-icon span {
  transition: 0.3s ease;
}

.hero {
  height: 100vh;
  background: url("./images/header.jpg") no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-content {
  position: relative;
  color: white;
  max-width: 800px;
  padding: 0 1rem;
  z-index: 2;
}

.hero-content h1 {
  font-size: 4rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-weight: 300;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.btn {
  background: var(--olive);
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #9b9273;
}

.btn i {
  padding-right: 5px;
}
.hero {
  position: relative;
  height: 100vh;
  background-position: center;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  transition: opacity 1.8s ease, transform 1.8s ease, filter 1.8s ease;
}

.hero-content.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero-content.scrolled {
  transform: translateY(-20px);
  transition: 1.2s ease;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1),
    transparent 40%
  );
  pointer-events: none;
}

.hero-content h1,
.hero-content p {
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

@media (max-width: 1048px) {
  html,
  body {
    font-size: 16px;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: 0.3s;
  }
  .nav-links li a {
    font-size: 20px;
    color: white;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-icon {
    display: flex;
  }
}

.call-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--olive);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 20000;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25) !important;
  animation: pulse 1.5s infinite;
  transition: transform 0.2s;
}

.call-btn:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(181, 176, 137, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(181, 176, 137, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(181, 176, 137, 0);
  }
}

.phone-icon {
  display: inline-block;
  animation: shake 1s infinite;
}

@keyframes shake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(-15deg);
  }
  40% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(-10deg);
  }
  80% {
    transform: rotate(15deg);
  }
}

.services {
  background: #f9f8f6;
  color: var(--text);
  padding-top: 3rem;
  position: relative;
}

.section-title {
  text-align: center;
  margin: 0 auto 2.4rem;
  font-family: var(--font-serif);
  font-size: 3.6rem;
  color: var(--text);
  max-width: 1100px;
}

.service-spacer {
  height: 700px;
  position: relative;
}

.service-card {
  position: sticky;
  cursor: pointer;
  top: 0;
  height: 500px;
  width: 1000px;
  margin: auto;
  opacity: 0.3;
  transform: scale(0.94);
  transition: opacity 0.4s ease, transform 0.45s ease;
  box-shadow: 0 30px 80px rgba(97, 95, 82, 0.18);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
}

.service-card.active {
  opacity: 1;
  transform: scale(1);
  z-index: 10;
}

.service-card img {
  width: 40%;
  height: 100%;
  object-fit: cover;
}

.card-inner {
  width: 60%;
  padding: 3rem;
  z-index: 3;
  color: var(--text);
  position: relative;
  z-index: 100;
}

.service-card h3 {
  margin: 0 0 0.6rem;
  font-size: 2rem;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.6px;
}

.service-card p {
  margin: 0 0 1.2rem;
  line-height: 1.4;
  font-size: 1.05rem;
  padding-bottom: 0.4rem;
}

.service-btn {
  display: inline-block;
  background: var(--text);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.service-card.active {
  transform: translateY(0%);
  opacity: 1;
  filter: none;
}

.service-card:not(.active) .card-inner {
  transform: translateY(6%);
  transition: transform 0.6s ease;
}

@media (max-width: 900px) {
  .service-card {
    padding: 2rem;
    background-position: center;
    width: 95vw;
    flex-direction: column;
    height: max-content;
  }

  .service-card img {
    order: 1;
    width: 100%;
    height: 350px;
    margin-bottom: 30px;
  }

  .service-card .card-inner {
    order: 2;
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .service-card h3 {
    font-size: 1.6rem;
  }
  .service-card p {
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }
  .service-card {
    padding: 1.4rem;
  }
  .service-btn {
    padding: 0.6rem 1rem;
    border-radius: 8px;
  }
}

.section-letter-bg {
  position: fixed;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  letter-spacing: -10px;
  user-select: none;
}

.about {
  position: relative;
  min-height: 100vh;
  color: var(--text);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  max-width: 1200px;
  margin-top: 30px;
}

.about-container > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.olive-triangle {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120%;
  height: 50%;
  background: rgba(205, 203, 190, 0.6);
  transform: rotate(-180deg) translateY(20px);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 2;
}
.about-content .btn {
  margin: 3rem auto 0;
  display: inline-block;
}
.about-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.about-content.show {
  opacity: 1;
  transform: translateY(0);
}

.about-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.8rem;
  width: 100%;
  gap: 1rem;
  padding: 1rem;
  max-width: 500px;
  align-items: center;
  text-align: center;
  justify-content: center;
  background-color: #fff;
  box-shadow: 0 30px 80px rgba(97, 95, 82, 0.18);
}

.about-block img {
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
}

.about-block p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.mobile {
  display: none !important;
}
@media (max-width: 1048px) {
  .about-content {
    max-width: 90%;
    padding: 0;
  }
  .mobile-hidden {
    display: none !important;
  }
  .mobile {
    display: flex !important;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  .about-block {
    justify-content: center;
  }
  .about-block i {
    font-size: 1.4rem;
  }
  .about-block p {
    font-size: 1rem;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

.pricing-section {
  padding: 90px 20px;
}

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

.section-subtitle {
  text-align: center;
  margin-bottom: 40px;
  opacity: 0.6;
}

.pricing-accordion {
  max-width: 1000px;
  margin: auto;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
  background-color: var(--olive);
  padding: 0 0.5rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: 0.6s ease;
  margin-bottom: 20px;
}

.accordion-item.visible {
  opacity: 1;
  transform: translateY(0);
  background-color: #fff;
}

.accordion-header {
  background: none;
  width: 100%;
  text-align: center;
  padding: 18px;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  color: var(--text);
  font-family: var(--font-serif);
  position: relative;
}

.arrow {
  transition: 0.3s;
  font-size: 40px;
  font-weight: 100;
  position: absolute;
  right: 0;
}

.accordion-header.active .arrow {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  text-align: center;
}

.accordion-content h3 {
  padding: 30px 10px 0;
  text-align: center;
}

.accordion-content p {
  margin-bottom: 20px;
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(97, 95, 82, 0.18);
}

.table-wrapper > p {
  padding: 20px;
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  border-bottom: 1px solid #eee;
  padding: 20px;
  text-align: center;
}
th {
  font-family: var(--font-serif);
}

tbody tr:nth-child(odd) {
  background-color: var(--olive);
}

tr td:first-child {
  font-family: var(--font-serif);
}

.service-list {
  margin-top: 15px;
  line-height: 1.8;
}

.pricing-note {
  margin-top: 15px;
  font-size: 14px;
  opacity: 0.7;
}

.social-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-buttons a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 22px;
  color: var(--text);
  border: 1px solid var(--text);
}

.social-buttons a:hover {
  background: var(--text);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 480px) {
  .social-buttons a {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  th,
  td {
    padding: 2px;
  }
  table {
    font-size: 13px;
  }
}

.pricing-extra {
  position: relative;
  margin-top: 25px;
  background-image: url("images/header.jpg"); /* 🔥 заміниш фото */
  background-size: cover;
  background-position: center;
  padding: 40px 20px;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  margin-bottom: 30px;
  margin: 2rem;
}

.pricing-extra-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
}

.pricing-extra-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-extra-content h3 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.pricing-extra-content p {
  line-height: 1.6;
  text-align: center;
}

.pricing-extra .btn {
  max-width: max-content;
  margin: auto;
  background-color: var(--olive);
}

.pricing-extra .btn:hover {
  background-color: var(--text);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  padding: 20px;
}

.dark {
  color: var(--black);
  box-shadow: 0 30px 80px rgba(97, 95, 82, 0.18);
  padding: 20px 20px 30px;
  margin: 0;
}

.dark img {
  height: 300px;
  width: 100%;
}

/* === Why Us Section як hero === */
.why-us {
  position: relative;
  min-height: 100vh;
  background: url("./images/why-us-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  height: max-content;
  padding-bottom: 20px;
}

.why-us-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.why-us .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: blur(0);
  gap: 1.5rem;
  animation: fadeIn 1s ease forwards;
}

.hero-content .why-us-text p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s forwards;
}

.hero-content .why-us-text p:nth-child(1) {
  animation-delay: 0.2s;
}
.hero-content .why-us-text p:nth-child(2) {
  animation-delay: 0.4s;
}
.hero-content .why-us-text p:nth-child(3) {
  animation-delay: 0.6s;
}
.hero-content .why-us-text p:nth-child(4) {
  animation-delay: 0.8s;
}
.hero-content .why-us-text p:nth-child(5) {
  animation-delay: 1s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@media (max-width: 768px) {
  .hero-content .why-us-text p {
    font-size: 1.2rem;
  }
  .pricing-extra {
    margin: 0;
  }
  .row {
    flex-direction: column;
    display: flex;
  }
  header .social-buttons a {
    border-color: white;
    color: white;
  }
  .why-us .hero-content h1 {
    font-size: 2rem;
  }
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.scroll-down span {
  display: block;
  width: 28px;
  height: 28px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
  animation: arrowMove 1.5s infinite ease-in-out;
  opacity: 0.8;
}

@keyframes arrowMove {
  0% {
    transform: translateY(0) rotate(-45deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(10px) rotate(-45deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotate(-45deg);
    opacity: 0.6;
  }
}

.scroll-down:hover {
  opacity: 0.6;
}

.glow-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 100%;
}

.glow-list li {
  position: relative;
  padding-left: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-serif);
  margin-bottom: 10px;
  font-weight: 200;
  font-size: 22px;
}

.glow-list li::before {
  content: "";
  position: relative;
  left: -8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 8px #fff;
}

.contact {
  background-color: var(--olive);
  padding: 2rem;
}

.contact .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
}

.item .nav-links {
  flex-direction: column;
  margin-top: 50px;
}

.bottom-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: var(--text);
  padding: 0.4rem;
  font-size: 0.8rem;
}

.footer-form-wrapper {
  max-width: 600px;
}

input,
textarea {
  padding: 0.4rem;
  margin-bottom: 10px;
  border-radius: 6px;
  font-weight: 400;
  width: 500px;
  background-color: rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid var(--text);
}

.footer-form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-form-wrapper h3 {
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 300;
  font-family: var(--font-serif);
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.gdpr-text {
  font-size: 12px;
  margin-top: 20px;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-contact-list li a {
  transition: 0.3s ease;
  color: var(--text);
}

.footer-contact-list li a:hover {
  color: white;
}

@media (max-width: 1048px) {
  .contact .container {
    flex-direction: column;
  }
  .footer-contact-list {
    align-items: center;
  }
  .social-buttons {
    justify-content: center;
  }
}

@media (max-width: 748px) {
  input,
  textarea {
    width: 90vw;
  }
}
