:root {
  --navy: #1E3A8A;
  --gold: #F59E0B;
  --gold-dark: #d97706;
  --light: #F9FAFB;
  --dark: #111827;
  --white: #FFFFFF;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Header & Navigation */
header {
  background-color: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links li a {
  color: var(--white);
  font-weight: 500;
  padding: 0.4rem 0;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--gold);
}

.cta-button {
  background-color: var(--gold);
  color: var(--dark);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--gold-dark);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background-color: var(--white);
  transition: transform 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  background-color: var(--navy);
  padding: 1rem;
}

.mobile-nav li {
  margin-bottom: 1rem;
}

.mobile-nav li a {
  color: var(--white);
}

/* Show mobile nav when toggled */
.mobile-nav.open {
  display: flex;
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url('assets/images/hero.webp');
  background-size: cover;
  background-position: center;
  min-height: 75vh;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 24, 39, 0.65);
  z-index: 0;
}

.hero .content {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .cta-button {
  font-size: 1.125rem;
  padding: 0.75rem 1.5rem;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section.light {
  background-color: var(--light);
}

.section.dark {
  background-color: var(--navy);
  color: var(--white);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 2rem;
}

/* Why Choose Us */
.why-grid {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.why-grid img {
  flex: 1 1 280px;
  border-radius: 8px;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}

.why-content {
  flex: 1 1 300px;
  text-align: center;
}

.why-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.why-content ul {
  list-style: none;
  display: inline-block;
  text-align: left;
}

.why-content ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.why-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  border-radius: 50%;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--light);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card img {
  width: 48px;
  margin: 0 auto 1rem;
  display: block;
  filter: invert(17%) sepia(97%) saturate(362%) hue-rotate(200deg)
    brightness(93%) contrast(92%);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.step {
  background-color: var(--light);
  border-radius: 8px;
  padding: 2rem;
}

.step img {
  width: 48px;
  margin: 0 auto 1rem;
  display: block;
  filter: invert(17%) sepia(97%) saturate(362%) hue-rotate(200deg)
    brightness(93%) contrast(92%);
}

.step h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial {
  background-color: var(--light);
  border-left: 4px solid var(--gold);
  padding: 1.5rem;
  border-radius: 8px;
  font-style: italic;
  position: relative;
}

.testimonial p {
  margin-bottom: 1rem;
}

.testimonial span {
  font-weight: 600;
  color: var(--navy);
}

/* Quote form */
.quote-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.quote-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--diamond-silver, #d1d5db);
  border-radius: 4px;
  font-size: 0.95rem;
}

.quote-form textarea {
  min-height: 100px;
  resize: vertical;
}

.quote-form .form-actions {
  grid-column: 1 / -1;
  text-align: center;
}

.submit-button {
  background-color: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: var(--gold);
  color: var(--dark);
}

.success-message {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background-color: #e6f7e6;
  border-left: 4px solid #34d399;
  border-radius: 4px;
  color: #065f46;
  font-size: 0.95rem;
}

/* Footer */
footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 3rem 0;
  margin-top: 3rem;
}

footer .footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

footer .footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

footer .footer-nav a {
  color: var(--white);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

footer .footer-nav a:hover {
  color: var(--gold);
}

footer .footer-bottom {
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .why-grid {
    flex-direction: column;
    text-align: center;
  }
  .why-content {
    order: 2;
  }
  .why-grid img {
    order: 1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}
/* Floating Get a Quote Button */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--gold);
  color: var(--dark);
  font-weight: 600;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 9999px; /* полностью скруглённые края */
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 9999;
}

.floating-cta:hover {
  background-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* Адаптация для мобильных */
@media (max-width: 600px) {
  .floating-cta {
    bottom: 18px;
    right: 18px;
    padding: 10px 18px;
    font-size: 14px;
  }
}
.map-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%; 
  overflow: hidden;
  border-radius: 8px; 
  box-shadow: 0 0 10px rgba(0,0,0,0.15); 
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
