@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Open+Sans:wght@400;600&display=swap');

:root {
  --color-primary: #ff6b35;
  --color-secondary: #004e89;
  --color-accent: #f7931e;
  --color-dark: #1a1a1a;
  --color-gray: #6c757d;
  --color-light: #f8f9fa;
  --color-white: #ffffff;
}

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

body {
  font-family: 'Open Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-dark);
  background: var(--color-light);
  line-height: 1.6;
  min-height: 100vh;
}

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

a:hover,
a:focus-visible {
  color: var(--color-secondary);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1rem;
  z-index: 999;
}

.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Open Sans', 'Segoe UI', sans-serif;
  color: var(--color-dark);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 2vw + 1rem, 2.75rem); }
h2 { font-size: clamp(1.6rem, 1.5vw + 0.9rem, 2rem); }
h3 { font-size: clamp(1.25rem, 1vw + 0.75rem, 1.6rem); }
h4 { font-size: 1.05rem; }

p,
ul,
ol {
  margin-bottom: 1rem;
}

section {
  margin: 2rem 0;
}

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

:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 3px;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.services-section {
  margin: 3rem 0;
}

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

.service-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.service-card h3 {
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  min-height: 60px;
}

.service-link {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-link:hover,
.service-link:focus-visible {
  color: var(--color-accent);
  transform: translateX(4px);
}

.service-link:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card p {
    min-height: auto;
  }
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(0, 78, 137, 0.1);
}

.page-intro {
  max-width: 800px;
  margin: 1rem auto 0;
  color: var(--color-gray);
  font-size: 1.1rem;
  line-height: 1.7;
}

.service-detail {
  margin: 4rem 0;
  scroll-margin-top: 100px;
}

.service-detail-content {
  max-width: 900px;
  margin: 0 auto;
}

.service-detail h2 {
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  font-size: clamp(1.75rem, 2vw, 2.25rem);
}

.service-detail h3 {
  color: var(--color-secondary);
  margin: 2rem 0 1rem;
  font-size: 1.35rem;
}

.service-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-detail p {
  color: var(--color-dark);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.service-detail ul {
  list-style: none;
  margin: 1rem 0 2rem;
  padding: 0;
}

.service-detail ul li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  color: var(--color-dark);
  line-height: 1.6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-detail ul li:last-child {
  border-bottom: none;
}

.service-detail ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.service-cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(0, 78, 137, 0.1);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .service-cta-group {
    flex-direction: column;
  }

  .service-cta-group .btn {
    width: 100%;
  }
}

.why-us-section {
  margin: 4rem 0;
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(0, 78, 137, 0.03) 0%, rgba(247, 147, 30, 0.03) 100%);
  border-radius: 16px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.why-us-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-us-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.why-us-icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.why-us-card h3 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.why-us-card p {
  color: var(--color-gray);
  line-height: 1.7;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.service-areas-section {
  margin: 4rem 0;
}

.service-areas-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: start;
}

.service-areas-map {
  position: relative;
}

.map-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.map-fallback {
  background: var(--color-light);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  color: var(--color-gray);
  border: 2px dashed rgba(0, 0, 0, 0.1);
}

.service-areas-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-areas-list ul li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--color-dark);
}

.service-areas-list ul li:last-child {
  border-bottom: none;
}

.area-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.service-areas-list strong {
  color: var(--color-secondary);
  font-weight: 600;
}

.areas-note {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(0, 78, 137, 0.05);
  border-left: 4px solid var(--color-secondary);
  border-radius: 4px;
  color: var(--color-gray);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .service-areas-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.brands-section {
  margin: 4rem 0;
  padding: 3rem 0;
  background: var(--color-light);
  border-radius: 16px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
  justify-items: center;
}

.brand-logo {
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.brand-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.brands-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--color-gray);
  font-size: 0.95rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
  }

  .brand-logo {
    width: 120px;
    height: 70px;
  }
}

.contact-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem 0 2rem;
}

.contact-form-section,
.contact-info-section {
  flex: 1 1 45%;
  min-width: 300px;
}

.contact-form-section h2 {
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.contact-form {
  max-width: 600px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.95rem;
}

.required {
  color: #dc3545;
  font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(0, 78, 137, 0.2);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: #28a745;
}

.error-message {
  display: block;
  margin-top: 0.5rem;
  color: #dc3545;
  font-size: 0.875rem;
  font-weight: 500;
  min-height: 1.25rem;
}

.help-text {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-gray);
  font-size: 0.875rem;
  font-style: italic;
}

.checkbox-group {
  margin-bottom: 2rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  cursor: pointer;
  accent-color: var(--color-secondary);
}

