:root {
  --blue-dark: #0b2341;
  --blue-light: #1e3a8a;
  --cyan: #3b82f6;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-dark: #333333;
  --accent: #14b8a6;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --font-primary: "Open Sans", sans-serif;
  --font-accent: "Roboto Slab", serif;
}

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

body {
  font-family: var(--font-primary);
  background: var(--gray-light);
  color: var(--gray-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--blue-dark);
}
a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

#preloader {
  position: fixed;
  inset: 0;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.loader-container {
  text-align: center;
  color: var(--white);
}
.loader-logo {
  font-size: 3rem;
  animation: spin 1s linear infinite;
}
.loader-text {
  margin-top: 0.5rem;
  font-family: var(--font-accent);
  font-size: 1rem;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.site-header {
  background: var(--blue-light);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-accent);
  font-size: 1.75rem;
  color: var(--white);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
}
.site-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.site-nav a {
  color: var(--white);
  font-weight: 600;
  position: relative;
}
.site-nav a.active,
.site-nav a:hover {
  color: var(--cyan);
}
.site-nav a.active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background: var(--blue-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right var(--transition);
  }
  .site-nav.open {
    right: 0;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--cyan);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition);
}
.scroll-to-top.visible {
  opacity: 1;
}

.hero-section {
  position: relative;
  height: 80vh;
  margin-top: 70px;
  overflow: hidden;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  max-width: var(--max-width);
  width: 90%;
}
.hero-overlay h1 {
  font-family: var(--font-accent);
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.hero-overlay p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}
.btn-hero {
  display: inline-block;
  background: var(--cyan);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-hero:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.about-section {
  background: var(--white);
  padding: 4rem 0;
}
.about-section h2 {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--blue-dark);
  text-align: center;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.about-text p {
  margin-bottom: 1rem;
}
.about-text strong {
  color: var(--blue-dark);
}
.about-text ul {
  list-style: disc inside;
  margin-top: 1rem;
}
.about-text ul li {
  margin-bottom: 0.5rem;
}
.about-image img {
  width: 100%;
  border: 4px solid var(--blue-light);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.services-section {
  background: var(--gray-light);
  padding: 4rem 0;
}
.services-section h2 {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--blue-dark);
  text-align: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  padding: 1.5rem;
  border: 2px dashed var(--blue-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.service-card h3 {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--blue-dark);
  margin-bottom: 0.75rem;
  position: relative;
}
.service-card h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--cyan);
}
.service-card p {
  margin-bottom: 1rem;
}
.service-card ul {
  margin-left: 1rem;
  list-style: square inside;
}
.service-card ul li {
  margin-bottom: 0.5rem;
}
.service-price {
  display: block;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--blue-light);
  font-size: 1.125rem;
  text-align: right;
}

.catalog-section {
  background: var(--white);
  padding: 4rem 0;
}
.catalog-section h2 {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--blue-dark);
  text-align: center;
}
.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.catalog-item {
  background: var(--gray-light);
  padding: 1.5rem;
  border: 1px dotted var(--blue-dark);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.catalog-item h3 {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}
.catalog-item p {
  flex: 1;
}
.catalog-item img {
  width: 150px;
  height: auto;
  border: 2px solid var(--blue-light);
}

.gallery-section {
  background: var(--gray-light);
  padding: 4rem 0;
}
.gallery-section h2 {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--blue-dark);
  text-align: center;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.result-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 2px solid var(--blue-light);
  transition: transform var(--transition);
}
.result-item img:hover {
  transform: scale(1.05);
}

.contact-section {
  background: var(--white);
  padding: 4rem 0;
}
.contact-section h2 {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--blue-dark);
  text-align: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.contact-item h3 {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: var(--blue-light);
  margin-bottom: 0.5rem;
}
.contact-item p,
.contact-item a {
  font-size: 1rem;
  color: var(--gray-dark);
}

.title_background {
  background: var(--blue-light);
  padding: 2rem 0;
}
.title_background .title {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: var(--white);
  text-align: center;
}
.text_background {
  background: var(--white);
  padding: 3rem 0;
}
.text_background .text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-dark);
  max-width: 800px;
  margin: 0 auto;
}

.cookies-banner {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: var(--blue-dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2000;
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition), visibility var(--transition);
}
.cookies-banner.hidden {
  opacity: 0;
  visibility: hidden;
}
.cookies-banner p {
  margin: 0;
  font-size: 0.9rem;
}
.cookies-button {
  background: var(--cyan);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
}
.cookies-button:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.site-footer {
  background: var(--blue-dark);
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 2rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.footer-links a {
  color: var(--white);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--cyan);
}
.footer-copy {
  color: var(--gray-light);
  font-size: 0.8rem;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image {
    margin-top: 2rem;
  }
}
@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 2.5rem;
  }
  .hero-overlay p {
    font-size: 1rem;
  }
  .services-grid,
  .catalog-list,
  .result-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.testimonials-section {
  background: var(--gray-light);
  padding: 4rem 0;
}
.testimonials-section h2 {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  text-align: center;
  color: var(--blue-dark);
  margin-bottom: 2rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border: 2px dashed var(--blue-light);
  padding: 1.5rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.testimonial-text {
  font-style: italic;
  color: var(--gray-dark);
  margin-bottom: 1rem;
}
.testimonial-author .author-name {
  display: block;
  font-weight: 600;
  color: var(--blue-dark);
  text-align: right;
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 3rem 0;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.about-detailed-section {
  background: #eef2f7;
  padding: 4rem 0;
}
.about-detailed-section .section-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  color: #0a3d62;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.about-detailed-section .section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: #74b9ff;
  margin: 0.5rem auto 0;
}
.about-detailed__content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.about-detailed__text {
  flex: 1 1 500px;
  font-family: "Inter", sans-serif;
  color: #2d3436;
  line-height: 1.7;
}
.about-detailed__text p {
  margin-bottom: 1.25rem;
}
.about-detailed__text p strong {
  color: #0984e3;
}
.about-detailed__features {
  margin: 1.5rem 0;
  list-style: none;
  padding: 0;
}
.about-detailed__features li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}
.about-detailed__features li span {
  font-weight: 600;
  color: #0a3d62;
}
.about-detailed__features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #00b894;
}
.about-detailed__image {
  flex: 1 1 400px;
  text-align: center;
}
.about-detailed__image img {
  max-width: 100%;
  height: auto;
  border: 4px solid #74b9ff;
  box-shadow: 0 4px 12px rgba(10, 61, 98, 0.15);
}

@media (max-width: 1024px) {
  .about-detailed__content {
    flex-direction: column;
  }
  .about-detailed__image {
    margin-top: 2rem;
  }
}
@media (max-width: 768px) {
  .about-detailed-section {
    padding: 2rem 0;
  }
  .about-detailed-section .section-title {
    font-size: 2rem;
  }
  .about-detailed__text {
    font-size: 0.95rem;
  }
}

.title_background {
  background-color: #0a3d62;
  padding: 2rem 0 1rem;
  position: relative;
  margin-top: 80px;
}
.title_background .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.title_background .title {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  color: #ffffff;
  text-align: center;
  position: relative;
}
.title_background .title::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  background: #74b9ff;
  margin: 0.5rem auto 0;
}

.text_background {
  background-color: #f0f4f8;
  padding: 2rem 0;
}
.text_background .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.text_background .text {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #2d3436;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
}

@media (max-width: 1024px) {
  .title_background .title {
    font-size: 1.75rem;
  }
  .text_background .text {
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .title_background {
    padding: 1.5rem 0 1rem;
    margin-top: 70px;
  }
  .title_background .title {
    font-size: 1.5rem;
  }
  .text_background {
    padding: 1.5rem 0;
  }
  .text_background .text {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* Services Section */
.services-section-det {
  background: #f0f4f8;
  padding: 4rem 0;
}
.services-section-det .section-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.75rem;
  color: #0a3d62;
  text-align: center;
  margin-bottom: 3rem;
  text-decoration: underline dotted #74b9ff;
}
.service-item-det {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  border: 2px dashed #74b9ff;
  background: #ffffff;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.service-item-det:hover {
  box-shadow: 0 4px 16px rgba(10, 61, 98, 0.2);
  transform: translateY(-4px);
}
.service-item__image,
.service-item__content {
  width: 100%;
}
.service-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 2px dotted #74b9ff;
}
.service-item__content {
  padding: 1.5rem;
}
.service-item__content h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.75rem;
  color: #0984e3;
  margin-bottom: 1rem;
  position: relative;
}
.service-item__content h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #74b9ff;
  margin-top: 0.5rem;
}
.service-item__content p {
  color: #30336b;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-family: "Inter", sans-serif;
}
.service-item__content ul {
  margin-left: 1.5rem;
  list-style: square;
  color: #2d3436;
  font-family: "Inter", sans-serif;
  margin-bottom: 1rem;
}
.service-item__content ul li {
  margin-bottom: 0.5rem;
}
.service-item__content .service-price {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  color: #0a3d62;
  text-align: right;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .service-item__image,
  .service-item__content {
    width: 50%;
  }
  .service-item__image {
    border-right: 2px dotted #74b9ff;
    border-bottom: none;
  }
}
@media (max-width: 767px) {
  .services-section {
    padding: 2rem 0;
  }
  .services-section .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .service-item__image img {
    max-height: 200px;
  }
}

html {
  scroll-behavior: smooth;
}