.checkbox-label input[type="checkbox"]:focus {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

.checkbox-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkbox-text a {
  color: var(--color-secondary);
  text-decoration: underline;
  font-weight: 600;
}

.checkbox-text a:hover,
.checkbox-text a:focus {
  color: var(--color-primary);
}

.form-actions {
  margin-top: 2rem;
}

.btn-submit {
  min-width: 200px;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
}

.success-message {
  background: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
}

.error-message-box {
  background: #f8d7da;
  color: #721c24;
  border: 2px solid #f5c6cb;
}

.contact-info-section {
  position: sticky;
  top: 100px;
  align-self: start;
}

.contact-info-block {
  flex: 1 1 60%;
  min-width: 300px;
}

.quick-contact-block {
  flex: 1 1 35%;
  min-width: 280px;
}

.contact-info-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}

.contact-info-card h2 {
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.info-block {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.info-block:last-child {
  border-bottom: none;
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-content h3 {
  color: var(--color-secondary);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.info-content p {
  margin: 0.25rem 0;
  color: var(--color-dark);
  line-height: 1.6;
}

.info-content a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.info-content a:hover,
.info-content a:focus {
  text-decoration: underline;
}

.info-note {
  font-size: 0.875rem;
  color: var(--color-gray);
  font-style: italic;
}

.quick-contact {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.quick-contact h3 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 0.75rem;
}

.btn-block:last-child {
  margin-bottom: 0;
}

.map-section {
  margin: 4rem 0;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin-top: 2rem;
}

.map-container iframe {
  display: block;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form-section,
  .contact-info-section,
  .contact-info-block,
  .quick-contact-block {
    flex: 1 1 100%;
  }

  .contact-info-section {
    position: static;
  }
}

@media (max-width: 640px) {
  .contact-form {
    max-width: 100%;
  }

  .btn-submit {
    width: 100%;
  }
}

.appointment-container {
  max-width: 800px;
  margin: 2rem auto;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  flex: 1;
}

.progress-step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-gray);
  transition: all 0.3s ease;
}

.progress-step.active .progress-step-circle {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 78, 137, 0.3);
}

.progress-step.completed .progress-step-circle {
  background: #28a745;
  border-color: #28a745;
  color: var(--color-white);
}

.progress-step-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray);
  text-align: center;
}

.progress-step.active .progress-step-label {
  color: var(--color-secondary);
}

.appointment-form {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.form-step {
  display: none;
  border: none;
  padding: 0;
  margin: 0;
}

.form-step.active {
  display: block;
}

.form-step legend {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.step-description {
  color: var(--color-gray);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-option-card {
  position: relative;
  cursor: pointer;
}

.service-option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.option-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: var(--color-white);
  transition: all 0.25s ease;
}

.service-option-card:hover .option-content {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
}

.service-option-card input[type="radio"]:checked + .option-content {
  border-color: var(--color-secondary);
  background: rgba(0, 78, 137, 0.05);
  box-shadow: 0 4px 16px rgba(0, 78, 137, 0.2);
}

.service-option-card input[type="radio"]:focus + .option-content {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

.option-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.option-title {
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.option-description {
  font-size: 0.9rem;
  color: var(--color-gray);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.info-note {
  padding: 1rem;
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  border-radius: 4px;
  color: var(--color-dark);
  font-size: 0.95rem;
  margin: 1.5rem 0;
  line-height: 1.6;
}

.info-note strong {
  color: #e09f00;
}

.info-note a {
  color: var(--color-secondary);
  font-weight: 600;
}

.step-error {
  color: #dc3545;
  font-weight: 600;
  padding: 1rem;
  background: #f8d7da;
  border: 2px solid #f5c6cb;
  border-radius: 6px;
  margin: 1.5rem 0;
  text-align: center;
  display: none;
}

.step-error.show {
  display: block;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.step-actions .btn {
  min-width: 140px;
}

.summary-card {
  background: var(--color-light);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.summary-card h3 {
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
}

.summary-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-label {
  font-weight: 600;
  color: var(--color-gray);
}

.summary-value {
  color: var(--color-dark);
  font-weight: 500;
}

.confirmation-note {
  padding: 1.25rem;
  background: rgba(0, 78, 137, 0.05);
  border-left: 4px solid var(--color-secondary);
  border-radius: 4px;
  margin-bottom: 2rem;
}

.confirmation-note p {
  margin: 0;
  line-height: 1.6;
  color: var(--color-dark);
}

.noscript-notice {
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
}

.noscript-notice p {
  margin: 0.75rem 0;
  line-height: 1.6;
}

.noscript-notice strong {
  color: #e09f00;
}

.noscript-notice a {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .progress-bar {
    margin-bottom: 2rem;
  }

  .progress-bar::before {
    left: 5%;
    right: 5%;
  }

  .progress-step-label {
    font-size: 0.75rem;
  }

  .progress-step-circle {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .appointment-form {
    padding: 1.5rem;
  }

  .service-options {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-actions {
    flex-direction: column-reverse;
  }

  .step-actions .btn {
    width: 100%;
  }

  .summary-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.brand img {
  width: 140px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--color-light);
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 30;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-emergency {
  background: #dc3545;
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.25);
  animation: pulse 1.5s infinite;
}

.btn-emergency:hover {
  background: #c82333;
  box-shadow: 0 12px 28px rgba(220, 53, 69, 0.4);
  animation: none;
}

.btn-emergency:focus-visible {
  background: #c82333;
  box-shadow: 0 12px 28px rgba(220, 53, 69, 0.4), 0 0 0 4px rgba(220, 53, 69, 0.5);
  outline: 3px solid #dc3545;
  outline-offset: 2px;
  animation: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(220, 53, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #003a6a 100%);
  background-image: url('../img/kombi-servis.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

@supports (background-image: url('test.webp')) {
  .hero {
    background-image: url('../img/kombi-servis.webp');
  }
}

@media (max-width: 768px) {
  .hero {
    background-image: url('../img/kombi-servis-mobile.jpg');
  }

  @supports (background-image: url('test.webp')) {
    .hero {
      background-image: url('../img/kombi-servis-mobile.webp');
    }
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('../img/banner.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem 1.25rem;
  color: var(--color-white);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.hero-info {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  font-size: 1.1rem;
  padding: 1rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  display: inherit !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-hero .btn-icon,
.btn-hero img.btn-icon {
  margin-right: 0;
}

.btn-whatsapp {
  background: #25d366;
}

.btn-whatsapp:hover {
  background: #20b558;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:focus-visible {
  background: #20b558;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35), 0 0 0 4px rgba(37, 211, 102, 0.5);
  outline: 3px solid #25d366;
  outline-offset: 2px;
}

.btn-icon {
  font-size: 1.2rem;
  margin-right: 0.35rem;
}

.btn img.btn-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

@media (max-width: 640px) {
  .hero {
    min-height: 450px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero {
    width: 100%;
  }
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 1.25rem;
}

footer.site-footer {
  background: var(--color-secondary);
  color: var(--color-white);
  margin-top: 3rem;
}

.footer-top {
  padding: 2.5rem 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.footer-col h4 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.footer-col ul li + li {
  margin-top: 0.35rem;
}

.footer-col a {
  color: var(--color-white);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--color-accent);
}

.footer-col a img.social-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--color-light);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--color-secondary);
}

.card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.card:hover,
.card:focus-within {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
  transform: translateY(-1px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn {
  display: inherit;
  padding: 0.875rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 0 0 4px rgba(0, 78, 137, 0.4);
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

.btn-primary:hover {
  background: #e55d2e;
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.35);
}

.btn-primary:focus-visible {
  background: #e55d2e;
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.35), 0 0 0 4px rgba(255, 107, 53, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 107, 53, 0.15);
  border-color: #e55d2e;
  color: #e55d2e;
}

.btn-outline:focus-visible {
  background: rgba(255, 107, 53, 0.15);
  border-color: #e55d2e;
  color: #e55d2e;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.3);
}

ul {
  list-style: none;
}

a {
  color: inherit;
}

a:hover,
a:focus-visible {
  color: var(--color-secondary);
}

@media (max-width: 960px) {
  .hamburger {
    display: flex;
    order: 2;
  }

  .nav-bar {
    flex-wrap: wrap;
    position: relative;
  }

  .brand {
    order: 1;
  }

  .nav-links {
    order: 4;
    width: 100%;
    flex-direction: column;
    background: var(--color-white);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    border-top: 1px solid transparent;
  }

  .nav-links a {
    width: 100%;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .cta-group {
    order: 3;
    margin-left: auto;
    gap: 0.5rem;
  }

  .cta-group .btn {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }

  .nav-toggle:checked ~ .nav-bar .nav-links {
    max-height: 500px;
    opacity: 1;
    padding: 0.5rem 0;
    border-top-color: rgba(0, 0, 0, 0.05);
  }

  .nav-toggle:checked ~ .nav-bar .hamburger .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-bar .hamburger .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-bar .hamburger .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-toggle:focus-visible ~ .nav-bar .hamburger {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
  }
}
